]>
Commit | Line | Data |
---|---|---|
1 | /* ---------------------------------------------------------------------------- | |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.22 | |
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 | |
48 | #define SWIG_PackData SWIG_Python_PackData | |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
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 | ||
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 | |
82 | #else | |
83 | # define SWIGEXPORT(a) a | |
84 | # define SWIGIMPORT(a) a | |
85 | #endif | |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) | |
89 | #else | |
90 | # define SWIGRUNTIME(a) static a | |
91 | #endif | |
92 | ||
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 { | |
101 | const char *name; | |
102 | swig_converter_func converter; | |
103 | const char *str; | |
104 | void *clientdata; | |
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 *); | |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); | |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
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 | ||
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 | ||
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) | |
173 | ||
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) | |
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 | ||
186 | typedef double (*py_objasdbl_conv)(PyObject *obj); | |
187 | ||
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[]); | |
196 | ||
197 | ||
198 | /* Contract support */ | |
199 | ||
200 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
201 | ||
202 | #ifdef __cplusplus | |
203 | } | |
204 | #endif | |
205 | ||
206 | ||
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] | |
219 | #define SWIGTYPE_p_wxDC swig_types[10] | |
220 | #define SWIGTYPE_p_char swig_types[11] | |
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]; | |
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 | ||
240 | /* Auxiliar swig macros */ | |
241 | ||
242 | #ifdef __cplusplus | |
243 | #define SWIGSTATICINLINE(a) static inline a | |
244 | #define SWIGSTATIC(a) static a | |
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) | |
250 | ||
251 | #ifdef HAVE_NUMERIC_CAST | |
252 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) | |
253 | #else | |
254 | #define swig_numeric_cast(type,a) static_cast<type>(a) | |
255 | #endif | |
256 | ||
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 */ | |
269 | ||
270 | ||
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 | |
281 | ||
282 | ||
283 | #include "wx/wxPython/wxPython.h" | |
284 | #include "wx/wxPython/pyclasses.h" | |
285 | #include <wx/stc/stc.h> | |
286 | ||
287 | ||
288 | static const wxString wxPySTCNameStr(wxSTCNameStr); | |
289 | ||
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 | { | |
320 | return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj); | |
321 | } | |
322 | ||
323 | ||
324 | #if INT_MAX != LONG_MAX | |
325 | SWIGSTATICINLINE(int) | |
326 | SWIG_AsInt(PyObject *obj) | |
327 | { | |
328 | return swig_numeric_cast(int, | |
329 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
330 | "int", INT_MIN, INT_MAX)); | |
331 | } | |
332 | #else | |
333 | #define SWIG_AsInt SWIG_AsLong | |
334 | #endif | |
335 | ||
336 | ||
337 | SWIGSTATICINLINE(int) | |
338 | SWIG_CheckInt(PyObject* obj) | |
339 | { | |
340 | SWIG_AsInt(obj); | |
341 | if (PyErr_Occurred()) { | |
342 | PyErr_Clear(); | |
343 | return 0; | |
344 | } else { | |
345 | return 1; | |
346 | } | |
347 | } | |
348 | ||
349 | ||
350 | SWIGSTATICINLINE(int) | |
351 | SWIG_CheckLong(PyObject* obj) | |
352 | { | |
353 | SWIG_AsLong(obj); | |
354 | if (PyErr_Occurred()) { | |
355 | PyErr_Clear(); | |
356 | return 0; | |
357 | } else { | |
358 | return 1; | |
359 | } | |
360 | } | |
361 | ||
362 | ||
363 | SWIGSTATICINLINE(bool) | |
364 | SWIG_AsBool(PyObject *obj) | |
365 | { | |
366 | return PyObject_IsTrue(obj) ? true : false; | |
367 | } | |
368 | ||
369 | ||
370 | SWIGSTATICINLINE(int) | |
371 | SWIG_CheckBool(PyObject* obj) | |
372 | { | |
373 | SWIG_AsBool(obj); | |
374 | if (PyErr_Occurred()) { | |
375 | PyErr_Clear(); | |
376 | return 0; | |
377 | } else { | |
378 | return 1; | |
379 | } | |
380 | } | |
381 | ||
382 | ||
383 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
384 | PyObject* o2; | |
385 | PyObject* o3; | |
386 | ||
387 | if (!target) { | |
388 | target = o; | |
389 | } else if (target == Py_None) { | |
390 | Py_DECREF(Py_None); | |
391 | target = o; | |
392 | } else { | |
393 | if (!PyTuple_Check(target)) { | |
394 | o2 = target; | |
395 | target = PyTuple_New(1); | |
396 | PyTuple_SetItem(target, 0, o2); | |
397 | } | |
398 | o3 = PyTuple_New(1); | |
399 | PyTuple_SetItem(o3, 0, o); | |
400 | ||
401 | o2 = target; | |
402 | target = PySequence_Concat(o2, o3); | |
403 | Py_DECREF(o2); | |
404 | Py_DECREF(o3); | |
405 | } | |
406 | return target; | |
407 | } | |
408 | ||
409 | ||
410 | /* returns '1' if the input is a raw char*, '0' if is a PyString */ | |
411 | SWIGSTATIC(int) | |
412 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size) | |
413 | { | |
414 | static swig_type_info* pchar_info = 0; | |
415 | int psize = 0; | |
416 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); | |
417 | ||
418 | if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) { | |
419 | PyErr_Clear(); | |
420 | PyString_AsStringAndSize(obj, cptr, &psize); | |
421 | if (PyErr_Occurred()) { | |
422 | PyErr_Clear(); | |
423 | PyErr_SetString(PyExc_TypeError,"a string is expected"); | |
424 | } | |
425 | if (size) *size = psize; | |
426 | return 0; | |
427 | } else { | |
428 | if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0; | |
429 | return 1; | |
430 | } | |
431 | } | |
432 | ||
433 | ||
434 | SWIGSTATICINLINE(char* ) | |
435 | SWIG_AsCharPtr(PyObject *obj) | |
436 | { | |
437 | char* cptr; | |
438 | SWIG_AsCharPtrAndSize(obj, &cptr, 0); | |
439 | if (PyErr_Occurred()) { | |
440 | PyErr_Clear(); | |
441 | PyErr_SetString(PyExc_TypeError, "a char* is expected"); | |
442 | } | |
443 | return cptr; | |
444 | } | |
445 | ||
446 | #ifdef __cplusplus | |
447 | extern "C" { | |
448 | #endif | |
449 | static int _wrap_STCNameStr_set(PyObject *_val) { | |
450 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); | |
451 | return 1; | |
452 | } | |
453 | ||
454 | ||
455 | static PyObject *_wrap_STCNameStr_get() { | |
456 | PyObject *pyobj; | |
457 | ||
458 | { | |
459 | #if wxUSE_UNICODE | |
460 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
461 | #else | |
462 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
463 | #endif | |
464 | } | |
465 | return pyobj; | |
466 | } | |
467 | ||
468 | ||
469 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
470 | PyObject *resultobj; | |
471 | wxWindow *arg1 = (wxWindow *) 0 ; | |
472 | int arg2 ; | |
473 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
474 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
475 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
476 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
477 | long arg5 = (long) 0 ; | |
478 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
479 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
480 | wxStyledTextCtrl *result; | |
481 | wxPoint temp3 ; | |
482 | wxSize temp4 ; | |
483 | bool temp6 = False ; | |
484 | PyObject * obj0 = 0 ; | |
485 | PyObject * obj1 = 0 ; | |
486 | PyObject * obj2 = 0 ; | |
487 | PyObject * obj3 = 0 ; | |
488 | PyObject * obj4 = 0 ; | |
489 | PyObject * obj5 = 0 ; | |
490 | char *kwnames[] = { | |
491 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
492 | }; | |
493 | ||
494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
495 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
496 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
497 | arg2 = (int) SWIG_AsInt(obj1); | |
498 | if (PyErr_Occurred()) SWIG_fail; | |
499 | if (obj2) { | |
500 | { | |
501 | arg3 = &temp3; | |
502 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
503 | } | |
504 | } | |
505 | if (obj3) { | |
506 | { | |
507 | arg4 = &temp4; | |
508 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
509 | } | |
510 | } | |
511 | if (obj4) { | |
512 | arg5 = (long) SWIG_AsLong(obj4); | |
513 | if (PyErr_Occurred()) SWIG_fail; | |
514 | } | |
515 | if (obj5) { | |
516 | { | |
517 | arg6 = wxString_in_helper(obj5); | |
518 | if (arg6 == NULL) SWIG_fail; | |
519 | temp6 = True; | |
520 | } | |
521 | } | |
522 | { | |
523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
524 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
525 | ||
526 | wxPyEndAllowThreads(__tstate); | |
527 | if (PyErr_Occurred()) SWIG_fail; | |
528 | } | |
529 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); | |
530 | { | |
531 | if (temp6) | |
532 | delete arg6; | |
533 | } | |
534 | return resultobj; | |
535 | fail: | |
536 | { | |
537 | if (temp6) | |
538 | delete arg6; | |
539 | } | |
540 | return NULL; | |
541 | } | |
542 | ||
543 | ||
544 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
545 | PyObject *resultobj; | |
546 | wxStyledTextCtrl *result; | |
547 | char *kwnames[] = { | |
548 | NULL | |
549 | }; | |
550 | ||
551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; | |
552 | { | |
553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
554 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); | |
555 | ||
556 | wxPyEndAllowThreads(__tstate); | |
557 | if (PyErr_Occurred()) SWIG_fail; | |
558 | } | |
559 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); | |
560 | return resultobj; | |
561 | fail: | |
562 | return NULL; | |
563 | } | |
564 | ||
565 | ||
566 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
567 | PyObject *resultobj; | |
568 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
569 | wxWindow *arg2 = (wxWindow *) 0 ; | |
570 | int arg3 ; | |
571 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
572 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
573 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
574 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
575 | long arg6 = (long) 0 ; | |
576 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
577 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
578 | wxPoint temp4 ; | |
579 | wxSize temp5 ; | |
580 | bool temp7 = False ; | |
581 | PyObject * obj0 = 0 ; | |
582 | PyObject * obj1 = 0 ; | |
583 | PyObject * obj2 = 0 ; | |
584 | PyObject * obj3 = 0 ; | |
585 | PyObject * obj4 = 0 ; | |
586 | PyObject * obj5 = 0 ; | |
587 | PyObject * obj6 = 0 ; | |
588 | char *kwnames[] = { | |
589 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
590 | }; | |
591 | ||
592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
593 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
595 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
597 | arg3 = (int) SWIG_AsInt(obj2); | |
598 | if (PyErr_Occurred()) SWIG_fail; | |
599 | if (obj3) { | |
600 | { | |
601 | arg4 = &temp4; | |
602 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
603 | } | |
604 | } | |
605 | if (obj4) { | |
606 | { | |
607 | arg5 = &temp5; | |
608 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
609 | } | |
610 | } | |
611 | if (obj5) { | |
612 | arg6 = (long) SWIG_AsLong(obj5); | |
613 | if (PyErr_Occurred()) SWIG_fail; | |
614 | } | |
615 | if (obj6) { | |
616 | { | |
617 | arg7 = wxString_in_helper(obj6); | |
618 | if (arg7 == NULL) SWIG_fail; | |
619 | temp7 = True; | |
620 | } | |
621 | } | |
622 | { | |
623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
624 | (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
625 | ||
626 | wxPyEndAllowThreads(__tstate); | |
627 | if (PyErr_Occurred()) SWIG_fail; | |
628 | } | |
629 | Py_INCREF(Py_None); resultobj = Py_None; | |
630 | { | |
631 | if (temp7) | |
632 | delete arg7; | |
633 | } | |
634 | return resultobj; | |
635 | fail: | |
636 | { | |
637 | if (temp7) | |
638 | delete arg7; | |
639 | } | |
640 | return NULL; | |
641 | } | |
642 | ||
643 | ||
644 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
645 | PyObject *resultobj; | |
646 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
647 | wxString *arg2 = 0 ; | |
648 | bool temp2 = False ; | |
649 | PyObject * obj0 = 0 ; | |
650 | PyObject * obj1 = 0 ; | |
651 | char *kwnames[] = { | |
652 | (char *) "self",(char *) "text", NULL | |
653 | }; | |
654 | ||
655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; | |
656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
658 | { | |
659 | arg2 = wxString_in_helper(obj1); | |
660 | if (arg2 == NULL) SWIG_fail; | |
661 | temp2 = True; | |
662 | } | |
663 | { | |
664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
665 | (arg1)->AddText((wxString const &)*arg2); | |
666 | ||
667 | wxPyEndAllowThreads(__tstate); | |
668 | if (PyErr_Occurred()) SWIG_fail; | |
669 | } | |
670 | Py_INCREF(Py_None); resultobj = Py_None; | |
671 | { | |
672 | if (temp2) | |
673 | delete arg2; | |
674 | } | |
675 | return resultobj; | |
676 | fail: | |
677 | { | |
678 | if (temp2) | |
679 | delete arg2; | |
680 | } | |
681 | return NULL; | |
682 | } | |
683 | ||
684 | ||
685 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
686 | PyObject *resultobj; | |
687 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
688 | wxMemoryBuffer *arg2 = 0 ; | |
689 | bool temp2 = False ; | |
690 | PyObject * obj0 = 0 ; | |
691 | PyObject * obj1 = 0 ; | |
692 | char *kwnames[] = { | |
693 | (char *) "self",(char *) "data", NULL | |
694 | }; | |
695 | ||
696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; | |
697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
699 | { | |
700 | if (!PyString_Check(obj1)) { | |
701 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
702 | SWIG_fail; | |
703 | } | |
704 | char* str = PyString_AS_STRING(obj1); | |
705 | int len = PyString_GET_SIZE(obj1); | |
706 | arg2 = new wxMemoryBuffer(len); | |
707 | temp2 = True; | |
708 | memcpy(arg2->GetData(), str, len); | |
709 | } | |
710 | { | |
711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
712 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); | |
713 | ||
714 | wxPyEndAllowThreads(__tstate); | |
715 | if (PyErr_Occurred()) SWIG_fail; | |
716 | } | |
717 | Py_INCREF(Py_None); resultobj = Py_None; | |
718 | { | |
719 | if (temp2) delete arg2; | |
720 | } | |
721 | return resultobj; | |
722 | fail: | |
723 | { | |
724 | if (temp2) delete arg2; | |
725 | } | |
726 | return NULL; | |
727 | } | |
728 | ||
729 | ||
730 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
731 | PyObject *resultobj; | |
732 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
733 | int arg2 ; | |
734 | wxString *arg3 = 0 ; | |
735 | bool temp3 = False ; | |
736 | PyObject * obj0 = 0 ; | |
737 | PyObject * obj1 = 0 ; | |
738 | PyObject * obj2 = 0 ; | |
739 | char *kwnames[] = { | |
740 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
741 | }; | |
742 | ||
743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
746 | arg2 = (int) SWIG_AsInt(obj1); | |
747 | if (PyErr_Occurred()) SWIG_fail; | |
748 | { | |
749 | arg3 = wxString_in_helper(obj2); | |
750 | if (arg3 == NULL) SWIG_fail; | |
751 | temp3 = True; | |
752 | } | |
753 | { | |
754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
755 | (arg1)->InsertText(arg2,(wxString const &)*arg3); | |
756 | ||
757 | wxPyEndAllowThreads(__tstate); | |
758 | if (PyErr_Occurred()) SWIG_fail; | |
759 | } | |
760 | Py_INCREF(Py_None); resultobj = Py_None; | |
761 | { | |
762 | if (temp3) | |
763 | delete arg3; | |
764 | } | |
765 | return resultobj; | |
766 | fail: | |
767 | { | |
768 | if (temp3) | |
769 | delete arg3; | |
770 | } | |
771 | return NULL; | |
772 | } | |
773 | ||
774 | ||
775 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
776 | PyObject *resultobj; | |
777 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
778 | PyObject * obj0 = 0 ; | |
779 | char *kwnames[] = { | |
780 | (char *) "self", NULL | |
781 | }; | |
782 | ||
783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; | |
784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
786 | { | |
787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
788 | (arg1)->ClearAll(); | |
789 | ||
790 | wxPyEndAllowThreads(__tstate); | |
791 | if (PyErr_Occurred()) SWIG_fail; | |
792 | } | |
793 | Py_INCREF(Py_None); resultobj = Py_None; | |
794 | return resultobj; | |
795 | fail: | |
796 | return NULL; | |
797 | } | |
798 | ||
799 | ||
800 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
801 | PyObject *resultobj; | |
802 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
803 | PyObject * obj0 = 0 ; | |
804 | char *kwnames[] = { | |
805 | (char *) "self", NULL | |
806 | }; | |
807 | ||
808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; | |
809 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
810 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
811 | { | |
812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
813 | (arg1)->ClearDocumentStyle(); | |
814 | ||
815 | wxPyEndAllowThreads(__tstate); | |
816 | if (PyErr_Occurred()) SWIG_fail; | |
817 | } | |
818 | Py_INCREF(Py_None); resultobj = Py_None; | |
819 | return resultobj; | |
820 | fail: | |
821 | return NULL; | |
822 | } | |
823 | ||
824 | ||
825 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
826 | PyObject *resultobj; | |
827 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
828 | int result; | |
829 | PyObject * obj0 = 0 ; | |
830 | char *kwnames[] = { | |
831 | (char *) "self", NULL | |
832 | }; | |
833 | ||
834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; | |
835 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
836 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
837 | { | |
838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
839 | result = (int)(arg1)->GetLength(); | |
840 | ||
841 | wxPyEndAllowThreads(__tstate); | |
842 | if (PyErr_Occurred()) SWIG_fail; | |
843 | } | |
844 | resultobj = SWIG_FromInt((int)result); | |
845 | return resultobj; | |
846 | fail: | |
847 | return NULL; | |
848 | } | |
849 | ||
850 | ||
851 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
852 | PyObject *resultobj; | |
853 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
854 | int arg2 ; | |
855 | int result; | |
856 | PyObject * obj0 = 0 ; | |
857 | PyObject * obj1 = 0 ; | |
858 | char *kwnames[] = { | |
859 | (char *) "self",(char *) "pos", NULL | |
860 | }; | |
861 | ||
862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; | |
863 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
864 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
865 | arg2 = (int) SWIG_AsInt(obj1); | |
866 | if (PyErr_Occurred()) SWIG_fail; | |
867 | { | |
868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
869 | result = (int)(arg1)->GetCharAt(arg2); | |
870 | ||
871 | wxPyEndAllowThreads(__tstate); | |
872 | if (PyErr_Occurred()) SWIG_fail; | |
873 | } | |
874 | resultobj = SWIG_FromInt((int)result); | |
875 | return resultobj; | |
876 | fail: | |
877 | return NULL; | |
878 | } | |
879 | ||
880 | ||
881 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
882 | PyObject *resultobj; | |
883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
884 | int result; | |
885 | PyObject * obj0 = 0 ; | |
886 | char *kwnames[] = { | |
887 | (char *) "self", NULL | |
888 | }; | |
889 | ||
890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; | |
891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
893 | { | |
894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
895 | result = (int)(arg1)->GetCurrentPos(); | |
896 | ||
897 | wxPyEndAllowThreads(__tstate); | |
898 | if (PyErr_Occurred()) SWIG_fail; | |
899 | } | |
900 | resultobj = SWIG_FromInt((int)result); | |
901 | return resultobj; | |
902 | fail: | |
903 | return NULL; | |
904 | } | |
905 | ||
906 | ||
907 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
908 | PyObject *resultobj; | |
909 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
910 | int result; | |
911 | PyObject * obj0 = 0 ; | |
912 | char *kwnames[] = { | |
913 | (char *) "self", NULL | |
914 | }; | |
915 | ||
916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; | |
917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
919 | { | |
920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
921 | result = (int)(arg1)->GetAnchor(); | |
922 | ||
923 | wxPyEndAllowThreads(__tstate); | |
924 | if (PyErr_Occurred()) SWIG_fail; | |
925 | } | |
926 | resultobj = SWIG_FromInt((int)result); | |
927 | return resultobj; | |
928 | fail: | |
929 | return NULL; | |
930 | } | |
931 | ||
932 | ||
933 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
934 | PyObject *resultobj; | |
935 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
936 | int arg2 ; | |
937 | int result; | |
938 | PyObject * obj0 = 0 ; | |
939 | PyObject * obj1 = 0 ; | |
940 | char *kwnames[] = { | |
941 | (char *) "self",(char *) "pos", NULL | |
942 | }; | |
943 | ||
944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; | |
945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
947 | arg2 = (int) SWIG_AsInt(obj1); | |
948 | if (PyErr_Occurred()) SWIG_fail; | |
949 | { | |
950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
951 | result = (int)(arg1)->GetStyleAt(arg2); | |
952 | ||
953 | wxPyEndAllowThreads(__tstate); | |
954 | if (PyErr_Occurred()) SWIG_fail; | |
955 | } | |
956 | resultobj = SWIG_FromInt((int)result); | |
957 | return resultobj; | |
958 | fail: | |
959 | return NULL; | |
960 | } | |
961 | ||
962 | ||
963 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
964 | PyObject *resultobj; | |
965 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
966 | PyObject * obj0 = 0 ; | |
967 | char *kwnames[] = { | |
968 | (char *) "self", NULL | |
969 | }; | |
970 | ||
971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; | |
972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
974 | { | |
975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
976 | (arg1)->Redo(); | |
977 | ||
978 | wxPyEndAllowThreads(__tstate); | |
979 | if (PyErr_Occurred()) SWIG_fail; | |
980 | } | |
981 | Py_INCREF(Py_None); resultobj = Py_None; | |
982 | return resultobj; | |
983 | fail: | |
984 | return NULL; | |
985 | } | |
986 | ||
987 | ||
988 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
989 | PyObject *resultobj; | |
990 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
991 | bool arg2 ; | |
992 | PyObject * obj0 = 0 ; | |
993 | PyObject * obj1 = 0 ; | |
994 | char *kwnames[] = { | |
995 | (char *) "self",(char *) "collectUndo", NULL | |
996 | }; | |
997 | ||
998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; | |
999 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1000 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1001 | arg2 = (bool) SWIG_AsBool(obj1); | |
1002 | if (PyErr_Occurred()) SWIG_fail; | |
1003 | { | |
1004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1005 | (arg1)->SetUndoCollection(arg2); | |
1006 | ||
1007 | wxPyEndAllowThreads(__tstate); | |
1008 | if (PyErr_Occurred()) SWIG_fail; | |
1009 | } | |
1010 | Py_INCREF(Py_None); resultobj = Py_None; | |
1011 | return resultobj; | |
1012 | fail: | |
1013 | return NULL; | |
1014 | } | |
1015 | ||
1016 | ||
1017 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1018 | PyObject *resultobj; | |
1019 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1020 | PyObject * obj0 = 0 ; | |
1021 | char *kwnames[] = { | |
1022 | (char *) "self", NULL | |
1023 | }; | |
1024 | ||
1025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; | |
1026 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1027 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1028 | { | |
1029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1030 | (arg1)->SelectAll(); | |
1031 | ||
1032 | wxPyEndAllowThreads(__tstate); | |
1033 | if (PyErr_Occurred()) SWIG_fail; | |
1034 | } | |
1035 | Py_INCREF(Py_None); resultobj = Py_None; | |
1036 | return resultobj; | |
1037 | fail: | |
1038 | return NULL; | |
1039 | } | |
1040 | ||
1041 | ||
1042 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1043 | PyObject *resultobj; | |
1044 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1045 | PyObject * obj0 = 0 ; | |
1046 | char *kwnames[] = { | |
1047 | (char *) "self", NULL | |
1048 | }; | |
1049 | ||
1050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; | |
1051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1053 | { | |
1054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1055 | (arg1)->SetSavePoint(); | |
1056 | ||
1057 | wxPyEndAllowThreads(__tstate); | |
1058 | if (PyErr_Occurred()) SWIG_fail; | |
1059 | } | |
1060 | Py_INCREF(Py_None); resultobj = Py_None; | |
1061 | return resultobj; | |
1062 | fail: | |
1063 | return NULL; | |
1064 | } | |
1065 | ||
1066 | ||
1067 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1068 | PyObject *resultobj; | |
1069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1070 | int arg2 ; | |
1071 | int arg3 ; | |
1072 | wxMemoryBuffer result; | |
1073 | PyObject * obj0 = 0 ; | |
1074 | PyObject * obj1 = 0 ; | |
1075 | PyObject * obj2 = 0 ; | |
1076 | char *kwnames[] = { | |
1077 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
1078 | }; | |
1079 | ||
1080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1083 | arg2 = (int) SWIG_AsInt(obj1); | |
1084 | if (PyErr_Occurred()) SWIG_fail; | |
1085 | arg3 = (int) SWIG_AsInt(obj2); | |
1086 | if (PyErr_Occurred()) SWIG_fail; | |
1087 | { | |
1088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1089 | result = (arg1)->GetStyledText(arg2,arg3); | |
1090 | ||
1091 | wxPyEndAllowThreads(__tstate); | |
1092 | if (PyErr_Occurred()) SWIG_fail; | |
1093 | } | |
1094 | { | |
1095 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); | |
1096 | } | |
1097 | return resultobj; | |
1098 | fail: | |
1099 | return NULL; | |
1100 | } | |
1101 | ||
1102 | ||
1103 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1104 | PyObject *resultobj; | |
1105 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1106 | bool result; | |
1107 | PyObject * obj0 = 0 ; | |
1108 | char *kwnames[] = { | |
1109 | (char *) "self", NULL | |
1110 | }; | |
1111 | ||
1112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; | |
1113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1115 | { | |
1116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1117 | result = (bool)(arg1)->CanRedo(); | |
1118 | ||
1119 | wxPyEndAllowThreads(__tstate); | |
1120 | if (PyErr_Occurred()) SWIG_fail; | |
1121 | } | |
1122 | { | |
1123 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1124 | } | |
1125 | return resultobj; | |
1126 | fail: | |
1127 | return NULL; | |
1128 | } | |
1129 | ||
1130 | ||
1131 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1132 | PyObject *resultobj; | |
1133 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1134 | int arg2 ; | |
1135 | int result; | |
1136 | PyObject * obj0 = 0 ; | |
1137 | PyObject * obj1 = 0 ; | |
1138 | char *kwnames[] = { | |
1139 | (char *) "self",(char *) "handle", NULL | |
1140 | }; | |
1141 | ||
1142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; | |
1143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1145 | arg2 = (int) SWIG_AsInt(obj1); | |
1146 | if (PyErr_Occurred()) SWIG_fail; | |
1147 | { | |
1148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1149 | result = (int)(arg1)->MarkerLineFromHandle(arg2); | |
1150 | ||
1151 | wxPyEndAllowThreads(__tstate); | |
1152 | if (PyErr_Occurred()) SWIG_fail; | |
1153 | } | |
1154 | resultobj = SWIG_FromInt((int)result); | |
1155 | return resultobj; | |
1156 | fail: | |
1157 | return NULL; | |
1158 | } | |
1159 | ||
1160 | ||
1161 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1162 | PyObject *resultobj; | |
1163 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1164 | int arg2 ; | |
1165 | PyObject * obj0 = 0 ; | |
1166 | PyObject * obj1 = 0 ; | |
1167 | char *kwnames[] = { | |
1168 | (char *) "self",(char *) "handle", NULL | |
1169 | }; | |
1170 | ||
1171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; | |
1172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1174 | arg2 = (int) SWIG_AsInt(obj1); | |
1175 | if (PyErr_Occurred()) SWIG_fail; | |
1176 | { | |
1177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1178 | (arg1)->MarkerDeleteHandle(arg2); | |
1179 | ||
1180 | wxPyEndAllowThreads(__tstate); | |
1181 | if (PyErr_Occurred()) SWIG_fail; | |
1182 | } | |
1183 | Py_INCREF(Py_None); resultobj = Py_None; | |
1184 | return resultobj; | |
1185 | fail: | |
1186 | return NULL; | |
1187 | } | |
1188 | ||
1189 | ||
1190 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1191 | PyObject *resultobj; | |
1192 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1193 | bool result; | |
1194 | PyObject * obj0 = 0 ; | |
1195 | char *kwnames[] = { | |
1196 | (char *) "self", NULL | |
1197 | }; | |
1198 | ||
1199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; | |
1200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1202 | { | |
1203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1204 | result = (bool)(arg1)->GetUndoCollection(); | |
1205 | ||
1206 | wxPyEndAllowThreads(__tstate); | |
1207 | if (PyErr_Occurred()) SWIG_fail; | |
1208 | } | |
1209 | { | |
1210 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1211 | } | |
1212 | return resultobj; | |
1213 | fail: | |
1214 | return NULL; | |
1215 | } | |
1216 | ||
1217 | ||
1218 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1219 | PyObject *resultobj; | |
1220 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1221 | int result; | |
1222 | PyObject * obj0 = 0 ; | |
1223 | char *kwnames[] = { | |
1224 | (char *) "self", NULL | |
1225 | }; | |
1226 | ||
1227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; | |
1228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1230 | { | |
1231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1232 | result = (int)(arg1)->GetViewWhiteSpace(); | |
1233 | ||
1234 | wxPyEndAllowThreads(__tstate); | |
1235 | if (PyErr_Occurred()) SWIG_fail; | |
1236 | } | |
1237 | resultobj = SWIG_FromInt((int)result); | |
1238 | return resultobj; | |
1239 | fail: | |
1240 | return NULL; | |
1241 | } | |
1242 | ||
1243 | ||
1244 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1245 | PyObject *resultobj; | |
1246 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1247 | int arg2 ; | |
1248 | PyObject * obj0 = 0 ; | |
1249 | PyObject * obj1 = 0 ; | |
1250 | char *kwnames[] = { | |
1251 | (char *) "self",(char *) "viewWS", NULL | |
1252 | }; | |
1253 | ||
1254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; | |
1255 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1256 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1257 | arg2 = (int) SWIG_AsInt(obj1); | |
1258 | if (PyErr_Occurred()) SWIG_fail; | |
1259 | { | |
1260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1261 | (arg1)->SetViewWhiteSpace(arg2); | |
1262 | ||
1263 | wxPyEndAllowThreads(__tstate); | |
1264 | if (PyErr_Occurred()) SWIG_fail; | |
1265 | } | |
1266 | Py_INCREF(Py_None); resultobj = Py_None; | |
1267 | return resultobj; | |
1268 | fail: | |
1269 | return NULL; | |
1270 | } | |
1271 | ||
1272 | ||
1273 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1274 | PyObject *resultobj; | |
1275 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1276 | wxPoint arg2 ; | |
1277 | int result; | |
1278 | wxPoint *argp2 ; | |
1279 | PyObject * obj0 = 0 ; | |
1280 | PyObject * obj1 = 0 ; | |
1281 | char *kwnames[] = { | |
1282 | (char *) "self",(char *) "pt", NULL | |
1283 | }; | |
1284 | ||
1285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; | |
1286 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1287 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1288 | if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint, | |
1289 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
1290 | arg2 = *argp2; | |
1291 | { | |
1292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1293 | result = (int)(arg1)->PositionFromPoint(arg2); | |
1294 | ||
1295 | wxPyEndAllowThreads(__tstate); | |
1296 | if (PyErr_Occurred()) SWIG_fail; | |
1297 | } | |
1298 | resultobj = SWIG_FromInt((int)result); | |
1299 | return resultobj; | |
1300 | fail: | |
1301 | return NULL; | |
1302 | } | |
1303 | ||
1304 | ||
1305 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1306 | PyObject *resultobj; | |
1307 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1308 | int arg2 ; | |
1309 | int arg3 ; | |
1310 | int result; | |
1311 | PyObject * obj0 = 0 ; | |
1312 | PyObject * obj1 = 0 ; | |
1313 | PyObject * obj2 = 0 ; | |
1314 | char *kwnames[] = { | |
1315 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1316 | }; | |
1317 | ||
1318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1321 | arg2 = (int) SWIG_AsInt(obj1); | |
1322 | if (PyErr_Occurred()) SWIG_fail; | |
1323 | arg3 = (int) SWIG_AsInt(obj2); | |
1324 | if (PyErr_Occurred()) SWIG_fail; | |
1325 | { | |
1326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1327 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); | |
1328 | ||
1329 | wxPyEndAllowThreads(__tstate); | |
1330 | if (PyErr_Occurred()) SWIG_fail; | |
1331 | } | |
1332 | resultobj = SWIG_FromInt((int)result); | |
1333 | return resultobj; | |
1334 | fail: | |
1335 | return NULL; | |
1336 | } | |
1337 | ||
1338 | ||
1339 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1340 | PyObject *resultobj; | |
1341 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1342 | int arg2 ; | |
1343 | PyObject * obj0 = 0 ; | |
1344 | PyObject * obj1 = 0 ; | |
1345 | char *kwnames[] = { | |
1346 | (char *) "self",(char *) "line", NULL | |
1347 | }; | |
1348 | ||
1349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; | |
1350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1352 | arg2 = (int) SWIG_AsInt(obj1); | |
1353 | if (PyErr_Occurred()) SWIG_fail; | |
1354 | { | |
1355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1356 | (arg1)->GotoLine(arg2); | |
1357 | ||
1358 | wxPyEndAllowThreads(__tstate); | |
1359 | if (PyErr_Occurred()) SWIG_fail; | |
1360 | } | |
1361 | Py_INCREF(Py_None); resultobj = Py_None; | |
1362 | return resultobj; | |
1363 | fail: | |
1364 | return NULL; | |
1365 | } | |
1366 | ||
1367 | ||
1368 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1369 | PyObject *resultobj; | |
1370 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1371 | int arg2 ; | |
1372 | PyObject * obj0 = 0 ; | |
1373 | PyObject * obj1 = 0 ; | |
1374 | char *kwnames[] = { | |
1375 | (char *) "self",(char *) "pos", NULL | |
1376 | }; | |
1377 | ||
1378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; | |
1379 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1381 | arg2 = (int) SWIG_AsInt(obj1); | |
1382 | if (PyErr_Occurred()) SWIG_fail; | |
1383 | { | |
1384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1385 | (arg1)->GotoPos(arg2); | |
1386 | ||
1387 | wxPyEndAllowThreads(__tstate); | |
1388 | if (PyErr_Occurred()) SWIG_fail; | |
1389 | } | |
1390 | Py_INCREF(Py_None); resultobj = Py_None; | |
1391 | return resultobj; | |
1392 | fail: | |
1393 | return NULL; | |
1394 | } | |
1395 | ||
1396 | ||
1397 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1398 | PyObject *resultobj; | |
1399 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1400 | int arg2 ; | |
1401 | PyObject * obj0 = 0 ; | |
1402 | PyObject * obj1 = 0 ; | |
1403 | char *kwnames[] = { | |
1404 | (char *) "self",(char *) "posAnchor", NULL | |
1405 | }; | |
1406 | ||
1407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; | |
1408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1410 | arg2 = (int) SWIG_AsInt(obj1); | |
1411 | if (PyErr_Occurred()) SWIG_fail; | |
1412 | { | |
1413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1414 | (arg1)->SetAnchor(arg2); | |
1415 | ||
1416 | wxPyEndAllowThreads(__tstate); | |
1417 | if (PyErr_Occurred()) SWIG_fail; | |
1418 | } | |
1419 | Py_INCREF(Py_None); resultobj = Py_None; | |
1420 | return resultobj; | |
1421 | fail: | |
1422 | return NULL; | |
1423 | } | |
1424 | ||
1425 | ||
1426 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1427 | PyObject *resultobj; | |
1428 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1429 | int *arg2 = (int *) 0 ; | |
1430 | wxString result; | |
1431 | int temp2 ; | |
1432 | PyObject * obj0 = 0 ; | |
1433 | char *kwnames[] = { | |
1434 | (char *) "self", NULL | |
1435 | }; | |
1436 | ||
1437 | arg2 = &temp2; | |
1438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; | |
1439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1441 | { | |
1442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1443 | result = (arg1)->GetCurLine(arg2); | |
1444 | ||
1445 | wxPyEndAllowThreads(__tstate); | |
1446 | if (PyErr_Occurred()) SWIG_fail; | |
1447 | } | |
1448 | { | |
1449 | #if wxUSE_UNICODE | |
1450 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1451 | #else | |
1452 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1453 | #endif | |
1454 | } | |
1455 | { | |
1456 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1457 | resultobj = t_output_helper(resultobj,o); | |
1458 | } | |
1459 | return resultobj; | |
1460 | fail: | |
1461 | return NULL; | |
1462 | } | |
1463 | ||
1464 | ||
1465 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1466 | PyObject *resultobj; | |
1467 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1468 | int result; | |
1469 | PyObject * obj0 = 0 ; | |
1470 | char *kwnames[] = { | |
1471 | (char *) "self", NULL | |
1472 | }; | |
1473 | ||
1474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; | |
1475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1477 | { | |
1478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1479 | result = (int)(arg1)->GetEndStyled(); | |
1480 | ||
1481 | wxPyEndAllowThreads(__tstate); | |
1482 | if (PyErr_Occurred()) SWIG_fail; | |
1483 | } | |
1484 | resultobj = SWIG_FromInt((int)result); | |
1485 | return resultobj; | |
1486 | fail: | |
1487 | return NULL; | |
1488 | } | |
1489 | ||
1490 | ||
1491 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1492 | PyObject *resultobj; | |
1493 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1494 | int arg2 ; | |
1495 | PyObject * obj0 = 0 ; | |
1496 | PyObject * obj1 = 0 ; | |
1497 | char *kwnames[] = { | |
1498 | (char *) "self",(char *) "eolMode", NULL | |
1499 | }; | |
1500 | ||
1501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; | |
1502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1504 | arg2 = (int) SWIG_AsInt(obj1); | |
1505 | if (PyErr_Occurred()) SWIG_fail; | |
1506 | { | |
1507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1508 | (arg1)->ConvertEOLs(arg2); | |
1509 | ||
1510 | wxPyEndAllowThreads(__tstate); | |
1511 | if (PyErr_Occurred()) SWIG_fail; | |
1512 | } | |
1513 | Py_INCREF(Py_None); resultobj = Py_None; | |
1514 | return resultobj; | |
1515 | fail: | |
1516 | return NULL; | |
1517 | } | |
1518 | ||
1519 | ||
1520 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1521 | PyObject *resultobj; | |
1522 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1523 | int result; | |
1524 | PyObject * obj0 = 0 ; | |
1525 | char *kwnames[] = { | |
1526 | (char *) "self", NULL | |
1527 | }; | |
1528 | ||
1529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; | |
1530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1532 | { | |
1533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1534 | result = (int)(arg1)->GetEOLMode(); | |
1535 | ||
1536 | wxPyEndAllowThreads(__tstate); | |
1537 | if (PyErr_Occurred()) SWIG_fail; | |
1538 | } | |
1539 | resultobj = SWIG_FromInt((int)result); | |
1540 | return resultobj; | |
1541 | fail: | |
1542 | return NULL; | |
1543 | } | |
1544 | ||
1545 | ||
1546 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1547 | PyObject *resultobj; | |
1548 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1549 | int arg2 ; | |
1550 | PyObject * obj0 = 0 ; | |
1551 | PyObject * obj1 = 0 ; | |
1552 | char *kwnames[] = { | |
1553 | (char *) "self",(char *) "eolMode", NULL | |
1554 | }; | |
1555 | ||
1556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; | |
1557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1559 | arg2 = (int) SWIG_AsInt(obj1); | |
1560 | if (PyErr_Occurred()) SWIG_fail; | |
1561 | { | |
1562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1563 | (arg1)->SetEOLMode(arg2); | |
1564 | ||
1565 | wxPyEndAllowThreads(__tstate); | |
1566 | if (PyErr_Occurred()) SWIG_fail; | |
1567 | } | |
1568 | Py_INCREF(Py_None); resultobj = Py_None; | |
1569 | return resultobj; | |
1570 | fail: | |
1571 | return NULL; | |
1572 | } | |
1573 | ||
1574 | ||
1575 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1576 | PyObject *resultobj; | |
1577 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1578 | int arg2 ; | |
1579 | int arg3 ; | |
1580 | PyObject * obj0 = 0 ; | |
1581 | PyObject * obj1 = 0 ; | |
1582 | PyObject * obj2 = 0 ; | |
1583 | char *kwnames[] = { | |
1584 | (char *) "self",(char *) "pos",(char *) "mask", NULL | |
1585 | }; | |
1586 | ||
1587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1590 | arg2 = (int) SWIG_AsInt(obj1); | |
1591 | if (PyErr_Occurred()) SWIG_fail; | |
1592 | arg3 = (int) SWIG_AsInt(obj2); | |
1593 | if (PyErr_Occurred()) SWIG_fail; | |
1594 | { | |
1595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1596 | (arg1)->StartStyling(arg2,arg3); | |
1597 | ||
1598 | wxPyEndAllowThreads(__tstate); | |
1599 | if (PyErr_Occurred()) SWIG_fail; | |
1600 | } | |
1601 | Py_INCREF(Py_None); resultobj = Py_None; | |
1602 | return resultobj; | |
1603 | fail: | |
1604 | return NULL; | |
1605 | } | |
1606 | ||
1607 | ||
1608 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1609 | PyObject *resultobj; | |
1610 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1611 | int arg2 ; | |
1612 | int arg3 ; | |
1613 | PyObject * obj0 = 0 ; | |
1614 | PyObject * obj1 = 0 ; | |
1615 | PyObject * obj2 = 0 ; | |
1616 | char *kwnames[] = { | |
1617 | (char *) "self",(char *) "length",(char *) "style", NULL | |
1618 | }; | |
1619 | ||
1620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1621 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1622 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1623 | arg2 = (int) SWIG_AsInt(obj1); | |
1624 | if (PyErr_Occurred()) SWIG_fail; | |
1625 | arg3 = (int) SWIG_AsInt(obj2); | |
1626 | if (PyErr_Occurred()) SWIG_fail; | |
1627 | { | |
1628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1629 | (arg1)->SetStyling(arg2,arg3); | |
1630 | ||
1631 | wxPyEndAllowThreads(__tstate); | |
1632 | if (PyErr_Occurred()) SWIG_fail; | |
1633 | } | |
1634 | Py_INCREF(Py_None); resultobj = Py_None; | |
1635 | return resultobj; | |
1636 | fail: | |
1637 | return NULL; | |
1638 | } | |
1639 | ||
1640 | ||
1641 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1642 | PyObject *resultobj; | |
1643 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1644 | bool result; | |
1645 | PyObject * obj0 = 0 ; | |
1646 | char *kwnames[] = { | |
1647 | (char *) "self", NULL | |
1648 | }; | |
1649 | ||
1650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; | |
1651 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1652 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1653 | { | |
1654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1655 | result = (bool)(arg1)->GetBufferedDraw(); | |
1656 | ||
1657 | wxPyEndAllowThreads(__tstate); | |
1658 | if (PyErr_Occurred()) SWIG_fail; | |
1659 | } | |
1660 | { | |
1661 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1662 | } | |
1663 | return resultobj; | |
1664 | fail: | |
1665 | return NULL; | |
1666 | } | |
1667 | ||
1668 | ||
1669 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1670 | PyObject *resultobj; | |
1671 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1672 | bool arg2 ; | |
1673 | PyObject * obj0 = 0 ; | |
1674 | PyObject * obj1 = 0 ; | |
1675 | char *kwnames[] = { | |
1676 | (char *) "self",(char *) "buffered", NULL | |
1677 | }; | |
1678 | ||
1679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; | |
1680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1682 | arg2 = (bool) SWIG_AsBool(obj1); | |
1683 | if (PyErr_Occurred()) SWIG_fail; | |
1684 | { | |
1685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1686 | (arg1)->SetBufferedDraw(arg2); | |
1687 | ||
1688 | wxPyEndAllowThreads(__tstate); | |
1689 | if (PyErr_Occurred()) SWIG_fail; | |
1690 | } | |
1691 | Py_INCREF(Py_None); resultobj = Py_None; | |
1692 | return resultobj; | |
1693 | fail: | |
1694 | return NULL; | |
1695 | } | |
1696 | ||
1697 | ||
1698 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1699 | PyObject *resultobj; | |
1700 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1701 | int arg2 ; | |
1702 | PyObject * obj0 = 0 ; | |
1703 | PyObject * obj1 = 0 ; | |
1704 | char *kwnames[] = { | |
1705 | (char *) "self",(char *) "tabWidth", NULL | |
1706 | }; | |
1707 | ||
1708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; | |
1709 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1710 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1711 | arg2 = (int) SWIG_AsInt(obj1); | |
1712 | if (PyErr_Occurred()) SWIG_fail; | |
1713 | { | |
1714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1715 | (arg1)->SetTabWidth(arg2); | |
1716 | ||
1717 | wxPyEndAllowThreads(__tstate); | |
1718 | if (PyErr_Occurred()) SWIG_fail; | |
1719 | } | |
1720 | Py_INCREF(Py_None); resultobj = Py_None; | |
1721 | return resultobj; | |
1722 | fail: | |
1723 | return NULL; | |
1724 | } | |
1725 | ||
1726 | ||
1727 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1728 | PyObject *resultobj; | |
1729 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1730 | int result; | |
1731 | PyObject * obj0 = 0 ; | |
1732 | char *kwnames[] = { | |
1733 | (char *) "self", NULL | |
1734 | }; | |
1735 | ||
1736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; | |
1737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1739 | { | |
1740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1741 | result = (int)(arg1)->GetTabWidth(); | |
1742 | ||
1743 | wxPyEndAllowThreads(__tstate); | |
1744 | if (PyErr_Occurred()) SWIG_fail; | |
1745 | } | |
1746 | resultobj = SWIG_FromInt((int)result); | |
1747 | return resultobj; | |
1748 | fail: | |
1749 | return NULL; | |
1750 | } | |
1751 | ||
1752 | ||
1753 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1754 | PyObject *resultobj; | |
1755 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1756 | int arg2 ; | |
1757 | PyObject * obj0 = 0 ; | |
1758 | PyObject * obj1 = 0 ; | |
1759 | char *kwnames[] = { | |
1760 | (char *) "self",(char *) "codePage", NULL | |
1761 | }; | |
1762 | ||
1763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; | |
1764 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1765 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1766 | arg2 = (int) SWIG_AsInt(obj1); | |
1767 | if (PyErr_Occurred()) SWIG_fail; | |
1768 | { | |
1769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1770 | (arg1)->SetCodePage(arg2); | |
1771 | ||
1772 | wxPyEndAllowThreads(__tstate); | |
1773 | if (PyErr_Occurred()) SWIG_fail; | |
1774 | } | |
1775 | Py_INCREF(Py_None); resultobj = Py_None; | |
1776 | return resultobj; | |
1777 | fail: | |
1778 | return NULL; | |
1779 | } | |
1780 | ||
1781 | ||
1782 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1783 | PyObject *resultobj; | |
1784 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1785 | int arg2 ; | |
1786 | int arg3 ; | |
1787 | wxColour const &arg4_defvalue = wxNullColour ; | |
1788 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
1789 | wxColour const &arg5_defvalue = wxNullColour ; | |
1790 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
1791 | wxColour temp4 ; | |
1792 | wxColour temp5 ; | |
1793 | PyObject * obj0 = 0 ; | |
1794 | PyObject * obj1 = 0 ; | |
1795 | PyObject * obj2 = 0 ; | |
1796 | PyObject * obj3 = 0 ; | |
1797 | PyObject * obj4 = 0 ; | |
1798 | char *kwnames[] = { | |
1799 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL | |
1800 | }; | |
1801 | ||
1802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
1803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1805 | arg2 = (int) SWIG_AsInt(obj1); | |
1806 | if (PyErr_Occurred()) SWIG_fail; | |
1807 | arg3 = (int) SWIG_AsInt(obj2); | |
1808 | if (PyErr_Occurred()) SWIG_fail; | |
1809 | if (obj3) { | |
1810 | { | |
1811 | arg4 = &temp4; | |
1812 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
1813 | } | |
1814 | } | |
1815 | if (obj4) { | |
1816 | { | |
1817 | arg5 = &temp5; | |
1818 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
1819 | } | |
1820 | } | |
1821 | { | |
1822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1823 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); | |
1824 | ||
1825 | wxPyEndAllowThreads(__tstate); | |
1826 | if (PyErr_Occurred()) SWIG_fail; | |
1827 | } | |
1828 | Py_INCREF(Py_None); resultobj = Py_None; | |
1829 | return resultobj; | |
1830 | fail: | |
1831 | return NULL; | |
1832 | } | |
1833 | ||
1834 | ||
1835 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1836 | PyObject *resultobj; | |
1837 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1838 | int arg2 ; | |
1839 | wxColour *arg3 = 0 ; | |
1840 | wxColour temp3 ; | |
1841 | PyObject * obj0 = 0 ; | |
1842 | PyObject * obj1 = 0 ; | |
1843 | PyObject * obj2 = 0 ; | |
1844 | char *kwnames[] = { | |
1845 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL | |
1846 | }; | |
1847 | ||
1848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1851 | arg2 = (int) SWIG_AsInt(obj1); | |
1852 | if (PyErr_Occurred()) SWIG_fail; | |
1853 | { | |
1854 | arg3 = &temp3; | |
1855 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1856 | } | |
1857 | { | |
1858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1859 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); | |
1860 | ||
1861 | wxPyEndAllowThreads(__tstate); | |
1862 | if (PyErr_Occurred()) SWIG_fail; | |
1863 | } | |
1864 | Py_INCREF(Py_None); resultobj = Py_None; | |
1865 | return resultobj; | |
1866 | fail: | |
1867 | return NULL; | |
1868 | } | |
1869 | ||
1870 | ||
1871 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1872 | PyObject *resultobj; | |
1873 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1874 | int arg2 ; | |
1875 | wxColour *arg3 = 0 ; | |
1876 | wxColour temp3 ; | |
1877 | PyObject * obj0 = 0 ; | |
1878 | PyObject * obj1 = 0 ; | |
1879 | PyObject * obj2 = 0 ; | |
1880 | char *kwnames[] = { | |
1881 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL | |
1882 | }; | |
1883 | ||
1884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1887 | arg2 = (int) SWIG_AsInt(obj1); | |
1888 | if (PyErr_Occurred()) SWIG_fail; | |
1889 | { | |
1890 | arg3 = &temp3; | |
1891 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1892 | } | |
1893 | { | |
1894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1895 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); | |
1896 | ||
1897 | wxPyEndAllowThreads(__tstate); | |
1898 | if (PyErr_Occurred()) SWIG_fail; | |
1899 | } | |
1900 | Py_INCREF(Py_None); resultobj = Py_None; | |
1901 | return resultobj; | |
1902 | fail: | |
1903 | return NULL; | |
1904 | } | |
1905 | ||
1906 | ||
1907 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1908 | PyObject *resultobj; | |
1909 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1910 | int arg2 ; | |
1911 | int arg3 ; | |
1912 | int result; | |
1913 | PyObject * obj0 = 0 ; | |
1914 | PyObject * obj1 = 0 ; | |
1915 | PyObject * obj2 = 0 ; | |
1916 | char *kwnames[] = { | |
1917 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
1918 | }; | |
1919 | ||
1920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1921 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1923 | arg2 = (int) SWIG_AsInt(obj1); | |
1924 | if (PyErr_Occurred()) SWIG_fail; | |
1925 | arg3 = (int) SWIG_AsInt(obj2); | |
1926 | if (PyErr_Occurred()) SWIG_fail; | |
1927 | { | |
1928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1929 | result = (int)(arg1)->MarkerAdd(arg2,arg3); | |
1930 | ||
1931 | wxPyEndAllowThreads(__tstate); | |
1932 | if (PyErr_Occurred()) SWIG_fail; | |
1933 | } | |
1934 | resultobj = SWIG_FromInt((int)result); | |
1935 | return resultobj; | |
1936 | fail: | |
1937 | return NULL; | |
1938 | } | |
1939 | ||
1940 | ||
1941 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1942 | PyObject *resultobj; | |
1943 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1944 | int arg2 ; | |
1945 | int arg3 ; | |
1946 | PyObject * obj0 = 0 ; | |
1947 | PyObject * obj1 = 0 ; | |
1948 | PyObject * obj2 = 0 ; | |
1949 | char *kwnames[] = { | |
1950 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
1951 | }; | |
1952 | ||
1953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1956 | arg2 = (int) SWIG_AsInt(obj1); | |
1957 | if (PyErr_Occurred()) SWIG_fail; | |
1958 | arg3 = (int) SWIG_AsInt(obj2); | |
1959 | if (PyErr_Occurred()) SWIG_fail; | |
1960 | { | |
1961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1962 | (arg1)->MarkerDelete(arg2,arg3); | |
1963 | ||
1964 | wxPyEndAllowThreads(__tstate); | |
1965 | if (PyErr_Occurred()) SWIG_fail; | |
1966 | } | |
1967 | Py_INCREF(Py_None); resultobj = Py_None; | |
1968 | return resultobj; | |
1969 | fail: | |
1970 | return NULL; | |
1971 | } | |
1972 | ||
1973 | ||
1974 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1975 | PyObject *resultobj; | |
1976 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1977 | int arg2 ; | |
1978 | PyObject * obj0 = 0 ; | |
1979 | PyObject * obj1 = 0 ; | |
1980 | char *kwnames[] = { | |
1981 | (char *) "self",(char *) "markerNumber", NULL | |
1982 | }; | |
1983 | ||
1984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; | |
1985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
1986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1987 | arg2 = (int) SWIG_AsInt(obj1); | |
1988 | if (PyErr_Occurred()) SWIG_fail; | |
1989 | { | |
1990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1991 | (arg1)->MarkerDeleteAll(arg2); | |
1992 | ||
1993 | wxPyEndAllowThreads(__tstate); | |
1994 | if (PyErr_Occurred()) SWIG_fail; | |
1995 | } | |
1996 | Py_INCREF(Py_None); resultobj = Py_None; | |
1997 | return resultobj; | |
1998 | fail: | |
1999 | return NULL; | |
2000 | } | |
2001 | ||
2002 | ||
2003 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2004 | PyObject *resultobj; | |
2005 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2006 | int arg2 ; | |
2007 | int result; | |
2008 | PyObject * obj0 = 0 ; | |
2009 | PyObject * obj1 = 0 ; | |
2010 | char *kwnames[] = { | |
2011 | (char *) "self",(char *) "line", NULL | |
2012 | }; | |
2013 | ||
2014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; | |
2015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2017 | arg2 = (int) SWIG_AsInt(obj1); | |
2018 | if (PyErr_Occurred()) SWIG_fail; | |
2019 | { | |
2020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2021 | result = (int)(arg1)->MarkerGet(arg2); | |
2022 | ||
2023 | wxPyEndAllowThreads(__tstate); | |
2024 | if (PyErr_Occurred()) SWIG_fail; | |
2025 | } | |
2026 | resultobj = SWIG_FromInt((int)result); | |
2027 | return resultobj; | |
2028 | fail: | |
2029 | return NULL; | |
2030 | } | |
2031 | ||
2032 | ||
2033 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2034 | PyObject *resultobj; | |
2035 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2036 | int arg2 ; | |
2037 | int arg3 ; | |
2038 | int result; | |
2039 | PyObject * obj0 = 0 ; | |
2040 | PyObject * obj1 = 0 ; | |
2041 | PyObject * obj2 = 0 ; | |
2042 | char *kwnames[] = { | |
2043 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
2044 | }; | |
2045 | ||
2046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2047 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2048 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2049 | arg2 = (int) SWIG_AsInt(obj1); | |
2050 | if (PyErr_Occurred()) SWIG_fail; | |
2051 | arg3 = (int) SWIG_AsInt(obj2); | |
2052 | if (PyErr_Occurred()) SWIG_fail; | |
2053 | { | |
2054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2055 | result = (int)(arg1)->MarkerNext(arg2,arg3); | |
2056 | ||
2057 | wxPyEndAllowThreads(__tstate); | |
2058 | if (PyErr_Occurred()) SWIG_fail; | |
2059 | } | |
2060 | resultobj = SWIG_FromInt((int)result); | |
2061 | return resultobj; | |
2062 | fail: | |
2063 | return NULL; | |
2064 | } | |
2065 | ||
2066 | ||
2067 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2068 | PyObject *resultobj; | |
2069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2070 | int arg2 ; | |
2071 | int arg3 ; | |
2072 | int result; | |
2073 | PyObject * obj0 = 0 ; | |
2074 | PyObject * obj1 = 0 ; | |
2075 | PyObject * obj2 = 0 ; | |
2076 | char *kwnames[] = { | |
2077 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
2078 | }; | |
2079 | ||
2080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2083 | arg2 = (int) SWIG_AsInt(obj1); | |
2084 | if (PyErr_Occurred()) SWIG_fail; | |
2085 | arg3 = (int) SWIG_AsInt(obj2); | |
2086 | if (PyErr_Occurred()) SWIG_fail; | |
2087 | { | |
2088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2089 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); | |
2090 | ||
2091 | wxPyEndAllowThreads(__tstate); | |
2092 | if (PyErr_Occurred()) SWIG_fail; | |
2093 | } | |
2094 | resultobj = SWIG_FromInt((int)result); | |
2095 | return resultobj; | |
2096 | fail: | |
2097 | return NULL; | |
2098 | } | |
2099 | ||
2100 | ||
2101 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2102 | PyObject *resultobj; | |
2103 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2104 | int arg2 ; | |
2105 | wxBitmap *arg3 = 0 ; | |
2106 | PyObject * obj0 = 0 ; | |
2107 | PyObject * obj1 = 0 ; | |
2108 | PyObject * obj2 = 0 ; | |
2109 | char *kwnames[] = { | |
2110 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL | |
2111 | }; | |
2112 | ||
2113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2116 | arg2 = (int) SWIG_AsInt(obj1); | |
2117 | if (PyErr_Occurred()) SWIG_fail; | |
2118 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, | |
2119 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2120 | SWIG_fail; | |
2121 | if (arg3 == NULL) { | |
2122 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2123 | SWIG_fail; | |
2124 | } | |
2125 | { | |
2126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2127 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); | |
2128 | ||
2129 | wxPyEndAllowThreads(__tstate); | |
2130 | if (PyErr_Occurred()) SWIG_fail; | |
2131 | } | |
2132 | Py_INCREF(Py_None); resultobj = Py_None; | |
2133 | return resultobj; | |
2134 | fail: | |
2135 | return NULL; | |
2136 | } | |
2137 | ||
2138 | ||
2139 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2140 | PyObject *resultobj; | |
2141 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2142 | int arg2 ; | |
2143 | int arg3 ; | |
2144 | PyObject * obj0 = 0 ; | |
2145 | PyObject * obj1 = 0 ; | |
2146 | PyObject * obj2 = 0 ; | |
2147 | char *kwnames[] = { | |
2148 | (char *) "self",(char *) "margin",(char *) "marginType", NULL | |
2149 | }; | |
2150 | ||
2151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2154 | arg2 = (int) SWIG_AsInt(obj1); | |
2155 | if (PyErr_Occurred()) SWIG_fail; | |
2156 | arg3 = (int) SWIG_AsInt(obj2); | |
2157 | if (PyErr_Occurred()) SWIG_fail; | |
2158 | { | |
2159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2160 | (arg1)->SetMarginType(arg2,arg3); | |
2161 | ||
2162 | wxPyEndAllowThreads(__tstate); | |
2163 | if (PyErr_Occurred()) SWIG_fail; | |
2164 | } | |
2165 | Py_INCREF(Py_None); resultobj = Py_None; | |
2166 | return resultobj; | |
2167 | fail: | |
2168 | return NULL; | |
2169 | } | |
2170 | ||
2171 | ||
2172 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2173 | PyObject *resultobj; | |
2174 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2175 | int arg2 ; | |
2176 | int result; | |
2177 | PyObject * obj0 = 0 ; | |
2178 | PyObject * obj1 = 0 ; | |
2179 | char *kwnames[] = { | |
2180 | (char *) "self",(char *) "margin", NULL | |
2181 | }; | |
2182 | ||
2183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; | |
2184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2186 | arg2 = (int) SWIG_AsInt(obj1); | |
2187 | if (PyErr_Occurred()) SWIG_fail; | |
2188 | { | |
2189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2190 | result = (int)(arg1)->GetMarginType(arg2); | |
2191 | ||
2192 | wxPyEndAllowThreads(__tstate); | |
2193 | if (PyErr_Occurred()) SWIG_fail; | |
2194 | } | |
2195 | resultobj = SWIG_FromInt((int)result); | |
2196 | return resultobj; | |
2197 | fail: | |
2198 | return NULL; | |
2199 | } | |
2200 | ||
2201 | ||
2202 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2203 | PyObject *resultobj; | |
2204 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2205 | int arg2 ; | |
2206 | int arg3 ; | |
2207 | PyObject * obj0 = 0 ; | |
2208 | PyObject * obj1 = 0 ; | |
2209 | PyObject * obj2 = 0 ; | |
2210 | char *kwnames[] = { | |
2211 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL | |
2212 | }; | |
2213 | ||
2214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2217 | arg2 = (int) SWIG_AsInt(obj1); | |
2218 | if (PyErr_Occurred()) SWIG_fail; | |
2219 | arg3 = (int) SWIG_AsInt(obj2); | |
2220 | if (PyErr_Occurred()) SWIG_fail; | |
2221 | { | |
2222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2223 | (arg1)->SetMarginWidth(arg2,arg3); | |
2224 | ||
2225 | wxPyEndAllowThreads(__tstate); | |
2226 | if (PyErr_Occurred()) SWIG_fail; | |
2227 | } | |
2228 | Py_INCREF(Py_None); resultobj = Py_None; | |
2229 | return resultobj; | |
2230 | fail: | |
2231 | return NULL; | |
2232 | } | |
2233 | ||
2234 | ||
2235 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2236 | PyObject *resultobj; | |
2237 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2238 | int arg2 ; | |
2239 | int result; | |
2240 | PyObject * obj0 = 0 ; | |
2241 | PyObject * obj1 = 0 ; | |
2242 | char *kwnames[] = { | |
2243 | (char *) "self",(char *) "margin", NULL | |
2244 | }; | |
2245 | ||
2246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; | |
2247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2249 | arg2 = (int) SWIG_AsInt(obj1); | |
2250 | if (PyErr_Occurred()) SWIG_fail; | |
2251 | { | |
2252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2253 | result = (int)(arg1)->GetMarginWidth(arg2); | |
2254 | ||
2255 | wxPyEndAllowThreads(__tstate); | |
2256 | if (PyErr_Occurred()) SWIG_fail; | |
2257 | } | |
2258 | resultobj = SWIG_FromInt((int)result); | |
2259 | return resultobj; | |
2260 | fail: | |
2261 | return NULL; | |
2262 | } | |
2263 | ||
2264 | ||
2265 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2266 | PyObject *resultobj; | |
2267 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2268 | int arg2 ; | |
2269 | int arg3 ; | |
2270 | PyObject * obj0 = 0 ; | |
2271 | PyObject * obj1 = 0 ; | |
2272 | PyObject * obj2 = 0 ; | |
2273 | char *kwnames[] = { | |
2274 | (char *) "self",(char *) "margin",(char *) "mask", NULL | |
2275 | }; | |
2276 | ||
2277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2280 | arg2 = (int) SWIG_AsInt(obj1); | |
2281 | if (PyErr_Occurred()) SWIG_fail; | |
2282 | arg3 = (int) SWIG_AsInt(obj2); | |
2283 | if (PyErr_Occurred()) SWIG_fail; | |
2284 | { | |
2285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2286 | (arg1)->SetMarginMask(arg2,arg3); | |
2287 | ||
2288 | wxPyEndAllowThreads(__tstate); | |
2289 | if (PyErr_Occurred()) SWIG_fail; | |
2290 | } | |
2291 | Py_INCREF(Py_None); resultobj = Py_None; | |
2292 | return resultobj; | |
2293 | fail: | |
2294 | return NULL; | |
2295 | } | |
2296 | ||
2297 | ||
2298 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2299 | PyObject *resultobj; | |
2300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2301 | int arg2 ; | |
2302 | int result; | |
2303 | PyObject * obj0 = 0 ; | |
2304 | PyObject * obj1 = 0 ; | |
2305 | char *kwnames[] = { | |
2306 | (char *) "self",(char *) "margin", NULL | |
2307 | }; | |
2308 | ||
2309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; | |
2310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2312 | arg2 = (int) SWIG_AsInt(obj1); | |
2313 | if (PyErr_Occurred()) SWIG_fail; | |
2314 | { | |
2315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2316 | result = (int)(arg1)->GetMarginMask(arg2); | |
2317 | ||
2318 | wxPyEndAllowThreads(__tstate); | |
2319 | if (PyErr_Occurred()) SWIG_fail; | |
2320 | } | |
2321 | resultobj = SWIG_FromInt((int)result); | |
2322 | return resultobj; | |
2323 | fail: | |
2324 | return NULL; | |
2325 | } | |
2326 | ||
2327 | ||
2328 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2329 | PyObject *resultobj; | |
2330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2331 | int arg2 ; | |
2332 | bool arg3 ; | |
2333 | PyObject * obj0 = 0 ; | |
2334 | PyObject * obj1 = 0 ; | |
2335 | PyObject * obj2 = 0 ; | |
2336 | char *kwnames[] = { | |
2337 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL | |
2338 | }; | |
2339 | ||
2340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2343 | arg2 = (int) SWIG_AsInt(obj1); | |
2344 | if (PyErr_Occurred()) SWIG_fail; | |
2345 | arg3 = (bool) SWIG_AsBool(obj2); | |
2346 | if (PyErr_Occurred()) SWIG_fail; | |
2347 | { | |
2348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2349 | (arg1)->SetMarginSensitive(arg2,arg3); | |
2350 | ||
2351 | wxPyEndAllowThreads(__tstate); | |
2352 | if (PyErr_Occurred()) SWIG_fail; | |
2353 | } | |
2354 | Py_INCREF(Py_None); resultobj = Py_None; | |
2355 | return resultobj; | |
2356 | fail: | |
2357 | return NULL; | |
2358 | } | |
2359 | ||
2360 | ||
2361 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2362 | PyObject *resultobj; | |
2363 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2364 | int arg2 ; | |
2365 | bool result; | |
2366 | PyObject * obj0 = 0 ; | |
2367 | PyObject * obj1 = 0 ; | |
2368 | char *kwnames[] = { | |
2369 | (char *) "self",(char *) "margin", NULL | |
2370 | }; | |
2371 | ||
2372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; | |
2373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2375 | arg2 = (int) SWIG_AsInt(obj1); | |
2376 | if (PyErr_Occurred()) SWIG_fail; | |
2377 | { | |
2378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2379 | result = (bool)(arg1)->GetMarginSensitive(arg2); | |
2380 | ||
2381 | wxPyEndAllowThreads(__tstate); | |
2382 | if (PyErr_Occurred()) SWIG_fail; | |
2383 | } | |
2384 | { | |
2385 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2386 | } | |
2387 | return resultobj; | |
2388 | fail: | |
2389 | return NULL; | |
2390 | } | |
2391 | ||
2392 | ||
2393 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2394 | PyObject *resultobj; | |
2395 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2396 | PyObject * obj0 = 0 ; | |
2397 | char *kwnames[] = { | |
2398 | (char *) "self", NULL | |
2399 | }; | |
2400 | ||
2401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
2402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2404 | { | |
2405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2406 | (arg1)->StyleClearAll(); | |
2407 | ||
2408 | wxPyEndAllowThreads(__tstate); | |
2409 | if (PyErr_Occurred()) SWIG_fail; | |
2410 | } | |
2411 | Py_INCREF(Py_None); resultobj = Py_None; | |
2412 | return resultobj; | |
2413 | fail: | |
2414 | return NULL; | |
2415 | } | |
2416 | ||
2417 | ||
2418 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2419 | PyObject *resultobj; | |
2420 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2421 | int arg2 ; | |
2422 | wxColour *arg3 = 0 ; | |
2423 | wxColour temp3 ; | |
2424 | PyObject * obj0 = 0 ; | |
2425 | PyObject * obj1 = 0 ; | |
2426 | PyObject * obj2 = 0 ; | |
2427 | char *kwnames[] = { | |
2428 | (char *) "self",(char *) "style",(char *) "fore", NULL | |
2429 | }; | |
2430 | ||
2431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2434 | arg2 = (int) SWIG_AsInt(obj1); | |
2435 | if (PyErr_Occurred()) SWIG_fail; | |
2436 | { | |
2437 | arg3 = &temp3; | |
2438 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2439 | } | |
2440 | { | |
2441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2442 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); | |
2443 | ||
2444 | wxPyEndAllowThreads(__tstate); | |
2445 | if (PyErr_Occurred()) SWIG_fail; | |
2446 | } | |
2447 | Py_INCREF(Py_None); resultobj = Py_None; | |
2448 | return resultobj; | |
2449 | fail: | |
2450 | return NULL; | |
2451 | } | |
2452 | ||
2453 | ||
2454 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2455 | PyObject *resultobj; | |
2456 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2457 | int arg2 ; | |
2458 | wxColour *arg3 = 0 ; | |
2459 | wxColour temp3 ; | |
2460 | PyObject * obj0 = 0 ; | |
2461 | PyObject * obj1 = 0 ; | |
2462 | PyObject * obj2 = 0 ; | |
2463 | char *kwnames[] = { | |
2464 | (char *) "self",(char *) "style",(char *) "back", NULL | |
2465 | }; | |
2466 | ||
2467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2470 | arg2 = (int) SWIG_AsInt(obj1); | |
2471 | if (PyErr_Occurred()) SWIG_fail; | |
2472 | { | |
2473 | arg3 = &temp3; | |
2474 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2475 | } | |
2476 | { | |
2477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2478 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); | |
2479 | ||
2480 | wxPyEndAllowThreads(__tstate); | |
2481 | if (PyErr_Occurred()) SWIG_fail; | |
2482 | } | |
2483 | Py_INCREF(Py_None); resultobj = Py_None; | |
2484 | return resultobj; | |
2485 | fail: | |
2486 | return NULL; | |
2487 | } | |
2488 | ||
2489 | ||
2490 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2491 | PyObject *resultobj; | |
2492 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2493 | int arg2 ; | |
2494 | bool arg3 ; | |
2495 | PyObject * obj0 = 0 ; | |
2496 | PyObject * obj1 = 0 ; | |
2497 | PyObject * obj2 = 0 ; | |
2498 | char *kwnames[] = { | |
2499 | (char *) "self",(char *) "style",(char *) "bold", NULL | |
2500 | }; | |
2501 | ||
2502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2505 | arg2 = (int) SWIG_AsInt(obj1); | |
2506 | if (PyErr_Occurred()) SWIG_fail; | |
2507 | arg3 = (bool) SWIG_AsBool(obj2); | |
2508 | if (PyErr_Occurred()) SWIG_fail; | |
2509 | { | |
2510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2511 | (arg1)->StyleSetBold(arg2,arg3); | |
2512 | ||
2513 | wxPyEndAllowThreads(__tstate); | |
2514 | if (PyErr_Occurred()) SWIG_fail; | |
2515 | } | |
2516 | Py_INCREF(Py_None); resultobj = Py_None; | |
2517 | return resultobj; | |
2518 | fail: | |
2519 | return NULL; | |
2520 | } | |
2521 | ||
2522 | ||
2523 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2524 | PyObject *resultobj; | |
2525 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2526 | int arg2 ; | |
2527 | bool arg3 ; | |
2528 | PyObject * obj0 = 0 ; | |
2529 | PyObject * obj1 = 0 ; | |
2530 | PyObject * obj2 = 0 ; | |
2531 | char *kwnames[] = { | |
2532 | (char *) "self",(char *) "style",(char *) "italic", NULL | |
2533 | }; | |
2534 | ||
2535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2538 | arg2 = (int) SWIG_AsInt(obj1); | |
2539 | if (PyErr_Occurred()) SWIG_fail; | |
2540 | arg3 = (bool) SWIG_AsBool(obj2); | |
2541 | if (PyErr_Occurred()) SWIG_fail; | |
2542 | { | |
2543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2544 | (arg1)->StyleSetItalic(arg2,arg3); | |
2545 | ||
2546 | wxPyEndAllowThreads(__tstate); | |
2547 | if (PyErr_Occurred()) SWIG_fail; | |
2548 | } | |
2549 | Py_INCREF(Py_None); resultobj = Py_None; | |
2550 | return resultobj; | |
2551 | fail: | |
2552 | return NULL; | |
2553 | } | |
2554 | ||
2555 | ||
2556 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2557 | PyObject *resultobj; | |
2558 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2559 | int arg2 ; | |
2560 | int arg3 ; | |
2561 | PyObject * obj0 = 0 ; | |
2562 | PyObject * obj1 = 0 ; | |
2563 | PyObject * obj2 = 0 ; | |
2564 | char *kwnames[] = { | |
2565 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL | |
2566 | }; | |
2567 | ||
2568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2571 | arg2 = (int) SWIG_AsInt(obj1); | |
2572 | if (PyErr_Occurred()) SWIG_fail; | |
2573 | arg3 = (int) SWIG_AsInt(obj2); | |
2574 | if (PyErr_Occurred()) SWIG_fail; | |
2575 | { | |
2576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2577 | (arg1)->StyleSetSize(arg2,arg3); | |
2578 | ||
2579 | wxPyEndAllowThreads(__tstate); | |
2580 | if (PyErr_Occurred()) SWIG_fail; | |
2581 | } | |
2582 | Py_INCREF(Py_None); resultobj = Py_None; | |
2583 | return resultobj; | |
2584 | fail: | |
2585 | return NULL; | |
2586 | } | |
2587 | ||
2588 | ||
2589 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2590 | PyObject *resultobj; | |
2591 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2592 | int arg2 ; | |
2593 | wxString *arg3 = 0 ; | |
2594 | bool temp3 = False ; | |
2595 | PyObject * obj0 = 0 ; | |
2596 | PyObject * obj1 = 0 ; | |
2597 | PyObject * obj2 = 0 ; | |
2598 | char *kwnames[] = { | |
2599 | (char *) "self",(char *) "style",(char *) "fontName", NULL | |
2600 | }; | |
2601 | ||
2602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2605 | arg2 = (int) SWIG_AsInt(obj1); | |
2606 | if (PyErr_Occurred()) SWIG_fail; | |
2607 | { | |
2608 | arg3 = wxString_in_helper(obj2); | |
2609 | if (arg3 == NULL) SWIG_fail; | |
2610 | temp3 = True; | |
2611 | } | |
2612 | { | |
2613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2614 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); | |
2615 | ||
2616 | wxPyEndAllowThreads(__tstate); | |
2617 | if (PyErr_Occurred()) SWIG_fail; | |
2618 | } | |
2619 | Py_INCREF(Py_None); resultobj = Py_None; | |
2620 | { | |
2621 | if (temp3) | |
2622 | delete arg3; | |
2623 | } | |
2624 | return resultobj; | |
2625 | fail: | |
2626 | { | |
2627 | if (temp3) | |
2628 | delete arg3; | |
2629 | } | |
2630 | return NULL; | |
2631 | } | |
2632 | ||
2633 | ||
2634 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2635 | PyObject *resultobj; | |
2636 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2637 | int arg2 ; | |
2638 | bool arg3 ; | |
2639 | PyObject * obj0 = 0 ; | |
2640 | PyObject * obj1 = 0 ; | |
2641 | PyObject * obj2 = 0 ; | |
2642 | char *kwnames[] = { | |
2643 | (char *) "self",(char *) "style",(char *) "filled", NULL | |
2644 | }; | |
2645 | ||
2646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2649 | arg2 = (int) SWIG_AsInt(obj1); | |
2650 | if (PyErr_Occurred()) SWIG_fail; | |
2651 | arg3 = (bool) SWIG_AsBool(obj2); | |
2652 | if (PyErr_Occurred()) SWIG_fail; | |
2653 | { | |
2654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2655 | (arg1)->StyleSetEOLFilled(arg2,arg3); | |
2656 | ||
2657 | wxPyEndAllowThreads(__tstate); | |
2658 | if (PyErr_Occurred()) SWIG_fail; | |
2659 | } | |
2660 | Py_INCREF(Py_None); resultobj = Py_None; | |
2661 | return resultobj; | |
2662 | fail: | |
2663 | return NULL; | |
2664 | } | |
2665 | ||
2666 | ||
2667 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2668 | PyObject *resultobj; | |
2669 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2670 | PyObject * obj0 = 0 ; | |
2671 | char *kwnames[] = { | |
2672 | (char *) "self", NULL | |
2673 | }; | |
2674 | ||
2675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; | |
2676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2678 | { | |
2679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2680 | (arg1)->StyleResetDefault(); | |
2681 | ||
2682 | wxPyEndAllowThreads(__tstate); | |
2683 | if (PyErr_Occurred()) SWIG_fail; | |
2684 | } | |
2685 | Py_INCREF(Py_None); resultobj = Py_None; | |
2686 | return resultobj; | |
2687 | fail: | |
2688 | return NULL; | |
2689 | } | |
2690 | ||
2691 | ||
2692 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2693 | PyObject *resultobj; | |
2694 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2695 | int arg2 ; | |
2696 | bool arg3 ; | |
2697 | PyObject * obj0 = 0 ; | |
2698 | PyObject * obj1 = 0 ; | |
2699 | PyObject * obj2 = 0 ; | |
2700 | char *kwnames[] = { | |
2701 | (char *) "self",(char *) "style",(char *) "underline", NULL | |
2702 | }; | |
2703 | ||
2704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2707 | arg2 = (int) SWIG_AsInt(obj1); | |
2708 | if (PyErr_Occurred()) SWIG_fail; | |
2709 | arg3 = (bool) SWIG_AsBool(obj2); | |
2710 | if (PyErr_Occurred()) SWIG_fail; | |
2711 | { | |
2712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2713 | (arg1)->StyleSetUnderline(arg2,arg3); | |
2714 | ||
2715 | wxPyEndAllowThreads(__tstate); | |
2716 | if (PyErr_Occurred()) SWIG_fail; | |
2717 | } | |
2718 | Py_INCREF(Py_None); resultobj = Py_None; | |
2719 | return resultobj; | |
2720 | fail: | |
2721 | return NULL; | |
2722 | } | |
2723 | ||
2724 | ||
2725 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2726 | PyObject *resultobj; | |
2727 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2728 | int arg2 ; | |
2729 | int arg3 ; | |
2730 | PyObject * obj0 = 0 ; | |
2731 | PyObject * obj1 = 0 ; | |
2732 | PyObject * obj2 = 0 ; | |
2733 | char *kwnames[] = { | |
2734 | (char *) "self",(char *) "style",(char *) "caseForce", NULL | |
2735 | }; | |
2736 | ||
2737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2740 | arg2 = (int) SWIG_AsInt(obj1); | |
2741 | if (PyErr_Occurred()) SWIG_fail; | |
2742 | arg3 = (int) SWIG_AsInt(obj2); | |
2743 | if (PyErr_Occurred()) SWIG_fail; | |
2744 | { | |
2745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2746 | (arg1)->StyleSetCase(arg2,arg3); | |
2747 | ||
2748 | wxPyEndAllowThreads(__tstate); | |
2749 | if (PyErr_Occurred()) SWIG_fail; | |
2750 | } | |
2751 | Py_INCREF(Py_None); resultobj = Py_None; | |
2752 | return resultobj; | |
2753 | fail: | |
2754 | return NULL; | |
2755 | } | |
2756 | ||
2757 | ||
2758 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2759 | PyObject *resultobj; | |
2760 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2761 | int arg2 ; | |
2762 | int arg3 ; | |
2763 | PyObject * obj0 = 0 ; | |
2764 | PyObject * obj1 = 0 ; | |
2765 | PyObject * obj2 = 0 ; | |
2766 | char *kwnames[] = { | |
2767 | (char *) "self",(char *) "style",(char *) "characterSet", NULL | |
2768 | }; | |
2769 | ||
2770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2773 | arg2 = (int) SWIG_AsInt(obj1); | |
2774 | if (PyErr_Occurred()) SWIG_fail; | |
2775 | arg3 = (int) SWIG_AsInt(obj2); | |
2776 | if (PyErr_Occurred()) SWIG_fail; | |
2777 | { | |
2778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2779 | (arg1)->StyleSetCharacterSet(arg2,arg3); | |
2780 | ||
2781 | wxPyEndAllowThreads(__tstate); | |
2782 | if (PyErr_Occurred()) SWIG_fail; | |
2783 | } | |
2784 | Py_INCREF(Py_None); resultobj = Py_None; | |
2785 | return resultobj; | |
2786 | fail: | |
2787 | return NULL; | |
2788 | } | |
2789 | ||
2790 | ||
2791 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2792 | PyObject *resultobj; | |
2793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2794 | int arg2 ; | |
2795 | bool arg3 ; | |
2796 | PyObject * obj0 = 0 ; | |
2797 | PyObject * obj1 = 0 ; | |
2798 | PyObject * obj2 = 0 ; | |
2799 | char *kwnames[] = { | |
2800 | (char *) "self",(char *) "style",(char *) "hotspot", NULL | |
2801 | }; | |
2802 | ||
2803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2806 | arg2 = (int) SWIG_AsInt(obj1); | |
2807 | if (PyErr_Occurred()) SWIG_fail; | |
2808 | arg3 = (bool) SWIG_AsBool(obj2); | |
2809 | if (PyErr_Occurred()) SWIG_fail; | |
2810 | { | |
2811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2812 | (arg1)->StyleSetHotSpot(arg2,arg3); | |
2813 | ||
2814 | wxPyEndAllowThreads(__tstate); | |
2815 | if (PyErr_Occurred()) SWIG_fail; | |
2816 | } | |
2817 | Py_INCREF(Py_None); resultobj = Py_None; | |
2818 | return resultobj; | |
2819 | fail: | |
2820 | return NULL; | |
2821 | } | |
2822 | ||
2823 | ||
2824 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2825 | PyObject *resultobj; | |
2826 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2827 | bool arg2 ; | |
2828 | wxColour *arg3 = 0 ; | |
2829 | wxColour temp3 ; | |
2830 | PyObject * obj0 = 0 ; | |
2831 | PyObject * obj1 = 0 ; | |
2832 | PyObject * obj2 = 0 ; | |
2833 | char *kwnames[] = { | |
2834 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
2835 | }; | |
2836 | ||
2837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2838 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2839 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2840 | arg2 = (bool) SWIG_AsBool(obj1); | |
2841 | if (PyErr_Occurred()) SWIG_fail; | |
2842 | { | |
2843 | arg3 = &temp3; | |
2844 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2845 | } | |
2846 | { | |
2847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2848 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); | |
2849 | ||
2850 | wxPyEndAllowThreads(__tstate); | |
2851 | if (PyErr_Occurred()) SWIG_fail; | |
2852 | } | |
2853 | Py_INCREF(Py_None); resultobj = Py_None; | |
2854 | return resultobj; | |
2855 | fail: | |
2856 | return NULL; | |
2857 | } | |
2858 | ||
2859 | ||
2860 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2861 | PyObject *resultobj; | |
2862 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2863 | bool arg2 ; | |
2864 | wxColour *arg3 = 0 ; | |
2865 | wxColour temp3 ; | |
2866 | PyObject * obj0 = 0 ; | |
2867 | PyObject * obj1 = 0 ; | |
2868 | PyObject * obj2 = 0 ; | |
2869 | char *kwnames[] = { | |
2870 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
2871 | }; | |
2872 | ||
2873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2876 | arg2 = (bool) SWIG_AsBool(obj1); | |
2877 | if (PyErr_Occurred()) SWIG_fail; | |
2878 | { | |
2879 | arg3 = &temp3; | |
2880 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2881 | } | |
2882 | { | |
2883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2884 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); | |
2885 | ||
2886 | wxPyEndAllowThreads(__tstate); | |
2887 | if (PyErr_Occurred()) SWIG_fail; | |
2888 | } | |
2889 | Py_INCREF(Py_None); resultobj = Py_None; | |
2890 | return resultobj; | |
2891 | fail: | |
2892 | return NULL; | |
2893 | } | |
2894 | ||
2895 | ||
2896 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2897 | PyObject *resultobj; | |
2898 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2899 | wxColour *arg2 = 0 ; | |
2900 | wxColour temp2 ; | |
2901 | PyObject * obj0 = 0 ; | |
2902 | PyObject * obj1 = 0 ; | |
2903 | char *kwnames[] = { | |
2904 | (char *) "self",(char *) "fore", NULL | |
2905 | }; | |
2906 | ||
2907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; | |
2908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2910 | { | |
2911 | arg2 = &temp2; | |
2912 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2913 | } | |
2914 | { | |
2915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2916 | (arg1)->SetCaretForeground((wxColour const &)*arg2); | |
2917 | ||
2918 | wxPyEndAllowThreads(__tstate); | |
2919 | if (PyErr_Occurred()) SWIG_fail; | |
2920 | } | |
2921 | Py_INCREF(Py_None); resultobj = Py_None; | |
2922 | return resultobj; | |
2923 | fail: | |
2924 | return NULL; | |
2925 | } | |
2926 | ||
2927 | ||
2928 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2929 | PyObject *resultobj; | |
2930 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2931 | int arg2 ; | |
2932 | int arg3 ; | |
2933 | int arg4 ; | |
2934 | PyObject * obj0 = 0 ; | |
2935 | PyObject * obj1 = 0 ; | |
2936 | PyObject * obj2 = 0 ; | |
2937 | PyObject * obj3 = 0 ; | |
2938 | char *kwnames[] = { | |
2939 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL | |
2940 | }; | |
2941 | ||
2942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2945 | arg2 = (int) SWIG_AsInt(obj1); | |
2946 | if (PyErr_Occurred()) SWIG_fail; | |
2947 | arg3 = (int) SWIG_AsInt(obj2); | |
2948 | if (PyErr_Occurred()) SWIG_fail; | |
2949 | arg4 = (int) SWIG_AsInt(obj3); | |
2950 | if (PyErr_Occurred()) SWIG_fail; | |
2951 | { | |
2952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2953 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); | |
2954 | ||
2955 | wxPyEndAllowThreads(__tstate); | |
2956 | if (PyErr_Occurred()) SWIG_fail; | |
2957 | } | |
2958 | Py_INCREF(Py_None); resultobj = Py_None; | |
2959 | return resultobj; | |
2960 | fail: | |
2961 | return NULL; | |
2962 | } | |
2963 | ||
2964 | ||
2965 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2966 | PyObject *resultobj; | |
2967 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2968 | int arg2 ; | |
2969 | int arg3 ; | |
2970 | PyObject * obj0 = 0 ; | |
2971 | PyObject * obj1 = 0 ; | |
2972 | PyObject * obj2 = 0 ; | |
2973 | char *kwnames[] = { | |
2974 | (char *) "self",(char *) "key",(char *) "modifiers", NULL | |
2975 | }; | |
2976 | ||
2977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
2979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2980 | arg2 = (int) SWIG_AsInt(obj1); | |
2981 | if (PyErr_Occurred()) SWIG_fail; | |
2982 | arg3 = (int) SWIG_AsInt(obj2); | |
2983 | if (PyErr_Occurred()) SWIG_fail; | |
2984 | { | |
2985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2986 | (arg1)->CmdKeyClear(arg2,arg3); | |
2987 | ||
2988 | wxPyEndAllowThreads(__tstate); | |
2989 | if (PyErr_Occurred()) SWIG_fail; | |
2990 | } | |
2991 | Py_INCREF(Py_None); resultobj = Py_None; | |
2992 | return resultobj; | |
2993 | fail: | |
2994 | return NULL; | |
2995 | } | |
2996 | ||
2997 | ||
2998 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2999 | PyObject *resultobj; | |
3000 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3001 | PyObject * obj0 = 0 ; | |
3002 | char *kwnames[] = { | |
3003 | (char *) "self", NULL | |
3004 | }; | |
3005 | ||
3006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; | |
3007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3009 | { | |
3010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3011 | (arg1)->CmdKeyClearAll(); | |
3012 | ||
3013 | wxPyEndAllowThreads(__tstate); | |
3014 | if (PyErr_Occurred()) SWIG_fail; | |
3015 | } | |
3016 | Py_INCREF(Py_None); resultobj = Py_None; | |
3017 | return resultobj; | |
3018 | fail: | |
3019 | return NULL; | |
3020 | } | |
3021 | ||
3022 | ||
3023 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3024 | PyObject *resultobj; | |
3025 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3026 | int arg2 ; | |
3027 | char *arg3 ; | |
3028 | PyObject * obj0 = 0 ; | |
3029 | PyObject * obj1 = 0 ; | |
3030 | PyObject * obj2 = 0 ; | |
3031 | char *kwnames[] = { | |
3032 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL | |
3033 | }; | |
3034 | ||
3035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3038 | arg2 = (int) SWIG_AsInt(obj1); | |
3039 | if (PyErr_Occurred()) SWIG_fail; | |
3040 | arg3 = SWIG_AsCharPtr(obj2); | |
3041 | if (PyErr_Occurred()) SWIG_fail; | |
3042 | { | |
3043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3044 | (arg1)->SetStyleBytes(arg2,arg3); | |
3045 | ||
3046 | wxPyEndAllowThreads(__tstate); | |
3047 | if (PyErr_Occurred()) SWIG_fail; | |
3048 | } | |
3049 | Py_INCREF(Py_None); resultobj = Py_None; | |
3050 | return resultobj; | |
3051 | fail: | |
3052 | return NULL; | |
3053 | } | |
3054 | ||
3055 | ||
3056 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3057 | PyObject *resultobj; | |
3058 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3059 | int arg2 ; | |
3060 | bool arg3 ; | |
3061 | PyObject * obj0 = 0 ; | |
3062 | PyObject * obj1 = 0 ; | |
3063 | PyObject * obj2 = 0 ; | |
3064 | char *kwnames[] = { | |
3065 | (char *) "self",(char *) "style",(char *) "visible", NULL | |
3066 | }; | |
3067 | ||
3068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3071 | arg2 = (int) SWIG_AsInt(obj1); | |
3072 | if (PyErr_Occurred()) SWIG_fail; | |
3073 | arg3 = (bool) SWIG_AsBool(obj2); | |
3074 | if (PyErr_Occurred()) SWIG_fail; | |
3075 | { | |
3076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3077 | (arg1)->StyleSetVisible(arg2,arg3); | |
3078 | ||
3079 | wxPyEndAllowThreads(__tstate); | |
3080 | if (PyErr_Occurred()) SWIG_fail; | |
3081 | } | |
3082 | Py_INCREF(Py_None); resultobj = Py_None; | |
3083 | return resultobj; | |
3084 | fail: | |
3085 | return NULL; | |
3086 | } | |
3087 | ||
3088 | ||
3089 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3090 | PyObject *resultobj; | |
3091 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3092 | int result; | |
3093 | PyObject * obj0 = 0 ; | |
3094 | char *kwnames[] = { | |
3095 | (char *) "self", NULL | |
3096 | }; | |
3097 | ||
3098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; | |
3099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3101 | { | |
3102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3103 | result = (int)(arg1)->GetCaretPeriod(); | |
3104 | ||
3105 | wxPyEndAllowThreads(__tstate); | |
3106 | if (PyErr_Occurred()) SWIG_fail; | |
3107 | } | |
3108 | resultobj = SWIG_FromInt((int)result); | |
3109 | return resultobj; | |
3110 | fail: | |
3111 | return NULL; | |
3112 | } | |
3113 | ||
3114 | ||
3115 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3116 | PyObject *resultobj; | |
3117 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3118 | int arg2 ; | |
3119 | PyObject * obj0 = 0 ; | |
3120 | PyObject * obj1 = 0 ; | |
3121 | char *kwnames[] = { | |
3122 | (char *) "self",(char *) "periodMilliseconds", NULL | |
3123 | }; | |
3124 | ||
3125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; | |
3126 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3128 | arg2 = (int) SWIG_AsInt(obj1); | |
3129 | if (PyErr_Occurred()) SWIG_fail; | |
3130 | { | |
3131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3132 | (arg1)->SetCaretPeriod(arg2); | |
3133 | ||
3134 | wxPyEndAllowThreads(__tstate); | |
3135 | if (PyErr_Occurred()) SWIG_fail; | |
3136 | } | |
3137 | Py_INCREF(Py_None); resultobj = Py_None; | |
3138 | return resultobj; | |
3139 | fail: | |
3140 | return NULL; | |
3141 | } | |
3142 | ||
3143 | ||
3144 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3145 | PyObject *resultobj; | |
3146 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3147 | wxString *arg2 = 0 ; | |
3148 | bool temp2 = False ; | |
3149 | PyObject * obj0 = 0 ; | |
3150 | PyObject * obj1 = 0 ; | |
3151 | char *kwnames[] = { | |
3152 | (char *) "self",(char *) "characters", NULL | |
3153 | }; | |
3154 | ||
3155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; | |
3156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3158 | { | |
3159 | arg2 = wxString_in_helper(obj1); | |
3160 | if (arg2 == NULL) SWIG_fail; | |
3161 | temp2 = True; | |
3162 | } | |
3163 | { | |
3164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3165 | (arg1)->SetWordChars((wxString const &)*arg2); | |
3166 | ||
3167 | wxPyEndAllowThreads(__tstate); | |
3168 | if (PyErr_Occurred()) SWIG_fail; | |
3169 | } | |
3170 | Py_INCREF(Py_None); resultobj = Py_None; | |
3171 | { | |
3172 | if (temp2) | |
3173 | delete arg2; | |
3174 | } | |
3175 | return resultobj; | |
3176 | fail: | |
3177 | { | |
3178 | if (temp2) | |
3179 | delete arg2; | |
3180 | } | |
3181 | return NULL; | |
3182 | } | |
3183 | ||
3184 | ||
3185 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3186 | PyObject *resultobj; | |
3187 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3188 | PyObject * obj0 = 0 ; | |
3189 | char *kwnames[] = { | |
3190 | (char *) "self", NULL | |
3191 | }; | |
3192 | ||
3193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; | |
3194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3196 | { | |
3197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3198 | (arg1)->BeginUndoAction(); | |
3199 | ||
3200 | wxPyEndAllowThreads(__tstate); | |
3201 | if (PyErr_Occurred()) SWIG_fail; | |
3202 | } | |
3203 | Py_INCREF(Py_None); resultobj = Py_None; | |
3204 | return resultobj; | |
3205 | fail: | |
3206 | return NULL; | |
3207 | } | |
3208 | ||
3209 | ||
3210 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3211 | PyObject *resultobj; | |
3212 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3213 | PyObject * obj0 = 0 ; | |
3214 | char *kwnames[] = { | |
3215 | (char *) "self", NULL | |
3216 | }; | |
3217 | ||
3218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; | |
3219 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3220 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3221 | { | |
3222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3223 | (arg1)->EndUndoAction(); | |
3224 | ||
3225 | wxPyEndAllowThreads(__tstate); | |
3226 | if (PyErr_Occurred()) SWIG_fail; | |
3227 | } | |
3228 | Py_INCREF(Py_None); resultobj = Py_None; | |
3229 | return resultobj; | |
3230 | fail: | |
3231 | return NULL; | |
3232 | } | |
3233 | ||
3234 | ||
3235 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3236 | PyObject *resultobj; | |
3237 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3238 | int arg2 ; | |
3239 | int arg3 ; | |
3240 | PyObject * obj0 = 0 ; | |
3241 | PyObject * obj1 = 0 ; | |
3242 | PyObject * obj2 = 0 ; | |
3243 | char *kwnames[] = { | |
3244 | (char *) "self",(char *) "indic",(char *) "style", NULL | |
3245 | }; | |
3246 | ||
3247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3250 | arg2 = (int) SWIG_AsInt(obj1); | |
3251 | if (PyErr_Occurred()) SWIG_fail; | |
3252 | arg3 = (int) SWIG_AsInt(obj2); | |
3253 | if (PyErr_Occurred()) SWIG_fail; | |
3254 | { | |
3255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3256 | (arg1)->IndicatorSetStyle(arg2,arg3); | |
3257 | ||
3258 | wxPyEndAllowThreads(__tstate); | |
3259 | if (PyErr_Occurred()) SWIG_fail; | |
3260 | } | |
3261 | Py_INCREF(Py_None); resultobj = Py_None; | |
3262 | return resultobj; | |
3263 | fail: | |
3264 | return NULL; | |
3265 | } | |
3266 | ||
3267 | ||
3268 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3269 | PyObject *resultobj; | |
3270 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3271 | int arg2 ; | |
3272 | int result; | |
3273 | PyObject * obj0 = 0 ; | |
3274 | PyObject * obj1 = 0 ; | |
3275 | char *kwnames[] = { | |
3276 | (char *) "self",(char *) "indic", NULL | |
3277 | }; | |
3278 | ||
3279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; | |
3280 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3281 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3282 | arg2 = (int) SWIG_AsInt(obj1); | |
3283 | if (PyErr_Occurred()) SWIG_fail; | |
3284 | { | |
3285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3286 | result = (int)(arg1)->IndicatorGetStyle(arg2); | |
3287 | ||
3288 | wxPyEndAllowThreads(__tstate); | |
3289 | if (PyErr_Occurred()) SWIG_fail; | |
3290 | } | |
3291 | resultobj = SWIG_FromInt((int)result); | |
3292 | return resultobj; | |
3293 | fail: | |
3294 | return NULL; | |
3295 | } | |
3296 | ||
3297 | ||
3298 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3299 | PyObject *resultobj; | |
3300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3301 | int arg2 ; | |
3302 | wxColour *arg3 = 0 ; | |
3303 | wxColour temp3 ; | |
3304 | PyObject * obj0 = 0 ; | |
3305 | PyObject * obj1 = 0 ; | |
3306 | PyObject * obj2 = 0 ; | |
3307 | char *kwnames[] = { | |
3308 | (char *) "self",(char *) "indic",(char *) "fore", NULL | |
3309 | }; | |
3310 | ||
3311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3314 | arg2 = (int) SWIG_AsInt(obj1); | |
3315 | if (PyErr_Occurred()) SWIG_fail; | |
3316 | { | |
3317 | arg3 = &temp3; | |
3318 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3319 | } | |
3320 | { | |
3321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3322 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); | |
3323 | ||
3324 | wxPyEndAllowThreads(__tstate); | |
3325 | if (PyErr_Occurred()) SWIG_fail; | |
3326 | } | |
3327 | Py_INCREF(Py_None); resultobj = Py_None; | |
3328 | return resultobj; | |
3329 | fail: | |
3330 | return NULL; | |
3331 | } | |
3332 | ||
3333 | ||
3334 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3335 | PyObject *resultobj; | |
3336 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3337 | int arg2 ; | |
3338 | wxColour result; | |
3339 | PyObject * obj0 = 0 ; | |
3340 | PyObject * obj1 = 0 ; | |
3341 | char *kwnames[] = { | |
3342 | (char *) "self",(char *) "indic", NULL | |
3343 | }; | |
3344 | ||
3345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; | |
3346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3348 | arg2 = (int) SWIG_AsInt(obj1); | |
3349 | if (PyErr_Occurred()) SWIG_fail; | |
3350 | { | |
3351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3352 | result = (arg1)->IndicatorGetForeground(arg2); | |
3353 | ||
3354 | wxPyEndAllowThreads(__tstate); | |
3355 | if (PyErr_Occurred()) SWIG_fail; | |
3356 | } | |
3357 | { | |
3358 | wxColour * resultptr; | |
3359 | resultptr = new wxColour((wxColour &) result); | |
3360 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3361 | } | |
3362 | return resultobj; | |
3363 | fail: | |
3364 | return NULL; | |
3365 | } | |
3366 | ||
3367 | ||
3368 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3369 | PyObject *resultobj; | |
3370 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3371 | bool arg2 ; | |
3372 | wxColour *arg3 = 0 ; | |
3373 | wxColour temp3 ; | |
3374 | PyObject * obj0 = 0 ; | |
3375 | PyObject * obj1 = 0 ; | |
3376 | PyObject * obj2 = 0 ; | |
3377 | char *kwnames[] = { | |
3378 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
3379 | }; | |
3380 | ||
3381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3382 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3384 | arg2 = (bool) SWIG_AsBool(obj1); | |
3385 | if (PyErr_Occurred()) SWIG_fail; | |
3386 | { | |
3387 | arg3 = &temp3; | |
3388 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3389 | } | |
3390 | { | |
3391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3392 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); | |
3393 | ||
3394 | wxPyEndAllowThreads(__tstate); | |
3395 | if (PyErr_Occurred()) SWIG_fail; | |
3396 | } | |
3397 | Py_INCREF(Py_None); resultobj = Py_None; | |
3398 | return resultobj; | |
3399 | fail: | |
3400 | return NULL; | |
3401 | } | |
3402 | ||
3403 | ||
3404 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3405 | PyObject *resultobj; | |
3406 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3407 | bool arg2 ; | |
3408 | wxColour *arg3 = 0 ; | |
3409 | wxColour temp3 ; | |
3410 | PyObject * obj0 = 0 ; | |
3411 | PyObject * obj1 = 0 ; | |
3412 | PyObject * obj2 = 0 ; | |
3413 | char *kwnames[] = { | |
3414 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
3415 | }; | |
3416 | ||
3417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3420 | arg2 = (bool) SWIG_AsBool(obj1); | |
3421 | if (PyErr_Occurred()) SWIG_fail; | |
3422 | { | |
3423 | arg3 = &temp3; | |
3424 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3425 | } | |
3426 | { | |
3427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3428 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); | |
3429 | ||
3430 | wxPyEndAllowThreads(__tstate); | |
3431 | if (PyErr_Occurred()) SWIG_fail; | |
3432 | } | |
3433 | Py_INCREF(Py_None); resultobj = Py_None; | |
3434 | return resultobj; | |
3435 | fail: | |
3436 | return NULL; | |
3437 | } | |
3438 | ||
3439 | ||
3440 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3441 | PyObject *resultobj; | |
3442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3443 | int arg2 ; | |
3444 | PyObject * obj0 = 0 ; | |
3445 | PyObject * obj1 = 0 ; | |
3446 | char *kwnames[] = { | |
3447 | (char *) "self",(char *) "bits", NULL | |
3448 | }; | |
3449 | ||
3450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; | |
3451 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3452 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3453 | arg2 = (int) SWIG_AsInt(obj1); | |
3454 | if (PyErr_Occurred()) SWIG_fail; | |
3455 | { | |
3456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3457 | (arg1)->SetStyleBits(arg2); | |
3458 | ||
3459 | wxPyEndAllowThreads(__tstate); | |
3460 | if (PyErr_Occurred()) SWIG_fail; | |
3461 | } | |
3462 | Py_INCREF(Py_None); resultobj = Py_None; | |
3463 | return resultobj; | |
3464 | fail: | |
3465 | return NULL; | |
3466 | } | |
3467 | ||
3468 | ||
3469 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3470 | PyObject *resultobj; | |
3471 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3472 | int result; | |
3473 | PyObject * obj0 = 0 ; | |
3474 | char *kwnames[] = { | |
3475 | (char *) "self", NULL | |
3476 | }; | |
3477 | ||
3478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; | |
3479 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3480 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3481 | { | |
3482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3483 | result = (int)(arg1)->GetStyleBits(); | |
3484 | ||
3485 | wxPyEndAllowThreads(__tstate); | |
3486 | if (PyErr_Occurred()) SWIG_fail; | |
3487 | } | |
3488 | resultobj = SWIG_FromInt((int)result); | |
3489 | return resultobj; | |
3490 | fail: | |
3491 | return NULL; | |
3492 | } | |
3493 | ||
3494 | ||
3495 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3496 | PyObject *resultobj; | |
3497 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3498 | int arg2 ; | |
3499 | int arg3 ; | |
3500 | PyObject * obj0 = 0 ; | |
3501 | PyObject * obj1 = 0 ; | |
3502 | PyObject * obj2 = 0 ; | |
3503 | char *kwnames[] = { | |
3504 | (char *) "self",(char *) "line",(char *) "state", NULL | |
3505 | }; | |
3506 | ||
3507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3510 | arg2 = (int) SWIG_AsInt(obj1); | |
3511 | if (PyErr_Occurred()) SWIG_fail; | |
3512 | arg3 = (int) SWIG_AsInt(obj2); | |
3513 | if (PyErr_Occurred()) SWIG_fail; | |
3514 | { | |
3515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3516 | (arg1)->SetLineState(arg2,arg3); | |
3517 | ||
3518 | wxPyEndAllowThreads(__tstate); | |
3519 | if (PyErr_Occurred()) SWIG_fail; | |
3520 | } | |
3521 | Py_INCREF(Py_None); resultobj = Py_None; | |
3522 | return resultobj; | |
3523 | fail: | |
3524 | return NULL; | |
3525 | } | |
3526 | ||
3527 | ||
3528 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3529 | PyObject *resultobj; | |
3530 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3531 | int arg2 ; | |
3532 | int result; | |
3533 | PyObject * obj0 = 0 ; | |
3534 | PyObject * obj1 = 0 ; | |
3535 | char *kwnames[] = { | |
3536 | (char *) "self",(char *) "line", NULL | |
3537 | }; | |
3538 | ||
3539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; | |
3540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3542 | arg2 = (int) SWIG_AsInt(obj1); | |
3543 | if (PyErr_Occurred()) SWIG_fail; | |
3544 | { | |
3545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3546 | result = (int)(arg1)->GetLineState(arg2); | |
3547 | ||
3548 | wxPyEndAllowThreads(__tstate); | |
3549 | if (PyErr_Occurred()) SWIG_fail; | |
3550 | } | |
3551 | resultobj = SWIG_FromInt((int)result); | |
3552 | return resultobj; | |
3553 | fail: | |
3554 | return NULL; | |
3555 | } | |
3556 | ||
3557 | ||
3558 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3559 | PyObject *resultobj; | |
3560 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3561 | int result; | |
3562 | PyObject * obj0 = 0 ; | |
3563 | char *kwnames[] = { | |
3564 | (char *) "self", NULL | |
3565 | }; | |
3566 | ||
3567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; | |
3568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3570 | { | |
3571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3572 | result = (int)(arg1)->GetMaxLineState(); | |
3573 | ||
3574 | wxPyEndAllowThreads(__tstate); | |
3575 | if (PyErr_Occurred()) SWIG_fail; | |
3576 | } | |
3577 | resultobj = SWIG_FromInt((int)result); | |
3578 | return resultobj; | |
3579 | fail: | |
3580 | return NULL; | |
3581 | } | |
3582 | ||
3583 | ||
3584 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3585 | PyObject *resultobj; | |
3586 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3587 | bool result; | |
3588 | PyObject * obj0 = 0 ; | |
3589 | char *kwnames[] = { | |
3590 | (char *) "self", NULL | |
3591 | }; | |
3592 | ||
3593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; | |
3594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3596 | { | |
3597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3598 | result = (bool)(arg1)->GetCaretLineVisible(); | |
3599 | ||
3600 | wxPyEndAllowThreads(__tstate); | |
3601 | if (PyErr_Occurred()) SWIG_fail; | |
3602 | } | |
3603 | { | |
3604 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3605 | } | |
3606 | return resultobj; | |
3607 | fail: | |
3608 | return NULL; | |
3609 | } | |
3610 | ||
3611 | ||
3612 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3613 | PyObject *resultobj; | |
3614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3615 | bool arg2 ; | |
3616 | PyObject * obj0 = 0 ; | |
3617 | PyObject * obj1 = 0 ; | |
3618 | char *kwnames[] = { | |
3619 | (char *) "self",(char *) "show", NULL | |
3620 | }; | |
3621 | ||
3622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
3623 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3625 | arg2 = (bool) SWIG_AsBool(obj1); | |
3626 | if (PyErr_Occurred()) SWIG_fail; | |
3627 | { | |
3628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3629 | (arg1)->SetCaretLineVisible(arg2); | |
3630 | ||
3631 | wxPyEndAllowThreads(__tstate); | |
3632 | if (PyErr_Occurred()) SWIG_fail; | |
3633 | } | |
3634 | Py_INCREF(Py_None); resultobj = Py_None; | |
3635 | return resultobj; | |
3636 | fail: | |
3637 | return NULL; | |
3638 | } | |
3639 | ||
3640 | ||
3641 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3642 | PyObject *resultobj; | |
3643 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3644 | wxColour result; | |
3645 | PyObject * obj0 = 0 ; | |
3646 | char *kwnames[] = { | |
3647 | (char *) "self", NULL | |
3648 | }; | |
3649 | ||
3650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; | |
3651 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3652 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3653 | { | |
3654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3655 | result = (arg1)->GetCaretLineBack(); | |
3656 | ||
3657 | wxPyEndAllowThreads(__tstate); | |
3658 | if (PyErr_Occurred()) SWIG_fail; | |
3659 | } | |
3660 | { | |
3661 | wxColour * resultptr; | |
3662 | resultptr = new wxColour((wxColour &) result); | |
3663 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
3664 | } | |
3665 | return resultobj; | |
3666 | fail: | |
3667 | return NULL; | |
3668 | } | |
3669 | ||
3670 | ||
3671 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3672 | PyObject *resultobj; | |
3673 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3674 | wxColour *arg2 = 0 ; | |
3675 | wxColour temp2 ; | |
3676 | PyObject * obj0 = 0 ; | |
3677 | PyObject * obj1 = 0 ; | |
3678 | char *kwnames[] = { | |
3679 | (char *) "self",(char *) "back", NULL | |
3680 | }; | |
3681 | ||
3682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; | |
3683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3685 | { | |
3686 | arg2 = &temp2; | |
3687 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3688 | } | |
3689 | { | |
3690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3691 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); | |
3692 | ||
3693 | wxPyEndAllowThreads(__tstate); | |
3694 | if (PyErr_Occurred()) SWIG_fail; | |
3695 | } | |
3696 | Py_INCREF(Py_None); resultobj = Py_None; | |
3697 | return resultobj; | |
3698 | fail: | |
3699 | return NULL; | |
3700 | } | |
3701 | ||
3702 | ||
3703 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3704 | PyObject *resultobj; | |
3705 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3706 | int arg2 ; | |
3707 | bool arg3 ; | |
3708 | PyObject * obj0 = 0 ; | |
3709 | PyObject * obj1 = 0 ; | |
3710 | PyObject * obj2 = 0 ; | |
3711 | char *kwnames[] = { | |
3712 | (char *) "self",(char *) "style",(char *) "changeable", NULL | |
3713 | }; | |
3714 | ||
3715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3716 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3717 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3718 | arg2 = (int) SWIG_AsInt(obj1); | |
3719 | if (PyErr_Occurred()) SWIG_fail; | |
3720 | arg3 = (bool) SWIG_AsBool(obj2); | |
3721 | if (PyErr_Occurred()) SWIG_fail; | |
3722 | { | |
3723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3724 | (arg1)->StyleSetChangeable(arg2,arg3); | |
3725 | ||
3726 | wxPyEndAllowThreads(__tstate); | |
3727 | if (PyErr_Occurred()) SWIG_fail; | |
3728 | } | |
3729 | Py_INCREF(Py_None); resultobj = Py_None; | |
3730 | return resultobj; | |
3731 | fail: | |
3732 | return NULL; | |
3733 | } | |
3734 | ||
3735 | ||
3736 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3737 | PyObject *resultobj; | |
3738 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3739 | int arg2 ; | |
3740 | wxString *arg3 = 0 ; | |
3741 | bool temp3 = False ; | |
3742 | PyObject * obj0 = 0 ; | |
3743 | PyObject * obj1 = 0 ; | |
3744 | PyObject * obj2 = 0 ; | |
3745 | char *kwnames[] = { | |
3746 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL | |
3747 | }; | |
3748 | ||
3749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3752 | arg2 = (int) SWIG_AsInt(obj1); | |
3753 | if (PyErr_Occurred()) SWIG_fail; | |
3754 | { | |
3755 | arg3 = wxString_in_helper(obj2); | |
3756 | if (arg3 == NULL) SWIG_fail; | |
3757 | temp3 = True; | |
3758 | } | |
3759 | { | |
3760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3761 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); | |
3762 | ||
3763 | wxPyEndAllowThreads(__tstate); | |
3764 | if (PyErr_Occurred()) SWIG_fail; | |
3765 | } | |
3766 | Py_INCREF(Py_None); resultobj = Py_None; | |
3767 | { | |
3768 | if (temp3) | |
3769 | delete arg3; | |
3770 | } | |
3771 | return resultobj; | |
3772 | fail: | |
3773 | { | |
3774 | if (temp3) | |
3775 | delete arg3; | |
3776 | } | |
3777 | return NULL; | |
3778 | } | |
3779 | ||
3780 | ||
3781 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3782 | PyObject *resultobj; | |
3783 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3784 | PyObject * obj0 = 0 ; | |
3785 | char *kwnames[] = { | |
3786 | (char *) "self", NULL | |
3787 | }; | |
3788 | ||
3789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; | |
3790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3792 | { | |
3793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3794 | (arg1)->AutoCompCancel(); | |
3795 | ||
3796 | wxPyEndAllowThreads(__tstate); | |
3797 | if (PyErr_Occurred()) SWIG_fail; | |
3798 | } | |
3799 | Py_INCREF(Py_None); resultobj = Py_None; | |
3800 | return resultobj; | |
3801 | fail: | |
3802 | return NULL; | |
3803 | } | |
3804 | ||
3805 | ||
3806 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3807 | PyObject *resultobj; | |
3808 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3809 | bool result; | |
3810 | PyObject * obj0 = 0 ; | |
3811 | char *kwnames[] = { | |
3812 | (char *) "self", NULL | |
3813 | }; | |
3814 | ||
3815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; | |
3816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3818 | { | |
3819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3820 | result = (bool)(arg1)->AutoCompActive(); | |
3821 | ||
3822 | wxPyEndAllowThreads(__tstate); | |
3823 | if (PyErr_Occurred()) SWIG_fail; | |
3824 | } | |
3825 | { | |
3826 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3827 | } | |
3828 | return resultobj; | |
3829 | fail: | |
3830 | return NULL; | |
3831 | } | |
3832 | ||
3833 | ||
3834 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3835 | PyObject *resultobj; | |
3836 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3837 | int result; | |
3838 | PyObject * obj0 = 0 ; | |
3839 | char *kwnames[] = { | |
3840 | (char *) "self", NULL | |
3841 | }; | |
3842 | ||
3843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; | |
3844 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3846 | { | |
3847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3848 | result = (int)(arg1)->AutoCompPosStart(); | |
3849 | ||
3850 | wxPyEndAllowThreads(__tstate); | |
3851 | if (PyErr_Occurred()) SWIG_fail; | |
3852 | } | |
3853 | resultobj = SWIG_FromInt((int)result); | |
3854 | return resultobj; | |
3855 | fail: | |
3856 | return NULL; | |
3857 | } | |
3858 | ||
3859 | ||
3860 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3861 | PyObject *resultobj; | |
3862 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3863 | PyObject * obj0 = 0 ; | |
3864 | char *kwnames[] = { | |
3865 | (char *) "self", NULL | |
3866 | }; | |
3867 | ||
3868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; | |
3869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3871 | { | |
3872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3873 | (arg1)->AutoCompComplete(); | |
3874 | ||
3875 | wxPyEndAllowThreads(__tstate); | |
3876 | if (PyErr_Occurred()) SWIG_fail; | |
3877 | } | |
3878 | Py_INCREF(Py_None); resultobj = Py_None; | |
3879 | return resultobj; | |
3880 | fail: | |
3881 | return NULL; | |
3882 | } | |
3883 | ||
3884 | ||
3885 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3886 | PyObject *resultobj; | |
3887 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3888 | wxString *arg2 = 0 ; | |
3889 | bool temp2 = False ; | |
3890 | PyObject * obj0 = 0 ; | |
3891 | PyObject * obj1 = 0 ; | |
3892 | char *kwnames[] = { | |
3893 | (char *) "self",(char *) "characterSet", NULL | |
3894 | }; | |
3895 | ||
3896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; | |
3897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3899 | { | |
3900 | arg2 = wxString_in_helper(obj1); | |
3901 | if (arg2 == NULL) SWIG_fail; | |
3902 | temp2 = True; | |
3903 | } | |
3904 | { | |
3905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3906 | (arg1)->AutoCompStops((wxString const &)*arg2); | |
3907 | ||
3908 | wxPyEndAllowThreads(__tstate); | |
3909 | if (PyErr_Occurred()) SWIG_fail; | |
3910 | } | |
3911 | Py_INCREF(Py_None); resultobj = Py_None; | |
3912 | { | |
3913 | if (temp2) | |
3914 | delete arg2; | |
3915 | } | |
3916 | return resultobj; | |
3917 | fail: | |
3918 | { | |
3919 | if (temp2) | |
3920 | delete arg2; | |
3921 | } | |
3922 | return NULL; | |
3923 | } | |
3924 | ||
3925 | ||
3926 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3927 | PyObject *resultobj; | |
3928 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3929 | int arg2 ; | |
3930 | PyObject * obj0 = 0 ; | |
3931 | PyObject * obj1 = 0 ; | |
3932 | char *kwnames[] = { | |
3933 | (char *) "self",(char *) "separatorCharacter", NULL | |
3934 | }; | |
3935 | ||
3936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; | |
3937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3939 | arg2 = (int) SWIG_AsInt(obj1); | |
3940 | if (PyErr_Occurred()) SWIG_fail; | |
3941 | { | |
3942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3943 | (arg1)->AutoCompSetSeparator(arg2); | |
3944 | ||
3945 | wxPyEndAllowThreads(__tstate); | |
3946 | if (PyErr_Occurred()) SWIG_fail; | |
3947 | } | |
3948 | Py_INCREF(Py_None); resultobj = Py_None; | |
3949 | return resultobj; | |
3950 | fail: | |
3951 | return NULL; | |
3952 | } | |
3953 | ||
3954 | ||
3955 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3956 | PyObject *resultobj; | |
3957 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3958 | int result; | |
3959 | PyObject * obj0 = 0 ; | |
3960 | char *kwnames[] = { | |
3961 | (char *) "self", NULL | |
3962 | }; | |
3963 | ||
3964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; | |
3965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3967 | { | |
3968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3969 | result = (int)(arg1)->AutoCompGetSeparator(); | |
3970 | ||
3971 | wxPyEndAllowThreads(__tstate); | |
3972 | if (PyErr_Occurred()) SWIG_fail; | |
3973 | } | |
3974 | resultobj = SWIG_FromInt((int)result); | |
3975 | return resultobj; | |
3976 | fail: | |
3977 | return NULL; | |
3978 | } | |
3979 | ||
3980 | ||
3981 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3982 | PyObject *resultobj; | |
3983 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3984 | wxString *arg2 = 0 ; | |
3985 | bool temp2 = False ; | |
3986 | PyObject * obj0 = 0 ; | |
3987 | PyObject * obj1 = 0 ; | |
3988 | char *kwnames[] = { | |
3989 | (char *) "self",(char *) "text", NULL | |
3990 | }; | |
3991 | ||
3992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; | |
3993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
3994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3995 | { | |
3996 | arg2 = wxString_in_helper(obj1); | |
3997 | if (arg2 == NULL) SWIG_fail; | |
3998 | temp2 = True; | |
3999 | } | |
4000 | { | |
4001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4002 | (arg1)->AutoCompSelect((wxString const &)*arg2); | |
4003 | ||
4004 | wxPyEndAllowThreads(__tstate); | |
4005 | if (PyErr_Occurred()) SWIG_fail; | |
4006 | } | |
4007 | Py_INCREF(Py_None); resultobj = Py_None; | |
4008 | { | |
4009 | if (temp2) | |
4010 | delete arg2; | |
4011 | } | |
4012 | return resultobj; | |
4013 | fail: | |
4014 | { | |
4015 | if (temp2) | |
4016 | delete arg2; | |
4017 | } | |
4018 | return NULL; | |
4019 | } | |
4020 | ||
4021 | ||
4022 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4023 | PyObject *resultobj; | |
4024 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4025 | bool arg2 ; | |
4026 | PyObject * obj0 = 0 ; | |
4027 | PyObject * obj1 = 0 ; | |
4028 | char *kwnames[] = { | |
4029 | (char *) "self",(char *) "cancel", NULL | |
4030 | }; | |
4031 | ||
4032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; | |
4033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4035 | arg2 = (bool) SWIG_AsBool(obj1); | |
4036 | if (PyErr_Occurred()) SWIG_fail; | |
4037 | { | |
4038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4039 | (arg1)->AutoCompSetCancelAtStart(arg2); | |
4040 | ||
4041 | wxPyEndAllowThreads(__tstate); | |
4042 | if (PyErr_Occurred()) SWIG_fail; | |
4043 | } | |
4044 | Py_INCREF(Py_None); resultobj = Py_None; | |
4045 | return resultobj; | |
4046 | fail: | |
4047 | return NULL; | |
4048 | } | |
4049 | ||
4050 | ||
4051 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4052 | PyObject *resultobj; | |
4053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4054 | bool result; | |
4055 | PyObject * obj0 = 0 ; | |
4056 | char *kwnames[] = { | |
4057 | (char *) "self", NULL | |
4058 | }; | |
4059 | ||
4060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; | |
4061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4063 | { | |
4064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4065 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); | |
4066 | ||
4067 | wxPyEndAllowThreads(__tstate); | |
4068 | if (PyErr_Occurred()) SWIG_fail; | |
4069 | } | |
4070 | { | |
4071 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4072 | } | |
4073 | return resultobj; | |
4074 | fail: | |
4075 | return NULL; | |
4076 | } | |
4077 | ||
4078 | ||
4079 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4080 | PyObject *resultobj; | |
4081 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4082 | wxString *arg2 = 0 ; | |
4083 | bool temp2 = False ; | |
4084 | PyObject * obj0 = 0 ; | |
4085 | PyObject * obj1 = 0 ; | |
4086 | char *kwnames[] = { | |
4087 | (char *) "self",(char *) "characterSet", NULL | |
4088 | }; | |
4089 | ||
4090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; | |
4091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4093 | { | |
4094 | arg2 = wxString_in_helper(obj1); | |
4095 | if (arg2 == NULL) SWIG_fail; | |
4096 | temp2 = True; | |
4097 | } | |
4098 | { | |
4099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4100 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); | |
4101 | ||
4102 | wxPyEndAllowThreads(__tstate); | |
4103 | if (PyErr_Occurred()) SWIG_fail; | |
4104 | } | |
4105 | Py_INCREF(Py_None); resultobj = Py_None; | |
4106 | { | |
4107 | if (temp2) | |
4108 | delete arg2; | |
4109 | } | |
4110 | return resultobj; | |
4111 | fail: | |
4112 | { | |
4113 | if (temp2) | |
4114 | delete arg2; | |
4115 | } | |
4116 | return NULL; | |
4117 | } | |
4118 | ||
4119 | ||
4120 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4121 | PyObject *resultobj; | |
4122 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4123 | bool arg2 ; | |
4124 | PyObject * obj0 = 0 ; | |
4125 | PyObject * obj1 = 0 ; | |
4126 | char *kwnames[] = { | |
4127 | (char *) "self",(char *) "chooseSingle", NULL | |
4128 | }; | |
4129 | ||
4130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; | |
4131 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4132 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4133 | arg2 = (bool) SWIG_AsBool(obj1); | |
4134 | if (PyErr_Occurred()) SWIG_fail; | |
4135 | { | |
4136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4137 | (arg1)->AutoCompSetChooseSingle(arg2); | |
4138 | ||
4139 | wxPyEndAllowThreads(__tstate); | |
4140 | if (PyErr_Occurred()) SWIG_fail; | |
4141 | } | |
4142 | Py_INCREF(Py_None); resultobj = Py_None; | |
4143 | return resultobj; | |
4144 | fail: | |
4145 | return NULL; | |
4146 | } | |
4147 | ||
4148 | ||
4149 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4150 | PyObject *resultobj; | |
4151 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4152 | bool result; | |
4153 | PyObject * obj0 = 0 ; | |
4154 | char *kwnames[] = { | |
4155 | (char *) "self", NULL | |
4156 | }; | |
4157 | ||
4158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; | |
4159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4161 | { | |
4162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4163 | result = (bool)(arg1)->AutoCompGetChooseSingle(); | |
4164 | ||
4165 | wxPyEndAllowThreads(__tstate); | |
4166 | if (PyErr_Occurred()) SWIG_fail; | |
4167 | } | |
4168 | { | |
4169 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4170 | } | |
4171 | return resultobj; | |
4172 | fail: | |
4173 | return NULL; | |
4174 | } | |
4175 | ||
4176 | ||
4177 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4178 | PyObject *resultobj; | |
4179 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4180 | bool arg2 ; | |
4181 | PyObject * obj0 = 0 ; | |
4182 | PyObject * obj1 = 0 ; | |
4183 | char *kwnames[] = { | |
4184 | (char *) "self",(char *) "ignoreCase", NULL | |
4185 | }; | |
4186 | ||
4187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; | |
4188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4190 | arg2 = (bool) SWIG_AsBool(obj1); | |
4191 | if (PyErr_Occurred()) SWIG_fail; | |
4192 | { | |
4193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4194 | (arg1)->AutoCompSetIgnoreCase(arg2); | |
4195 | ||
4196 | wxPyEndAllowThreads(__tstate); | |
4197 | if (PyErr_Occurred()) SWIG_fail; | |
4198 | } | |
4199 | Py_INCREF(Py_None); resultobj = Py_None; | |
4200 | return resultobj; | |
4201 | fail: | |
4202 | return NULL; | |
4203 | } | |
4204 | ||
4205 | ||
4206 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4207 | PyObject *resultobj; | |
4208 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4209 | bool result; | |
4210 | PyObject * obj0 = 0 ; | |
4211 | char *kwnames[] = { | |
4212 | (char *) "self", NULL | |
4213 | }; | |
4214 | ||
4215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; | |
4216 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4217 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4218 | { | |
4219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4220 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); | |
4221 | ||
4222 | wxPyEndAllowThreads(__tstate); | |
4223 | if (PyErr_Occurred()) SWIG_fail; | |
4224 | } | |
4225 | { | |
4226 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4227 | } | |
4228 | return resultobj; | |
4229 | fail: | |
4230 | return NULL; | |
4231 | } | |
4232 | ||
4233 | ||
4234 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4235 | PyObject *resultobj; | |
4236 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4237 | int arg2 ; | |
4238 | wxString *arg3 = 0 ; | |
4239 | bool temp3 = False ; | |
4240 | PyObject * obj0 = 0 ; | |
4241 | PyObject * obj1 = 0 ; | |
4242 | PyObject * obj2 = 0 ; | |
4243 | char *kwnames[] = { | |
4244 | (char *) "self",(char *) "listType",(char *) "itemList", NULL | |
4245 | }; | |
4246 | ||
4247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4250 | arg2 = (int) SWIG_AsInt(obj1); | |
4251 | if (PyErr_Occurred()) SWIG_fail; | |
4252 | { | |
4253 | arg3 = wxString_in_helper(obj2); | |
4254 | if (arg3 == NULL) SWIG_fail; | |
4255 | temp3 = True; | |
4256 | } | |
4257 | { | |
4258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4259 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); | |
4260 | ||
4261 | wxPyEndAllowThreads(__tstate); | |
4262 | if (PyErr_Occurred()) SWIG_fail; | |
4263 | } | |
4264 | Py_INCREF(Py_None); resultobj = Py_None; | |
4265 | { | |
4266 | if (temp3) | |
4267 | delete arg3; | |
4268 | } | |
4269 | return resultobj; | |
4270 | fail: | |
4271 | { | |
4272 | if (temp3) | |
4273 | delete arg3; | |
4274 | } | |
4275 | return NULL; | |
4276 | } | |
4277 | ||
4278 | ||
4279 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4280 | PyObject *resultobj; | |
4281 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4282 | bool arg2 ; | |
4283 | PyObject * obj0 = 0 ; | |
4284 | PyObject * obj1 = 0 ; | |
4285 | char *kwnames[] = { | |
4286 | (char *) "self",(char *) "autoHide", NULL | |
4287 | }; | |
4288 | ||
4289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; | |
4290 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4292 | arg2 = (bool) SWIG_AsBool(obj1); | |
4293 | if (PyErr_Occurred()) SWIG_fail; | |
4294 | { | |
4295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4296 | (arg1)->AutoCompSetAutoHide(arg2); | |
4297 | ||
4298 | wxPyEndAllowThreads(__tstate); | |
4299 | if (PyErr_Occurred()) SWIG_fail; | |
4300 | } | |
4301 | Py_INCREF(Py_None); resultobj = Py_None; | |
4302 | return resultobj; | |
4303 | fail: | |
4304 | return NULL; | |
4305 | } | |
4306 | ||
4307 | ||
4308 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4309 | PyObject *resultobj; | |
4310 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4311 | bool result; | |
4312 | PyObject * obj0 = 0 ; | |
4313 | char *kwnames[] = { | |
4314 | (char *) "self", NULL | |
4315 | }; | |
4316 | ||
4317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; | |
4318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4320 | { | |
4321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4322 | result = (bool)(arg1)->AutoCompGetAutoHide(); | |
4323 | ||
4324 | wxPyEndAllowThreads(__tstate); | |
4325 | if (PyErr_Occurred()) SWIG_fail; | |
4326 | } | |
4327 | { | |
4328 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4329 | } | |
4330 | return resultobj; | |
4331 | fail: | |
4332 | return NULL; | |
4333 | } | |
4334 | ||
4335 | ||
4336 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4337 | PyObject *resultobj; | |
4338 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4339 | bool arg2 ; | |
4340 | PyObject * obj0 = 0 ; | |
4341 | PyObject * obj1 = 0 ; | |
4342 | char *kwnames[] = { | |
4343 | (char *) "self",(char *) "dropRestOfWord", NULL | |
4344 | }; | |
4345 | ||
4346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; | |
4347 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4349 | arg2 = (bool) SWIG_AsBool(obj1); | |
4350 | if (PyErr_Occurred()) SWIG_fail; | |
4351 | { | |
4352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4353 | (arg1)->AutoCompSetDropRestOfWord(arg2); | |
4354 | ||
4355 | wxPyEndAllowThreads(__tstate); | |
4356 | if (PyErr_Occurred()) SWIG_fail; | |
4357 | } | |
4358 | Py_INCREF(Py_None); resultobj = Py_None; | |
4359 | return resultobj; | |
4360 | fail: | |
4361 | return NULL; | |
4362 | } | |
4363 | ||
4364 | ||
4365 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4366 | PyObject *resultobj; | |
4367 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4368 | bool result; | |
4369 | PyObject * obj0 = 0 ; | |
4370 | char *kwnames[] = { | |
4371 | (char *) "self", NULL | |
4372 | }; | |
4373 | ||
4374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; | |
4375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4377 | { | |
4378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4379 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); | |
4380 | ||
4381 | wxPyEndAllowThreads(__tstate); | |
4382 | if (PyErr_Occurred()) SWIG_fail; | |
4383 | } | |
4384 | { | |
4385 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4386 | } | |
4387 | return resultobj; | |
4388 | fail: | |
4389 | return NULL; | |
4390 | } | |
4391 | ||
4392 | ||
4393 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4394 | PyObject *resultobj; | |
4395 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4396 | int arg2 ; | |
4397 | wxBitmap *arg3 = 0 ; | |
4398 | PyObject * obj0 = 0 ; | |
4399 | PyObject * obj1 = 0 ; | |
4400 | PyObject * obj2 = 0 ; | |
4401 | char *kwnames[] = { | |
4402 | (char *) "self",(char *) "type",(char *) "bmp", NULL | |
4403 | }; | |
4404 | ||
4405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4408 | arg2 = (int) SWIG_AsInt(obj1); | |
4409 | if (PyErr_Occurred()) SWIG_fail; | |
4410 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, | |
4411 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4412 | SWIG_fail; | |
4413 | if (arg3 == NULL) { | |
4414 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
4415 | SWIG_fail; | |
4416 | } | |
4417 | { | |
4418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4419 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); | |
4420 | ||
4421 | wxPyEndAllowThreads(__tstate); | |
4422 | if (PyErr_Occurred()) SWIG_fail; | |
4423 | } | |
4424 | Py_INCREF(Py_None); resultobj = Py_None; | |
4425 | return resultobj; | |
4426 | fail: | |
4427 | return NULL; | |
4428 | } | |
4429 | ||
4430 | ||
4431 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4432 | PyObject *resultobj; | |
4433 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4434 | PyObject * obj0 = 0 ; | |
4435 | char *kwnames[] = { | |
4436 | (char *) "self", NULL | |
4437 | }; | |
4438 | ||
4439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; | |
4440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4442 | { | |
4443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4444 | (arg1)->ClearRegisteredImages(); | |
4445 | ||
4446 | wxPyEndAllowThreads(__tstate); | |
4447 | if (PyErr_Occurred()) SWIG_fail; | |
4448 | } | |
4449 | Py_INCREF(Py_None); resultobj = Py_None; | |
4450 | return resultobj; | |
4451 | fail: | |
4452 | return NULL; | |
4453 | } | |
4454 | ||
4455 | ||
4456 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4457 | PyObject *resultobj; | |
4458 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4459 | int result; | |
4460 | PyObject * obj0 = 0 ; | |
4461 | char *kwnames[] = { | |
4462 | (char *) "self", NULL | |
4463 | }; | |
4464 | ||
4465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; | |
4466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4468 | { | |
4469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4470 | result = (int)(arg1)->AutoCompGetTypeSeparator(); | |
4471 | ||
4472 | wxPyEndAllowThreads(__tstate); | |
4473 | if (PyErr_Occurred()) SWIG_fail; | |
4474 | } | |
4475 | resultobj = SWIG_FromInt((int)result); | |
4476 | return resultobj; | |
4477 | fail: | |
4478 | return NULL; | |
4479 | } | |
4480 | ||
4481 | ||
4482 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4483 | PyObject *resultobj; | |
4484 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4485 | int arg2 ; | |
4486 | PyObject * obj0 = 0 ; | |
4487 | PyObject * obj1 = 0 ; | |
4488 | char *kwnames[] = { | |
4489 | (char *) "self",(char *) "separatorCharacter", NULL | |
4490 | }; | |
4491 | ||
4492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; | |
4493 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4495 | arg2 = (int) SWIG_AsInt(obj1); | |
4496 | if (PyErr_Occurred()) SWIG_fail; | |
4497 | { | |
4498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4499 | (arg1)->AutoCompSetTypeSeparator(arg2); | |
4500 | ||
4501 | wxPyEndAllowThreads(__tstate); | |
4502 | if (PyErr_Occurred()) SWIG_fail; | |
4503 | } | |
4504 | Py_INCREF(Py_None); resultobj = Py_None; | |
4505 | return resultobj; | |
4506 | fail: | |
4507 | return NULL; | |
4508 | } | |
4509 | ||
4510 | ||
4511 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4512 | PyObject *resultobj; | |
4513 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4514 | int arg2 ; | |
4515 | PyObject * obj0 = 0 ; | |
4516 | PyObject * obj1 = 0 ; | |
4517 | char *kwnames[] = { | |
4518 | (char *) "self",(char *) "indentSize", NULL | |
4519 | }; | |
4520 | ||
4521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; | |
4522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4524 | arg2 = (int) SWIG_AsInt(obj1); | |
4525 | if (PyErr_Occurred()) SWIG_fail; | |
4526 | { | |
4527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4528 | (arg1)->SetIndent(arg2); | |
4529 | ||
4530 | wxPyEndAllowThreads(__tstate); | |
4531 | if (PyErr_Occurred()) SWIG_fail; | |
4532 | } | |
4533 | Py_INCREF(Py_None); resultobj = Py_None; | |
4534 | return resultobj; | |
4535 | fail: | |
4536 | return NULL; | |
4537 | } | |
4538 | ||
4539 | ||
4540 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4541 | PyObject *resultobj; | |
4542 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4543 | int result; | |
4544 | PyObject * obj0 = 0 ; | |
4545 | char *kwnames[] = { | |
4546 | (char *) "self", NULL | |
4547 | }; | |
4548 | ||
4549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
4550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4552 | { | |
4553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4554 | result = (int)(arg1)->GetIndent(); | |
4555 | ||
4556 | wxPyEndAllowThreads(__tstate); | |
4557 | if (PyErr_Occurred()) SWIG_fail; | |
4558 | } | |
4559 | resultobj = SWIG_FromInt((int)result); | |
4560 | return resultobj; | |
4561 | fail: | |
4562 | return NULL; | |
4563 | } | |
4564 | ||
4565 | ||
4566 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4567 | PyObject *resultobj; | |
4568 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4569 | bool arg2 ; | |
4570 | PyObject * obj0 = 0 ; | |
4571 | PyObject * obj1 = 0 ; | |
4572 | char *kwnames[] = { | |
4573 | (char *) "self",(char *) "useTabs", NULL | |
4574 | }; | |
4575 | ||
4576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; | |
4577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4579 | arg2 = (bool) SWIG_AsBool(obj1); | |
4580 | if (PyErr_Occurred()) SWIG_fail; | |
4581 | { | |
4582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4583 | (arg1)->SetUseTabs(arg2); | |
4584 | ||
4585 | wxPyEndAllowThreads(__tstate); | |
4586 | if (PyErr_Occurred()) SWIG_fail; | |
4587 | } | |
4588 | Py_INCREF(Py_None); resultobj = Py_None; | |
4589 | return resultobj; | |
4590 | fail: | |
4591 | return NULL; | |
4592 | } | |
4593 | ||
4594 | ||
4595 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4596 | PyObject *resultobj; | |
4597 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4598 | bool result; | |
4599 | PyObject * obj0 = 0 ; | |
4600 | char *kwnames[] = { | |
4601 | (char *) "self", NULL | |
4602 | }; | |
4603 | ||
4604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; | |
4605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4607 | { | |
4608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4609 | result = (bool)(arg1)->GetUseTabs(); | |
4610 | ||
4611 | wxPyEndAllowThreads(__tstate); | |
4612 | if (PyErr_Occurred()) SWIG_fail; | |
4613 | } | |
4614 | { | |
4615 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4616 | } | |
4617 | return resultobj; | |
4618 | fail: | |
4619 | return NULL; | |
4620 | } | |
4621 | ||
4622 | ||
4623 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4624 | PyObject *resultobj; | |
4625 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4626 | int arg2 ; | |
4627 | int arg3 ; | |
4628 | PyObject * obj0 = 0 ; | |
4629 | PyObject * obj1 = 0 ; | |
4630 | PyObject * obj2 = 0 ; | |
4631 | char *kwnames[] = { | |
4632 | (char *) "self",(char *) "line",(char *) "indentSize", NULL | |
4633 | }; | |
4634 | ||
4635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4636 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4637 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4638 | arg2 = (int) SWIG_AsInt(obj1); | |
4639 | if (PyErr_Occurred()) SWIG_fail; | |
4640 | arg3 = (int) SWIG_AsInt(obj2); | |
4641 | if (PyErr_Occurred()) SWIG_fail; | |
4642 | { | |
4643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4644 | (arg1)->SetLineIndentation(arg2,arg3); | |
4645 | ||
4646 | wxPyEndAllowThreads(__tstate); | |
4647 | if (PyErr_Occurred()) SWIG_fail; | |
4648 | } | |
4649 | Py_INCREF(Py_None); resultobj = Py_None; | |
4650 | return resultobj; | |
4651 | fail: | |
4652 | return NULL; | |
4653 | } | |
4654 | ||
4655 | ||
4656 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4657 | PyObject *resultobj; | |
4658 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4659 | int arg2 ; | |
4660 | int result; | |
4661 | PyObject * obj0 = 0 ; | |
4662 | PyObject * obj1 = 0 ; | |
4663 | char *kwnames[] = { | |
4664 | (char *) "self",(char *) "line", NULL | |
4665 | }; | |
4666 | ||
4667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; | |
4668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4670 | arg2 = (int) SWIG_AsInt(obj1); | |
4671 | if (PyErr_Occurred()) SWIG_fail; | |
4672 | { | |
4673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4674 | result = (int)(arg1)->GetLineIndentation(arg2); | |
4675 | ||
4676 | wxPyEndAllowThreads(__tstate); | |
4677 | if (PyErr_Occurred()) SWIG_fail; | |
4678 | } | |
4679 | resultobj = SWIG_FromInt((int)result); | |
4680 | return resultobj; | |
4681 | fail: | |
4682 | return NULL; | |
4683 | } | |
4684 | ||
4685 | ||
4686 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4687 | PyObject *resultobj; | |
4688 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4689 | int arg2 ; | |
4690 | int result; | |
4691 | PyObject * obj0 = 0 ; | |
4692 | PyObject * obj1 = 0 ; | |
4693 | char *kwnames[] = { | |
4694 | (char *) "self",(char *) "line", NULL | |
4695 | }; | |
4696 | ||
4697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; | |
4698 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4699 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4700 | arg2 = (int) SWIG_AsInt(obj1); | |
4701 | if (PyErr_Occurred()) SWIG_fail; | |
4702 | { | |
4703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4704 | result = (int)(arg1)->GetLineIndentPosition(arg2); | |
4705 | ||
4706 | wxPyEndAllowThreads(__tstate); | |
4707 | if (PyErr_Occurred()) SWIG_fail; | |
4708 | } | |
4709 | resultobj = SWIG_FromInt((int)result); | |
4710 | return resultobj; | |
4711 | fail: | |
4712 | return NULL; | |
4713 | } | |
4714 | ||
4715 | ||
4716 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4717 | PyObject *resultobj; | |
4718 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4719 | int arg2 ; | |
4720 | int result; | |
4721 | PyObject * obj0 = 0 ; | |
4722 | PyObject * obj1 = 0 ; | |
4723 | char *kwnames[] = { | |
4724 | (char *) "self",(char *) "pos", NULL | |
4725 | }; | |
4726 | ||
4727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; | |
4728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4730 | arg2 = (int) SWIG_AsInt(obj1); | |
4731 | if (PyErr_Occurred()) SWIG_fail; | |
4732 | { | |
4733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4734 | result = (int)(arg1)->GetColumn(arg2); | |
4735 | ||
4736 | wxPyEndAllowThreads(__tstate); | |
4737 | if (PyErr_Occurred()) SWIG_fail; | |
4738 | } | |
4739 | resultobj = SWIG_FromInt((int)result); | |
4740 | return resultobj; | |
4741 | fail: | |
4742 | return NULL; | |
4743 | } | |
4744 | ||
4745 | ||
4746 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4747 | PyObject *resultobj; | |
4748 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4749 | bool arg2 ; | |
4750 | PyObject * obj0 = 0 ; | |
4751 | PyObject * obj1 = 0 ; | |
4752 | char *kwnames[] = { | |
4753 | (char *) "self",(char *) "show", NULL | |
4754 | }; | |
4755 | ||
4756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
4757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4759 | arg2 = (bool) SWIG_AsBool(obj1); | |
4760 | if (PyErr_Occurred()) SWIG_fail; | |
4761 | { | |
4762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4763 | (arg1)->SetUseHorizontalScrollBar(arg2); | |
4764 | ||
4765 | wxPyEndAllowThreads(__tstate); | |
4766 | if (PyErr_Occurred()) SWIG_fail; | |
4767 | } | |
4768 | Py_INCREF(Py_None); resultobj = Py_None; | |
4769 | return resultobj; | |
4770 | fail: | |
4771 | return NULL; | |
4772 | } | |
4773 | ||
4774 | ||
4775 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4776 | PyObject *resultobj; | |
4777 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4778 | bool result; | |
4779 | PyObject * obj0 = 0 ; | |
4780 | char *kwnames[] = { | |
4781 | (char *) "self", NULL | |
4782 | }; | |
4783 | ||
4784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; | |
4785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4787 | { | |
4788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4789 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); | |
4790 | ||
4791 | wxPyEndAllowThreads(__tstate); | |
4792 | if (PyErr_Occurred()) SWIG_fail; | |
4793 | } | |
4794 | { | |
4795 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4796 | } | |
4797 | return resultobj; | |
4798 | fail: | |
4799 | return NULL; | |
4800 | } | |
4801 | ||
4802 | ||
4803 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4804 | PyObject *resultobj; | |
4805 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4806 | bool arg2 ; | |
4807 | PyObject * obj0 = 0 ; | |
4808 | PyObject * obj1 = 0 ; | |
4809 | char *kwnames[] = { | |
4810 | (char *) "self",(char *) "show", NULL | |
4811 | }; | |
4812 | ||
4813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; | |
4814 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4815 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4816 | arg2 = (bool) SWIG_AsBool(obj1); | |
4817 | if (PyErr_Occurred()) SWIG_fail; | |
4818 | { | |
4819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4820 | (arg1)->SetIndentationGuides(arg2); | |
4821 | ||
4822 | wxPyEndAllowThreads(__tstate); | |
4823 | if (PyErr_Occurred()) SWIG_fail; | |
4824 | } | |
4825 | Py_INCREF(Py_None); resultobj = Py_None; | |
4826 | return resultobj; | |
4827 | fail: | |
4828 | return NULL; | |
4829 | } | |
4830 | ||
4831 | ||
4832 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4833 | PyObject *resultobj; | |
4834 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4835 | bool result; | |
4836 | PyObject * obj0 = 0 ; | |
4837 | char *kwnames[] = { | |
4838 | (char *) "self", NULL | |
4839 | }; | |
4840 | ||
4841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; | |
4842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4844 | { | |
4845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4846 | result = (bool)(arg1)->GetIndentationGuides(); | |
4847 | ||
4848 | wxPyEndAllowThreads(__tstate); | |
4849 | if (PyErr_Occurred()) SWIG_fail; | |
4850 | } | |
4851 | { | |
4852 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4853 | } | |
4854 | return resultobj; | |
4855 | fail: | |
4856 | return NULL; | |
4857 | } | |
4858 | ||
4859 | ||
4860 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4861 | PyObject *resultobj; | |
4862 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4863 | int arg2 ; | |
4864 | PyObject * obj0 = 0 ; | |
4865 | PyObject * obj1 = 0 ; | |
4866 | char *kwnames[] = { | |
4867 | (char *) "self",(char *) "column", NULL | |
4868 | }; | |
4869 | ||
4870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; | |
4871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4873 | arg2 = (int) SWIG_AsInt(obj1); | |
4874 | if (PyErr_Occurred()) SWIG_fail; | |
4875 | { | |
4876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4877 | (arg1)->SetHighlightGuide(arg2); | |
4878 | ||
4879 | wxPyEndAllowThreads(__tstate); | |
4880 | if (PyErr_Occurred()) SWIG_fail; | |
4881 | } | |
4882 | Py_INCREF(Py_None); resultobj = Py_None; | |
4883 | return resultobj; | |
4884 | fail: | |
4885 | return NULL; | |
4886 | } | |
4887 | ||
4888 | ||
4889 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4890 | PyObject *resultobj; | |
4891 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4892 | int result; | |
4893 | PyObject * obj0 = 0 ; | |
4894 | char *kwnames[] = { | |
4895 | (char *) "self", NULL | |
4896 | }; | |
4897 | ||
4898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; | |
4899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4901 | { | |
4902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4903 | result = (int)(arg1)->GetHighlightGuide(); | |
4904 | ||
4905 | wxPyEndAllowThreads(__tstate); | |
4906 | if (PyErr_Occurred()) SWIG_fail; | |
4907 | } | |
4908 | resultobj = SWIG_FromInt((int)result); | |
4909 | return resultobj; | |
4910 | fail: | |
4911 | return NULL; | |
4912 | } | |
4913 | ||
4914 | ||
4915 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4916 | PyObject *resultobj; | |
4917 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4918 | int arg2 ; | |
4919 | int result; | |
4920 | PyObject * obj0 = 0 ; | |
4921 | PyObject * obj1 = 0 ; | |
4922 | char *kwnames[] = { | |
4923 | (char *) "self",(char *) "line", NULL | |
4924 | }; | |
4925 | ||
4926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
4927 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4928 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4929 | arg2 = (int) SWIG_AsInt(obj1); | |
4930 | if (PyErr_Occurred()) SWIG_fail; | |
4931 | { | |
4932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4933 | result = (int)(arg1)->GetLineEndPosition(arg2); | |
4934 | ||
4935 | wxPyEndAllowThreads(__tstate); | |
4936 | if (PyErr_Occurred()) SWIG_fail; | |
4937 | } | |
4938 | resultobj = SWIG_FromInt((int)result); | |
4939 | return resultobj; | |
4940 | fail: | |
4941 | return NULL; | |
4942 | } | |
4943 | ||
4944 | ||
4945 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4946 | PyObject *resultobj; | |
4947 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4948 | int result; | |
4949 | PyObject * obj0 = 0 ; | |
4950 | char *kwnames[] = { | |
4951 | (char *) "self", NULL | |
4952 | }; | |
4953 | ||
4954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; | |
4955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4957 | { | |
4958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4959 | result = (int)(arg1)->GetCodePage(); | |
4960 | ||
4961 | wxPyEndAllowThreads(__tstate); | |
4962 | if (PyErr_Occurred()) SWIG_fail; | |
4963 | } | |
4964 | resultobj = SWIG_FromInt((int)result); | |
4965 | return resultobj; | |
4966 | fail: | |
4967 | return NULL; | |
4968 | } | |
4969 | ||
4970 | ||
4971 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4972 | PyObject *resultobj; | |
4973 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4974 | wxColour result; | |
4975 | PyObject * obj0 = 0 ; | |
4976 | char *kwnames[] = { | |
4977 | (char *) "self", NULL | |
4978 | }; | |
4979 | ||
4980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; | |
4981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
4982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4983 | { | |
4984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4985 | result = (arg1)->GetCaretForeground(); | |
4986 | ||
4987 | wxPyEndAllowThreads(__tstate); | |
4988 | if (PyErr_Occurred()) SWIG_fail; | |
4989 | } | |
4990 | { | |
4991 | wxColour * resultptr; | |
4992 | resultptr = new wxColour((wxColour &) result); | |
4993 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
4994 | } | |
4995 | return resultobj; | |
4996 | fail: | |
4997 | return NULL; | |
4998 | } | |
4999 | ||
5000 | ||
5001 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5002 | PyObject *resultobj; | |
5003 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5004 | bool result; | |
5005 | PyObject * obj0 = 0 ; | |
5006 | char *kwnames[] = { | |
5007 | (char *) "self", NULL | |
5008 | }; | |
5009 | ||
5010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; | |
5011 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5012 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5013 | { | |
5014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5015 | result = (bool)(arg1)->GetReadOnly(); | |
5016 | ||
5017 | wxPyEndAllowThreads(__tstate); | |
5018 | if (PyErr_Occurred()) SWIG_fail; | |
5019 | } | |
5020 | { | |
5021 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5022 | } | |
5023 | return resultobj; | |
5024 | fail: | |
5025 | return NULL; | |
5026 | } | |
5027 | ||
5028 | ||
5029 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5030 | PyObject *resultobj; | |
5031 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5032 | int arg2 ; | |
5033 | PyObject * obj0 = 0 ; | |
5034 | PyObject * obj1 = 0 ; | |
5035 | char *kwnames[] = { | |
5036 | (char *) "self",(char *) "pos", NULL | |
5037 | }; | |
5038 | ||
5039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; | |
5040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5042 | arg2 = (int) SWIG_AsInt(obj1); | |
5043 | if (PyErr_Occurred()) SWIG_fail; | |
5044 | { | |
5045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5046 | (arg1)->SetCurrentPos(arg2); | |
5047 | ||
5048 | wxPyEndAllowThreads(__tstate); | |
5049 | if (PyErr_Occurred()) SWIG_fail; | |
5050 | } | |
5051 | Py_INCREF(Py_None); resultobj = Py_None; | |
5052 | return resultobj; | |
5053 | fail: | |
5054 | return NULL; | |
5055 | } | |
5056 | ||
5057 | ||
5058 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5059 | PyObject *resultobj; | |
5060 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5061 | int arg2 ; | |
5062 | PyObject * obj0 = 0 ; | |
5063 | PyObject * obj1 = 0 ; | |
5064 | char *kwnames[] = { | |
5065 | (char *) "self",(char *) "pos", NULL | |
5066 | }; | |
5067 | ||
5068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; | |
5069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5071 | arg2 = (int) SWIG_AsInt(obj1); | |
5072 | if (PyErr_Occurred()) SWIG_fail; | |
5073 | { | |
5074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5075 | (arg1)->SetSelectionStart(arg2); | |
5076 | ||
5077 | wxPyEndAllowThreads(__tstate); | |
5078 | if (PyErr_Occurred()) SWIG_fail; | |
5079 | } | |
5080 | Py_INCREF(Py_None); resultobj = Py_None; | |
5081 | return resultobj; | |
5082 | fail: | |
5083 | return NULL; | |
5084 | } | |
5085 | ||
5086 | ||
5087 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5088 | PyObject *resultobj; | |
5089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5090 | int result; | |
5091 | PyObject * obj0 = 0 ; | |
5092 | char *kwnames[] = { | |
5093 | (char *) "self", NULL | |
5094 | }; | |
5095 | ||
5096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; | |
5097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5099 | { | |
5100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5101 | result = (int)(arg1)->GetSelectionStart(); | |
5102 | ||
5103 | wxPyEndAllowThreads(__tstate); | |
5104 | if (PyErr_Occurred()) SWIG_fail; | |
5105 | } | |
5106 | resultobj = SWIG_FromInt((int)result); | |
5107 | return resultobj; | |
5108 | fail: | |
5109 | return NULL; | |
5110 | } | |
5111 | ||
5112 | ||
5113 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5114 | PyObject *resultobj; | |
5115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5116 | int arg2 ; | |
5117 | PyObject * obj0 = 0 ; | |
5118 | PyObject * obj1 = 0 ; | |
5119 | char *kwnames[] = { | |
5120 | (char *) "self",(char *) "pos", NULL | |
5121 | }; | |
5122 | ||
5123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; | |
5124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5126 | arg2 = (int) SWIG_AsInt(obj1); | |
5127 | if (PyErr_Occurred()) SWIG_fail; | |
5128 | { | |
5129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5130 | (arg1)->SetSelectionEnd(arg2); | |
5131 | ||
5132 | wxPyEndAllowThreads(__tstate); | |
5133 | if (PyErr_Occurred()) SWIG_fail; | |
5134 | } | |
5135 | Py_INCREF(Py_None); resultobj = Py_None; | |
5136 | return resultobj; | |
5137 | fail: | |
5138 | return NULL; | |
5139 | } | |
5140 | ||
5141 | ||
5142 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5143 | PyObject *resultobj; | |
5144 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5145 | int result; | |
5146 | PyObject * obj0 = 0 ; | |
5147 | char *kwnames[] = { | |
5148 | (char *) "self", NULL | |
5149 | }; | |
5150 | ||
5151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; | |
5152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5154 | { | |
5155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5156 | result = (int)(arg1)->GetSelectionEnd(); | |
5157 | ||
5158 | wxPyEndAllowThreads(__tstate); | |
5159 | if (PyErr_Occurred()) SWIG_fail; | |
5160 | } | |
5161 | resultobj = SWIG_FromInt((int)result); | |
5162 | return resultobj; | |
5163 | fail: | |
5164 | return NULL; | |
5165 | } | |
5166 | ||
5167 | ||
5168 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5169 | PyObject *resultobj; | |
5170 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5171 | int arg2 ; | |
5172 | PyObject * obj0 = 0 ; | |
5173 | PyObject * obj1 = 0 ; | |
5174 | char *kwnames[] = { | |
5175 | (char *) "self",(char *) "magnification", NULL | |
5176 | }; | |
5177 | ||
5178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; | |
5179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5181 | arg2 = (int) SWIG_AsInt(obj1); | |
5182 | if (PyErr_Occurred()) SWIG_fail; | |
5183 | { | |
5184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5185 | (arg1)->SetPrintMagnification(arg2); | |
5186 | ||
5187 | wxPyEndAllowThreads(__tstate); | |
5188 | if (PyErr_Occurred()) SWIG_fail; | |
5189 | } | |
5190 | Py_INCREF(Py_None); resultobj = Py_None; | |
5191 | return resultobj; | |
5192 | fail: | |
5193 | return NULL; | |
5194 | } | |
5195 | ||
5196 | ||
5197 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5198 | PyObject *resultobj; | |
5199 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5200 | int result; | |
5201 | PyObject * obj0 = 0 ; | |
5202 | char *kwnames[] = { | |
5203 | (char *) "self", NULL | |
5204 | }; | |
5205 | ||
5206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; | |
5207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5209 | { | |
5210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5211 | result = (int)(arg1)->GetPrintMagnification(); | |
5212 | ||
5213 | wxPyEndAllowThreads(__tstate); | |
5214 | if (PyErr_Occurred()) SWIG_fail; | |
5215 | } | |
5216 | resultobj = SWIG_FromInt((int)result); | |
5217 | return resultobj; | |
5218 | fail: | |
5219 | return NULL; | |
5220 | } | |
5221 | ||
5222 | ||
5223 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5224 | PyObject *resultobj; | |
5225 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5226 | int arg2 ; | |
5227 | PyObject * obj0 = 0 ; | |
5228 | PyObject * obj1 = 0 ; | |
5229 | char *kwnames[] = { | |
5230 | (char *) "self",(char *) "mode", NULL | |
5231 | }; | |
5232 | ||
5233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; | |
5234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5236 | arg2 = (int) SWIG_AsInt(obj1); | |
5237 | if (PyErr_Occurred()) SWIG_fail; | |
5238 | { | |
5239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5240 | (arg1)->SetPrintColourMode(arg2); | |
5241 | ||
5242 | wxPyEndAllowThreads(__tstate); | |
5243 | if (PyErr_Occurred()) SWIG_fail; | |
5244 | } | |
5245 | Py_INCREF(Py_None); resultobj = Py_None; | |
5246 | return resultobj; | |
5247 | fail: | |
5248 | return NULL; | |
5249 | } | |
5250 | ||
5251 | ||
5252 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5253 | PyObject *resultobj; | |
5254 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5255 | int result; | |
5256 | PyObject * obj0 = 0 ; | |
5257 | char *kwnames[] = { | |
5258 | (char *) "self", NULL | |
5259 | }; | |
5260 | ||
5261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; | |
5262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5264 | { | |
5265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5266 | result = (int)(arg1)->GetPrintColourMode(); | |
5267 | ||
5268 | wxPyEndAllowThreads(__tstate); | |
5269 | if (PyErr_Occurred()) SWIG_fail; | |
5270 | } | |
5271 | resultobj = SWIG_FromInt((int)result); | |
5272 | return resultobj; | |
5273 | fail: | |
5274 | return NULL; | |
5275 | } | |
5276 | ||
5277 | ||
5278 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5279 | PyObject *resultobj; | |
5280 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5281 | int arg2 ; | |
5282 | int arg3 ; | |
5283 | wxString *arg4 = 0 ; | |
5284 | int arg5 = (int) 0 ; | |
5285 | int result; | |
5286 | bool temp4 = False ; | |
5287 | PyObject * obj0 = 0 ; | |
5288 | PyObject * obj1 = 0 ; | |
5289 | PyObject * obj2 = 0 ; | |
5290 | PyObject * obj3 = 0 ; | |
5291 | PyObject * obj4 = 0 ; | |
5292 | char *kwnames[] = { | |
5293 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL | |
5294 | }; | |
5295 | ||
5296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
5297 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5299 | arg2 = (int) SWIG_AsInt(obj1); | |
5300 | if (PyErr_Occurred()) SWIG_fail; | |
5301 | arg3 = (int) SWIG_AsInt(obj2); | |
5302 | if (PyErr_Occurred()) SWIG_fail; | |
5303 | { | |
5304 | arg4 = wxString_in_helper(obj3); | |
5305 | if (arg4 == NULL) SWIG_fail; | |
5306 | temp4 = True; | |
5307 | } | |
5308 | if (obj4) { | |
5309 | arg5 = (int) SWIG_AsInt(obj4); | |
5310 | if (PyErr_Occurred()) SWIG_fail; | |
5311 | } | |
5312 | { | |
5313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5314 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); | |
5315 | ||
5316 | wxPyEndAllowThreads(__tstate); | |
5317 | if (PyErr_Occurred()) SWIG_fail; | |
5318 | } | |
5319 | resultobj = SWIG_FromInt((int)result); | |
5320 | { | |
5321 | if (temp4) | |
5322 | delete arg4; | |
5323 | } | |
5324 | return resultobj; | |
5325 | fail: | |
5326 | { | |
5327 | if (temp4) | |
5328 | delete arg4; | |
5329 | } | |
5330 | return NULL; | |
5331 | } | |
5332 | ||
5333 | ||
5334 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5335 | PyObject *resultobj; | |
5336 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5337 | bool arg2 ; | |
5338 | int arg3 ; | |
5339 | int arg4 ; | |
5340 | wxDC *arg5 = (wxDC *) 0 ; | |
5341 | wxDC *arg6 = (wxDC *) 0 ; | |
5342 | wxRect arg7 ; | |
5343 | wxRect arg8 ; | |
5344 | int result; | |
5345 | wxRect *argp7 ; | |
5346 | wxRect *argp8 ; | |
5347 | PyObject * obj0 = 0 ; | |
5348 | PyObject * obj1 = 0 ; | |
5349 | PyObject * obj2 = 0 ; | |
5350 | PyObject * obj3 = 0 ; | |
5351 | PyObject * obj4 = 0 ; | |
5352 | PyObject * obj5 = 0 ; | |
5353 | PyObject * obj6 = 0 ; | |
5354 | PyObject * obj7 = 0 ; | |
5355 | char *kwnames[] = { | |
5356 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL | |
5357 | }; | |
5358 | ||
5359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
5360 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5361 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5362 | arg2 = (bool) SWIG_AsBool(obj1); | |
5363 | if (PyErr_Occurred()) SWIG_fail; | |
5364 | arg3 = (int) SWIG_AsInt(obj2); | |
5365 | if (PyErr_Occurred()) SWIG_fail; | |
5366 | arg4 = (int) SWIG_AsInt(obj3); | |
5367 | if (PyErr_Occurred()) SWIG_fail; | |
5368 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC, | |
5369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5370 | if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC, | |
5371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5372 | if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect, | |
5373 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5374 | arg7 = *argp7; | |
5375 | if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect, | |
5376 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5377 | arg8 = *argp8; | |
5378 | { | |
5379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5380 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
5381 | ||
5382 | wxPyEndAllowThreads(__tstate); | |
5383 | if (PyErr_Occurred()) SWIG_fail; | |
5384 | } | |
5385 | resultobj = SWIG_FromInt((int)result); | |
5386 | return resultobj; | |
5387 | fail: | |
5388 | return NULL; | |
5389 | } | |
5390 | ||
5391 | ||
5392 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5393 | PyObject *resultobj; | |
5394 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5395 | int result; | |
5396 | PyObject * obj0 = 0 ; | |
5397 | char *kwnames[] = { | |
5398 | (char *) "self", NULL | |
5399 | }; | |
5400 | ||
5401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
5402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5404 | { | |
5405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5406 | result = (int)(arg1)->GetFirstVisibleLine(); | |
5407 | ||
5408 | wxPyEndAllowThreads(__tstate); | |
5409 | if (PyErr_Occurred()) SWIG_fail; | |
5410 | } | |
5411 | resultobj = SWIG_FromInt((int)result); | |
5412 | return resultobj; | |
5413 | fail: | |
5414 | return NULL; | |
5415 | } | |
5416 | ||
5417 | ||
5418 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5419 | PyObject *resultobj; | |
5420 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5421 | int arg2 ; | |
5422 | wxString result; | |
5423 | PyObject * obj0 = 0 ; | |
5424 | PyObject * obj1 = 0 ; | |
5425 | char *kwnames[] = { | |
5426 | (char *) "self",(char *) "line", NULL | |
5427 | }; | |
5428 | ||
5429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; | |
5430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5432 | arg2 = (int) SWIG_AsInt(obj1); | |
5433 | if (PyErr_Occurred()) SWIG_fail; | |
5434 | { | |
5435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5436 | result = (arg1)->GetLine(arg2); | |
5437 | ||
5438 | wxPyEndAllowThreads(__tstate); | |
5439 | if (PyErr_Occurred()) SWIG_fail; | |
5440 | } | |
5441 | { | |
5442 | #if wxUSE_UNICODE | |
5443 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5444 | #else | |
5445 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5446 | #endif | |
5447 | } | |
5448 | return resultobj; | |
5449 | fail: | |
5450 | return NULL; | |
5451 | } | |
5452 | ||
5453 | ||
5454 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5455 | PyObject *resultobj; | |
5456 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5457 | int result; | |
5458 | PyObject * obj0 = 0 ; | |
5459 | char *kwnames[] = { | |
5460 | (char *) "self", NULL | |
5461 | }; | |
5462 | ||
5463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; | |
5464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5466 | { | |
5467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5468 | result = (int)(arg1)->GetLineCount(); | |
5469 | ||
5470 | wxPyEndAllowThreads(__tstate); | |
5471 | if (PyErr_Occurred()) SWIG_fail; | |
5472 | } | |
5473 | resultobj = SWIG_FromInt((int)result); | |
5474 | return resultobj; | |
5475 | fail: | |
5476 | return NULL; | |
5477 | } | |
5478 | ||
5479 | ||
5480 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5481 | PyObject *resultobj; | |
5482 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5483 | int arg2 ; | |
5484 | PyObject * obj0 = 0 ; | |
5485 | PyObject * obj1 = 0 ; | |
5486 | char *kwnames[] = { | |
5487 | (char *) "self",(char *) "pixelWidth", NULL | |
5488 | }; | |
5489 | ||
5490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; | |
5491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5493 | arg2 = (int) SWIG_AsInt(obj1); | |
5494 | if (PyErr_Occurred()) SWIG_fail; | |
5495 | { | |
5496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5497 | (arg1)->SetMarginLeft(arg2); | |
5498 | ||
5499 | wxPyEndAllowThreads(__tstate); | |
5500 | if (PyErr_Occurred()) SWIG_fail; | |
5501 | } | |
5502 | Py_INCREF(Py_None); resultobj = Py_None; | |
5503 | return resultobj; | |
5504 | fail: | |
5505 | return NULL; | |
5506 | } | |
5507 | ||
5508 | ||
5509 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5510 | PyObject *resultobj; | |
5511 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5512 | int result; | |
5513 | PyObject * obj0 = 0 ; | |
5514 | char *kwnames[] = { | |
5515 | (char *) "self", NULL | |
5516 | }; | |
5517 | ||
5518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; | |
5519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5521 | { | |
5522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5523 | result = (int)(arg1)->GetMarginLeft(); | |
5524 | ||
5525 | wxPyEndAllowThreads(__tstate); | |
5526 | if (PyErr_Occurred()) SWIG_fail; | |
5527 | } | |
5528 | resultobj = SWIG_FromInt((int)result); | |
5529 | return resultobj; | |
5530 | fail: | |
5531 | return NULL; | |
5532 | } | |
5533 | ||
5534 | ||
5535 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5536 | PyObject *resultobj; | |
5537 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5538 | int arg2 ; | |
5539 | PyObject * obj0 = 0 ; | |
5540 | PyObject * obj1 = 0 ; | |
5541 | char *kwnames[] = { | |
5542 | (char *) "self",(char *) "pixelWidth", NULL | |
5543 | }; | |
5544 | ||
5545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; | |
5546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5548 | arg2 = (int) SWIG_AsInt(obj1); | |
5549 | if (PyErr_Occurred()) SWIG_fail; | |
5550 | { | |
5551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5552 | (arg1)->SetMarginRight(arg2); | |
5553 | ||
5554 | wxPyEndAllowThreads(__tstate); | |
5555 | if (PyErr_Occurred()) SWIG_fail; | |
5556 | } | |
5557 | Py_INCREF(Py_None); resultobj = Py_None; | |
5558 | return resultobj; | |
5559 | fail: | |
5560 | return NULL; | |
5561 | } | |
5562 | ||
5563 | ||
5564 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5565 | PyObject *resultobj; | |
5566 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5567 | int result; | |
5568 | PyObject * obj0 = 0 ; | |
5569 | char *kwnames[] = { | |
5570 | (char *) "self", NULL | |
5571 | }; | |
5572 | ||
5573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; | |
5574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5576 | { | |
5577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5578 | result = (int)(arg1)->GetMarginRight(); | |
5579 | ||
5580 | wxPyEndAllowThreads(__tstate); | |
5581 | if (PyErr_Occurred()) SWIG_fail; | |
5582 | } | |
5583 | resultobj = SWIG_FromInt((int)result); | |
5584 | return resultobj; | |
5585 | fail: | |
5586 | return NULL; | |
5587 | } | |
5588 | ||
5589 | ||
5590 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5591 | PyObject *resultobj; | |
5592 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5593 | bool result; | |
5594 | PyObject * obj0 = 0 ; | |
5595 | char *kwnames[] = { | |
5596 | (char *) "self", NULL | |
5597 | }; | |
5598 | ||
5599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; | |
5600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5602 | { | |
5603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5604 | result = (bool)(arg1)->GetModify(); | |
5605 | ||
5606 | wxPyEndAllowThreads(__tstate); | |
5607 | if (PyErr_Occurred()) SWIG_fail; | |
5608 | } | |
5609 | { | |
5610 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5611 | } | |
5612 | return resultobj; | |
5613 | fail: | |
5614 | return NULL; | |
5615 | } | |
5616 | ||
5617 | ||
5618 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5619 | PyObject *resultobj; | |
5620 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5621 | int arg2 ; | |
5622 | int arg3 ; | |
5623 | PyObject * obj0 = 0 ; | |
5624 | PyObject * obj1 = 0 ; | |
5625 | PyObject * obj2 = 0 ; | |
5626 | char *kwnames[] = { | |
5627 | (char *) "self",(char *) "start",(char *) "end", NULL | |
5628 | }; | |
5629 | ||
5630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5633 | arg2 = (int) SWIG_AsInt(obj1); | |
5634 | if (PyErr_Occurred()) SWIG_fail; | |
5635 | arg3 = (int) SWIG_AsInt(obj2); | |
5636 | if (PyErr_Occurred()) SWIG_fail; | |
5637 | { | |
5638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5639 | (arg1)->SetSelection(arg2,arg3); | |
5640 | ||
5641 | wxPyEndAllowThreads(__tstate); | |
5642 | if (PyErr_Occurred()) SWIG_fail; | |
5643 | } | |
5644 | Py_INCREF(Py_None); resultobj = Py_None; | |
5645 | return resultobj; | |
5646 | fail: | |
5647 | return NULL; | |
5648 | } | |
5649 | ||
5650 | ||
5651 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5652 | PyObject *resultobj; | |
5653 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5654 | wxString result; | |
5655 | PyObject * obj0 = 0 ; | |
5656 | char *kwnames[] = { | |
5657 | (char *) "self", NULL | |
5658 | }; | |
5659 | ||
5660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; | |
5661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5663 | { | |
5664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5665 | result = (arg1)->GetSelectedText(); | |
5666 | ||
5667 | wxPyEndAllowThreads(__tstate); | |
5668 | if (PyErr_Occurred()) SWIG_fail; | |
5669 | } | |
5670 | { | |
5671 | #if wxUSE_UNICODE | |
5672 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5673 | #else | |
5674 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5675 | #endif | |
5676 | } | |
5677 | return resultobj; | |
5678 | fail: | |
5679 | return NULL; | |
5680 | } | |
5681 | ||
5682 | ||
5683 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5684 | PyObject *resultobj; | |
5685 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5686 | int arg2 ; | |
5687 | int arg3 ; | |
5688 | wxString result; | |
5689 | PyObject * obj0 = 0 ; | |
5690 | PyObject * obj1 = 0 ; | |
5691 | PyObject * obj2 = 0 ; | |
5692 | char *kwnames[] = { | |
5693 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
5694 | }; | |
5695 | ||
5696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5699 | arg2 = (int) SWIG_AsInt(obj1); | |
5700 | if (PyErr_Occurred()) SWIG_fail; | |
5701 | arg3 = (int) SWIG_AsInt(obj2); | |
5702 | if (PyErr_Occurred()) SWIG_fail; | |
5703 | { | |
5704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5705 | result = (arg1)->GetTextRange(arg2,arg3); | |
5706 | ||
5707 | wxPyEndAllowThreads(__tstate); | |
5708 | if (PyErr_Occurred()) SWIG_fail; | |
5709 | } | |
5710 | { | |
5711 | #if wxUSE_UNICODE | |
5712 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5713 | #else | |
5714 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5715 | #endif | |
5716 | } | |
5717 | return resultobj; | |
5718 | fail: | |
5719 | return NULL; | |
5720 | } | |
5721 | ||
5722 | ||
5723 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5724 | PyObject *resultobj; | |
5725 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5726 | bool arg2 ; | |
5727 | PyObject * obj0 = 0 ; | |
5728 | PyObject * obj1 = 0 ; | |
5729 | char *kwnames[] = { | |
5730 | (char *) "self",(char *) "normal", NULL | |
5731 | }; | |
5732 | ||
5733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; | |
5734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5736 | arg2 = (bool) SWIG_AsBool(obj1); | |
5737 | if (PyErr_Occurred()) SWIG_fail; | |
5738 | { | |
5739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5740 | (arg1)->HideSelection(arg2); | |
5741 | ||
5742 | wxPyEndAllowThreads(__tstate); | |
5743 | if (PyErr_Occurred()) SWIG_fail; | |
5744 | } | |
5745 | Py_INCREF(Py_None); resultobj = Py_None; | |
5746 | return resultobj; | |
5747 | fail: | |
5748 | return NULL; | |
5749 | } | |
5750 | ||
5751 | ||
5752 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5753 | PyObject *resultobj; | |
5754 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5755 | int arg2 ; | |
5756 | int result; | |
5757 | PyObject * obj0 = 0 ; | |
5758 | PyObject * obj1 = 0 ; | |
5759 | char *kwnames[] = { | |
5760 | (char *) "self",(char *) "pos", NULL | |
5761 | }; | |
5762 | ||
5763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; | |
5764 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5765 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5766 | arg2 = (int) SWIG_AsInt(obj1); | |
5767 | if (PyErr_Occurred()) SWIG_fail; | |
5768 | { | |
5769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5770 | result = (int)(arg1)->LineFromPosition(arg2); | |
5771 | ||
5772 | wxPyEndAllowThreads(__tstate); | |
5773 | if (PyErr_Occurred()) SWIG_fail; | |
5774 | } | |
5775 | resultobj = SWIG_FromInt((int)result); | |
5776 | return resultobj; | |
5777 | fail: | |
5778 | return NULL; | |
5779 | } | |
5780 | ||
5781 | ||
5782 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5783 | PyObject *resultobj; | |
5784 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5785 | int arg2 ; | |
5786 | int result; | |
5787 | PyObject * obj0 = 0 ; | |
5788 | PyObject * obj1 = 0 ; | |
5789 | char *kwnames[] = { | |
5790 | (char *) "self",(char *) "line", NULL | |
5791 | }; | |
5792 | ||
5793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; | |
5794 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5795 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5796 | arg2 = (int) SWIG_AsInt(obj1); | |
5797 | if (PyErr_Occurred()) SWIG_fail; | |
5798 | { | |
5799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5800 | result = (int)(arg1)->PositionFromLine(arg2); | |
5801 | ||
5802 | wxPyEndAllowThreads(__tstate); | |
5803 | if (PyErr_Occurred()) SWIG_fail; | |
5804 | } | |
5805 | resultobj = SWIG_FromInt((int)result); | |
5806 | return resultobj; | |
5807 | fail: | |
5808 | return NULL; | |
5809 | } | |
5810 | ||
5811 | ||
5812 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5813 | PyObject *resultobj; | |
5814 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5815 | int arg2 ; | |
5816 | int arg3 ; | |
5817 | PyObject * obj0 = 0 ; | |
5818 | PyObject * obj1 = 0 ; | |
5819 | PyObject * obj2 = 0 ; | |
5820 | char *kwnames[] = { | |
5821 | (char *) "self",(char *) "columns",(char *) "lines", NULL | |
5822 | }; | |
5823 | ||
5824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5827 | arg2 = (int) SWIG_AsInt(obj1); | |
5828 | if (PyErr_Occurred()) SWIG_fail; | |
5829 | arg3 = (int) SWIG_AsInt(obj2); | |
5830 | if (PyErr_Occurred()) SWIG_fail; | |
5831 | { | |
5832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5833 | (arg1)->LineScroll(arg2,arg3); | |
5834 | ||
5835 | wxPyEndAllowThreads(__tstate); | |
5836 | if (PyErr_Occurred()) SWIG_fail; | |
5837 | } | |
5838 | Py_INCREF(Py_None); resultobj = Py_None; | |
5839 | return resultobj; | |
5840 | fail: | |
5841 | return NULL; | |
5842 | } | |
5843 | ||
5844 | ||
5845 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5846 | PyObject *resultobj; | |
5847 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5848 | PyObject * obj0 = 0 ; | |
5849 | char *kwnames[] = { | |
5850 | (char *) "self", NULL | |
5851 | }; | |
5852 | ||
5853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; | |
5854 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5856 | { | |
5857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5858 | (arg1)->EnsureCaretVisible(); | |
5859 | ||
5860 | wxPyEndAllowThreads(__tstate); | |
5861 | if (PyErr_Occurred()) SWIG_fail; | |
5862 | } | |
5863 | Py_INCREF(Py_None); resultobj = Py_None; | |
5864 | return resultobj; | |
5865 | fail: | |
5866 | return NULL; | |
5867 | } | |
5868 | ||
5869 | ||
5870 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5871 | PyObject *resultobj; | |
5872 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5873 | wxString *arg2 = 0 ; | |
5874 | bool temp2 = False ; | |
5875 | PyObject * obj0 = 0 ; | |
5876 | PyObject * obj1 = 0 ; | |
5877 | char *kwnames[] = { | |
5878 | (char *) "self",(char *) "text", NULL | |
5879 | }; | |
5880 | ||
5881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; | |
5882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5884 | { | |
5885 | arg2 = wxString_in_helper(obj1); | |
5886 | if (arg2 == NULL) SWIG_fail; | |
5887 | temp2 = True; | |
5888 | } | |
5889 | { | |
5890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5891 | (arg1)->ReplaceSelection((wxString const &)*arg2); | |
5892 | ||
5893 | wxPyEndAllowThreads(__tstate); | |
5894 | if (PyErr_Occurred()) SWIG_fail; | |
5895 | } | |
5896 | Py_INCREF(Py_None); resultobj = Py_None; | |
5897 | { | |
5898 | if (temp2) | |
5899 | delete arg2; | |
5900 | } | |
5901 | return resultobj; | |
5902 | fail: | |
5903 | { | |
5904 | if (temp2) | |
5905 | delete arg2; | |
5906 | } | |
5907 | return NULL; | |
5908 | } | |
5909 | ||
5910 | ||
5911 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5912 | PyObject *resultobj; | |
5913 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5914 | bool arg2 ; | |
5915 | PyObject * obj0 = 0 ; | |
5916 | PyObject * obj1 = 0 ; | |
5917 | char *kwnames[] = { | |
5918 | (char *) "self",(char *) "readOnly", NULL | |
5919 | }; | |
5920 | ||
5921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; | |
5922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5924 | arg2 = (bool) SWIG_AsBool(obj1); | |
5925 | if (PyErr_Occurred()) SWIG_fail; | |
5926 | { | |
5927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5928 | (arg1)->SetReadOnly(arg2); | |
5929 | ||
5930 | wxPyEndAllowThreads(__tstate); | |
5931 | if (PyErr_Occurred()) SWIG_fail; | |
5932 | } | |
5933 | Py_INCREF(Py_None); resultobj = Py_None; | |
5934 | return resultobj; | |
5935 | fail: | |
5936 | return NULL; | |
5937 | } | |
5938 | ||
5939 | ||
5940 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5941 | PyObject *resultobj; | |
5942 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5943 | bool result; | |
5944 | PyObject * obj0 = 0 ; | |
5945 | char *kwnames[] = { | |
5946 | (char *) "self", NULL | |
5947 | }; | |
5948 | ||
5949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; | |
5950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5952 | { | |
5953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5954 | result = (bool)(arg1)->CanPaste(); | |
5955 | ||
5956 | wxPyEndAllowThreads(__tstate); | |
5957 | if (PyErr_Occurred()) SWIG_fail; | |
5958 | } | |
5959 | { | |
5960 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5961 | } | |
5962 | return resultobj; | |
5963 | fail: | |
5964 | return NULL; | |
5965 | } | |
5966 | ||
5967 | ||
5968 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5969 | PyObject *resultobj; | |
5970 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5971 | bool result; | |
5972 | PyObject * obj0 = 0 ; | |
5973 | char *kwnames[] = { | |
5974 | (char *) "self", NULL | |
5975 | }; | |
5976 | ||
5977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; | |
5978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
5979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5980 | { | |
5981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5982 | result = (bool)(arg1)->CanUndo(); | |
5983 | ||
5984 | wxPyEndAllowThreads(__tstate); | |
5985 | if (PyErr_Occurred()) SWIG_fail; | |
5986 | } | |
5987 | { | |
5988 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5989 | } | |
5990 | return resultobj; | |
5991 | fail: | |
5992 | return NULL; | |
5993 | } | |
5994 | ||
5995 | ||
5996 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5997 | PyObject *resultobj; | |
5998 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5999 | PyObject * obj0 = 0 ; | |
6000 | char *kwnames[] = { | |
6001 | (char *) "self", NULL | |
6002 | }; | |
6003 | ||
6004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; | |
6005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6007 | { | |
6008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6009 | (arg1)->EmptyUndoBuffer(); | |
6010 | ||
6011 | wxPyEndAllowThreads(__tstate); | |
6012 | if (PyErr_Occurred()) SWIG_fail; | |
6013 | } | |
6014 | Py_INCREF(Py_None); resultobj = Py_None; | |
6015 | return resultobj; | |
6016 | fail: | |
6017 | return NULL; | |
6018 | } | |
6019 | ||
6020 | ||
6021 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6022 | PyObject *resultobj; | |
6023 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6024 | PyObject * obj0 = 0 ; | |
6025 | char *kwnames[] = { | |
6026 | (char *) "self", NULL | |
6027 | }; | |
6028 | ||
6029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; | |
6030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6032 | { | |
6033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6034 | (arg1)->Undo(); | |
6035 | ||
6036 | wxPyEndAllowThreads(__tstate); | |
6037 | if (PyErr_Occurred()) SWIG_fail; | |
6038 | } | |
6039 | Py_INCREF(Py_None); resultobj = Py_None; | |
6040 | return resultobj; | |
6041 | fail: | |
6042 | return NULL; | |
6043 | } | |
6044 | ||
6045 | ||
6046 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6047 | PyObject *resultobj; | |
6048 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6049 | PyObject * obj0 = 0 ; | |
6050 | char *kwnames[] = { | |
6051 | (char *) "self", NULL | |
6052 | }; | |
6053 | ||
6054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; | |
6055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6057 | { | |
6058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6059 | (arg1)->Cut(); | |
6060 | ||
6061 | wxPyEndAllowThreads(__tstate); | |
6062 | if (PyErr_Occurred()) SWIG_fail; | |
6063 | } | |
6064 | Py_INCREF(Py_None); resultobj = Py_None; | |
6065 | return resultobj; | |
6066 | fail: | |
6067 | return NULL; | |
6068 | } | |
6069 | ||
6070 | ||
6071 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6072 | PyObject *resultobj; | |
6073 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6074 | PyObject * obj0 = 0 ; | |
6075 | char *kwnames[] = { | |
6076 | (char *) "self", NULL | |
6077 | }; | |
6078 | ||
6079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; | |
6080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6082 | { | |
6083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6084 | (arg1)->Copy(); | |
6085 | ||
6086 | wxPyEndAllowThreads(__tstate); | |
6087 | if (PyErr_Occurred()) SWIG_fail; | |
6088 | } | |
6089 | Py_INCREF(Py_None); resultobj = Py_None; | |
6090 | return resultobj; | |
6091 | fail: | |
6092 | return NULL; | |
6093 | } | |
6094 | ||
6095 | ||
6096 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6097 | PyObject *resultobj; | |
6098 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6099 | PyObject * obj0 = 0 ; | |
6100 | char *kwnames[] = { | |
6101 | (char *) "self", NULL | |
6102 | }; | |
6103 | ||
6104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; | |
6105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6107 | { | |
6108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6109 | (arg1)->Paste(); | |
6110 | ||
6111 | wxPyEndAllowThreads(__tstate); | |
6112 | if (PyErr_Occurred()) SWIG_fail; | |
6113 | } | |
6114 | Py_INCREF(Py_None); resultobj = Py_None; | |
6115 | return resultobj; | |
6116 | fail: | |
6117 | return NULL; | |
6118 | } | |
6119 | ||
6120 | ||
6121 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6122 | PyObject *resultobj; | |
6123 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6124 | PyObject * obj0 = 0 ; | |
6125 | char *kwnames[] = { | |
6126 | (char *) "self", NULL | |
6127 | }; | |
6128 | ||
6129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; | |
6130 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6131 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6132 | { | |
6133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6134 | (arg1)->Clear(); | |
6135 | ||
6136 | wxPyEndAllowThreads(__tstate); | |
6137 | if (PyErr_Occurred()) SWIG_fail; | |
6138 | } | |
6139 | Py_INCREF(Py_None); resultobj = Py_None; | |
6140 | return resultobj; | |
6141 | fail: | |
6142 | return NULL; | |
6143 | } | |
6144 | ||
6145 | ||
6146 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6147 | PyObject *resultobj; | |
6148 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6149 | wxString *arg2 = 0 ; | |
6150 | bool temp2 = False ; | |
6151 | PyObject * obj0 = 0 ; | |
6152 | PyObject * obj1 = 0 ; | |
6153 | char *kwnames[] = { | |
6154 | (char *) "self",(char *) "text", NULL | |
6155 | }; | |
6156 | ||
6157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; | |
6158 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6159 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6160 | { | |
6161 | arg2 = wxString_in_helper(obj1); | |
6162 | if (arg2 == NULL) SWIG_fail; | |
6163 | temp2 = True; | |
6164 | } | |
6165 | { | |
6166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6167 | (arg1)->SetText((wxString const &)*arg2); | |
6168 | ||
6169 | wxPyEndAllowThreads(__tstate); | |
6170 | if (PyErr_Occurred()) SWIG_fail; | |
6171 | } | |
6172 | Py_INCREF(Py_None); resultobj = Py_None; | |
6173 | { | |
6174 | if (temp2) | |
6175 | delete arg2; | |
6176 | } | |
6177 | return resultobj; | |
6178 | fail: | |
6179 | { | |
6180 | if (temp2) | |
6181 | delete arg2; | |
6182 | } | |
6183 | return NULL; | |
6184 | } | |
6185 | ||
6186 | ||
6187 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6188 | PyObject *resultobj; | |
6189 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6190 | wxString result; | |
6191 | PyObject * obj0 = 0 ; | |
6192 | char *kwnames[] = { | |
6193 | (char *) "self", NULL | |
6194 | }; | |
6195 | ||
6196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; | |
6197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6199 | { | |
6200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6201 | result = (arg1)->GetText(); | |
6202 | ||
6203 | wxPyEndAllowThreads(__tstate); | |
6204 | if (PyErr_Occurred()) SWIG_fail; | |
6205 | } | |
6206 | { | |
6207 | #if wxUSE_UNICODE | |
6208 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6209 | #else | |
6210 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6211 | #endif | |
6212 | } | |
6213 | return resultobj; | |
6214 | fail: | |
6215 | return NULL; | |
6216 | } | |
6217 | ||
6218 | ||
6219 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6220 | PyObject *resultobj; | |
6221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6222 | int result; | |
6223 | PyObject * obj0 = 0 ; | |
6224 | char *kwnames[] = { | |
6225 | (char *) "self", NULL | |
6226 | }; | |
6227 | ||
6228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; | |
6229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6231 | { | |
6232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6233 | result = (int)(arg1)->GetTextLength(); | |
6234 | ||
6235 | wxPyEndAllowThreads(__tstate); | |
6236 | if (PyErr_Occurred()) SWIG_fail; | |
6237 | } | |
6238 | resultobj = SWIG_FromInt((int)result); | |
6239 | return resultobj; | |
6240 | fail: | |
6241 | return NULL; | |
6242 | } | |
6243 | ||
6244 | ||
6245 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6246 | PyObject *resultobj; | |
6247 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6248 | bool arg2 ; | |
6249 | PyObject * obj0 = 0 ; | |
6250 | PyObject * obj1 = 0 ; | |
6251 | char *kwnames[] = { | |
6252 | (char *) "self",(char *) "overtype", NULL | |
6253 | }; | |
6254 | ||
6255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; | |
6256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6258 | arg2 = (bool) SWIG_AsBool(obj1); | |
6259 | if (PyErr_Occurred()) SWIG_fail; | |
6260 | { | |
6261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6262 | (arg1)->SetOvertype(arg2); | |
6263 | ||
6264 | wxPyEndAllowThreads(__tstate); | |
6265 | if (PyErr_Occurred()) SWIG_fail; | |
6266 | } | |
6267 | Py_INCREF(Py_None); resultobj = Py_None; | |
6268 | return resultobj; | |
6269 | fail: | |
6270 | return NULL; | |
6271 | } | |
6272 | ||
6273 | ||
6274 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6275 | PyObject *resultobj; | |
6276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6277 | bool result; | |
6278 | PyObject * obj0 = 0 ; | |
6279 | char *kwnames[] = { | |
6280 | (char *) "self", NULL | |
6281 | }; | |
6282 | ||
6283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; | |
6284 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6285 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6286 | { | |
6287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6288 | result = (bool)(arg1)->GetOvertype(); | |
6289 | ||
6290 | wxPyEndAllowThreads(__tstate); | |
6291 | if (PyErr_Occurred()) SWIG_fail; | |
6292 | } | |
6293 | { | |
6294 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6295 | } | |
6296 | return resultobj; | |
6297 | fail: | |
6298 | return NULL; | |
6299 | } | |
6300 | ||
6301 | ||
6302 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6303 | PyObject *resultobj; | |
6304 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6305 | int arg2 ; | |
6306 | PyObject * obj0 = 0 ; | |
6307 | PyObject * obj1 = 0 ; | |
6308 | char *kwnames[] = { | |
6309 | (char *) "self",(char *) "pixelWidth", NULL | |
6310 | }; | |
6311 | ||
6312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; | |
6313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6315 | arg2 = (int) SWIG_AsInt(obj1); | |
6316 | if (PyErr_Occurred()) SWIG_fail; | |
6317 | { | |
6318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6319 | (arg1)->SetCaretWidth(arg2); | |
6320 | ||
6321 | wxPyEndAllowThreads(__tstate); | |
6322 | if (PyErr_Occurred()) SWIG_fail; | |
6323 | } | |
6324 | Py_INCREF(Py_None); resultobj = Py_None; | |
6325 | return resultobj; | |
6326 | fail: | |
6327 | return NULL; | |
6328 | } | |
6329 | ||
6330 | ||
6331 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6332 | PyObject *resultobj; | |
6333 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6334 | int result; | |
6335 | PyObject * obj0 = 0 ; | |
6336 | char *kwnames[] = { | |
6337 | (char *) "self", NULL | |
6338 | }; | |
6339 | ||
6340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; | |
6341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6343 | { | |
6344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6345 | result = (int)(arg1)->GetCaretWidth(); | |
6346 | ||
6347 | wxPyEndAllowThreads(__tstate); | |
6348 | if (PyErr_Occurred()) SWIG_fail; | |
6349 | } | |
6350 | resultobj = SWIG_FromInt((int)result); | |
6351 | return resultobj; | |
6352 | fail: | |
6353 | return NULL; | |
6354 | } | |
6355 | ||
6356 | ||
6357 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6358 | PyObject *resultobj; | |
6359 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6360 | int arg2 ; | |
6361 | PyObject * obj0 = 0 ; | |
6362 | PyObject * obj1 = 0 ; | |
6363 | char *kwnames[] = { | |
6364 | (char *) "self",(char *) "pos", NULL | |
6365 | }; | |
6366 | ||
6367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; | |
6368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6370 | arg2 = (int) SWIG_AsInt(obj1); | |
6371 | if (PyErr_Occurred()) SWIG_fail; | |
6372 | { | |
6373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6374 | (arg1)->SetTargetStart(arg2); | |
6375 | ||
6376 | wxPyEndAllowThreads(__tstate); | |
6377 | if (PyErr_Occurred()) SWIG_fail; | |
6378 | } | |
6379 | Py_INCREF(Py_None); resultobj = Py_None; | |
6380 | return resultobj; | |
6381 | fail: | |
6382 | return NULL; | |
6383 | } | |
6384 | ||
6385 | ||
6386 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6387 | PyObject *resultobj; | |
6388 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6389 | int result; | |
6390 | PyObject * obj0 = 0 ; | |
6391 | char *kwnames[] = { | |
6392 | (char *) "self", NULL | |
6393 | }; | |
6394 | ||
6395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; | |
6396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6398 | { | |
6399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6400 | result = (int)(arg1)->GetTargetStart(); | |
6401 | ||
6402 | wxPyEndAllowThreads(__tstate); | |
6403 | if (PyErr_Occurred()) SWIG_fail; | |
6404 | } | |
6405 | resultobj = SWIG_FromInt((int)result); | |
6406 | return resultobj; | |
6407 | fail: | |
6408 | return NULL; | |
6409 | } | |
6410 | ||
6411 | ||
6412 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6413 | PyObject *resultobj; | |
6414 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6415 | int arg2 ; | |
6416 | PyObject * obj0 = 0 ; | |
6417 | PyObject * obj1 = 0 ; | |
6418 | char *kwnames[] = { | |
6419 | (char *) "self",(char *) "pos", NULL | |
6420 | }; | |
6421 | ||
6422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; | |
6423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6425 | arg2 = (int) SWIG_AsInt(obj1); | |
6426 | if (PyErr_Occurred()) SWIG_fail; | |
6427 | { | |
6428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6429 | (arg1)->SetTargetEnd(arg2); | |
6430 | ||
6431 | wxPyEndAllowThreads(__tstate); | |
6432 | if (PyErr_Occurred()) SWIG_fail; | |
6433 | } | |
6434 | Py_INCREF(Py_None); resultobj = Py_None; | |
6435 | return resultobj; | |
6436 | fail: | |
6437 | return NULL; | |
6438 | } | |
6439 | ||
6440 | ||
6441 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6442 | PyObject *resultobj; | |
6443 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6444 | int result; | |
6445 | PyObject * obj0 = 0 ; | |
6446 | char *kwnames[] = { | |
6447 | (char *) "self", NULL | |
6448 | }; | |
6449 | ||
6450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; | |
6451 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6452 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6453 | { | |
6454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6455 | result = (int)(arg1)->GetTargetEnd(); | |
6456 | ||
6457 | wxPyEndAllowThreads(__tstate); | |
6458 | if (PyErr_Occurred()) SWIG_fail; | |
6459 | } | |
6460 | resultobj = SWIG_FromInt((int)result); | |
6461 | return resultobj; | |
6462 | fail: | |
6463 | return NULL; | |
6464 | } | |
6465 | ||
6466 | ||
6467 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6468 | PyObject *resultobj; | |
6469 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6470 | wxString *arg2 = 0 ; | |
6471 | int result; | |
6472 | bool temp2 = False ; | |
6473 | PyObject * obj0 = 0 ; | |
6474 | PyObject * obj1 = 0 ; | |
6475 | char *kwnames[] = { | |
6476 | (char *) "self",(char *) "text", NULL | |
6477 | }; | |
6478 | ||
6479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; | |
6480 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6481 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6482 | { | |
6483 | arg2 = wxString_in_helper(obj1); | |
6484 | if (arg2 == NULL) SWIG_fail; | |
6485 | temp2 = True; | |
6486 | } | |
6487 | { | |
6488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6489 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); | |
6490 | ||
6491 | wxPyEndAllowThreads(__tstate); | |
6492 | if (PyErr_Occurred()) SWIG_fail; | |
6493 | } | |
6494 | resultobj = SWIG_FromInt((int)result); | |
6495 | { | |
6496 | if (temp2) | |
6497 | delete arg2; | |
6498 | } | |
6499 | return resultobj; | |
6500 | fail: | |
6501 | { | |
6502 | if (temp2) | |
6503 | delete arg2; | |
6504 | } | |
6505 | return NULL; | |
6506 | } | |
6507 | ||
6508 | ||
6509 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6510 | PyObject *resultobj; | |
6511 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6512 | wxString *arg2 = 0 ; | |
6513 | int result; | |
6514 | bool temp2 = False ; | |
6515 | PyObject * obj0 = 0 ; | |
6516 | PyObject * obj1 = 0 ; | |
6517 | char *kwnames[] = { | |
6518 | (char *) "self",(char *) "text", NULL | |
6519 | }; | |
6520 | ||
6521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; | |
6522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6524 | { | |
6525 | arg2 = wxString_in_helper(obj1); | |
6526 | if (arg2 == NULL) SWIG_fail; | |
6527 | temp2 = True; | |
6528 | } | |
6529 | { | |
6530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6531 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); | |
6532 | ||
6533 | wxPyEndAllowThreads(__tstate); | |
6534 | if (PyErr_Occurred()) SWIG_fail; | |
6535 | } | |
6536 | resultobj = SWIG_FromInt((int)result); | |
6537 | { | |
6538 | if (temp2) | |
6539 | delete arg2; | |
6540 | } | |
6541 | return resultobj; | |
6542 | fail: | |
6543 | { | |
6544 | if (temp2) | |
6545 | delete arg2; | |
6546 | } | |
6547 | return NULL; | |
6548 | } | |
6549 | ||
6550 | ||
6551 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6552 | PyObject *resultobj; | |
6553 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6554 | wxString *arg2 = 0 ; | |
6555 | int result; | |
6556 | bool temp2 = False ; | |
6557 | PyObject * obj0 = 0 ; | |
6558 | PyObject * obj1 = 0 ; | |
6559 | char *kwnames[] = { | |
6560 | (char *) "self",(char *) "text", NULL | |
6561 | }; | |
6562 | ||
6563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; | |
6564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6566 | { | |
6567 | arg2 = wxString_in_helper(obj1); | |
6568 | if (arg2 == NULL) SWIG_fail; | |
6569 | temp2 = True; | |
6570 | } | |
6571 | { | |
6572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6573 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); | |
6574 | ||
6575 | wxPyEndAllowThreads(__tstate); | |
6576 | if (PyErr_Occurred()) SWIG_fail; | |
6577 | } | |
6578 | resultobj = SWIG_FromInt((int)result); | |
6579 | { | |
6580 | if (temp2) | |
6581 | delete arg2; | |
6582 | } | |
6583 | return resultobj; | |
6584 | fail: | |
6585 | { | |
6586 | if (temp2) | |
6587 | delete arg2; | |
6588 | } | |
6589 | return NULL; | |
6590 | } | |
6591 | ||
6592 | ||
6593 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6594 | PyObject *resultobj; | |
6595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6596 | int arg2 ; | |
6597 | PyObject * obj0 = 0 ; | |
6598 | PyObject * obj1 = 0 ; | |
6599 | char *kwnames[] = { | |
6600 | (char *) "self",(char *) "flags", NULL | |
6601 | }; | |
6602 | ||
6603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; | |
6604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6606 | arg2 = (int) SWIG_AsInt(obj1); | |
6607 | if (PyErr_Occurred()) SWIG_fail; | |
6608 | { | |
6609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6610 | (arg1)->SetSearchFlags(arg2); | |
6611 | ||
6612 | wxPyEndAllowThreads(__tstate); | |
6613 | if (PyErr_Occurred()) SWIG_fail; | |
6614 | } | |
6615 | Py_INCREF(Py_None); resultobj = Py_None; | |
6616 | return resultobj; | |
6617 | fail: | |
6618 | return NULL; | |
6619 | } | |
6620 | ||
6621 | ||
6622 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6623 | PyObject *resultobj; | |
6624 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6625 | int result; | |
6626 | PyObject * obj0 = 0 ; | |
6627 | char *kwnames[] = { | |
6628 | (char *) "self", NULL | |
6629 | }; | |
6630 | ||
6631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; | |
6632 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6633 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6634 | { | |
6635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6636 | result = (int)(arg1)->GetSearchFlags(); | |
6637 | ||
6638 | wxPyEndAllowThreads(__tstate); | |
6639 | if (PyErr_Occurred()) SWIG_fail; | |
6640 | } | |
6641 | resultobj = SWIG_FromInt((int)result); | |
6642 | return resultobj; | |
6643 | fail: | |
6644 | return NULL; | |
6645 | } | |
6646 | ||
6647 | ||
6648 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6649 | PyObject *resultobj; | |
6650 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6651 | int arg2 ; | |
6652 | wxString *arg3 = 0 ; | |
6653 | bool temp3 = False ; | |
6654 | PyObject * obj0 = 0 ; | |
6655 | PyObject * obj1 = 0 ; | |
6656 | PyObject * obj2 = 0 ; | |
6657 | char *kwnames[] = { | |
6658 | (char *) "self",(char *) "pos",(char *) "definition", NULL | |
6659 | }; | |
6660 | ||
6661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6664 | arg2 = (int) SWIG_AsInt(obj1); | |
6665 | if (PyErr_Occurred()) SWIG_fail; | |
6666 | { | |
6667 | arg3 = wxString_in_helper(obj2); | |
6668 | if (arg3 == NULL) SWIG_fail; | |
6669 | temp3 = True; | |
6670 | } | |
6671 | { | |
6672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6673 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); | |
6674 | ||
6675 | wxPyEndAllowThreads(__tstate); | |
6676 | if (PyErr_Occurred()) SWIG_fail; | |
6677 | } | |
6678 | Py_INCREF(Py_None); resultobj = Py_None; | |
6679 | { | |
6680 | if (temp3) | |
6681 | delete arg3; | |
6682 | } | |
6683 | return resultobj; | |
6684 | fail: | |
6685 | { | |
6686 | if (temp3) | |
6687 | delete arg3; | |
6688 | } | |
6689 | return NULL; | |
6690 | } | |
6691 | ||
6692 | ||
6693 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6694 | PyObject *resultobj; | |
6695 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6696 | PyObject * obj0 = 0 ; | |
6697 | char *kwnames[] = { | |
6698 | (char *) "self", NULL | |
6699 | }; | |
6700 | ||
6701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; | |
6702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6704 | { | |
6705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6706 | (arg1)->CallTipCancel(); | |
6707 | ||
6708 | wxPyEndAllowThreads(__tstate); | |
6709 | if (PyErr_Occurred()) SWIG_fail; | |
6710 | } | |
6711 | Py_INCREF(Py_None); resultobj = Py_None; | |
6712 | return resultobj; | |
6713 | fail: | |
6714 | return NULL; | |
6715 | } | |
6716 | ||
6717 | ||
6718 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6719 | PyObject *resultobj; | |
6720 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6721 | bool result; | |
6722 | PyObject * obj0 = 0 ; | |
6723 | char *kwnames[] = { | |
6724 | (char *) "self", NULL | |
6725 | }; | |
6726 | ||
6727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; | |
6728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6730 | { | |
6731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6732 | result = (bool)(arg1)->CallTipActive(); | |
6733 | ||
6734 | wxPyEndAllowThreads(__tstate); | |
6735 | if (PyErr_Occurred()) SWIG_fail; | |
6736 | } | |
6737 | { | |
6738 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6739 | } | |
6740 | return resultobj; | |
6741 | fail: | |
6742 | return NULL; | |
6743 | } | |
6744 | ||
6745 | ||
6746 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6747 | PyObject *resultobj; | |
6748 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6749 | int result; | |
6750 | PyObject * obj0 = 0 ; | |
6751 | char *kwnames[] = { | |
6752 | (char *) "self", NULL | |
6753 | }; | |
6754 | ||
6755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; | |
6756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6758 | { | |
6759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6760 | result = (int)(arg1)->CallTipPosAtStart(); | |
6761 | ||
6762 | wxPyEndAllowThreads(__tstate); | |
6763 | if (PyErr_Occurred()) SWIG_fail; | |
6764 | } | |
6765 | resultobj = SWIG_FromInt((int)result); | |
6766 | return resultobj; | |
6767 | fail: | |
6768 | return NULL; | |
6769 | } | |
6770 | ||
6771 | ||
6772 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6773 | PyObject *resultobj; | |
6774 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6775 | int arg2 ; | |
6776 | int arg3 ; | |
6777 | PyObject * obj0 = 0 ; | |
6778 | PyObject * obj1 = 0 ; | |
6779 | PyObject * obj2 = 0 ; | |
6780 | char *kwnames[] = { | |
6781 | (char *) "self",(char *) "start",(char *) "end", NULL | |
6782 | }; | |
6783 | ||
6784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6787 | arg2 = (int) SWIG_AsInt(obj1); | |
6788 | if (PyErr_Occurred()) SWIG_fail; | |
6789 | arg3 = (int) SWIG_AsInt(obj2); | |
6790 | if (PyErr_Occurred()) SWIG_fail; | |
6791 | { | |
6792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6793 | (arg1)->CallTipSetHighlight(arg2,arg3); | |
6794 | ||
6795 | wxPyEndAllowThreads(__tstate); | |
6796 | if (PyErr_Occurred()) SWIG_fail; | |
6797 | } | |
6798 | Py_INCREF(Py_None); resultobj = Py_None; | |
6799 | return resultobj; | |
6800 | fail: | |
6801 | return NULL; | |
6802 | } | |
6803 | ||
6804 | ||
6805 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6806 | PyObject *resultobj; | |
6807 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6808 | wxColour *arg2 = 0 ; | |
6809 | wxColour temp2 ; | |
6810 | PyObject * obj0 = 0 ; | |
6811 | PyObject * obj1 = 0 ; | |
6812 | char *kwnames[] = { | |
6813 | (char *) "self",(char *) "back", NULL | |
6814 | }; | |
6815 | ||
6816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; | |
6817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6819 | { | |
6820 | arg2 = &temp2; | |
6821 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6822 | } | |
6823 | { | |
6824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6825 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); | |
6826 | ||
6827 | wxPyEndAllowThreads(__tstate); | |
6828 | if (PyErr_Occurred()) SWIG_fail; | |
6829 | } | |
6830 | Py_INCREF(Py_None); resultobj = Py_None; | |
6831 | return resultobj; | |
6832 | fail: | |
6833 | return NULL; | |
6834 | } | |
6835 | ||
6836 | ||
6837 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6838 | PyObject *resultobj; | |
6839 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6840 | wxColour *arg2 = 0 ; | |
6841 | wxColour temp2 ; | |
6842 | PyObject * obj0 = 0 ; | |
6843 | PyObject * obj1 = 0 ; | |
6844 | char *kwnames[] = { | |
6845 | (char *) "self",(char *) "fore", NULL | |
6846 | }; | |
6847 | ||
6848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; | |
6849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6851 | { | |
6852 | arg2 = &temp2; | |
6853 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6854 | } | |
6855 | { | |
6856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6857 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); | |
6858 | ||
6859 | wxPyEndAllowThreads(__tstate); | |
6860 | if (PyErr_Occurred()) SWIG_fail; | |
6861 | } | |
6862 | Py_INCREF(Py_None); resultobj = Py_None; | |
6863 | return resultobj; | |
6864 | fail: | |
6865 | return NULL; | |
6866 | } | |
6867 | ||
6868 | ||
6869 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6870 | PyObject *resultobj; | |
6871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6872 | wxColour *arg2 = 0 ; | |
6873 | wxColour temp2 ; | |
6874 | PyObject * obj0 = 0 ; | |
6875 | PyObject * obj1 = 0 ; | |
6876 | char *kwnames[] = { | |
6877 | (char *) "self",(char *) "fore", NULL | |
6878 | }; | |
6879 | ||
6880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; | |
6881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6883 | { | |
6884 | arg2 = &temp2; | |
6885 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6886 | } | |
6887 | { | |
6888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6889 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); | |
6890 | ||
6891 | wxPyEndAllowThreads(__tstate); | |
6892 | if (PyErr_Occurred()) SWIG_fail; | |
6893 | } | |
6894 | Py_INCREF(Py_None); resultobj = Py_None; | |
6895 | return resultobj; | |
6896 | fail: | |
6897 | return NULL; | |
6898 | } | |
6899 | ||
6900 | ||
6901 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6902 | PyObject *resultobj; | |
6903 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6904 | int arg2 ; | |
6905 | int result; | |
6906 | PyObject * obj0 = 0 ; | |
6907 | PyObject * obj1 = 0 ; | |
6908 | char *kwnames[] = { | |
6909 | (char *) "self",(char *) "line", NULL | |
6910 | }; | |
6911 | ||
6912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; | |
6913 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6914 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6915 | arg2 = (int) SWIG_AsInt(obj1); | |
6916 | if (PyErr_Occurred()) SWIG_fail; | |
6917 | { | |
6918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6919 | result = (int)(arg1)->VisibleFromDocLine(arg2); | |
6920 | ||
6921 | wxPyEndAllowThreads(__tstate); | |
6922 | if (PyErr_Occurred()) SWIG_fail; | |
6923 | } | |
6924 | resultobj = SWIG_FromInt((int)result); | |
6925 | return resultobj; | |
6926 | fail: | |
6927 | return NULL; | |
6928 | } | |
6929 | ||
6930 | ||
6931 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6932 | PyObject *resultobj; | |
6933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6934 | int arg2 ; | |
6935 | int result; | |
6936 | PyObject * obj0 = 0 ; | |
6937 | PyObject * obj1 = 0 ; | |
6938 | char *kwnames[] = { | |
6939 | (char *) "self",(char *) "lineDisplay", NULL | |
6940 | }; | |
6941 | ||
6942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; | |
6943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6945 | arg2 = (int) SWIG_AsInt(obj1); | |
6946 | if (PyErr_Occurred()) SWIG_fail; | |
6947 | { | |
6948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6949 | result = (int)(arg1)->DocLineFromVisible(arg2); | |
6950 | ||
6951 | wxPyEndAllowThreads(__tstate); | |
6952 | if (PyErr_Occurred()) SWIG_fail; | |
6953 | } | |
6954 | resultobj = SWIG_FromInt((int)result); | |
6955 | return resultobj; | |
6956 | fail: | |
6957 | return NULL; | |
6958 | } | |
6959 | ||
6960 | ||
6961 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6962 | PyObject *resultobj; | |
6963 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6964 | int arg2 ; | |
6965 | int arg3 ; | |
6966 | PyObject * obj0 = 0 ; | |
6967 | PyObject * obj1 = 0 ; | |
6968 | PyObject * obj2 = 0 ; | |
6969 | char *kwnames[] = { | |
6970 | (char *) "self",(char *) "line",(char *) "level", NULL | |
6971 | }; | |
6972 | ||
6973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6974 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
6975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6976 | arg2 = (int) SWIG_AsInt(obj1); | |
6977 | if (PyErr_Occurred()) SWIG_fail; | |
6978 | arg3 = (int) SWIG_AsInt(obj2); | |
6979 | if (PyErr_Occurred()) SWIG_fail; | |
6980 | { | |
6981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6982 | (arg1)->SetFoldLevel(arg2,arg3); | |
6983 | ||
6984 | wxPyEndAllowThreads(__tstate); | |
6985 | if (PyErr_Occurred()) SWIG_fail; | |
6986 | } | |
6987 | Py_INCREF(Py_None); resultobj = Py_None; | |
6988 | return resultobj; | |
6989 | fail: | |
6990 | return NULL; | |
6991 | } | |
6992 | ||
6993 | ||
6994 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6995 | PyObject *resultobj; | |
6996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6997 | int arg2 ; | |
6998 | int result; | |
6999 | PyObject * obj0 = 0 ; | |
7000 | PyObject * obj1 = 0 ; | |
7001 | char *kwnames[] = { | |
7002 | (char *) "self",(char *) "line", NULL | |
7003 | }; | |
7004 | ||
7005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; | |
7006 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7007 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7008 | arg2 = (int) SWIG_AsInt(obj1); | |
7009 | if (PyErr_Occurred()) SWIG_fail; | |
7010 | { | |
7011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7012 | result = (int)(arg1)->GetFoldLevel(arg2); | |
7013 | ||
7014 | wxPyEndAllowThreads(__tstate); | |
7015 | if (PyErr_Occurred()) SWIG_fail; | |
7016 | } | |
7017 | resultobj = SWIG_FromInt((int)result); | |
7018 | return resultobj; | |
7019 | fail: | |
7020 | return NULL; | |
7021 | } | |
7022 | ||
7023 | ||
7024 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7025 | PyObject *resultobj; | |
7026 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7027 | int arg2 ; | |
7028 | int arg3 ; | |
7029 | int result; | |
7030 | PyObject * obj0 = 0 ; | |
7031 | PyObject * obj1 = 0 ; | |
7032 | PyObject * obj2 = 0 ; | |
7033 | char *kwnames[] = { | |
7034 | (char *) "self",(char *) "line",(char *) "level", NULL | |
7035 | }; | |
7036 | ||
7037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7040 | arg2 = (int) SWIG_AsInt(obj1); | |
7041 | if (PyErr_Occurred()) SWIG_fail; | |
7042 | arg3 = (int) SWIG_AsInt(obj2); | |
7043 | if (PyErr_Occurred()) SWIG_fail; | |
7044 | { | |
7045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7046 | result = (int)(arg1)->GetLastChild(arg2,arg3); | |
7047 | ||
7048 | wxPyEndAllowThreads(__tstate); | |
7049 | if (PyErr_Occurred()) SWIG_fail; | |
7050 | } | |
7051 | resultobj = SWIG_FromInt((int)result); | |
7052 | return resultobj; | |
7053 | fail: | |
7054 | return NULL; | |
7055 | } | |
7056 | ||
7057 | ||
7058 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7059 | PyObject *resultobj; | |
7060 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7061 | int arg2 ; | |
7062 | int result; | |
7063 | PyObject * obj0 = 0 ; | |
7064 | PyObject * obj1 = 0 ; | |
7065 | char *kwnames[] = { | |
7066 | (char *) "self",(char *) "line", NULL | |
7067 | }; | |
7068 | ||
7069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; | |
7070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7072 | arg2 = (int) SWIG_AsInt(obj1); | |
7073 | if (PyErr_Occurred()) SWIG_fail; | |
7074 | { | |
7075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7076 | result = (int)(arg1)->GetFoldParent(arg2); | |
7077 | ||
7078 | wxPyEndAllowThreads(__tstate); | |
7079 | if (PyErr_Occurred()) SWIG_fail; | |
7080 | } | |
7081 | resultobj = SWIG_FromInt((int)result); | |
7082 | return resultobj; | |
7083 | fail: | |
7084 | return NULL; | |
7085 | } | |
7086 | ||
7087 | ||
7088 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7089 | PyObject *resultobj; | |
7090 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7091 | int arg2 ; | |
7092 | int arg3 ; | |
7093 | PyObject * obj0 = 0 ; | |
7094 | PyObject * obj1 = 0 ; | |
7095 | PyObject * obj2 = 0 ; | |
7096 | char *kwnames[] = { | |
7097 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
7098 | }; | |
7099 | ||
7100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7103 | arg2 = (int) SWIG_AsInt(obj1); | |
7104 | if (PyErr_Occurred()) SWIG_fail; | |
7105 | arg3 = (int) SWIG_AsInt(obj2); | |
7106 | if (PyErr_Occurred()) SWIG_fail; | |
7107 | { | |
7108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7109 | (arg1)->ShowLines(arg2,arg3); | |
7110 | ||
7111 | wxPyEndAllowThreads(__tstate); | |
7112 | if (PyErr_Occurred()) SWIG_fail; | |
7113 | } | |
7114 | Py_INCREF(Py_None); resultobj = Py_None; | |
7115 | return resultobj; | |
7116 | fail: | |
7117 | return NULL; | |
7118 | } | |
7119 | ||
7120 | ||
7121 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7122 | PyObject *resultobj; | |
7123 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7124 | int arg2 ; | |
7125 | int arg3 ; | |
7126 | PyObject * obj0 = 0 ; | |
7127 | PyObject * obj1 = 0 ; | |
7128 | PyObject * obj2 = 0 ; | |
7129 | char *kwnames[] = { | |
7130 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
7131 | }; | |
7132 | ||
7133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7136 | arg2 = (int) SWIG_AsInt(obj1); | |
7137 | if (PyErr_Occurred()) SWIG_fail; | |
7138 | arg3 = (int) SWIG_AsInt(obj2); | |
7139 | if (PyErr_Occurred()) SWIG_fail; | |
7140 | { | |
7141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7142 | (arg1)->HideLines(arg2,arg3); | |
7143 | ||
7144 | wxPyEndAllowThreads(__tstate); | |
7145 | if (PyErr_Occurred()) SWIG_fail; | |
7146 | } | |
7147 | Py_INCREF(Py_None); resultobj = Py_None; | |
7148 | return resultobj; | |
7149 | fail: | |
7150 | return NULL; | |
7151 | } | |
7152 | ||
7153 | ||
7154 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7155 | PyObject *resultobj; | |
7156 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7157 | int arg2 ; | |
7158 | bool result; | |
7159 | PyObject * obj0 = 0 ; | |
7160 | PyObject * obj1 = 0 ; | |
7161 | char *kwnames[] = { | |
7162 | (char *) "self",(char *) "line", NULL | |
7163 | }; | |
7164 | ||
7165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
7166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7168 | arg2 = (int) SWIG_AsInt(obj1); | |
7169 | if (PyErr_Occurred()) SWIG_fail; | |
7170 | { | |
7171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7172 | result = (bool)(arg1)->GetLineVisible(arg2); | |
7173 | ||
7174 | wxPyEndAllowThreads(__tstate); | |
7175 | if (PyErr_Occurred()) SWIG_fail; | |
7176 | } | |
7177 | { | |
7178 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7179 | } | |
7180 | return resultobj; | |
7181 | fail: | |
7182 | return NULL; | |
7183 | } | |
7184 | ||
7185 | ||
7186 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7187 | PyObject *resultobj; | |
7188 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7189 | int arg2 ; | |
7190 | bool arg3 ; | |
7191 | PyObject * obj0 = 0 ; | |
7192 | PyObject * obj1 = 0 ; | |
7193 | PyObject * obj2 = 0 ; | |
7194 | char *kwnames[] = { | |
7195 | (char *) "self",(char *) "line",(char *) "expanded", NULL | |
7196 | }; | |
7197 | ||
7198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7199 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7200 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7201 | arg2 = (int) SWIG_AsInt(obj1); | |
7202 | if (PyErr_Occurred()) SWIG_fail; | |
7203 | arg3 = (bool) SWIG_AsBool(obj2); | |
7204 | if (PyErr_Occurred()) SWIG_fail; | |
7205 | { | |
7206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7207 | (arg1)->SetFoldExpanded(arg2,arg3); | |
7208 | ||
7209 | wxPyEndAllowThreads(__tstate); | |
7210 | if (PyErr_Occurred()) SWIG_fail; | |
7211 | } | |
7212 | Py_INCREF(Py_None); resultobj = Py_None; | |
7213 | return resultobj; | |
7214 | fail: | |
7215 | return NULL; | |
7216 | } | |
7217 | ||
7218 | ||
7219 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7220 | PyObject *resultobj; | |
7221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7222 | int arg2 ; | |
7223 | bool result; | |
7224 | PyObject * obj0 = 0 ; | |
7225 | PyObject * obj1 = 0 ; | |
7226 | char *kwnames[] = { | |
7227 | (char *) "self",(char *) "line", NULL | |
7228 | }; | |
7229 | ||
7230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; | |
7231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7233 | arg2 = (int) SWIG_AsInt(obj1); | |
7234 | if (PyErr_Occurred()) SWIG_fail; | |
7235 | { | |
7236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7237 | result = (bool)(arg1)->GetFoldExpanded(arg2); | |
7238 | ||
7239 | wxPyEndAllowThreads(__tstate); | |
7240 | if (PyErr_Occurred()) SWIG_fail; | |
7241 | } | |
7242 | { | |
7243 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7244 | } | |
7245 | return resultobj; | |
7246 | fail: | |
7247 | return NULL; | |
7248 | } | |
7249 | ||
7250 | ||
7251 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7252 | PyObject *resultobj; | |
7253 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7254 | int arg2 ; | |
7255 | PyObject * obj0 = 0 ; | |
7256 | PyObject * obj1 = 0 ; | |
7257 | char *kwnames[] = { | |
7258 | (char *) "self",(char *) "line", NULL | |
7259 | }; | |
7260 | ||
7261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; | |
7262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7264 | arg2 = (int) SWIG_AsInt(obj1); | |
7265 | if (PyErr_Occurred()) SWIG_fail; | |
7266 | { | |
7267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7268 | (arg1)->ToggleFold(arg2); | |
7269 | ||
7270 | wxPyEndAllowThreads(__tstate); | |
7271 | if (PyErr_Occurred()) SWIG_fail; | |
7272 | } | |
7273 | Py_INCREF(Py_None); resultobj = Py_None; | |
7274 | return resultobj; | |
7275 | fail: | |
7276 | return NULL; | |
7277 | } | |
7278 | ||
7279 | ||
7280 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7281 | PyObject *resultobj; | |
7282 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7283 | int arg2 ; | |
7284 | PyObject * obj0 = 0 ; | |
7285 | PyObject * obj1 = 0 ; | |
7286 | char *kwnames[] = { | |
7287 | (char *) "self",(char *) "line", NULL | |
7288 | }; | |
7289 | ||
7290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; | |
7291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7293 | arg2 = (int) SWIG_AsInt(obj1); | |
7294 | if (PyErr_Occurred()) SWIG_fail; | |
7295 | { | |
7296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7297 | (arg1)->EnsureVisible(arg2); | |
7298 | ||
7299 | wxPyEndAllowThreads(__tstate); | |
7300 | if (PyErr_Occurred()) SWIG_fail; | |
7301 | } | |
7302 | Py_INCREF(Py_None); resultobj = Py_None; | |
7303 | return resultobj; | |
7304 | fail: | |
7305 | return NULL; | |
7306 | } | |
7307 | ||
7308 | ||
7309 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7310 | PyObject *resultobj; | |
7311 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7312 | int arg2 ; | |
7313 | PyObject * obj0 = 0 ; | |
7314 | PyObject * obj1 = 0 ; | |
7315 | char *kwnames[] = { | |
7316 | (char *) "self",(char *) "flags", NULL | |
7317 | }; | |
7318 | ||
7319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; | |
7320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7322 | arg2 = (int) SWIG_AsInt(obj1); | |
7323 | if (PyErr_Occurred()) SWIG_fail; | |
7324 | { | |
7325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7326 | (arg1)->SetFoldFlags(arg2); | |
7327 | ||
7328 | wxPyEndAllowThreads(__tstate); | |
7329 | if (PyErr_Occurred()) SWIG_fail; | |
7330 | } | |
7331 | Py_INCREF(Py_None); resultobj = Py_None; | |
7332 | return resultobj; | |
7333 | fail: | |
7334 | return NULL; | |
7335 | } | |
7336 | ||
7337 | ||
7338 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7339 | PyObject *resultobj; | |
7340 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7341 | int arg2 ; | |
7342 | PyObject * obj0 = 0 ; | |
7343 | PyObject * obj1 = 0 ; | |
7344 | char *kwnames[] = { | |
7345 | (char *) "self",(char *) "line", NULL | |
7346 | }; | |
7347 | ||
7348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; | |
7349 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7350 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7351 | arg2 = (int) SWIG_AsInt(obj1); | |
7352 | if (PyErr_Occurred()) SWIG_fail; | |
7353 | { | |
7354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7355 | (arg1)->EnsureVisibleEnforcePolicy(arg2); | |
7356 | ||
7357 | wxPyEndAllowThreads(__tstate); | |
7358 | if (PyErr_Occurred()) SWIG_fail; | |
7359 | } | |
7360 | Py_INCREF(Py_None); resultobj = Py_None; | |
7361 | return resultobj; | |
7362 | fail: | |
7363 | return NULL; | |
7364 | } | |
7365 | ||
7366 | ||
7367 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7368 | PyObject *resultobj; | |
7369 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7370 | bool arg2 ; | |
7371 | PyObject * obj0 = 0 ; | |
7372 | PyObject * obj1 = 0 ; | |
7373 | char *kwnames[] = { | |
7374 | (char *) "self",(char *) "tabIndents", NULL | |
7375 | }; | |
7376 | ||
7377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; | |
7378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7380 | arg2 = (bool) SWIG_AsBool(obj1); | |
7381 | if (PyErr_Occurred()) SWIG_fail; | |
7382 | { | |
7383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7384 | (arg1)->SetTabIndents(arg2); | |
7385 | ||
7386 | wxPyEndAllowThreads(__tstate); | |
7387 | if (PyErr_Occurred()) SWIG_fail; | |
7388 | } | |
7389 | Py_INCREF(Py_None); resultobj = Py_None; | |
7390 | return resultobj; | |
7391 | fail: | |
7392 | return NULL; | |
7393 | } | |
7394 | ||
7395 | ||
7396 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7397 | PyObject *resultobj; | |
7398 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7399 | bool result; | |
7400 | PyObject * obj0 = 0 ; | |
7401 | char *kwnames[] = { | |
7402 | (char *) "self", NULL | |
7403 | }; | |
7404 | ||
7405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; | |
7406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7408 | { | |
7409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7410 | result = (bool)(arg1)->GetTabIndents(); | |
7411 | ||
7412 | wxPyEndAllowThreads(__tstate); | |
7413 | if (PyErr_Occurred()) SWIG_fail; | |
7414 | } | |
7415 | { | |
7416 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7417 | } | |
7418 | return resultobj; | |
7419 | fail: | |
7420 | return NULL; | |
7421 | } | |
7422 | ||
7423 | ||
7424 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7425 | PyObject *resultobj; | |
7426 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7427 | bool arg2 ; | |
7428 | PyObject * obj0 = 0 ; | |
7429 | PyObject * obj1 = 0 ; | |
7430 | char *kwnames[] = { | |
7431 | (char *) "self",(char *) "bsUnIndents", NULL | |
7432 | }; | |
7433 | ||
7434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; | |
7435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7437 | arg2 = (bool) SWIG_AsBool(obj1); | |
7438 | if (PyErr_Occurred()) SWIG_fail; | |
7439 | { | |
7440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7441 | (arg1)->SetBackSpaceUnIndents(arg2); | |
7442 | ||
7443 | wxPyEndAllowThreads(__tstate); | |
7444 | if (PyErr_Occurred()) SWIG_fail; | |
7445 | } | |
7446 | Py_INCREF(Py_None); resultobj = Py_None; | |
7447 | return resultobj; | |
7448 | fail: | |
7449 | return NULL; | |
7450 | } | |
7451 | ||
7452 | ||
7453 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7454 | PyObject *resultobj; | |
7455 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7456 | bool result; | |
7457 | PyObject * obj0 = 0 ; | |
7458 | char *kwnames[] = { | |
7459 | (char *) "self", NULL | |
7460 | }; | |
7461 | ||
7462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; | |
7463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7465 | { | |
7466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7467 | result = (bool)(arg1)->GetBackSpaceUnIndents(); | |
7468 | ||
7469 | wxPyEndAllowThreads(__tstate); | |
7470 | if (PyErr_Occurred()) SWIG_fail; | |
7471 | } | |
7472 | { | |
7473 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7474 | } | |
7475 | return resultobj; | |
7476 | fail: | |
7477 | return NULL; | |
7478 | } | |
7479 | ||
7480 | ||
7481 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7482 | PyObject *resultobj; | |
7483 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7484 | int arg2 ; | |
7485 | PyObject * obj0 = 0 ; | |
7486 | PyObject * obj1 = 0 ; | |
7487 | char *kwnames[] = { | |
7488 | (char *) "self",(char *) "periodMilliseconds", NULL | |
7489 | }; | |
7490 | ||
7491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; | |
7492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7494 | arg2 = (int) SWIG_AsInt(obj1); | |
7495 | if (PyErr_Occurred()) SWIG_fail; | |
7496 | { | |
7497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7498 | (arg1)->SetMouseDwellTime(arg2); | |
7499 | ||
7500 | wxPyEndAllowThreads(__tstate); | |
7501 | if (PyErr_Occurred()) SWIG_fail; | |
7502 | } | |
7503 | Py_INCREF(Py_None); resultobj = Py_None; | |
7504 | return resultobj; | |
7505 | fail: | |
7506 | return NULL; | |
7507 | } | |
7508 | ||
7509 | ||
7510 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7511 | PyObject *resultobj; | |
7512 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7513 | int result; | |
7514 | PyObject * obj0 = 0 ; | |
7515 | char *kwnames[] = { | |
7516 | (char *) "self", NULL | |
7517 | }; | |
7518 | ||
7519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; | |
7520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7522 | { | |
7523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7524 | result = (int)(arg1)->GetMouseDwellTime(); | |
7525 | ||
7526 | wxPyEndAllowThreads(__tstate); | |
7527 | if (PyErr_Occurred()) SWIG_fail; | |
7528 | } | |
7529 | resultobj = SWIG_FromInt((int)result); | |
7530 | return resultobj; | |
7531 | fail: | |
7532 | return NULL; | |
7533 | } | |
7534 | ||
7535 | ||
7536 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7537 | PyObject *resultobj; | |
7538 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7539 | int arg2 ; | |
7540 | bool arg3 ; | |
7541 | int result; | |
7542 | PyObject * obj0 = 0 ; | |
7543 | PyObject * obj1 = 0 ; | |
7544 | PyObject * obj2 = 0 ; | |
7545 | char *kwnames[] = { | |
7546 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
7547 | }; | |
7548 | ||
7549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7552 | arg2 = (int) SWIG_AsInt(obj1); | |
7553 | if (PyErr_Occurred()) SWIG_fail; | |
7554 | arg3 = (bool) SWIG_AsBool(obj2); | |
7555 | if (PyErr_Occurred()) SWIG_fail; | |
7556 | { | |
7557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7558 | result = (int)(arg1)->WordStartPosition(arg2,arg3); | |
7559 | ||
7560 | wxPyEndAllowThreads(__tstate); | |
7561 | if (PyErr_Occurred()) SWIG_fail; | |
7562 | } | |
7563 | resultobj = SWIG_FromInt((int)result); | |
7564 | return resultobj; | |
7565 | fail: | |
7566 | return NULL; | |
7567 | } | |
7568 | ||
7569 | ||
7570 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7571 | PyObject *resultobj; | |
7572 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7573 | int arg2 ; | |
7574 | bool arg3 ; | |
7575 | int result; | |
7576 | PyObject * obj0 = 0 ; | |
7577 | PyObject * obj1 = 0 ; | |
7578 | PyObject * obj2 = 0 ; | |
7579 | char *kwnames[] = { | |
7580 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
7581 | }; | |
7582 | ||
7583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7586 | arg2 = (int) SWIG_AsInt(obj1); | |
7587 | if (PyErr_Occurred()) SWIG_fail; | |
7588 | arg3 = (bool) SWIG_AsBool(obj2); | |
7589 | if (PyErr_Occurred()) SWIG_fail; | |
7590 | { | |
7591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7592 | result = (int)(arg1)->WordEndPosition(arg2,arg3); | |
7593 | ||
7594 | wxPyEndAllowThreads(__tstate); | |
7595 | if (PyErr_Occurred()) SWIG_fail; | |
7596 | } | |
7597 | resultobj = SWIG_FromInt((int)result); | |
7598 | return resultobj; | |
7599 | fail: | |
7600 | return NULL; | |
7601 | } | |
7602 | ||
7603 | ||
7604 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7605 | PyObject *resultobj; | |
7606 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7607 | int arg2 ; | |
7608 | PyObject * obj0 = 0 ; | |
7609 | PyObject * obj1 = 0 ; | |
7610 | char *kwnames[] = { | |
7611 | (char *) "self",(char *) "mode", NULL | |
7612 | }; | |
7613 | ||
7614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
7615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7617 | arg2 = (int) SWIG_AsInt(obj1); | |
7618 | if (PyErr_Occurred()) SWIG_fail; | |
7619 | { | |
7620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7621 | (arg1)->SetWrapMode(arg2); | |
7622 | ||
7623 | wxPyEndAllowThreads(__tstate); | |
7624 | if (PyErr_Occurred()) SWIG_fail; | |
7625 | } | |
7626 | Py_INCREF(Py_None); resultobj = Py_None; | |
7627 | return resultobj; | |
7628 | fail: | |
7629 | return NULL; | |
7630 | } | |
7631 | ||
7632 | ||
7633 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7634 | PyObject *resultobj; | |
7635 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7636 | int result; | |
7637 | PyObject * obj0 = 0 ; | |
7638 | char *kwnames[] = { | |
7639 | (char *) "self", NULL | |
7640 | }; | |
7641 | ||
7642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; | |
7643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7645 | { | |
7646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7647 | result = (int)(arg1)->GetWrapMode(); | |
7648 | ||
7649 | wxPyEndAllowThreads(__tstate); | |
7650 | if (PyErr_Occurred()) SWIG_fail; | |
7651 | } | |
7652 | resultobj = SWIG_FromInt((int)result); | |
7653 | return resultobj; | |
7654 | fail: | |
7655 | return NULL; | |
7656 | } | |
7657 | ||
7658 | ||
7659 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7660 | PyObject *resultobj; | |
7661 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7662 | int arg2 ; | |
7663 | PyObject * obj0 = 0 ; | |
7664 | PyObject * obj1 = 0 ; | |
7665 | char *kwnames[] = { | |
7666 | (char *) "self",(char *) "mode", NULL | |
7667 | }; | |
7668 | ||
7669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; | |
7670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7672 | arg2 = (int) SWIG_AsInt(obj1); | |
7673 | if (PyErr_Occurred()) SWIG_fail; | |
7674 | { | |
7675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7676 | (arg1)->SetLayoutCache(arg2); | |
7677 | ||
7678 | wxPyEndAllowThreads(__tstate); | |
7679 | if (PyErr_Occurred()) SWIG_fail; | |
7680 | } | |
7681 | Py_INCREF(Py_None); resultobj = Py_None; | |
7682 | return resultobj; | |
7683 | fail: | |
7684 | return NULL; | |
7685 | } | |
7686 | ||
7687 | ||
7688 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7689 | PyObject *resultobj; | |
7690 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7691 | int result; | |
7692 | PyObject * obj0 = 0 ; | |
7693 | char *kwnames[] = { | |
7694 | (char *) "self", NULL | |
7695 | }; | |
7696 | ||
7697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; | |
7698 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7699 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7700 | { | |
7701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7702 | result = (int)(arg1)->GetLayoutCache(); | |
7703 | ||
7704 | wxPyEndAllowThreads(__tstate); | |
7705 | if (PyErr_Occurred()) SWIG_fail; | |
7706 | } | |
7707 | resultobj = SWIG_FromInt((int)result); | |
7708 | return resultobj; | |
7709 | fail: | |
7710 | return NULL; | |
7711 | } | |
7712 | ||
7713 | ||
7714 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7715 | PyObject *resultobj; | |
7716 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7717 | int arg2 ; | |
7718 | PyObject * obj0 = 0 ; | |
7719 | PyObject * obj1 = 0 ; | |
7720 | char *kwnames[] = { | |
7721 | (char *) "self",(char *) "pixelWidth", NULL | |
7722 | }; | |
7723 | ||
7724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; | |
7725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7727 | arg2 = (int) SWIG_AsInt(obj1); | |
7728 | if (PyErr_Occurred()) SWIG_fail; | |
7729 | { | |
7730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7731 | (arg1)->SetScrollWidth(arg2); | |
7732 | ||
7733 | wxPyEndAllowThreads(__tstate); | |
7734 | if (PyErr_Occurred()) SWIG_fail; | |
7735 | } | |
7736 | Py_INCREF(Py_None); resultobj = Py_None; | |
7737 | return resultobj; | |
7738 | fail: | |
7739 | return NULL; | |
7740 | } | |
7741 | ||
7742 | ||
7743 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7744 | PyObject *resultobj; | |
7745 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7746 | int result; | |
7747 | PyObject * obj0 = 0 ; | |
7748 | char *kwnames[] = { | |
7749 | (char *) "self", NULL | |
7750 | }; | |
7751 | ||
7752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; | |
7753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7755 | { | |
7756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7757 | result = (int)(arg1)->GetScrollWidth(); | |
7758 | ||
7759 | wxPyEndAllowThreads(__tstate); | |
7760 | if (PyErr_Occurred()) SWIG_fail; | |
7761 | } | |
7762 | resultobj = SWIG_FromInt((int)result); | |
7763 | return resultobj; | |
7764 | fail: | |
7765 | return NULL; | |
7766 | } | |
7767 | ||
7768 | ||
7769 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7770 | PyObject *resultobj; | |
7771 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7772 | int arg2 ; | |
7773 | wxString *arg3 = 0 ; | |
7774 | int result; | |
7775 | bool temp3 = False ; | |
7776 | PyObject * obj0 = 0 ; | |
7777 | PyObject * obj1 = 0 ; | |
7778 | PyObject * obj2 = 0 ; | |
7779 | char *kwnames[] = { | |
7780 | (char *) "self",(char *) "style",(char *) "text", NULL | |
7781 | }; | |
7782 | ||
7783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7786 | arg2 = (int) SWIG_AsInt(obj1); | |
7787 | if (PyErr_Occurred()) SWIG_fail; | |
7788 | { | |
7789 | arg3 = wxString_in_helper(obj2); | |
7790 | if (arg3 == NULL) SWIG_fail; | |
7791 | temp3 = True; | |
7792 | } | |
7793 | { | |
7794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7795 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); | |
7796 | ||
7797 | wxPyEndAllowThreads(__tstate); | |
7798 | if (PyErr_Occurred()) SWIG_fail; | |
7799 | } | |
7800 | resultobj = SWIG_FromInt((int)result); | |
7801 | { | |
7802 | if (temp3) | |
7803 | delete arg3; | |
7804 | } | |
7805 | return resultobj; | |
7806 | fail: | |
7807 | { | |
7808 | if (temp3) | |
7809 | delete arg3; | |
7810 | } | |
7811 | return NULL; | |
7812 | } | |
7813 | ||
7814 | ||
7815 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7816 | PyObject *resultobj; | |
7817 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7818 | bool arg2 ; | |
7819 | PyObject * obj0 = 0 ; | |
7820 | PyObject * obj1 = 0 ; | |
7821 | char *kwnames[] = { | |
7822 | (char *) "self",(char *) "endAtLastLine", NULL | |
7823 | }; | |
7824 | ||
7825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; | |
7826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7828 | arg2 = (bool) SWIG_AsBool(obj1); | |
7829 | if (PyErr_Occurred()) SWIG_fail; | |
7830 | { | |
7831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7832 | (arg1)->SetEndAtLastLine(arg2); | |
7833 | ||
7834 | wxPyEndAllowThreads(__tstate); | |
7835 | if (PyErr_Occurred()) SWIG_fail; | |
7836 | } | |
7837 | Py_INCREF(Py_None); resultobj = Py_None; | |
7838 | return resultobj; | |
7839 | fail: | |
7840 | return NULL; | |
7841 | } | |
7842 | ||
7843 | ||
7844 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7845 | PyObject *resultobj; | |
7846 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7847 | int result; | |
7848 | PyObject * obj0 = 0 ; | |
7849 | char *kwnames[] = { | |
7850 | (char *) "self", NULL | |
7851 | }; | |
7852 | ||
7853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; | |
7854 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7856 | { | |
7857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7858 | result = (int)(arg1)->GetEndAtLastLine(); | |
7859 | ||
7860 | wxPyEndAllowThreads(__tstate); | |
7861 | if (PyErr_Occurred()) SWIG_fail; | |
7862 | } | |
7863 | resultobj = SWIG_FromInt((int)result); | |
7864 | return resultobj; | |
7865 | fail: | |
7866 | return NULL; | |
7867 | } | |
7868 | ||
7869 | ||
7870 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7871 | PyObject *resultobj; | |
7872 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7873 | int arg2 ; | |
7874 | int result; | |
7875 | PyObject * obj0 = 0 ; | |
7876 | PyObject * obj1 = 0 ; | |
7877 | char *kwnames[] = { | |
7878 | (char *) "self",(char *) "line", NULL | |
7879 | }; | |
7880 | ||
7881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; | |
7882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7884 | arg2 = (int) SWIG_AsInt(obj1); | |
7885 | if (PyErr_Occurred()) SWIG_fail; | |
7886 | { | |
7887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7888 | result = (int)(arg1)->TextHeight(arg2); | |
7889 | ||
7890 | wxPyEndAllowThreads(__tstate); | |
7891 | if (PyErr_Occurred()) SWIG_fail; | |
7892 | } | |
7893 | resultobj = SWIG_FromInt((int)result); | |
7894 | return resultobj; | |
7895 | fail: | |
7896 | return NULL; | |
7897 | } | |
7898 | ||
7899 | ||
7900 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7901 | PyObject *resultobj; | |
7902 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7903 | bool arg2 ; | |
7904 | PyObject * obj0 = 0 ; | |
7905 | PyObject * obj1 = 0 ; | |
7906 | char *kwnames[] = { | |
7907 | (char *) "self",(char *) "show", NULL | |
7908 | }; | |
7909 | ||
7910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
7911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7913 | arg2 = (bool) SWIG_AsBool(obj1); | |
7914 | if (PyErr_Occurred()) SWIG_fail; | |
7915 | { | |
7916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7917 | (arg1)->SetUseVerticalScrollBar(arg2); | |
7918 | ||
7919 | wxPyEndAllowThreads(__tstate); | |
7920 | if (PyErr_Occurred()) SWIG_fail; | |
7921 | } | |
7922 | Py_INCREF(Py_None); resultobj = Py_None; | |
7923 | return resultobj; | |
7924 | fail: | |
7925 | return NULL; | |
7926 | } | |
7927 | ||
7928 | ||
7929 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7930 | PyObject *resultobj; | |
7931 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7932 | bool result; | |
7933 | PyObject * obj0 = 0 ; | |
7934 | char *kwnames[] = { | |
7935 | (char *) "self", NULL | |
7936 | }; | |
7937 | ||
7938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; | |
7939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7941 | { | |
7942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7943 | result = (bool)(arg1)->GetUseVerticalScrollBar(); | |
7944 | ||
7945 | wxPyEndAllowThreads(__tstate); | |
7946 | if (PyErr_Occurred()) SWIG_fail; | |
7947 | } | |
7948 | { | |
7949 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7950 | } | |
7951 | return resultobj; | |
7952 | fail: | |
7953 | return NULL; | |
7954 | } | |
7955 | ||
7956 | ||
7957 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7958 | PyObject *resultobj; | |
7959 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7960 | int arg2 ; | |
7961 | wxString *arg3 = 0 ; | |
7962 | bool temp3 = False ; | |
7963 | PyObject * obj0 = 0 ; | |
7964 | PyObject * obj1 = 0 ; | |
7965 | PyObject * obj2 = 0 ; | |
7966 | char *kwnames[] = { | |
7967 | (char *) "self",(char *) "length",(char *) "text", NULL | |
7968 | }; | |
7969 | ||
7970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7973 | arg2 = (int) SWIG_AsInt(obj1); | |
7974 | if (PyErr_Occurred()) SWIG_fail; | |
7975 | { | |
7976 | arg3 = wxString_in_helper(obj2); | |
7977 | if (arg3 == NULL) SWIG_fail; | |
7978 | temp3 = True; | |
7979 | } | |
7980 | { | |
7981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7982 | (arg1)->AppendText(arg2,(wxString const &)*arg3); | |
7983 | ||
7984 | wxPyEndAllowThreads(__tstate); | |
7985 | if (PyErr_Occurred()) SWIG_fail; | |
7986 | } | |
7987 | Py_INCREF(Py_None); resultobj = Py_None; | |
7988 | { | |
7989 | if (temp3) | |
7990 | delete arg3; | |
7991 | } | |
7992 | return resultobj; | |
7993 | fail: | |
7994 | { | |
7995 | if (temp3) | |
7996 | delete arg3; | |
7997 | } | |
7998 | return NULL; | |
7999 | } | |
8000 | ||
8001 | ||
8002 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8003 | PyObject *resultobj; | |
8004 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8005 | bool result; | |
8006 | PyObject * obj0 = 0 ; | |
8007 | char *kwnames[] = { | |
8008 | (char *) "self", NULL | |
8009 | }; | |
8010 | ||
8011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; | |
8012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8014 | { | |
8015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8016 | result = (bool)(arg1)->GetTwoPhaseDraw(); | |
8017 | ||
8018 | wxPyEndAllowThreads(__tstate); | |
8019 | if (PyErr_Occurred()) SWIG_fail; | |
8020 | } | |
8021 | { | |
8022 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8023 | } | |
8024 | return resultobj; | |
8025 | fail: | |
8026 | return NULL; | |
8027 | } | |
8028 | ||
8029 | ||
8030 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8031 | PyObject *resultobj; | |
8032 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8033 | bool arg2 ; | |
8034 | PyObject * obj0 = 0 ; | |
8035 | PyObject * obj1 = 0 ; | |
8036 | char *kwnames[] = { | |
8037 | (char *) "self",(char *) "twoPhase", NULL | |
8038 | }; | |
8039 | ||
8040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; | |
8041 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8043 | arg2 = (bool) SWIG_AsBool(obj1); | |
8044 | if (PyErr_Occurred()) SWIG_fail; | |
8045 | { | |
8046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8047 | (arg1)->SetTwoPhaseDraw(arg2); | |
8048 | ||
8049 | wxPyEndAllowThreads(__tstate); | |
8050 | if (PyErr_Occurred()) SWIG_fail; | |
8051 | } | |
8052 | Py_INCREF(Py_None); resultobj = Py_None; | |
8053 | return resultobj; | |
8054 | fail: | |
8055 | return NULL; | |
8056 | } | |
8057 | ||
8058 | ||
8059 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8060 | PyObject *resultobj; | |
8061 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8062 | PyObject * obj0 = 0 ; | |
8063 | char *kwnames[] = { | |
8064 | (char *) "self", NULL | |
8065 | }; | |
8066 | ||
8067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; | |
8068 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8070 | { | |
8071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8072 | (arg1)->TargetFromSelection(); | |
8073 | ||
8074 | wxPyEndAllowThreads(__tstate); | |
8075 | if (PyErr_Occurred()) SWIG_fail; | |
8076 | } | |
8077 | Py_INCREF(Py_None); resultobj = Py_None; | |
8078 | return resultobj; | |
8079 | fail: | |
8080 | return NULL; | |
8081 | } | |
8082 | ||
8083 | ||
8084 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8085 | PyObject *resultobj; | |
8086 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8087 | PyObject * obj0 = 0 ; | |
8088 | char *kwnames[] = { | |
8089 | (char *) "self", NULL | |
8090 | }; | |
8091 | ||
8092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; | |
8093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8095 | { | |
8096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8097 | (arg1)->LinesJoin(); | |
8098 | ||
8099 | wxPyEndAllowThreads(__tstate); | |
8100 | if (PyErr_Occurred()) SWIG_fail; | |
8101 | } | |
8102 | Py_INCREF(Py_None); resultobj = Py_None; | |
8103 | return resultobj; | |
8104 | fail: | |
8105 | return NULL; | |
8106 | } | |
8107 | ||
8108 | ||
8109 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8110 | PyObject *resultobj; | |
8111 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8112 | int arg2 ; | |
8113 | PyObject * obj0 = 0 ; | |
8114 | PyObject * obj1 = 0 ; | |
8115 | char *kwnames[] = { | |
8116 | (char *) "self",(char *) "pixelWidth", NULL | |
8117 | }; | |
8118 | ||
8119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; | |
8120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8122 | arg2 = (int) SWIG_AsInt(obj1); | |
8123 | if (PyErr_Occurred()) SWIG_fail; | |
8124 | { | |
8125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8126 | (arg1)->LinesSplit(arg2); | |
8127 | ||
8128 | wxPyEndAllowThreads(__tstate); | |
8129 | if (PyErr_Occurred()) SWIG_fail; | |
8130 | } | |
8131 | Py_INCREF(Py_None); resultobj = Py_None; | |
8132 | return resultobj; | |
8133 | fail: | |
8134 | return NULL; | |
8135 | } | |
8136 | ||
8137 | ||
8138 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8139 | PyObject *resultobj; | |
8140 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8141 | bool arg2 ; | |
8142 | wxColour *arg3 = 0 ; | |
8143 | wxColour temp3 ; | |
8144 | PyObject * obj0 = 0 ; | |
8145 | PyObject * obj1 = 0 ; | |
8146 | PyObject * obj2 = 0 ; | |
8147 | char *kwnames[] = { | |
8148 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
8149 | }; | |
8150 | ||
8151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8154 | arg2 = (bool) SWIG_AsBool(obj1); | |
8155 | if (PyErr_Occurred()) SWIG_fail; | |
8156 | { | |
8157 | arg3 = &temp3; | |
8158 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8159 | } | |
8160 | { | |
8161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8162 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); | |
8163 | ||
8164 | wxPyEndAllowThreads(__tstate); | |
8165 | if (PyErr_Occurred()) SWIG_fail; | |
8166 | } | |
8167 | Py_INCREF(Py_None); resultobj = Py_None; | |
8168 | return resultobj; | |
8169 | fail: | |
8170 | return NULL; | |
8171 | } | |
8172 | ||
8173 | ||
8174 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8175 | PyObject *resultobj; | |
8176 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8177 | bool arg2 ; | |
8178 | wxColour *arg3 = 0 ; | |
8179 | wxColour temp3 ; | |
8180 | PyObject * obj0 = 0 ; | |
8181 | PyObject * obj1 = 0 ; | |
8182 | PyObject * obj2 = 0 ; | |
8183 | char *kwnames[] = { | |
8184 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
8185 | }; | |
8186 | ||
8187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8190 | arg2 = (bool) SWIG_AsBool(obj1); | |
8191 | if (PyErr_Occurred()) SWIG_fail; | |
8192 | { | |
8193 | arg3 = &temp3; | |
8194 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8195 | } | |
8196 | { | |
8197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8198 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); | |
8199 | ||
8200 | wxPyEndAllowThreads(__tstate); | |
8201 | if (PyErr_Occurred()) SWIG_fail; | |
8202 | } | |
8203 | Py_INCREF(Py_None); resultobj = Py_None; | |
8204 | return resultobj; | |
8205 | fail: | |
8206 | return NULL; | |
8207 | } | |
8208 | ||
8209 | ||
8210 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8211 | PyObject *resultobj; | |
8212 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8213 | PyObject * obj0 = 0 ; | |
8214 | char *kwnames[] = { | |
8215 | (char *) "self", NULL | |
8216 | }; | |
8217 | ||
8218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; | |
8219 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8220 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8221 | { | |
8222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8223 | (arg1)->LineDown(); | |
8224 | ||
8225 | wxPyEndAllowThreads(__tstate); | |
8226 | if (PyErr_Occurred()) SWIG_fail; | |
8227 | } | |
8228 | Py_INCREF(Py_None); resultobj = Py_None; | |
8229 | return resultobj; | |
8230 | fail: | |
8231 | return NULL; | |
8232 | } | |
8233 | ||
8234 | ||
8235 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8236 | PyObject *resultobj; | |
8237 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8238 | PyObject * obj0 = 0 ; | |
8239 | char *kwnames[] = { | |
8240 | (char *) "self", NULL | |
8241 | }; | |
8242 | ||
8243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; | |
8244 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8246 | { | |
8247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8248 | (arg1)->LineDownExtend(); | |
8249 | ||
8250 | wxPyEndAllowThreads(__tstate); | |
8251 | if (PyErr_Occurred()) SWIG_fail; | |
8252 | } | |
8253 | Py_INCREF(Py_None); resultobj = Py_None; | |
8254 | return resultobj; | |
8255 | fail: | |
8256 | return NULL; | |
8257 | } | |
8258 | ||
8259 | ||
8260 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8261 | PyObject *resultobj; | |
8262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8263 | PyObject * obj0 = 0 ; | |
8264 | char *kwnames[] = { | |
8265 | (char *) "self", NULL | |
8266 | }; | |
8267 | ||
8268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; | |
8269 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8271 | { | |
8272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8273 | (arg1)->LineUp(); | |
8274 | ||
8275 | wxPyEndAllowThreads(__tstate); | |
8276 | if (PyErr_Occurred()) SWIG_fail; | |
8277 | } | |
8278 | Py_INCREF(Py_None); resultobj = Py_None; | |
8279 | return resultobj; | |
8280 | fail: | |
8281 | return NULL; | |
8282 | } | |
8283 | ||
8284 | ||
8285 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8286 | PyObject *resultobj; | |
8287 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8288 | PyObject * obj0 = 0 ; | |
8289 | char *kwnames[] = { | |
8290 | (char *) "self", NULL | |
8291 | }; | |
8292 | ||
8293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; | |
8294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8296 | { | |
8297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8298 | (arg1)->LineUpExtend(); | |
8299 | ||
8300 | wxPyEndAllowThreads(__tstate); | |
8301 | if (PyErr_Occurred()) SWIG_fail; | |
8302 | } | |
8303 | Py_INCREF(Py_None); resultobj = Py_None; | |
8304 | return resultobj; | |
8305 | fail: | |
8306 | return NULL; | |
8307 | } | |
8308 | ||
8309 | ||
8310 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8311 | PyObject *resultobj; | |
8312 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8313 | PyObject * obj0 = 0 ; | |
8314 | char *kwnames[] = { | |
8315 | (char *) "self", NULL | |
8316 | }; | |
8317 | ||
8318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; | |
8319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8321 | { | |
8322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8323 | (arg1)->CharLeft(); | |
8324 | ||
8325 | wxPyEndAllowThreads(__tstate); | |
8326 | if (PyErr_Occurred()) SWIG_fail; | |
8327 | } | |
8328 | Py_INCREF(Py_None); resultobj = Py_None; | |
8329 | return resultobj; | |
8330 | fail: | |
8331 | return NULL; | |
8332 | } | |
8333 | ||
8334 | ||
8335 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8336 | PyObject *resultobj; | |
8337 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8338 | PyObject * obj0 = 0 ; | |
8339 | char *kwnames[] = { | |
8340 | (char *) "self", NULL | |
8341 | }; | |
8342 | ||
8343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; | |
8344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8346 | { | |
8347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8348 | (arg1)->CharLeftExtend(); | |
8349 | ||
8350 | wxPyEndAllowThreads(__tstate); | |
8351 | if (PyErr_Occurred()) SWIG_fail; | |
8352 | } | |
8353 | Py_INCREF(Py_None); resultobj = Py_None; | |
8354 | return resultobj; | |
8355 | fail: | |
8356 | return NULL; | |
8357 | } | |
8358 | ||
8359 | ||
8360 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8361 | PyObject *resultobj; | |
8362 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8363 | PyObject * obj0 = 0 ; | |
8364 | char *kwnames[] = { | |
8365 | (char *) "self", NULL | |
8366 | }; | |
8367 | ||
8368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; | |
8369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8371 | { | |
8372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8373 | (arg1)->CharRight(); | |
8374 | ||
8375 | wxPyEndAllowThreads(__tstate); | |
8376 | if (PyErr_Occurred()) SWIG_fail; | |
8377 | } | |
8378 | Py_INCREF(Py_None); resultobj = Py_None; | |
8379 | return resultobj; | |
8380 | fail: | |
8381 | return NULL; | |
8382 | } | |
8383 | ||
8384 | ||
8385 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8386 | PyObject *resultobj; | |
8387 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8388 | PyObject * obj0 = 0 ; | |
8389 | char *kwnames[] = { | |
8390 | (char *) "self", NULL | |
8391 | }; | |
8392 | ||
8393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; | |
8394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8396 | { | |
8397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8398 | (arg1)->CharRightExtend(); | |
8399 | ||
8400 | wxPyEndAllowThreads(__tstate); | |
8401 | if (PyErr_Occurred()) SWIG_fail; | |
8402 | } | |
8403 | Py_INCREF(Py_None); resultobj = Py_None; | |
8404 | return resultobj; | |
8405 | fail: | |
8406 | return NULL; | |
8407 | } | |
8408 | ||
8409 | ||
8410 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8411 | PyObject *resultobj; | |
8412 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8413 | PyObject * obj0 = 0 ; | |
8414 | char *kwnames[] = { | |
8415 | (char *) "self", NULL | |
8416 | }; | |
8417 | ||
8418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; | |
8419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8421 | { | |
8422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8423 | (arg1)->WordLeft(); | |
8424 | ||
8425 | wxPyEndAllowThreads(__tstate); | |
8426 | if (PyErr_Occurred()) SWIG_fail; | |
8427 | } | |
8428 | Py_INCREF(Py_None); resultobj = Py_None; | |
8429 | return resultobj; | |
8430 | fail: | |
8431 | return NULL; | |
8432 | } | |
8433 | ||
8434 | ||
8435 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8436 | PyObject *resultobj; | |
8437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8438 | PyObject * obj0 = 0 ; | |
8439 | char *kwnames[] = { | |
8440 | (char *) "self", NULL | |
8441 | }; | |
8442 | ||
8443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; | |
8444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8446 | { | |
8447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8448 | (arg1)->WordLeftExtend(); | |
8449 | ||
8450 | wxPyEndAllowThreads(__tstate); | |
8451 | if (PyErr_Occurred()) SWIG_fail; | |
8452 | } | |
8453 | Py_INCREF(Py_None); resultobj = Py_None; | |
8454 | return resultobj; | |
8455 | fail: | |
8456 | return NULL; | |
8457 | } | |
8458 | ||
8459 | ||
8460 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8461 | PyObject *resultobj; | |
8462 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8463 | PyObject * obj0 = 0 ; | |
8464 | char *kwnames[] = { | |
8465 | (char *) "self", NULL | |
8466 | }; | |
8467 | ||
8468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; | |
8469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8471 | { | |
8472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8473 | (arg1)->WordRight(); | |
8474 | ||
8475 | wxPyEndAllowThreads(__tstate); | |
8476 | if (PyErr_Occurred()) SWIG_fail; | |
8477 | } | |
8478 | Py_INCREF(Py_None); resultobj = Py_None; | |
8479 | return resultobj; | |
8480 | fail: | |
8481 | return NULL; | |
8482 | } | |
8483 | ||
8484 | ||
8485 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8486 | PyObject *resultobj; | |
8487 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8488 | PyObject * obj0 = 0 ; | |
8489 | char *kwnames[] = { | |
8490 | (char *) "self", NULL | |
8491 | }; | |
8492 | ||
8493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; | |
8494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8496 | { | |
8497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8498 | (arg1)->WordRightExtend(); | |
8499 | ||
8500 | wxPyEndAllowThreads(__tstate); | |
8501 | if (PyErr_Occurred()) SWIG_fail; | |
8502 | } | |
8503 | Py_INCREF(Py_None); resultobj = Py_None; | |
8504 | return resultobj; | |
8505 | fail: | |
8506 | return NULL; | |
8507 | } | |
8508 | ||
8509 | ||
8510 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8511 | PyObject *resultobj; | |
8512 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8513 | PyObject * obj0 = 0 ; | |
8514 | char *kwnames[] = { | |
8515 | (char *) "self", NULL | |
8516 | }; | |
8517 | ||
8518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; | |
8519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8521 | { | |
8522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8523 | (arg1)->Home(); | |
8524 | ||
8525 | wxPyEndAllowThreads(__tstate); | |
8526 | if (PyErr_Occurred()) SWIG_fail; | |
8527 | } | |
8528 | Py_INCREF(Py_None); resultobj = Py_None; | |
8529 | return resultobj; | |
8530 | fail: | |
8531 | return NULL; | |
8532 | } | |
8533 | ||
8534 | ||
8535 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8536 | PyObject *resultobj; | |
8537 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8538 | PyObject * obj0 = 0 ; | |
8539 | char *kwnames[] = { | |
8540 | (char *) "self", NULL | |
8541 | }; | |
8542 | ||
8543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; | |
8544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8546 | { | |
8547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8548 | (arg1)->HomeExtend(); | |
8549 | ||
8550 | wxPyEndAllowThreads(__tstate); | |
8551 | if (PyErr_Occurred()) SWIG_fail; | |
8552 | } | |
8553 | Py_INCREF(Py_None); resultobj = Py_None; | |
8554 | return resultobj; | |
8555 | fail: | |
8556 | return NULL; | |
8557 | } | |
8558 | ||
8559 | ||
8560 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8561 | PyObject *resultobj; | |
8562 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8563 | PyObject * obj0 = 0 ; | |
8564 | char *kwnames[] = { | |
8565 | (char *) "self", NULL | |
8566 | }; | |
8567 | ||
8568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; | |
8569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8571 | { | |
8572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8573 | (arg1)->LineEnd(); | |
8574 | ||
8575 | wxPyEndAllowThreads(__tstate); | |
8576 | if (PyErr_Occurred()) SWIG_fail; | |
8577 | } | |
8578 | Py_INCREF(Py_None); resultobj = Py_None; | |
8579 | return resultobj; | |
8580 | fail: | |
8581 | return NULL; | |
8582 | } | |
8583 | ||
8584 | ||
8585 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8586 | PyObject *resultobj; | |
8587 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8588 | PyObject * obj0 = 0 ; | |
8589 | char *kwnames[] = { | |
8590 | (char *) "self", NULL | |
8591 | }; | |
8592 | ||
8593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; | |
8594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8596 | { | |
8597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8598 | (arg1)->LineEndExtend(); | |
8599 | ||
8600 | wxPyEndAllowThreads(__tstate); | |
8601 | if (PyErr_Occurred()) SWIG_fail; | |
8602 | } | |
8603 | Py_INCREF(Py_None); resultobj = Py_None; | |
8604 | return resultobj; | |
8605 | fail: | |
8606 | return NULL; | |
8607 | } | |
8608 | ||
8609 | ||
8610 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8611 | PyObject *resultobj; | |
8612 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8613 | PyObject * obj0 = 0 ; | |
8614 | char *kwnames[] = { | |
8615 | (char *) "self", NULL | |
8616 | }; | |
8617 | ||
8618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; | |
8619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8621 | { | |
8622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8623 | (arg1)->DocumentStart(); | |
8624 | ||
8625 | wxPyEndAllowThreads(__tstate); | |
8626 | if (PyErr_Occurred()) SWIG_fail; | |
8627 | } | |
8628 | Py_INCREF(Py_None); resultobj = Py_None; | |
8629 | return resultobj; | |
8630 | fail: | |
8631 | return NULL; | |
8632 | } | |
8633 | ||
8634 | ||
8635 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8636 | PyObject *resultobj; | |
8637 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8638 | PyObject * obj0 = 0 ; | |
8639 | char *kwnames[] = { | |
8640 | (char *) "self", NULL | |
8641 | }; | |
8642 | ||
8643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; | |
8644 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8646 | { | |
8647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8648 | (arg1)->DocumentStartExtend(); | |
8649 | ||
8650 | wxPyEndAllowThreads(__tstate); | |
8651 | if (PyErr_Occurred()) SWIG_fail; | |
8652 | } | |
8653 | Py_INCREF(Py_None); resultobj = Py_None; | |
8654 | return resultobj; | |
8655 | fail: | |
8656 | return NULL; | |
8657 | } | |
8658 | ||
8659 | ||
8660 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8661 | PyObject *resultobj; | |
8662 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8663 | PyObject * obj0 = 0 ; | |
8664 | char *kwnames[] = { | |
8665 | (char *) "self", NULL | |
8666 | }; | |
8667 | ||
8668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; | |
8669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8671 | { | |
8672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8673 | (arg1)->DocumentEnd(); | |
8674 | ||
8675 | wxPyEndAllowThreads(__tstate); | |
8676 | if (PyErr_Occurred()) SWIG_fail; | |
8677 | } | |
8678 | Py_INCREF(Py_None); resultobj = Py_None; | |
8679 | return resultobj; | |
8680 | fail: | |
8681 | return NULL; | |
8682 | } | |
8683 | ||
8684 | ||
8685 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8686 | PyObject *resultobj; | |
8687 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8688 | PyObject * obj0 = 0 ; | |
8689 | char *kwnames[] = { | |
8690 | (char *) "self", NULL | |
8691 | }; | |
8692 | ||
8693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; | |
8694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8696 | { | |
8697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8698 | (arg1)->DocumentEndExtend(); | |
8699 | ||
8700 | wxPyEndAllowThreads(__tstate); | |
8701 | if (PyErr_Occurred()) SWIG_fail; | |
8702 | } | |
8703 | Py_INCREF(Py_None); resultobj = Py_None; | |
8704 | return resultobj; | |
8705 | fail: | |
8706 | return NULL; | |
8707 | } | |
8708 | ||
8709 | ||
8710 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8711 | PyObject *resultobj; | |
8712 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8713 | PyObject * obj0 = 0 ; | |
8714 | char *kwnames[] = { | |
8715 | (char *) "self", NULL | |
8716 | }; | |
8717 | ||
8718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; | |
8719 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8720 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8721 | { | |
8722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8723 | (arg1)->PageUp(); | |
8724 | ||
8725 | wxPyEndAllowThreads(__tstate); | |
8726 | if (PyErr_Occurred()) SWIG_fail; | |
8727 | } | |
8728 | Py_INCREF(Py_None); resultobj = Py_None; | |
8729 | return resultobj; | |
8730 | fail: | |
8731 | return NULL; | |
8732 | } | |
8733 | ||
8734 | ||
8735 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8736 | PyObject *resultobj; | |
8737 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8738 | PyObject * obj0 = 0 ; | |
8739 | char *kwnames[] = { | |
8740 | (char *) "self", NULL | |
8741 | }; | |
8742 | ||
8743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; | |
8744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8746 | { | |
8747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8748 | (arg1)->PageUpExtend(); | |
8749 | ||
8750 | wxPyEndAllowThreads(__tstate); | |
8751 | if (PyErr_Occurred()) SWIG_fail; | |
8752 | } | |
8753 | Py_INCREF(Py_None); resultobj = Py_None; | |
8754 | return resultobj; | |
8755 | fail: | |
8756 | return NULL; | |
8757 | } | |
8758 | ||
8759 | ||
8760 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8761 | PyObject *resultobj; | |
8762 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8763 | PyObject * obj0 = 0 ; | |
8764 | char *kwnames[] = { | |
8765 | (char *) "self", NULL | |
8766 | }; | |
8767 | ||
8768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; | |
8769 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8770 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8771 | { | |
8772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8773 | (arg1)->PageDown(); | |
8774 | ||
8775 | wxPyEndAllowThreads(__tstate); | |
8776 | if (PyErr_Occurred()) SWIG_fail; | |
8777 | } | |
8778 | Py_INCREF(Py_None); resultobj = Py_None; | |
8779 | return resultobj; | |
8780 | fail: | |
8781 | return NULL; | |
8782 | } | |
8783 | ||
8784 | ||
8785 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8786 | PyObject *resultobj; | |
8787 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8788 | PyObject * obj0 = 0 ; | |
8789 | char *kwnames[] = { | |
8790 | (char *) "self", NULL | |
8791 | }; | |
8792 | ||
8793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; | |
8794 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8795 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8796 | { | |
8797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8798 | (arg1)->PageDownExtend(); | |
8799 | ||
8800 | wxPyEndAllowThreads(__tstate); | |
8801 | if (PyErr_Occurred()) SWIG_fail; | |
8802 | } | |
8803 | Py_INCREF(Py_None); resultobj = Py_None; | |
8804 | return resultobj; | |
8805 | fail: | |
8806 | return NULL; | |
8807 | } | |
8808 | ||
8809 | ||
8810 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8811 | PyObject *resultobj; | |
8812 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8813 | PyObject * obj0 = 0 ; | |
8814 | char *kwnames[] = { | |
8815 | (char *) "self", NULL | |
8816 | }; | |
8817 | ||
8818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; | |
8819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8821 | { | |
8822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8823 | (arg1)->EditToggleOvertype(); | |
8824 | ||
8825 | wxPyEndAllowThreads(__tstate); | |
8826 | if (PyErr_Occurred()) SWIG_fail; | |
8827 | } | |
8828 | Py_INCREF(Py_None); resultobj = Py_None; | |
8829 | return resultobj; | |
8830 | fail: | |
8831 | return NULL; | |
8832 | } | |
8833 | ||
8834 | ||
8835 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8836 | PyObject *resultobj; | |
8837 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8838 | PyObject * obj0 = 0 ; | |
8839 | char *kwnames[] = { | |
8840 | (char *) "self", NULL | |
8841 | }; | |
8842 | ||
8843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; | |
8844 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8846 | { | |
8847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8848 | (arg1)->Cancel(); | |
8849 | ||
8850 | wxPyEndAllowThreads(__tstate); | |
8851 | if (PyErr_Occurred()) SWIG_fail; | |
8852 | } | |
8853 | Py_INCREF(Py_None); resultobj = Py_None; | |
8854 | return resultobj; | |
8855 | fail: | |
8856 | return NULL; | |
8857 | } | |
8858 | ||
8859 | ||
8860 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8861 | PyObject *resultobj; | |
8862 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8863 | PyObject * obj0 = 0 ; | |
8864 | char *kwnames[] = { | |
8865 | (char *) "self", NULL | |
8866 | }; | |
8867 | ||
8868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; | |
8869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8871 | { | |
8872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8873 | (arg1)->DeleteBack(); | |
8874 | ||
8875 | wxPyEndAllowThreads(__tstate); | |
8876 | if (PyErr_Occurred()) SWIG_fail; | |
8877 | } | |
8878 | Py_INCREF(Py_None); resultobj = Py_None; | |
8879 | return resultobj; | |
8880 | fail: | |
8881 | return NULL; | |
8882 | } | |
8883 | ||
8884 | ||
8885 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8886 | PyObject *resultobj; | |
8887 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8888 | PyObject * obj0 = 0 ; | |
8889 | char *kwnames[] = { | |
8890 | (char *) "self", NULL | |
8891 | }; | |
8892 | ||
8893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; | |
8894 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8895 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8896 | { | |
8897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8898 | (arg1)->Tab(); | |
8899 | ||
8900 | wxPyEndAllowThreads(__tstate); | |
8901 | if (PyErr_Occurred()) SWIG_fail; | |
8902 | } | |
8903 | Py_INCREF(Py_None); resultobj = Py_None; | |
8904 | return resultobj; | |
8905 | fail: | |
8906 | return NULL; | |
8907 | } | |
8908 | ||
8909 | ||
8910 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8911 | PyObject *resultobj; | |
8912 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8913 | PyObject * obj0 = 0 ; | |
8914 | char *kwnames[] = { | |
8915 | (char *) "self", NULL | |
8916 | }; | |
8917 | ||
8918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; | |
8919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8921 | { | |
8922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8923 | (arg1)->BackTab(); | |
8924 | ||
8925 | wxPyEndAllowThreads(__tstate); | |
8926 | if (PyErr_Occurred()) SWIG_fail; | |
8927 | } | |
8928 | Py_INCREF(Py_None); resultobj = Py_None; | |
8929 | return resultobj; | |
8930 | fail: | |
8931 | return NULL; | |
8932 | } | |
8933 | ||
8934 | ||
8935 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8936 | PyObject *resultobj; | |
8937 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8938 | PyObject * obj0 = 0 ; | |
8939 | char *kwnames[] = { | |
8940 | (char *) "self", NULL | |
8941 | }; | |
8942 | ||
8943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; | |
8944 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8945 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8946 | { | |
8947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8948 | (arg1)->NewLine(); | |
8949 | ||
8950 | wxPyEndAllowThreads(__tstate); | |
8951 | if (PyErr_Occurred()) SWIG_fail; | |
8952 | } | |
8953 | Py_INCREF(Py_None); resultobj = Py_None; | |
8954 | return resultobj; | |
8955 | fail: | |
8956 | return NULL; | |
8957 | } | |
8958 | ||
8959 | ||
8960 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8961 | PyObject *resultobj; | |
8962 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8963 | PyObject * obj0 = 0 ; | |
8964 | char *kwnames[] = { | |
8965 | (char *) "self", NULL | |
8966 | }; | |
8967 | ||
8968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; | |
8969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8971 | { | |
8972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8973 | (arg1)->FormFeed(); | |
8974 | ||
8975 | wxPyEndAllowThreads(__tstate); | |
8976 | if (PyErr_Occurred()) SWIG_fail; | |
8977 | } | |
8978 | Py_INCREF(Py_None); resultobj = Py_None; | |
8979 | return resultobj; | |
8980 | fail: | |
8981 | return NULL; | |
8982 | } | |
8983 | ||
8984 | ||
8985 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8986 | PyObject *resultobj; | |
8987 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8988 | PyObject * obj0 = 0 ; | |
8989 | char *kwnames[] = { | |
8990 | (char *) "self", NULL | |
8991 | }; | |
8992 | ||
8993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; | |
8994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8996 | { | |
8997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8998 | (arg1)->VCHome(); | |
8999 | ||
9000 | wxPyEndAllowThreads(__tstate); | |
9001 | if (PyErr_Occurred()) SWIG_fail; | |
9002 | } | |
9003 | Py_INCREF(Py_None); resultobj = Py_None; | |
9004 | return resultobj; | |
9005 | fail: | |
9006 | return NULL; | |
9007 | } | |
9008 | ||
9009 | ||
9010 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9011 | PyObject *resultobj; | |
9012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9013 | PyObject * obj0 = 0 ; | |
9014 | char *kwnames[] = { | |
9015 | (char *) "self", NULL | |
9016 | }; | |
9017 | ||
9018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; | |
9019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9021 | { | |
9022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9023 | (arg1)->VCHomeExtend(); | |
9024 | ||
9025 | wxPyEndAllowThreads(__tstate); | |
9026 | if (PyErr_Occurred()) SWIG_fail; | |
9027 | } | |
9028 | Py_INCREF(Py_None); resultobj = Py_None; | |
9029 | return resultobj; | |
9030 | fail: | |
9031 | return NULL; | |
9032 | } | |
9033 | ||
9034 | ||
9035 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9036 | PyObject *resultobj; | |
9037 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9038 | PyObject * obj0 = 0 ; | |
9039 | char *kwnames[] = { | |
9040 | (char *) "self", NULL | |
9041 | }; | |
9042 | ||
9043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; | |
9044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9046 | { | |
9047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9048 | (arg1)->ZoomIn(); | |
9049 | ||
9050 | wxPyEndAllowThreads(__tstate); | |
9051 | if (PyErr_Occurred()) SWIG_fail; | |
9052 | } | |
9053 | Py_INCREF(Py_None); resultobj = Py_None; | |
9054 | return resultobj; | |
9055 | fail: | |
9056 | return NULL; | |
9057 | } | |
9058 | ||
9059 | ||
9060 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9061 | PyObject *resultobj; | |
9062 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9063 | PyObject * obj0 = 0 ; | |
9064 | char *kwnames[] = { | |
9065 | (char *) "self", NULL | |
9066 | }; | |
9067 | ||
9068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; | |
9069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9071 | { | |
9072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9073 | (arg1)->ZoomOut(); | |
9074 | ||
9075 | wxPyEndAllowThreads(__tstate); | |
9076 | if (PyErr_Occurred()) SWIG_fail; | |
9077 | } | |
9078 | Py_INCREF(Py_None); resultobj = Py_None; | |
9079 | return resultobj; | |
9080 | fail: | |
9081 | return NULL; | |
9082 | } | |
9083 | ||
9084 | ||
9085 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9086 | PyObject *resultobj; | |
9087 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9088 | PyObject * obj0 = 0 ; | |
9089 | char *kwnames[] = { | |
9090 | (char *) "self", NULL | |
9091 | }; | |
9092 | ||
9093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; | |
9094 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9096 | { | |
9097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9098 | (arg1)->DelWordLeft(); | |
9099 | ||
9100 | wxPyEndAllowThreads(__tstate); | |
9101 | if (PyErr_Occurred()) SWIG_fail; | |
9102 | } | |
9103 | Py_INCREF(Py_None); resultobj = Py_None; | |
9104 | return resultobj; | |
9105 | fail: | |
9106 | return NULL; | |
9107 | } | |
9108 | ||
9109 | ||
9110 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9111 | PyObject *resultobj; | |
9112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9113 | PyObject * obj0 = 0 ; | |
9114 | char *kwnames[] = { | |
9115 | (char *) "self", NULL | |
9116 | }; | |
9117 | ||
9118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; | |
9119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9121 | { | |
9122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9123 | (arg1)->DelWordRight(); | |
9124 | ||
9125 | wxPyEndAllowThreads(__tstate); | |
9126 | if (PyErr_Occurred()) SWIG_fail; | |
9127 | } | |
9128 | Py_INCREF(Py_None); resultobj = Py_None; | |
9129 | return resultobj; | |
9130 | fail: | |
9131 | return NULL; | |
9132 | } | |
9133 | ||
9134 | ||
9135 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9136 | PyObject *resultobj; | |
9137 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9138 | PyObject * obj0 = 0 ; | |
9139 | char *kwnames[] = { | |
9140 | (char *) "self", NULL | |
9141 | }; | |
9142 | ||
9143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; | |
9144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9146 | { | |
9147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9148 | (arg1)->LineCut(); | |
9149 | ||
9150 | wxPyEndAllowThreads(__tstate); | |
9151 | if (PyErr_Occurred()) SWIG_fail; | |
9152 | } | |
9153 | Py_INCREF(Py_None); resultobj = Py_None; | |
9154 | return resultobj; | |
9155 | fail: | |
9156 | return NULL; | |
9157 | } | |
9158 | ||
9159 | ||
9160 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9161 | PyObject *resultobj; | |
9162 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9163 | PyObject * obj0 = 0 ; | |
9164 | char *kwnames[] = { | |
9165 | (char *) "self", NULL | |
9166 | }; | |
9167 | ||
9168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; | |
9169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9171 | { | |
9172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9173 | (arg1)->LineDelete(); | |
9174 | ||
9175 | wxPyEndAllowThreads(__tstate); | |
9176 | if (PyErr_Occurred()) SWIG_fail; | |
9177 | } | |
9178 | Py_INCREF(Py_None); resultobj = Py_None; | |
9179 | return resultobj; | |
9180 | fail: | |
9181 | return NULL; | |
9182 | } | |
9183 | ||
9184 | ||
9185 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9186 | PyObject *resultobj; | |
9187 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9188 | PyObject * obj0 = 0 ; | |
9189 | char *kwnames[] = { | |
9190 | (char *) "self", NULL | |
9191 | }; | |
9192 | ||
9193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; | |
9194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9196 | { | |
9197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9198 | (arg1)->LineTranspose(); | |
9199 | ||
9200 | wxPyEndAllowThreads(__tstate); | |
9201 | if (PyErr_Occurred()) SWIG_fail; | |
9202 | } | |
9203 | Py_INCREF(Py_None); resultobj = Py_None; | |
9204 | return resultobj; | |
9205 | fail: | |
9206 | return NULL; | |
9207 | } | |
9208 | ||
9209 | ||
9210 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9211 | PyObject *resultobj; | |
9212 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9213 | PyObject * obj0 = 0 ; | |
9214 | char *kwnames[] = { | |
9215 | (char *) "self", NULL | |
9216 | }; | |
9217 | ||
9218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; | |
9219 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9220 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9221 | { | |
9222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9223 | (arg1)->LineDuplicate(); | |
9224 | ||
9225 | wxPyEndAllowThreads(__tstate); | |
9226 | if (PyErr_Occurred()) SWIG_fail; | |
9227 | } | |
9228 | Py_INCREF(Py_None); resultobj = Py_None; | |
9229 | return resultobj; | |
9230 | fail: | |
9231 | return NULL; | |
9232 | } | |
9233 | ||
9234 | ||
9235 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9236 | PyObject *resultobj; | |
9237 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9238 | PyObject * obj0 = 0 ; | |
9239 | char *kwnames[] = { | |
9240 | (char *) "self", NULL | |
9241 | }; | |
9242 | ||
9243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; | |
9244 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9245 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9246 | { | |
9247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9248 | (arg1)->LowerCase(); | |
9249 | ||
9250 | wxPyEndAllowThreads(__tstate); | |
9251 | if (PyErr_Occurred()) SWIG_fail; | |
9252 | } | |
9253 | Py_INCREF(Py_None); resultobj = Py_None; | |
9254 | return resultobj; | |
9255 | fail: | |
9256 | return NULL; | |
9257 | } | |
9258 | ||
9259 | ||
9260 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9261 | PyObject *resultobj; | |
9262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9263 | PyObject * obj0 = 0 ; | |
9264 | char *kwnames[] = { | |
9265 | (char *) "self", NULL | |
9266 | }; | |
9267 | ||
9268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; | |
9269 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9271 | { | |
9272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9273 | (arg1)->UpperCase(); | |
9274 | ||
9275 | wxPyEndAllowThreads(__tstate); | |
9276 | if (PyErr_Occurred()) SWIG_fail; | |
9277 | } | |
9278 | Py_INCREF(Py_None); resultobj = Py_None; | |
9279 | return resultobj; | |
9280 | fail: | |
9281 | return NULL; | |
9282 | } | |
9283 | ||
9284 | ||
9285 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9286 | PyObject *resultobj; | |
9287 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9288 | PyObject * obj0 = 0 ; | |
9289 | char *kwnames[] = { | |
9290 | (char *) "self", NULL | |
9291 | }; | |
9292 | ||
9293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; | |
9294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9296 | { | |
9297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9298 | (arg1)->LineScrollDown(); | |
9299 | ||
9300 | wxPyEndAllowThreads(__tstate); | |
9301 | if (PyErr_Occurred()) SWIG_fail; | |
9302 | } | |
9303 | Py_INCREF(Py_None); resultobj = Py_None; | |
9304 | return resultobj; | |
9305 | fail: | |
9306 | return NULL; | |
9307 | } | |
9308 | ||
9309 | ||
9310 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9311 | PyObject *resultobj; | |
9312 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9313 | PyObject * obj0 = 0 ; | |
9314 | char *kwnames[] = { | |
9315 | (char *) "self", NULL | |
9316 | }; | |
9317 | ||
9318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; | |
9319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9321 | { | |
9322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9323 | (arg1)->LineScrollUp(); | |
9324 | ||
9325 | wxPyEndAllowThreads(__tstate); | |
9326 | if (PyErr_Occurred()) SWIG_fail; | |
9327 | } | |
9328 | Py_INCREF(Py_None); resultobj = Py_None; | |
9329 | return resultobj; | |
9330 | fail: | |
9331 | return NULL; | |
9332 | } | |
9333 | ||
9334 | ||
9335 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9336 | PyObject *resultobj; | |
9337 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9338 | PyObject * obj0 = 0 ; | |
9339 | char *kwnames[] = { | |
9340 | (char *) "self", NULL | |
9341 | }; | |
9342 | ||
9343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; | |
9344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9346 | { | |
9347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9348 | (arg1)->DeleteBackNotLine(); | |
9349 | ||
9350 | wxPyEndAllowThreads(__tstate); | |
9351 | if (PyErr_Occurred()) SWIG_fail; | |
9352 | } | |
9353 | Py_INCREF(Py_None); resultobj = Py_None; | |
9354 | return resultobj; | |
9355 | fail: | |
9356 | return NULL; | |
9357 | } | |
9358 | ||
9359 | ||
9360 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9361 | PyObject *resultobj; | |
9362 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9363 | PyObject * obj0 = 0 ; | |
9364 | char *kwnames[] = { | |
9365 | (char *) "self", NULL | |
9366 | }; | |
9367 | ||
9368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; | |
9369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9371 | { | |
9372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9373 | (arg1)->HomeDisplay(); | |
9374 | ||
9375 | wxPyEndAllowThreads(__tstate); | |
9376 | if (PyErr_Occurred()) SWIG_fail; | |
9377 | } | |
9378 | Py_INCREF(Py_None); resultobj = Py_None; | |
9379 | return resultobj; | |
9380 | fail: | |
9381 | return NULL; | |
9382 | } | |
9383 | ||
9384 | ||
9385 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9386 | PyObject *resultobj; | |
9387 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9388 | PyObject * obj0 = 0 ; | |
9389 | char *kwnames[] = { | |
9390 | (char *) "self", NULL | |
9391 | }; | |
9392 | ||
9393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; | |
9394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9396 | { | |
9397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9398 | (arg1)->HomeDisplayExtend(); | |
9399 | ||
9400 | wxPyEndAllowThreads(__tstate); | |
9401 | if (PyErr_Occurred()) SWIG_fail; | |
9402 | } | |
9403 | Py_INCREF(Py_None); resultobj = Py_None; | |
9404 | return resultobj; | |
9405 | fail: | |
9406 | return NULL; | |
9407 | } | |
9408 | ||
9409 | ||
9410 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9411 | PyObject *resultobj; | |
9412 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9413 | PyObject * obj0 = 0 ; | |
9414 | char *kwnames[] = { | |
9415 | (char *) "self", NULL | |
9416 | }; | |
9417 | ||
9418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; | |
9419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9421 | { | |
9422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9423 | (arg1)->LineEndDisplay(); | |
9424 | ||
9425 | wxPyEndAllowThreads(__tstate); | |
9426 | if (PyErr_Occurred()) SWIG_fail; | |
9427 | } | |
9428 | Py_INCREF(Py_None); resultobj = Py_None; | |
9429 | return resultobj; | |
9430 | fail: | |
9431 | return NULL; | |
9432 | } | |
9433 | ||
9434 | ||
9435 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9436 | PyObject *resultobj; | |
9437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9438 | PyObject * obj0 = 0 ; | |
9439 | char *kwnames[] = { | |
9440 | (char *) "self", NULL | |
9441 | }; | |
9442 | ||
9443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; | |
9444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9446 | { | |
9447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9448 | (arg1)->LineEndDisplayExtend(); | |
9449 | ||
9450 | wxPyEndAllowThreads(__tstate); | |
9451 | if (PyErr_Occurred()) SWIG_fail; | |
9452 | } | |
9453 | Py_INCREF(Py_None); resultobj = Py_None; | |
9454 | return resultobj; | |
9455 | fail: | |
9456 | return NULL; | |
9457 | } | |
9458 | ||
9459 | ||
9460 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9461 | PyObject *resultobj; | |
9462 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9463 | PyObject * obj0 = 0 ; | |
9464 | char *kwnames[] = { | |
9465 | (char *) "self", NULL | |
9466 | }; | |
9467 | ||
9468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; | |
9469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9471 | { | |
9472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9473 | (arg1)->HomeWrap(); | |
9474 | ||
9475 | wxPyEndAllowThreads(__tstate); | |
9476 | if (PyErr_Occurred()) SWIG_fail; | |
9477 | } | |
9478 | Py_INCREF(Py_None); resultobj = Py_None; | |
9479 | return resultobj; | |
9480 | fail: | |
9481 | return NULL; | |
9482 | } | |
9483 | ||
9484 | ||
9485 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9486 | PyObject *resultobj; | |
9487 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9488 | PyObject * obj0 = 0 ; | |
9489 | char *kwnames[] = { | |
9490 | (char *) "self", NULL | |
9491 | }; | |
9492 | ||
9493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; | |
9494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9496 | { | |
9497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9498 | (arg1)->HomeWrapExtend(); | |
9499 | ||
9500 | wxPyEndAllowThreads(__tstate); | |
9501 | if (PyErr_Occurred()) SWIG_fail; | |
9502 | } | |
9503 | Py_INCREF(Py_None); resultobj = Py_None; | |
9504 | return resultobj; | |
9505 | fail: | |
9506 | return NULL; | |
9507 | } | |
9508 | ||
9509 | ||
9510 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9511 | PyObject *resultobj; | |
9512 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9513 | PyObject * obj0 = 0 ; | |
9514 | char *kwnames[] = { | |
9515 | (char *) "self", NULL | |
9516 | }; | |
9517 | ||
9518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; | |
9519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9521 | { | |
9522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9523 | (arg1)->LineEndWrap(); | |
9524 | ||
9525 | wxPyEndAllowThreads(__tstate); | |
9526 | if (PyErr_Occurred()) SWIG_fail; | |
9527 | } | |
9528 | Py_INCREF(Py_None); resultobj = Py_None; | |
9529 | return resultobj; | |
9530 | fail: | |
9531 | return NULL; | |
9532 | } | |
9533 | ||
9534 | ||
9535 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9536 | PyObject *resultobj; | |
9537 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9538 | PyObject * obj0 = 0 ; | |
9539 | char *kwnames[] = { | |
9540 | (char *) "self", NULL | |
9541 | }; | |
9542 | ||
9543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; | |
9544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9546 | { | |
9547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9548 | (arg1)->LineEndWrapExtend(); | |
9549 | ||
9550 | wxPyEndAllowThreads(__tstate); | |
9551 | if (PyErr_Occurred()) SWIG_fail; | |
9552 | } | |
9553 | Py_INCREF(Py_None); resultobj = Py_None; | |
9554 | return resultobj; | |
9555 | fail: | |
9556 | return NULL; | |
9557 | } | |
9558 | ||
9559 | ||
9560 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9561 | PyObject *resultobj; | |
9562 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9563 | PyObject * obj0 = 0 ; | |
9564 | char *kwnames[] = { | |
9565 | (char *) "self", NULL | |
9566 | }; | |
9567 | ||
9568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; | |
9569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9571 | { | |
9572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9573 | (arg1)->VCHomeWrap(); | |
9574 | ||
9575 | wxPyEndAllowThreads(__tstate); | |
9576 | if (PyErr_Occurred()) SWIG_fail; | |
9577 | } | |
9578 | Py_INCREF(Py_None); resultobj = Py_None; | |
9579 | return resultobj; | |
9580 | fail: | |
9581 | return NULL; | |
9582 | } | |
9583 | ||
9584 | ||
9585 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9586 | PyObject *resultobj; | |
9587 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9588 | PyObject * obj0 = 0 ; | |
9589 | char *kwnames[] = { | |
9590 | (char *) "self", NULL | |
9591 | }; | |
9592 | ||
9593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; | |
9594 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9595 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9596 | { | |
9597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9598 | (arg1)->VCHomeWrapExtend(); | |
9599 | ||
9600 | wxPyEndAllowThreads(__tstate); | |
9601 | if (PyErr_Occurred()) SWIG_fail; | |
9602 | } | |
9603 | Py_INCREF(Py_None); resultobj = Py_None; | |
9604 | return resultobj; | |
9605 | fail: | |
9606 | return NULL; | |
9607 | } | |
9608 | ||
9609 | ||
9610 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9611 | PyObject *resultobj; | |
9612 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9613 | PyObject * obj0 = 0 ; | |
9614 | char *kwnames[] = { | |
9615 | (char *) "self", NULL | |
9616 | }; | |
9617 | ||
9618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; | |
9619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9621 | { | |
9622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9623 | (arg1)->LineCopy(); | |
9624 | ||
9625 | wxPyEndAllowThreads(__tstate); | |
9626 | if (PyErr_Occurred()) SWIG_fail; | |
9627 | } | |
9628 | Py_INCREF(Py_None); resultobj = Py_None; | |
9629 | return resultobj; | |
9630 | fail: | |
9631 | return NULL; | |
9632 | } | |
9633 | ||
9634 | ||
9635 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9636 | PyObject *resultobj; | |
9637 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9638 | PyObject * obj0 = 0 ; | |
9639 | char *kwnames[] = { | |
9640 | (char *) "self", NULL | |
9641 | }; | |
9642 | ||
9643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; | |
9644 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9646 | { | |
9647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9648 | (arg1)->MoveCaretInsideView(); | |
9649 | ||
9650 | wxPyEndAllowThreads(__tstate); | |
9651 | if (PyErr_Occurred()) SWIG_fail; | |
9652 | } | |
9653 | Py_INCREF(Py_None); resultobj = Py_None; | |
9654 | return resultobj; | |
9655 | fail: | |
9656 | return NULL; | |
9657 | } | |
9658 | ||
9659 | ||
9660 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9661 | PyObject *resultobj; | |
9662 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9663 | int arg2 ; | |
9664 | int result; | |
9665 | PyObject * obj0 = 0 ; | |
9666 | PyObject * obj1 = 0 ; | |
9667 | char *kwnames[] = { | |
9668 | (char *) "self",(char *) "line", NULL | |
9669 | }; | |
9670 | ||
9671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; | |
9672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9674 | arg2 = (int) SWIG_AsInt(obj1); | |
9675 | if (PyErr_Occurred()) SWIG_fail; | |
9676 | { | |
9677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9678 | result = (int)(arg1)->LineLength(arg2); | |
9679 | ||
9680 | wxPyEndAllowThreads(__tstate); | |
9681 | if (PyErr_Occurred()) SWIG_fail; | |
9682 | } | |
9683 | resultobj = SWIG_FromInt((int)result); | |
9684 | return resultobj; | |
9685 | fail: | |
9686 | return NULL; | |
9687 | } | |
9688 | ||
9689 | ||
9690 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9691 | PyObject *resultobj; | |
9692 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9693 | int arg2 ; | |
9694 | int arg3 ; | |
9695 | PyObject * obj0 = 0 ; | |
9696 | PyObject * obj1 = 0 ; | |
9697 | PyObject * obj2 = 0 ; | |
9698 | char *kwnames[] = { | |
9699 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL | |
9700 | }; | |
9701 | ||
9702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9705 | arg2 = (int) SWIG_AsInt(obj1); | |
9706 | if (PyErr_Occurred()) SWIG_fail; | |
9707 | arg3 = (int) SWIG_AsInt(obj2); | |
9708 | if (PyErr_Occurred()) SWIG_fail; | |
9709 | { | |
9710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9711 | (arg1)->BraceHighlight(arg2,arg3); | |
9712 | ||
9713 | wxPyEndAllowThreads(__tstate); | |
9714 | if (PyErr_Occurred()) SWIG_fail; | |
9715 | } | |
9716 | Py_INCREF(Py_None); resultobj = Py_None; | |
9717 | return resultobj; | |
9718 | fail: | |
9719 | return NULL; | |
9720 | } | |
9721 | ||
9722 | ||
9723 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9724 | PyObject *resultobj; | |
9725 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9726 | int arg2 ; | |
9727 | PyObject * obj0 = 0 ; | |
9728 | PyObject * obj1 = 0 ; | |
9729 | char *kwnames[] = { | |
9730 | (char *) "self",(char *) "pos", NULL | |
9731 | }; | |
9732 | ||
9733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; | |
9734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9736 | arg2 = (int) SWIG_AsInt(obj1); | |
9737 | if (PyErr_Occurred()) SWIG_fail; | |
9738 | { | |
9739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9740 | (arg1)->BraceBadLight(arg2); | |
9741 | ||
9742 | wxPyEndAllowThreads(__tstate); | |
9743 | if (PyErr_Occurred()) SWIG_fail; | |
9744 | } | |
9745 | Py_INCREF(Py_None); resultobj = Py_None; | |
9746 | return resultobj; | |
9747 | fail: | |
9748 | return NULL; | |
9749 | } | |
9750 | ||
9751 | ||
9752 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9753 | PyObject *resultobj; | |
9754 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9755 | int arg2 ; | |
9756 | int result; | |
9757 | PyObject * obj0 = 0 ; | |
9758 | PyObject * obj1 = 0 ; | |
9759 | char *kwnames[] = { | |
9760 | (char *) "self",(char *) "pos", NULL | |
9761 | }; | |
9762 | ||
9763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; | |
9764 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9765 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9766 | arg2 = (int) SWIG_AsInt(obj1); | |
9767 | if (PyErr_Occurred()) SWIG_fail; | |
9768 | { | |
9769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9770 | result = (int)(arg1)->BraceMatch(arg2); | |
9771 | ||
9772 | wxPyEndAllowThreads(__tstate); | |
9773 | if (PyErr_Occurred()) SWIG_fail; | |
9774 | } | |
9775 | resultobj = SWIG_FromInt((int)result); | |
9776 | return resultobj; | |
9777 | fail: | |
9778 | return NULL; | |
9779 | } | |
9780 | ||
9781 | ||
9782 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9783 | PyObject *resultobj; | |
9784 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9785 | bool result; | |
9786 | PyObject * obj0 = 0 ; | |
9787 | char *kwnames[] = { | |
9788 | (char *) "self", NULL | |
9789 | }; | |
9790 | ||
9791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; | |
9792 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9793 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9794 | { | |
9795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9796 | result = (bool)(arg1)->GetViewEOL(); | |
9797 | ||
9798 | wxPyEndAllowThreads(__tstate); | |
9799 | if (PyErr_Occurred()) SWIG_fail; | |
9800 | } | |
9801 | { | |
9802 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9803 | } | |
9804 | return resultobj; | |
9805 | fail: | |
9806 | return NULL; | |
9807 | } | |
9808 | ||
9809 | ||
9810 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9811 | PyObject *resultobj; | |
9812 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9813 | bool arg2 ; | |
9814 | PyObject * obj0 = 0 ; | |
9815 | PyObject * obj1 = 0 ; | |
9816 | char *kwnames[] = { | |
9817 | (char *) "self",(char *) "visible", NULL | |
9818 | }; | |
9819 | ||
9820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; | |
9821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9823 | arg2 = (bool) SWIG_AsBool(obj1); | |
9824 | if (PyErr_Occurred()) SWIG_fail; | |
9825 | { | |
9826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9827 | (arg1)->SetViewEOL(arg2); | |
9828 | ||
9829 | wxPyEndAllowThreads(__tstate); | |
9830 | if (PyErr_Occurred()) SWIG_fail; | |
9831 | } | |
9832 | Py_INCREF(Py_None); resultobj = Py_None; | |
9833 | return resultobj; | |
9834 | fail: | |
9835 | return NULL; | |
9836 | } | |
9837 | ||
9838 | ||
9839 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9840 | PyObject *resultobj; | |
9841 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9842 | void *result; | |
9843 | PyObject * obj0 = 0 ; | |
9844 | char *kwnames[] = { | |
9845 | (char *) "self", NULL | |
9846 | }; | |
9847 | ||
9848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; | |
9849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9851 | { | |
9852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9853 | result = (void *)(arg1)->GetDocPointer(); | |
9854 | ||
9855 | wxPyEndAllowThreads(__tstate); | |
9856 | if (PyErr_Occurred()) SWIG_fail; | |
9857 | } | |
9858 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
9859 | return resultobj; | |
9860 | fail: | |
9861 | return NULL; | |
9862 | } | |
9863 | ||
9864 | ||
9865 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9866 | PyObject *resultobj; | |
9867 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9868 | void *arg2 = (void *) 0 ; | |
9869 | PyObject * obj0 = 0 ; | |
9870 | PyObject * obj1 = 0 ; | |
9871 | char *kwnames[] = { | |
9872 | (char *) "self",(char *) "docPointer", NULL | |
9873 | }; | |
9874 | ||
9875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; | |
9876 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9877 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9878 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9879 | { | |
9880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9881 | (arg1)->SetDocPointer(arg2); | |
9882 | ||
9883 | wxPyEndAllowThreads(__tstate); | |
9884 | if (PyErr_Occurred()) SWIG_fail; | |
9885 | } | |
9886 | Py_INCREF(Py_None); resultobj = Py_None; | |
9887 | return resultobj; | |
9888 | fail: | |
9889 | return NULL; | |
9890 | } | |
9891 | ||
9892 | ||
9893 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9894 | PyObject *resultobj; | |
9895 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9896 | int arg2 ; | |
9897 | PyObject * obj0 = 0 ; | |
9898 | PyObject * obj1 = 0 ; | |
9899 | char *kwnames[] = { | |
9900 | (char *) "self",(char *) "mask", NULL | |
9901 | }; | |
9902 | ||
9903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; | |
9904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9906 | arg2 = (int) SWIG_AsInt(obj1); | |
9907 | if (PyErr_Occurred()) SWIG_fail; | |
9908 | { | |
9909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9910 | (arg1)->SetModEventMask(arg2); | |
9911 | ||
9912 | wxPyEndAllowThreads(__tstate); | |
9913 | if (PyErr_Occurred()) SWIG_fail; | |
9914 | } | |
9915 | Py_INCREF(Py_None); resultobj = Py_None; | |
9916 | return resultobj; | |
9917 | fail: | |
9918 | return NULL; | |
9919 | } | |
9920 | ||
9921 | ||
9922 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9923 | PyObject *resultobj; | |
9924 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9925 | int result; | |
9926 | PyObject * obj0 = 0 ; | |
9927 | char *kwnames[] = { | |
9928 | (char *) "self", NULL | |
9929 | }; | |
9930 | ||
9931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; | |
9932 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9933 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9934 | { | |
9935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9936 | result = (int)(arg1)->GetEdgeColumn(); | |
9937 | ||
9938 | wxPyEndAllowThreads(__tstate); | |
9939 | if (PyErr_Occurred()) SWIG_fail; | |
9940 | } | |
9941 | resultobj = SWIG_FromInt((int)result); | |
9942 | return resultobj; | |
9943 | fail: | |
9944 | return NULL; | |
9945 | } | |
9946 | ||
9947 | ||
9948 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9949 | PyObject *resultobj; | |
9950 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9951 | int arg2 ; | |
9952 | PyObject * obj0 = 0 ; | |
9953 | PyObject * obj1 = 0 ; | |
9954 | char *kwnames[] = { | |
9955 | (char *) "self",(char *) "column", NULL | |
9956 | }; | |
9957 | ||
9958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; | |
9959 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9961 | arg2 = (int) SWIG_AsInt(obj1); | |
9962 | if (PyErr_Occurred()) SWIG_fail; | |
9963 | { | |
9964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9965 | (arg1)->SetEdgeColumn(arg2); | |
9966 | ||
9967 | wxPyEndAllowThreads(__tstate); | |
9968 | if (PyErr_Occurred()) SWIG_fail; | |
9969 | } | |
9970 | Py_INCREF(Py_None); resultobj = Py_None; | |
9971 | return resultobj; | |
9972 | fail: | |
9973 | return NULL; | |
9974 | } | |
9975 | ||
9976 | ||
9977 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9978 | PyObject *resultobj; | |
9979 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9980 | int result; | |
9981 | PyObject * obj0 = 0 ; | |
9982 | char *kwnames[] = { | |
9983 | (char *) "self", NULL | |
9984 | }; | |
9985 | ||
9986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; | |
9987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
9988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9989 | { | |
9990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9991 | result = (int)(arg1)->GetEdgeMode(); | |
9992 | ||
9993 | wxPyEndAllowThreads(__tstate); | |
9994 | if (PyErr_Occurred()) SWIG_fail; | |
9995 | } | |
9996 | resultobj = SWIG_FromInt((int)result); | |
9997 | return resultobj; | |
9998 | fail: | |
9999 | return NULL; | |
10000 | } | |
10001 | ||
10002 | ||
10003 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10004 | PyObject *resultobj; | |
10005 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10006 | int arg2 ; | |
10007 | PyObject * obj0 = 0 ; | |
10008 | PyObject * obj1 = 0 ; | |
10009 | char *kwnames[] = { | |
10010 | (char *) "self",(char *) "mode", NULL | |
10011 | }; | |
10012 | ||
10013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; | |
10014 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10015 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10016 | arg2 = (int) SWIG_AsInt(obj1); | |
10017 | if (PyErr_Occurred()) SWIG_fail; | |
10018 | { | |
10019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10020 | (arg1)->SetEdgeMode(arg2); | |
10021 | ||
10022 | wxPyEndAllowThreads(__tstate); | |
10023 | if (PyErr_Occurred()) SWIG_fail; | |
10024 | } | |
10025 | Py_INCREF(Py_None); resultobj = Py_None; | |
10026 | return resultobj; | |
10027 | fail: | |
10028 | return NULL; | |
10029 | } | |
10030 | ||
10031 | ||
10032 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10033 | PyObject *resultobj; | |
10034 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10035 | wxColour result; | |
10036 | PyObject * obj0 = 0 ; | |
10037 | char *kwnames[] = { | |
10038 | (char *) "self", NULL | |
10039 | }; | |
10040 | ||
10041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; | |
10042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10044 | { | |
10045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10046 | result = (arg1)->GetEdgeColour(); | |
10047 | ||
10048 | wxPyEndAllowThreads(__tstate); | |
10049 | if (PyErr_Occurred()) SWIG_fail; | |
10050 | } | |
10051 | { | |
10052 | wxColour * resultptr; | |
10053 | resultptr = new wxColour((wxColour &) result); | |
10054 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
10055 | } | |
10056 | return resultobj; | |
10057 | fail: | |
10058 | return NULL; | |
10059 | } | |
10060 | ||
10061 | ||
10062 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10063 | PyObject *resultobj; | |
10064 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10065 | wxColour *arg2 = 0 ; | |
10066 | wxColour temp2 ; | |
10067 | PyObject * obj0 = 0 ; | |
10068 | PyObject * obj1 = 0 ; | |
10069 | char *kwnames[] = { | |
10070 | (char *) "self",(char *) "edgeColour", NULL | |
10071 | }; | |
10072 | ||
10073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; | |
10074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10076 | { | |
10077 | arg2 = &temp2; | |
10078 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10079 | } | |
10080 | { | |
10081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10082 | (arg1)->SetEdgeColour((wxColour const &)*arg2); | |
10083 | ||
10084 | wxPyEndAllowThreads(__tstate); | |
10085 | if (PyErr_Occurred()) SWIG_fail; | |
10086 | } | |
10087 | Py_INCREF(Py_None); resultobj = Py_None; | |
10088 | return resultobj; | |
10089 | fail: | |
10090 | return NULL; | |
10091 | } | |
10092 | ||
10093 | ||
10094 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10095 | PyObject *resultobj; | |
10096 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10097 | PyObject * obj0 = 0 ; | |
10098 | char *kwnames[] = { | |
10099 | (char *) "self", NULL | |
10100 | }; | |
10101 | ||
10102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; | |
10103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10105 | { | |
10106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10107 | (arg1)->SearchAnchor(); | |
10108 | ||
10109 | wxPyEndAllowThreads(__tstate); | |
10110 | if (PyErr_Occurred()) SWIG_fail; | |
10111 | } | |
10112 | Py_INCREF(Py_None); resultobj = Py_None; | |
10113 | return resultobj; | |
10114 | fail: | |
10115 | return NULL; | |
10116 | } | |
10117 | ||
10118 | ||
10119 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10120 | PyObject *resultobj; | |
10121 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10122 | int arg2 ; | |
10123 | wxString *arg3 = 0 ; | |
10124 | int result; | |
10125 | bool temp3 = False ; | |
10126 | PyObject * obj0 = 0 ; | |
10127 | PyObject * obj1 = 0 ; | |
10128 | PyObject * obj2 = 0 ; | |
10129 | char *kwnames[] = { | |
10130 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
10131 | }; | |
10132 | ||
10133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10136 | arg2 = (int) SWIG_AsInt(obj1); | |
10137 | if (PyErr_Occurred()) SWIG_fail; | |
10138 | { | |
10139 | arg3 = wxString_in_helper(obj2); | |
10140 | if (arg3 == NULL) SWIG_fail; | |
10141 | temp3 = True; | |
10142 | } | |
10143 | { | |
10144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10145 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); | |
10146 | ||
10147 | wxPyEndAllowThreads(__tstate); | |
10148 | if (PyErr_Occurred()) SWIG_fail; | |
10149 | } | |
10150 | resultobj = SWIG_FromInt((int)result); | |
10151 | { | |
10152 | if (temp3) | |
10153 | delete arg3; | |
10154 | } | |
10155 | return resultobj; | |
10156 | fail: | |
10157 | { | |
10158 | if (temp3) | |
10159 | delete arg3; | |
10160 | } | |
10161 | return NULL; | |
10162 | } | |
10163 | ||
10164 | ||
10165 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10166 | PyObject *resultobj; | |
10167 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10168 | int arg2 ; | |
10169 | wxString *arg3 = 0 ; | |
10170 | int result; | |
10171 | bool temp3 = False ; | |
10172 | PyObject * obj0 = 0 ; | |
10173 | PyObject * obj1 = 0 ; | |
10174 | PyObject * obj2 = 0 ; | |
10175 | char *kwnames[] = { | |
10176 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
10177 | }; | |
10178 | ||
10179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10182 | arg2 = (int) SWIG_AsInt(obj1); | |
10183 | if (PyErr_Occurred()) SWIG_fail; | |
10184 | { | |
10185 | arg3 = wxString_in_helper(obj2); | |
10186 | if (arg3 == NULL) SWIG_fail; | |
10187 | temp3 = True; | |
10188 | } | |
10189 | { | |
10190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10191 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); | |
10192 | ||
10193 | wxPyEndAllowThreads(__tstate); | |
10194 | if (PyErr_Occurred()) SWIG_fail; | |
10195 | } | |
10196 | resultobj = SWIG_FromInt((int)result); | |
10197 | { | |
10198 | if (temp3) | |
10199 | delete arg3; | |
10200 | } | |
10201 | return resultobj; | |
10202 | fail: | |
10203 | { | |
10204 | if (temp3) | |
10205 | delete arg3; | |
10206 | } | |
10207 | return NULL; | |
10208 | } | |
10209 | ||
10210 | ||
10211 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10212 | PyObject *resultobj; | |
10213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10214 | int result; | |
10215 | PyObject * obj0 = 0 ; | |
10216 | char *kwnames[] = { | |
10217 | (char *) "self", NULL | |
10218 | }; | |
10219 | ||
10220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; | |
10221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10223 | { | |
10224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10225 | result = (int)(arg1)->LinesOnScreen(); | |
10226 | ||
10227 | wxPyEndAllowThreads(__tstate); | |
10228 | if (PyErr_Occurred()) SWIG_fail; | |
10229 | } | |
10230 | resultobj = SWIG_FromInt((int)result); | |
10231 | return resultobj; | |
10232 | fail: | |
10233 | return NULL; | |
10234 | } | |
10235 | ||
10236 | ||
10237 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10238 | PyObject *resultobj; | |
10239 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10240 | bool arg2 ; | |
10241 | PyObject * obj0 = 0 ; | |
10242 | PyObject * obj1 = 0 ; | |
10243 | char *kwnames[] = { | |
10244 | (char *) "self",(char *) "allowPopUp", NULL | |
10245 | }; | |
10246 | ||
10247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; | |
10248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10250 | arg2 = (bool) SWIG_AsBool(obj1); | |
10251 | if (PyErr_Occurred()) SWIG_fail; | |
10252 | { | |
10253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10254 | (arg1)->UsePopUp(arg2); | |
10255 | ||
10256 | wxPyEndAllowThreads(__tstate); | |
10257 | if (PyErr_Occurred()) SWIG_fail; | |
10258 | } | |
10259 | Py_INCREF(Py_None); resultobj = Py_None; | |
10260 | return resultobj; | |
10261 | fail: | |
10262 | return NULL; | |
10263 | } | |
10264 | ||
10265 | ||
10266 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10267 | PyObject *resultobj; | |
10268 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10269 | bool result; | |
10270 | PyObject * obj0 = 0 ; | |
10271 | char *kwnames[] = { | |
10272 | (char *) "self", NULL | |
10273 | }; | |
10274 | ||
10275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; | |
10276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10278 | { | |
10279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10280 | result = (bool)(arg1)->SelectionIsRectangle(); | |
10281 | ||
10282 | wxPyEndAllowThreads(__tstate); | |
10283 | if (PyErr_Occurred()) SWIG_fail; | |
10284 | } | |
10285 | { | |
10286 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10287 | } | |
10288 | return resultobj; | |
10289 | fail: | |
10290 | return NULL; | |
10291 | } | |
10292 | ||
10293 | ||
10294 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10295 | PyObject *resultobj; | |
10296 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10297 | int arg2 ; | |
10298 | PyObject * obj0 = 0 ; | |
10299 | PyObject * obj1 = 0 ; | |
10300 | char *kwnames[] = { | |
10301 | (char *) "self",(char *) "zoom", NULL | |
10302 | }; | |
10303 | ||
10304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
10305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10307 | arg2 = (int) SWIG_AsInt(obj1); | |
10308 | if (PyErr_Occurred()) SWIG_fail; | |
10309 | { | |
10310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10311 | (arg1)->SetZoom(arg2); | |
10312 | ||
10313 | wxPyEndAllowThreads(__tstate); | |
10314 | if (PyErr_Occurred()) SWIG_fail; | |
10315 | } | |
10316 | Py_INCREF(Py_None); resultobj = Py_None; | |
10317 | return resultobj; | |
10318 | fail: | |
10319 | return NULL; | |
10320 | } | |
10321 | ||
10322 | ||
10323 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10324 | PyObject *resultobj; | |
10325 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10326 | int result; | |
10327 | PyObject * obj0 = 0 ; | |
10328 | char *kwnames[] = { | |
10329 | (char *) "self", NULL | |
10330 | }; | |
10331 | ||
10332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; | |
10333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10335 | { | |
10336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10337 | result = (int)(arg1)->GetZoom(); | |
10338 | ||
10339 | wxPyEndAllowThreads(__tstate); | |
10340 | if (PyErr_Occurred()) SWIG_fail; | |
10341 | } | |
10342 | resultobj = SWIG_FromInt((int)result); | |
10343 | return resultobj; | |
10344 | fail: | |
10345 | return NULL; | |
10346 | } | |
10347 | ||
10348 | ||
10349 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10350 | PyObject *resultobj; | |
10351 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10352 | void *result; | |
10353 | PyObject * obj0 = 0 ; | |
10354 | char *kwnames[] = { | |
10355 | (char *) "self", NULL | |
10356 | }; | |
10357 | ||
10358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; | |
10359 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10360 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10361 | { | |
10362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10363 | result = (void *)(arg1)->CreateDocument(); | |
10364 | ||
10365 | wxPyEndAllowThreads(__tstate); | |
10366 | if (PyErr_Occurred()) SWIG_fail; | |
10367 | } | |
10368 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
10369 | return resultobj; | |
10370 | fail: | |
10371 | return NULL; | |
10372 | } | |
10373 | ||
10374 | ||
10375 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10376 | PyObject *resultobj; | |
10377 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10378 | void *arg2 = (void *) 0 ; | |
10379 | PyObject * obj0 = 0 ; | |
10380 | PyObject * obj1 = 0 ; | |
10381 | char *kwnames[] = { | |
10382 | (char *) "self",(char *) "docPointer", NULL | |
10383 | }; | |
10384 | ||
10385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; | |
10386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10388 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10389 | { | |
10390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10391 | (arg1)->AddRefDocument(arg2); | |
10392 | ||
10393 | wxPyEndAllowThreads(__tstate); | |
10394 | if (PyErr_Occurred()) SWIG_fail; | |
10395 | } | |
10396 | Py_INCREF(Py_None); resultobj = Py_None; | |
10397 | return resultobj; | |
10398 | fail: | |
10399 | return NULL; | |
10400 | } | |
10401 | ||
10402 | ||
10403 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10404 | PyObject *resultobj; | |
10405 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10406 | void *arg2 = (void *) 0 ; | |
10407 | PyObject * obj0 = 0 ; | |
10408 | PyObject * obj1 = 0 ; | |
10409 | char *kwnames[] = { | |
10410 | (char *) "self",(char *) "docPointer", NULL | |
10411 | }; | |
10412 | ||
10413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; | |
10414 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10416 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10417 | { | |
10418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10419 | (arg1)->ReleaseDocument(arg2); | |
10420 | ||
10421 | wxPyEndAllowThreads(__tstate); | |
10422 | if (PyErr_Occurred()) SWIG_fail; | |
10423 | } | |
10424 | Py_INCREF(Py_None); resultobj = Py_None; | |
10425 | return resultobj; | |
10426 | fail: | |
10427 | return NULL; | |
10428 | } | |
10429 | ||
10430 | ||
10431 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10432 | PyObject *resultobj; | |
10433 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10434 | int result; | |
10435 | PyObject * obj0 = 0 ; | |
10436 | char *kwnames[] = { | |
10437 | (char *) "self", NULL | |
10438 | }; | |
10439 | ||
10440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; | |
10441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10443 | { | |
10444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10445 | result = (int)(arg1)->GetModEventMask(); | |
10446 | ||
10447 | wxPyEndAllowThreads(__tstate); | |
10448 | if (PyErr_Occurred()) SWIG_fail; | |
10449 | } | |
10450 | resultobj = SWIG_FromInt((int)result); | |
10451 | return resultobj; | |
10452 | fail: | |
10453 | return NULL; | |
10454 | } | |
10455 | ||
10456 | ||
10457 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10458 | PyObject *resultobj; | |
10459 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10460 | bool arg2 ; | |
10461 | PyObject * obj0 = 0 ; | |
10462 | PyObject * obj1 = 0 ; | |
10463 | char *kwnames[] = { | |
10464 | (char *) "self",(char *) "focus", NULL | |
10465 | }; | |
10466 | ||
10467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; | |
10468 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10469 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10470 | arg2 = (bool) SWIG_AsBool(obj1); | |
10471 | if (PyErr_Occurred()) SWIG_fail; | |
10472 | { | |
10473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10474 | (arg1)->SetSTCFocus(arg2); | |
10475 | ||
10476 | wxPyEndAllowThreads(__tstate); | |
10477 | if (PyErr_Occurred()) SWIG_fail; | |
10478 | } | |
10479 | Py_INCREF(Py_None); resultobj = Py_None; | |
10480 | return resultobj; | |
10481 | fail: | |
10482 | return NULL; | |
10483 | } | |
10484 | ||
10485 | ||
10486 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10487 | PyObject *resultobj; | |
10488 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10489 | bool result; | |
10490 | PyObject * obj0 = 0 ; | |
10491 | char *kwnames[] = { | |
10492 | (char *) "self", NULL | |
10493 | }; | |
10494 | ||
10495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; | |
10496 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10498 | { | |
10499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10500 | result = (bool)(arg1)->GetSTCFocus(); | |
10501 | ||
10502 | wxPyEndAllowThreads(__tstate); | |
10503 | if (PyErr_Occurred()) SWIG_fail; | |
10504 | } | |
10505 | { | |
10506 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10507 | } | |
10508 | return resultobj; | |
10509 | fail: | |
10510 | return NULL; | |
10511 | } | |
10512 | ||
10513 | ||
10514 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10515 | PyObject *resultobj; | |
10516 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10517 | int arg2 ; | |
10518 | PyObject * obj0 = 0 ; | |
10519 | PyObject * obj1 = 0 ; | |
10520 | char *kwnames[] = { | |
10521 | (char *) "self",(char *) "statusCode", NULL | |
10522 | }; | |
10523 | ||
10524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; | |
10525 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10526 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10527 | arg2 = (int) SWIG_AsInt(obj1); | |
10528 | if (PyErr_Occurred()) SWIG_fail; | |
10529 | { | |
10530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10531 | (arg1)->SetStatus(arg2); | |
10532 | ||
10533 | wxPyEndAllowThreads(__tstate); | |
10534 | if (PyErr_Occurred()) SWIG_fail; | |
10535 | } | |
10536 | Py_INCREF(Py_None); resultobj = Py_None; | |
10537 | return resultobj; | |
10538 | fail: | |
10539 | return NULL; | |
10540 | } | |
10541 | ||
10542 | ||
10543 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10544 | PyObject *resultobj; | |
10545 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10546 | int result; | |
10547 | PyObject * obj0 = 0 ; | |
10548 | char *kwnames[] = { | |
10549 | (char *) "self", NULL | |
10550 | }; | |
10551 | ||
10552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; | |
10553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10555 | { | |
10556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10557 | result = (int)(arg1)->GetStatus(); | |
10558 | ||
10559 | wxPyEndAllowThreads(__tstate); | |
10560 | if (PyErr_Occurred()) SWIG_fail; | |
10561 | } | |
10562 | resultobj = SWIG_FromInt((int)result); | |
10563 | return resultobj; | |
10564 | fail: | |
10565 | return NULL; | |
10566 | } | |
10567 | ||
10568 | ||
10569 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10570 | PyObject *resultobj; | |
10571 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10572 | bool arg2 ; | |
10573 | PyObject * obj0 = 0 ; | |
10574 | PyObject * obj1 = 0 ; | |
10575 | char *kwnames[] = { | |
10576 | (char *) "self",(char *) "captures", NULL | |
10577 | }; | |
10578 | ||
10579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; | |
10580 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10581 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10582 | arg2 = (bool) SWIG_AsBool(obj1); | |
10583 | if (PyErr_Occurred()) SWIG_fail; | |
10584 | { | |
10585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10586 | (arg1)->SetMouseDownCaptures(arg2); | |
10587 | ||
10588 | wxPyEndAllowThreads(__tstate); | |
10589 | if (PyErr_Occurred()) SWIG_fail; | |
10590 | } | |
10591 | Py_INCREF(Py_None); resultobj = Py_None; | |
10592 | return resultobj; | |
10593 | fail: | |
10594 | return NULL; | |
10595 | } | |
10596 | ||
10597 | ||
10598 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10599 | PyObject *resultobj; | |
10600 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10601 | bool result; | |
10602 | PyObject * obj0 = 0 ; | |
10603 | char *kwnames[] = { | |
10604 | (char *) "self", NULL | |
10605 | }; | |
10606 | ||
10607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; | |
10608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10610 | { | |
10611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10612 | result = (bool)(arg1)->GetMouseDownCaptures(); | |
10613 | ||
10614 | wxPyEndAllowThreads(__tstate); | |
10615 | if (PyErr_Occurred()) SWIG_fail; | |
10616 | } | |
10617 | { | |
10618 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10619 | } | |
10620 | return resultobj; | |
10621 | fail: | |
10622 | return NULL; | |
10623 | } | |
10624 | ||
10625 | ||
10626 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10627 | PyObject *resultobj; | |
10628 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10629 | int arg2 ; | |
10630 | PyObject * obj0 = 0 ; | |
10631 | PyObject * obj1 = 0 ; | |
10632 | char *kwnames[] = { | |
10633 | (char *) "self",(char *) "cursorType", NULL | |
10634 | }; | |
10635 | ||
10636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; | |
10637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10639 | arg2 = (int) SWIG_AsInt(obj1); | |
10640 | if (PyErr_Occurred()) SWIG_fail; | |
10641 | { | |
10642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10643 | (arg1)->SetSTCCursor(arg2); | |
10644 | ||
10645 | wxPyEndAllowThreads(__tstate); | |
10646 | if (PyErr_Occurred()) SWIG_fail; | |
10647 | } | |
10648 | Py_INCREF(Py_None); resultobj = Py_None; | |
10649 | return resultobj; | |
10650 | fail: | |
10651 | return NULL; | |
10652 | } | |
10653 | ||
10654 | ||
10655 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10656 | PyObject *resultobj; | |
10657 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10658 | int result; | |
10659 | PyObject * obj0 = 0 ; | |
10660 | char *kwnames[] = { | |
10661 | (char *) "self", NULL | |
10662 | }; | |
10663 | ||
10664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; | |
10665 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10666 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10667 | { | |
10668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10669 | result = (int)(arg1)->GetSTCCursor(); | |
10670 | ||
10671 | wxPyEndAllowThreads(__tstate); | |
10672 | if (PyErr_Occurred()) SWIG_fail; | |
10673 | } | |
10674 | resultobj = SWIG_FromInt((int)result); | |
10675 | return resultobj; | |
10676 | fail: | |
10677 | return NULL; | |
10678 | } | |
10679 | ||
10680 | ||
10681 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10682 | PyObject *resultobj; | |
10683 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10684 | int arg2 ; | |
10685 | PyObject * obj0 = 0 ; | |
10686 | PyObject * obj1 = 0 ; | |
10687 | char *kwnames[] = { | |
10688 | (char *) "self",(char *) "symbol", NULL | |
10689 | }; | |
10690 | ||
10691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; | |
10692 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10693 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10694 | arg2 = (int) SWIG_AsInt(obj1); | |
10695 | if (PyErr_Occurred()) SWIG_fail; | |
10696 | { | |
10697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10698 | (arg1)->SetControlCharSymbol(arg2); | |
10699 | ||
10700 | wxPyEndAllowThreads(__tstate); | |
10701 | if (PyErr_Occurred()) SWIG_fail; | |
10702 | } | |
10703 | Py_INCREF(Py_None); resultobj = Py_None; | |
10704 | return resultobj; | |
10705 | fail: | |
10706 | return NULL; | |
10707 | } | |
10708 | ||
10709 | ||
10710 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10711 | PyObject *resultobj; | |
10712 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10713 | int result; | |
10714 | PyObject * obj0 = 0 ; | |
10715 | char *kwnames[] = { | |
10716 | (char *) "self", NULL | |
10717 | }; | |
10718 | ||
10719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; | |
10720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10722 | { | |
10723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10724 | result = (int)(arg1)->GetControlCharSymbol(); | |
10725 | ||
10726 | wxPyEndAllowThreads(__tstate); | |
10727 | if (PyErr_Occurred()) SWIG_fail; | |
10728 | } | |
10729 | resultobj = SWIG_FromInt((int)result); | |
10730 | return resultobj; | |
10731 | fail: | |
10732 | return NULL; | |
10733 | } | |
10734 | ||
10735 | ||
10736 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10737 | PyObject *resultobj; | |
10738 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10739 | PyObject * obj0 = 0 ; | |
10740 | char *kwnames[] = { | |
10741 | (char *) "self", NULL | |
10742 | }; | |
10743 | ||
10744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; | |
10745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10747 | { | |
10748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10749 | (arg1)->WordPartLeft(); | |
10750 | ||
10751 | wxPyEndAllowThreads(__tstate); | |
10752 | if (PyErr_Occurred()) SWIG_fail; | |
10753 | } | |
10754 | Py_INCREF(Py_None); resultobj = Py_None; | |
10755 | return resultobj; | |
10756 | fail: | |
10757 | return NULL; | |
10758 | } | |
10759 | ||
10760 | ||
10761 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10762 | PyObject *resultobj; | |
10763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10764 | PyObject * obj0 = 0 ; | |
10765 | char *kwnames[] = { | |
10766 | (char *) "self", NULL | |
10767 | }; | |
10768 | ||
10769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; | |
10770 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10771 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10772 | { | |
10773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10774 | (arg1)->WordPartLeftExtend(); | |
10775 | ||
10776 | wxPyEndAllowThreads(__tstate); | |
10777 | if (PyErr_Occurred()) SWIG_fail; | |
10778 | } | |
10779 | Py_INCREF(Py_None); resultobj = Py_None; | |
10780 | return resultobj; | |
10781 | fail: | |
10782 | return NULL; | |
10783 | } | |
10784 | ||
10785 | ||
10786 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10787 | PyObject *resultobj; | |
10788 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10789 | PyObject * obj0 = 0 ; | |
10790 | char *kwnames[] = { | |
10791 | (char *) "self", NULL | |
10792 | }; | |
10793 | ||
10794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; | |
10795 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10796 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10797 | { | |
10798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10799 | (arg1)->WordPartRight(); | |
10800 | ||
10801 | wxPyEndAllowThreads(__tstate); | |
10802 | if (PyErr_Occurred()) SWIG_fail; | |
10803 | } | |
10804 | Py_INCREF(Py_None); resultobj = Py_None; | |
10805 | return resultobj; | |
10806 | fail: | |
10807 | return NULL; | |
10808 | } | |
10809 | ||
10810 | ||
10811 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10812 | PyObject *resultobj; | |
10813 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10814 | PyObject * obj0 = 0 ; | |
10815 | char *kwnames[] = { | |
10816 | (char *) "self", NULL | |
10817 | }; | |
10818 | ||
10819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; | |
10820 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10821 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10822 | { | |
10823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10824 | (arg1)->WordPartRightExtend(); | |
10825 | ||
10826 | wxPyEndAllowThreads(__tstate); | |
10827 | if (PyErr_Occurred()) SWIG_fail; | |
10828 | } | |
10829 | Py_INCREF(Py_None); resultobj = Py_None; | |
10830 | return resultobj; | |
10831 | fail: | |
10832 | return NULL; | |
10833 | } | |
10834 | ||
10835 | ||
10836 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10837 | PyObject *resultobj; | |
10838 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10839 | int arg2 ; | |
10840 | int arg3 ; | |
10841 | PyObject * obj0 = 0 ; | |
10842 | PyObject * obj1 = 0 ; | |
10843 | PyObject * obj2 = 0 ; | |
10844 | char *kwnames[] = { | |
10845 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL | |
10846 | }; | |
10847 | ||
10848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10851 | arg2 = (int) SWIG_AsInt(obj1); | |
10852 | if (PyErr_Occurred()) SWIG_fail; | |
10853 | arg3 = (int) SWIG_AsInt(obj2); | |
10854 | if (PyErr_Occurred()) SWIG_fail; | |
10855 | { | |
10856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10857 | (arg1)->SetVisiblePolicy(arg2,arg3); | |
10858 | ||
10859 | wxPyEndAllowThreads(__tstate); | |
10860 | if (PyErr_Occurred()) SWIG_fail; | |
10861 | } | |
10862 | Py_INCREF(Py_None); resultobj = Py_None; | |
10863 | return resultobj; | |
10864 | fail: | |
10865 | return NULL; | |
10866 | } | |
10867 | ||
10868 | ||
10869 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10870 | PyObject *resultobj; | |
10871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10872 | PyObject * obj0 = 0 ; | |
10873 | char *kwnames[] = { | |
10874 | (char *) "self", NULL | |
10875 | }; | |
10876 | ||
10877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; | |
10878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10880 | { | |
10881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10882 | (arg1)->DelLineLeft(); | |
10883 | ||
10884 | wxPyEndAllowThreads(__tstate); | |
10885 | if (PyErr_Occurred()) SWIG_fail; | |
10886 | } | |
10887 | Py_INCREF(Py_None); resultobj = Py_None; | |
10888 | return resultobj; | |
10889 | fail: | |
10890 | return NULL; | |
10891 | } | |
10892 | ||
10893 | ||
10894 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10895 | PyObject *resultobj; | |
10896 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10897 | PyObject * obj0 = 0 ; | |
10898 | char *kwnames[] = { | |
10899 | (char *) "self", NULL | |
10900 | }; | |
10901 | ||
10902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; | |
10903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10905 | { | |
10906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10907 | (arg1)->DelLineRight(); | |
10908 | ||
10909 | wxPyEndAllowThreads(__tstate); | |
10910 | if (PyErr_Occurred()) SWIG_fail; | |
10911 | } | |
10912 | Py_INCREF(Py_None); resultobj = Py_None; | |
10913 | return resultobj; | |
10914 | fail: | |
10915 | return NULL; | |
10916 | } | |
10917 | ||
10918 | ||
10919 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10920 | PyObject *resultobj; | |
10921 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10922 | int arg2 ; | |
10923 | PyObject * obj0 = 0 ; | |
10924 | PyObject * obj1 = 0 ; | |
10925 | char *kwnames[] = { | |
10926 | (char *) "self",(char *) "newOffset", NULL | |
10927 | }; | |
10928 | ||
10929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; | |
10930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10932 | arg2 = (int) SWIG_AsInt(obj1); | |
10933 | if (PyErr_Occurred()) SWIG_fail; | |
10934 | { | |
10935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10936 | (arg1)->SetXOffset(arg2); | |
10937 | ||
10938 | wxPyEndAllowThreads(__tstate); | |
10939 | if (PyErr_Occurred()) SWIG_fail; | |
10940 | } | |
10941 | Py_INCREF(Py_None); resultobj = Py_None; | |
10942 | return resultobj; | |
10943 | fail: | |
10944 | return NULL; | |
10945 | } | |
10946 | ||
10947 | ||
10948 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10949 | PyObject *resultobj; | |
10950 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10951 | int result; | |
10952 | PyObject * obj0 = 0 ; | |
10953 | char *kwnames[] = { | |
10954 | (char *) "self", NULL | |
10955 | }; | |
10956 | ||
10957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; | |
10958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10960 | { | |
10961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10962 | result = (int)(arg1)->GetXOffset(); | |
10963 | ||
10964 | wxPyEndAllowThreads(__tstate); | |
10965 | if (PyErr_Occurred()) SWIG_fail; | |
10966 | } | |
10967 | resultobj = SWIG_FromInt((int)result); | |
10968 | return resultobj; | |
10969 | fail: | |
10970 | return NULL; | |
10971 | } | |
10972 | ||
10973 | ||
10974 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10975 | PyObject *resultobj; | |
10976 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10977 | PyObject * obj0 = 0 ; | |
10978 | char *kwnames[] = { | |
10979 | (char *) "self", NULL | |
10980 | }; | |
10981 | ||
10982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; | |
10983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10985 | { | |
10986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10987 | (arg1)->ChooseCaretX(); | |
10988 | ||
10989 | wxPyEndAllowThreads(__tstate); | |
10990 | if (PyErr_Occurred()) SWIG_fail; | |
10991 | } | |
10992 | Py_INCREF(Py_None); resultobj = Py_None; | |
10993 | return resultobj; | |
10994 | fail: | |
10995 | return NULL; | |
10996 | } | |
10997 | ||
10998 | ||
10999 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11000 | PyObject *resultobj; | |
11001 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11002 | int arg2 ; | |
11003 | int arg3 ; | |
11004 | PyObject * obj0 = 0 ; | |
11005 | PyObject * obj1 = 0 ; | |
11006 | PyObject * obj2 = 0 ; | |
11007 | char *kwnames[] = { | |
11008 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
11009 | }; | |
11010 | ||
11011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11014 | arg2 = (int) SWIG_AsInt(obj1); | |
11015 | if (PyErr_Occurred()) SWIG_fail; | |
11016 | arg3 = (int) SWIG_AsInt(obj2); | |
11017 | if (PyErr_Occurred()) SWIG_fail; | |
11018 | { | |
11019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11020 | (arg1)->SetXCaretPolicy(arg2,arg3); | |
11021 | ||
11022 | wxPyEndAllowThreads(__tstate); | |
11023 | if (PyErr_Occurred()) SWIG_fail; | |
11024 | } | |
11025 | Py_INCREF(Py_None); resultobj = Py_None; | |
11026 | return resultobj; | |
11027 | fail: | |
11028 | return NULL; | |
11029 | } | |
11030 | ||
11031 | ||
11032 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11033 | PyObject *resultobj; | |
11034 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11035 | int arg2 ; | |
11036 | int arg3 ; | |
11037 | PyObject * obj0 = 0 ; | |
11038 | PyObject * obj1 = 0 ; | |
11039 | PyObject * obj2 = 0 ; | |
11040 | char *kwnames[] = { | |
11041 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
11042 | }; | |
11043 | ||
11044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11045 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11047 | arg2 = (int) SWIG_AsInt(obj1); | |
11048 | if (PyErr_Occurred()) SWIG_fail; | |
11049 | arg3 = (int) SWIG_AsInt(obj2); | |
11050 | if (PyErr_Occurred()) SWIG_fail; | |
11051 | { | |
11052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11053 | (arg1)->SetYCaretPolicy(arg2,arg3); | |
11054 | ||
11055 | wxPyEndAllowThreads(__tstate); | |
11056 | if (PyErr_Occurred()) SWIG_fail; | |
11057 | } | |
11058 | Py_INCREF(Py_None); resultobj = Py_None; | |
11059 | return resultobj; | |
11060 | fail: | |
11061 | return NULL; | |
11062 | } | |
11063 | ||
11064 | ||
11065 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11066 | PyObject *resultobj; | |
11067 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11068 | int arg2 ; | |
11069 | PyObject * obj0 = 0 ; | |
11070 | PyObject * obj1 = 0 ; | |
11071 | char *kwnames[] = { | |
11072 | (char *) "self",(char *) "mode", NULL | |
11073 | }; | |
11074 | ||
11075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
11076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11078 | arg2 = (int) SWIG_AsInt(obj1); | |
11079 | if (PyErr_Occurred()) SWIG_fail; | |
11080 | { | |
11081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11082 | (arg1)->SetPrintWrapMode(arg2); | |
11083 | ||
11084 | wxPyEndAllowThreads(__tstate); | |
11085 | if (PyErr_Occurred()) SWIG_fail; | |
11086 | } | |
11087 | Py_INCREF(Py_None); resultobj = Py_None; | |
11088 | return resultobj; | |
11089 | fail: | |
11090 | return NULL; | |
11091 | } | |
11092 | ||
11093 | ||
11094 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11095 | PyObject *resultobj; | |
11096 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11097 | int result; | |
11098 | PyObject * obj0 = 0 ; | |
11099 | char *kwnames[] = { | |
11100 | (char *) "self", NULL | |
11101 | }; | |
11102 | ||
11103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; | |
11104 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11105 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11106 | { | |
11107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11108 | result = (int)(arg1)->GetPrintWrapMode(); | |
11109 | ||
11110 | wxPyEndAllowThreads(__tstate); | |
11111 | if (PyErr_Occurred()) SWIG_fail; | |
11112 | } | |
11113 | resultobj = SWIG_FromInt((int)result); | |
11114 | return resultobj; | |
11115 | fail: | |
11116 | return NULL; | |
11117 | } | |
11118 | ||
11119 | ||
11120 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11121 | PyObject *resultobj; | |
11122 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11123 | bool arg2 ; | |
11124 | wxColour *arg3 = 0 ; | |
11125 | wxColour temp3 ; | |
11126 | PyObject * obj0 = 0 ; | |
11127 | PyObject * obj1 = 0 ; | |
11128 | PyObject * obj2 = 0 ; | |
11129 | char *kwnames[] = { | |
11130 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
11131 | }; | |
11132 | ||
11133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11136 | arg2 = (bool) SWIG_AsBool(obj1); | |
11137 | if (PyErr_Occurred()) SWIG_fail; | |
11138 | { | |
11139 | arg3 = &temp3; | |
11140 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11141 | } | |
11142 | { | |
11143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11144 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); | |
11145 | ||
11146 | wxPyEndAllowThreads(__tstate); | |
11147 | if (PyErr_Occurred()) SWIG_fail; | |
11148 | } | |
11149 | Py_INCREF(Py_None); resultobj = Py_None; | |
11150 | return resultobj; | |
11151 | fail: | |
11152 | return NULL; | |
11153 | } | |
11154 | ||
11155 | ||
11156 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11157 | PyObject *resultobj; | |
11158 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11159 | bool arg2 ; | |
11160 | wxColour *arg3 = 0 ; | |
11161 | wxColour temp3 ; | |
11162 | PyObject * obj0 = 0 ; | |
11163 | PyObject * obj1 = 0 ; | |
11164 | PyObject * obj2 = 0 ; | |
11165 | char *kwnames[] = { | |
11166 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
11167 | }; | |
11168 | ||
11169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11172 | arg2 = (bool) SWIG_AsBool(obj1); | |
11173 | if (PyErr_Occurred()) SWIG_fail; | |
11174 | { | |
11175 | arg3 = &temp3; | |
11176 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11177 | } | |
11178 | { | |
11179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11180 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); | |
11181 | ||
11182 | wxPyEndAllowThreads(__tstate); | |
11183 | if (PyErr_Occurred()) SWIG_fail; | |
11184 | } | |
11185 | Py_INCREF(Py_None); resultobj = Py_None; | |
11186 | return resultobj; | |
11187 | fail: | |
11188 | return NULL; | |
11189 | } | |
11190 | ||
11191 | ||
11192 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11193 | PyObject *resultobj; | |
11194 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11195 | bool arg2 ; | |
11196 | PyObject * obj0 = 0 ; | |
11197 | PyObject * obj1 = 0 ; | |
11198 | char *kwnames[] = { | |
11199 | (char *) "self",(char *) "underline", NULL | |
11200 | }; | |
11201 | ||
11202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; | |
11203 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11205 | arg2 = (bool) SWIG_AsBool(obj1); | |
11206 | if (PyErr_Occurred()) SWIG_fail; | |
11207 | { | |
11208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11209 | (arg1)->SetHotspotActiveUnderline(arg2); | |
11210 | ||
11211 | wxPyEndAllowThreads(__tstate); | |
11212 | if (PyErr_Occurred()) SWIG_fail; | |
11213 | } | |
11214 | Py_INCREF(Py_None); resultobj = Py_None; | |
11215 | return resultobj; | |
11216 | fail: | |
11217 | return NULL; | |
11218 | } | |
11219 | ||
11220 | ||
11221 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11222 | PyObject *resultobj; | |
11223 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11224 | bool arg2 ; | |
11225 | PyObject * obj0 = 0 ; | |
11226 | PyObject * obj1 = 0 ; | |
11227 | char *kwnames[] = { | |
11228 | (char *) "self",(char *) "singleLine", NULL | |
11229 | }; | |
11230 | ||
11231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; | |
11232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11234 | arg2 = (bool) SWIG_AsBool(obj1); | |
11235 | if (PyErr_Occurred()) SWIG_fail; | |
11236 | { | |
11237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11238 | (arg1)->SetHotspotSingleLine(arg2); | |
11239 | ||
11240 | wxPyEndAllowThreads(__tstate); | |
11241 | if (PyErr_Occurred()) SWIG_fail; | |
11242 | } | |
11243 | Py_INCREF(Py_None); resultobj = Py_None; | |
11244 | return resultobj; | |
11245 | fail: | |
11246 | return NULL; | |
11247 | } | |
11248 | ||
11249 | ||
11250 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11251 | PyObject *resultobj; | |
11252 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11253 | PyObject * obj0 = 0 ; | |
11254 | char *kwnames[] = { | |
11255 | (char *) "self", NULL | |
11256 | }; | |
11257 | ||
11258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; | |
11259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11261 | { | |
11262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11263 | (arg1)->ParaDown(); | |
11264 | ||
11265 | wxPyEndAllowThreads(__tstate); | |
11266 | if (PyErr_Occurred()) SWIG_fail; | |
11267 | } | |
11268 | Py_INCREF(Py_None); resultobj = Py_None; | |
11269 | return resultobj; | |
11270 | fail: | |
11271 | return NULL; | |
11272 | } | |
11273 | ||
11274 | ||
11275 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11276 | PyObject *resultobj; | |
11277 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11278 | PyObject * obj0 = 0 ; | |
11279 | char *kwnames[] = { | |
11280 | (char *) "self", NULL | |
11281 | }; | |
11282 | ||
11283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; | |
11284 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11285 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11286 | { | |
11287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11288 | (arg1)->ParaDownExtend(); | |
11289 | ||
11290 | wxPyEndAllowThreads(__tstate); | |
11291 | if (PyErr_Occurred()) SWIG_fail; | |
11292 | } | |
11293 | Py_INCREF(Py_None); resultobj = Py_None; | |
11294 | return resultobj; | |
11295 | fail: | |
11296 | return NULL; | |
11297 | } | |
11298 | ||
11299 | ||
11300 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11301 | PyObject *resultobj; | |
11302 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11303 | PyObject * obj0 = 0 ; | |
11304 | char *kwnames[] = { | |
11305 | (char *) "self", NULL | |
11306 | }; | |
11307 | ||
11308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; | |
11309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11311 | { | |
11312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11313 | (arg1)->ParaUp(); | |
11314 | ||
11315 | wxPyEndAllowThreads(__tstate); | |
11316 | if (PyErr_Occurred()) SWIG_fail; | |
11317 | } | |
11318 | Py_INCREF(Py_None); resultobj = Py_None; | |
11319 | return resultobj; | |
11320 | fail: | |
11321 | return NULL; | |
11322 | } | |
11323 | ||
11324 | ||
11325 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11326 | PyObject *resultobj; | |
11327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11328 | PyObject * obj0 = 0 ; | |
11329 | char *kwnames[] = { | |
11330 | (char *) "self", NULL | |
11331 | }; | |
11332 | ||
11333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; | |
11334 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11335 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11336 | { | |
11337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11338 | (arg1)->ParaUpExtend(); | |
11339 | ||
11340 | wxPyEndAllowThreads(__tstate); | |
11341 | if (PyErr_Occurred()) SWIG_fail; | |
11342 | } | |
11343 | Py_INCREF(Py_None); resultobj = Py_None; | |
11344 | return resultobj; | |
11345 | fail: | |
11346 | return NULL; | |
11347 | } | |
11348 | ||
11349 | ||
11350 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11351 | PyObject *resultobj; | |
11352 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11353 | int arg2 ; | |
11354 | int result; | |
11355 | PyObject * obj0 = 0 ; | |
11356 | PyObject * obj1 = 0 ; | |
11357 | char *kwnames[] = { | |
11358 | (char *) "self",(char *) "pos", NULL | |
11359 | }; | |
11360 | ||
11361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; | |
11362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11364 | arg2 = (int) SWIG_AsInt(obj1); | |
11365 | if (PyErr_Occurred()) SWIG_fail; | |
11366 | { | |
11367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11368 | result = (int)(arg1)->PositionBefore(arg2); | |
11369 | ||
11370 | wxPyEndAllowThreads(__tstate); | |
11371 | if (PyErr_Occurred()) SWIG_fail; | |
11372 | } | |
11373 | resultobj = SWIG_FromInt((int)result); | |
11374 | return resultobj; | |
11375 | fail: | |
11376 | return NULL; | |
11377 | } | |
11378 | ||
11379 | ||
11380 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11381 | PyObject *resultobj; | |
11382 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11383 | int arg2 ; | |
11384 | int result; | |
11385 | PyObject * obj0 = 0 ; | |
11386 | PyObject * obj1 = 0 ; | |
11387 | char *kwnames[] = { | |
11388 | (char *) "self",(char *) "pos", NULL | |
11389 | }; | |
11390 | ||
11391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; | |
11392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11394 | arg2 = (int) SWIG_AsInt(obj1); | |
11395 | if (PyErr_Occurred()) SWIG_fail; | |
11396 | { | |
11397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11398 | result = (int)(arg1)->PositionAfter(arg2); | |
11399 | ||
11400 | wxPyEndAllowThreads(__tstate); | |
11401 | if (PyErr_Occurred()) SWIG_fail; | |
11402 | } | |
11403 | resultobj = SWIG_FromInt((int)result); | |
11404 | return resultobj; | |
11405 | fail: | |
11406 | return NULL; | |
11407 | } | |
11408 | ||
11409 | ||
11410 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11411 | PyObject *resultobj; | |
11412 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11413 | int arg2 ; | |
11414 | int arg3 ; | |
11415 | PyObject * obj0 = 0 ; | |
11416 | PyObject * obj1 = 0 ; | |
11417 | PyObject * obj2 = 0 ; | |
11418 | char *kwnames[] = { | |
11419 | (char *) "self",(char *) "start",(char *) "end", NULL | |
11420 | }; | |
11421 | ||
11422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11425 | arg2 = (int) SWIG_AsInt(obj1); | |
11426 | if (PyErr_Occurred()) SWIG_fail; | |
11427 | arg3 = (int) SWIG_AsInt(obj2); | |
11428 | if (PyErr_Occurred()) SWIG_fail; | |
11429 | { | |
11430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11431 | (arg1)->CopyRange(arg2,arg3); | |
11432 | ||
11433 | wxPyEndAllowThreads(__tstate); | |
11434 | if (PyErr_Occurred()) SWIG_fail; | |
11435 | } | |
11436 | Py_INCREF(Py_None); resultobj = Py_None; | |
11437 | return resultobj; | |
11438 | fail: | |
11439 | return NULL; | |
11440 | } | |
11441 | ||
11442 | ||
11443 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11444 | PyObject *resultobj; | |
11445 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11446 | int arg2 ; | |
11447 | wxString *arg3 = 0 ; | |
11448 | bool temp3 = False ; | |
11449 | PyObject * obj0 = 0 ; | |
11450 | PyObject * obj1 = 0 ; | |
11451 | PyObject * obj2 = 0 ; | |
11452 | char *kwnames[] = { | |
11453 | (char *) "self",(char *) "length",(char *) "text", NULL | |
11454 | }; | |
11455 | ||
11456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11457 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11459 | arg2 = (int) SWIG_AsInt(obj1); | |
11460 | if (PyErr_Occurred()) SWIG_fail; | |
11461 | { | |
11462 | arg3 = wxString_in_helper(obj2); | |
11463 | if (arg3 == NULL) SWIG_fail; | |
11464 | temp3 = True; | |
11465 | } | |
11466 | { | |
11467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11468 | (arg1)->CopyText(arg2,(wxString const &)*arg3); | |
11469 | ||
11470 | wxPyEndAllowThreads(__tstate); | |
11471 | if (PyErr_Occurred()) SWIG_fail; | |
11472 | } | |
11473 | Py_INCREF(Py_None); resultobj = Py_None; | |
11474 | { | |
11475 | if (temp3) | |
11476 | delete arg3; | |
11477 | } | |
11478 | return resultobj; | |
11479 | fail: | |
11480 | { | |
11481 | if (temp3) | |
11482 | delete arg3; | |
11483 | } | |
11484 | return NULL; | |
11485 | } | |
11486 | ||
11487 | ||
11488 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11489 | PyObject *resultobj; | |
11490 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11491 | int arg2 ; | |
11492 | PyObject * obj0 = 0 ; | |
11493 | PyObject * obj1 = 0 ; | |
11494 | char *kwnames[] = { | |
11495 | (char *) "self",(char *) "mode", NULL | |
11496 | }; | |
11497 | ||
11498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; | |
11499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11501 | arg2 = (int) SWIG_AsInt(obj1); | |
11502 | if (PyErr_Occurred()) SWIG_fail; | |
11503 | { | |
11504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11505 | (arg1)->SetSelectionMode(arg2); | |
11506 | ||
11507 | wxPyEndAllowThreads(__tstate); | |
11508 | if (PyErr_Occurred()) SWIG_fail; | |
11509 | } | |
11510 | Py_INCREF(Py_None); resultobj = Py_None; | |
11511 | return resultobj; | |
11512 | fail: | |
11513 | return NULL; | |
11514 | } | |
11515 | ||
11516 | ||
11517 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11518 | PyObject *resultobj; | |
11519 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11520 | int result; | |
11521 | PyObject * obj0 = 0 ; | |
11522 | char *kwnames[] = { | |
11523 | (char *) "self", NULL | |
11524 | }; | |
11525 | ||
11526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; | |
11527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11529 | { | |
11530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11531 | result = (int)(arg1)->GetSelectionMode(); | |
11532 | ||
11533 | wxPyEndAllowThreads(__tstate); | |
11534 | if (PyErr_Occurred()) SWIG_fail; | |
11535 | } | |
11536 | resultobj = SWIG_FromInt((int)result); | |
11537 | return resultobj; | |
11538 | fail: | |
11539 | return NULL; | |
11540 | } | |
11541 | ||
11542 | ||
11543 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11544 | PyObject *resultobj; | |
11545 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11546 | int arg2 ; | |
11547 | int result; | |
11548 | PyObject * obj0 = 0 ; | |
11549 | PyObject * obj1 = 0 ; | |
11550 | char *kwnames[] = { | |
11551 | (char *) "self",(char *) "line", NULL | |
11552 | }; | |
11553 | ||
11554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; | |
11555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11557 | arg2 = (int) SWIG_AsInt(obj1); | |
11558 | if (PyErr_Occurred()) SWIG_fail; | |
11559 | { | |
11560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11561 | result = (int)(arg1)->GetLineSelStartPosition(arg2); | |
11562 | ||
11563 | wxPyEndAllowThreads(__tstate); | |
11564 | if (PyErr_Occurred()) SWIG_fail; | |
11565 | } | |
11566 | resultobj = SWIG_FromInt((int)result); | |
11567 | return resultobj; | |
11568 | fail: | |
11569 | return NULL; | |
11570 | } | |
11571 | ||
11572 | ||
11573 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11574 | PyObject *resultobj; | |
11575 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11576 | int arg2 ; | |
11577 | int result; | |
11578 | PyObject * obj0 = 0 ; | |
11579 | PyObject * obj1 = 0 ; | |
11580 | char *kwnames[] = { | |
11581 | (char *) "self",(char *) "line", NULL | |
11582 | }; | |
11583 | ||
11584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
11585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11587 | arg2 = (int) SWIG_AsInt(obj1); | |
11588 | if (PyErr_Occurred()) SWIG_fail; | |
11589 | { | |
11590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11591 | result = (int)(arg1)->GetLineSelEndPosition(arg2); | |
11592 | ||
11593 | wxPyEndAllowThreads(__tstate); | |
11594 | if (PyErr_Occurred()) SWIG_fail; | |
11595 | } | |
11596 | resultobj = SWIG_FromInt((int)result); | |
11597 | return resultobj; | |
11598 | fail: | |
11599 | return NULL; | |
11600 | } | |
11601 | ||
11602 | ||
11603 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11604 | PyObject *resultobj; | |
11605 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11606 | PyObject * obj0 = 0 ; | |
11607 | char *kwnames[] = { | |
11608 | (char *) "self", NULL | |
11609 | }; | |
11610 | ||
11611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; | |
11612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11614 | { | |
11615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11616 | (arg1)->LineDownRectExtend(); | |
11617 | ||
11618 | wxPyEndAllowThreads(__tstate); | |
11619 | if (PyErr_Occurred()) SWIG_fail; | |
11620 | } | |
11621 | Py_INCREF(Py_None); resultobj = Py_None; | |
11622 | return resultobj; | |
11623 | fail: | |
11624 | return NULL; | |
11625 | } | |
11626 | ||
11627 | ||
11628 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11629 | PyObject *resultobj; | |
11630 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11631 | PyObject * obj0 = 0 ; | |
11632 | char *kwnames[] = { | |
11633 | (char *) "self", NULL | |
11634 | }; | |
11635 | ||
11636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; | |
11637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11639 | { | |
11640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11641 | (arg1)->LineUpRectExtend(); | |
11642 | ||
11643 | wxPyEndAllowThreads(__tstate); | |
11644 | if (PyErr_Occurred()) SWIG_fail; | |
11645 | } | |
11646 | Py_INCREF(Py_None); resultobj = Py_None; | |
11647 | return resultobj; | |
11648 | fail: | |
11649 | return NULL; | |
11650 | } | |
11651 | ||
11652 | ||
11653 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11654 | PyObject *resultobj; | |
11655 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11656 | PyObject * obj0 = 0 ; | |
11657 | char *kwnames[] = { | |
11658 | (char *) "self", NULL | |
11659 | }; | |
11660 | ||
11661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; | |
11662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11664 | { | |
11665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11666 | (arg1)->CharLeftRectExtend(); | |
11667 | ||
11668 | wxPyEndAllowThreads(__tstate); | |
11669 | if (PyErr_Occurred()) SWIG_fail; | |
11670 | } | |
11671 | Py_INCREF(Py_None); resultobj = Py_None; | |
11672 | return resultobj; | |
11673 | fail: | |
11674 | return NULL; | |
11675 | } | |
11676 | ||
11677 | ||
11678 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11679 | PyObject *resultobj; | |
11680 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11681 | PyObject * obj0 = 0 ; | |
11682 | char *kwnames[] = { | |
11683 | (char *) "self", NULL | |
11684 | }; | |
11685 | ||
11686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; | |
11687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11688 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11689 | { | |
11690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11691 | (arg1)->CharRightRectExtend(); | |
11692 | ||
11693 | wxPyEndAllowThreads(__tstate); | |
11694 | if (PyErr_Occurred()) SWIG_fail; | |
11695 | } | |
11696 | Py_INCREF(Py_None); resultobj = Py_None; | |
11697 | return resultobj; | |
11698 | fail: | |
11699 | return NULL; | |
11700 | } | |
11701 | ||
11702 | ||
11703 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11704 | PyObject *resultobj; | |
11705 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11706 | PyObject * obj0 = 0 ; | |
11707 | char *kwnames[] = { | |
11708 | (char *) "self", NULL | |
11709 | }; | |
11710 | ||
11711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; | |
11712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11714 | { | |
11715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11716 | (arg1)->HomeRectExtend(); | |
11717 | ||
11718 | wxPyEndAllowThreads(__tstate); | |
11719 | if (PyErr_Occurred()) SWIG_fail; | |
11720 | } | |
11721 | Py_INCREF(Py_None); resultobj = Py_None; | |
11722 | return resultobj; | |
11723 | fail: | |
11724 | return NULL; | |
11725 | } | |
11726 | ||
11727 | ||
11728 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11729 | PyObject *resultobj; | |
11730 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11731 | PyObject * obj0 = 0 ; | |
11732 | char *kwnames[] = { | |
11733 | (char *) "self", NULL | |
11734 | }; | |
11735 | ||
11736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; | |
11737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11739 | { | |
11740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11741 | (arg1)->VCHomeRectExtend(); | |
11742 | ||
11743 | wxPyEndAllowThreads(__tstate); | |
11744 | if (PyErr_Occurred()) SWIG_fail; | |
11745 | } | |
11746 | Py_INCREF(Py_None); resultobj = Py_None; | |
11747 | return resultobj; | |
11748 | fail: | |
11749 | return NULL; | |
11750 | } | |
11751 | ||
11752 | ||
11753 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11754 | PyObject *resultobj; | |
11755 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11756 | PyObject * obj0 = 0 ; | |
11757 | char *kwnames[] = { | |
11758 | (char *) "self", NULL | |
11759 | }; | |
11760 | ||
11761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; | |
11762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11764 | { | |
11765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11766 | (arg1)->LineEndRectExtend(); | |
11767 | ||
11768 | wxPyEndAllowThreads(__tstate); | |
11769 | if (PyErr_Occurred()) SWIG_fail; | |
11770 | } | |
11771 | Py_INCREF(Py_None); resultobj = Py_None; | |
11772 | return resultobj; | |
11773 | fail: | |
11774 | return NULL; | |
11775 | } | |
11776 | ||
11777 | ||
11778 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11779 | PyObject *resultobj; | |
11780 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11781 | PyObject * obj0 = 0 ; | |
11782 | char *kwnames[] = { | |
11783 | (char *) "self", NULL | |
11784 | }; | |
11785 | ||
11786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; | |
11787 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11789 | { | |
11790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11791 | (arg1)->PageUpRectExtend(); | |
11792 | ||
11793 | wxPyEndAllowThreads(__tstate); | |
11794 | if (PyErr_Occurred()) SWIG_fail; | |
11795 | } | |
11796 | Py_INCREF(Py_None); resultobj = Py_None; | |
11797 | return resultobj; | |
11798 | fail: | |
11799 | return NULL; | |
11800 | } | |
11801 | ||
11802 | ||
11803 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11804 | PyObject *resultobj; | |
11805 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11806 | PyObject * obj0 = 0 ; | |
11807 | char *kwnames[] = { | |
11808 | (char *) "self", NULL | |
11809 | }; | |
11810 | ||
11811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; | |
11812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11814 | { | |
11815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11816 | (arg1)->PageDownRectExtend(); | |
11817 | ||
11818 | wxPyEndAllowThreads(__tstate); | |
11819 | if (PyErr_Occurred()) SWIG_fail; | |
11820 | } | |
11821 | Py_INCREF(Py_None); resultobj = Py_None; | |
11822 | return resultobj; | |
11823 | fail: | |
11824 | return NULL; | |
11825 | } | |
11826 | ||
11827 | ||
11828 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11829 | PyObject *resultobj; | |
11830 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11831 | PyObject * obj0 = 0 ; | |
11832 | char *kwnames[] = { | |
11833 | (char *) "self", NULL | |
11834 | }; | |
11835 | ||
11836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; | |
11837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11839 | { | |
11840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11841 | (arg1)->StutteredPageUp(); | |
11842 | ||
11843 | wxPyEndAllowThreads(__tstate); | |
11844 | if (PyErr_Occurred()) SWIG_fail; | |
11845 | } | |
11846 | Py_INCREF(Py_None); resultobj = Py_None; | |
11847 | return resultobj; | |
11848 | fail: | |
11849 | return NULL; | |
11850 | } | |
11851 | ||
11852 | ||
11853 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11854 | PyObject *resultobj; | |
11855 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11856 | PyObject * obj0 = 0 ; | |
11857 | char *kwnames[] = { | |
11858 | (char *) "self", NULL | |
11859 | }; | |
11860 | ||
11861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; | |
11862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11864 | { | |
11865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11866 | (arg1)->StutteredPageUpExtend(); | |
11867 | ||
11868 | wxPyEndAllowThreads(__tstate); | |
11869 | if (PyErr_Occurred()) SWIG_fail; | |
11870 | } | |
11871 | Py_INCREF(Py_None); resultobj = Py_None; | |
11872 | return resultobj; | |
11873 | fail: | |
11874 | return NULL; | |
11875 | } | |
11876 | ||
11877 | ||
11878 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11879 | PyObject *resultobj; | |
11880 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11881 | PyObject * obj0 = 0 ; | |
11882 | char *kwnames[] = { | |
11883 | (char *) "self", NULL | |
11884 | }; | |
11885 | ||
11886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; | |
11887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11889 | { | |
11890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11891 | (arg1)->StutteredPageDown(); | |
11892 | ||
11893 | wxPyEndAllowThreads(__tstate); | |
11894 | if (PyErr_Occurred()) SWIG_fail; | |
11895 | } | |
11896 | Py_INCREF(Py_None); resultobj = Py_None; | |
11897 | return resultobj; | |
11898 | fail: | |
11899 | return NULL; | |
11900 | } | |
11901 | ||
11902 | ||
11903 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11904 | PyObject *resultobj; | |
11905 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11906 | PyObject * obj0 = 0 ; | |
11907 | char *kwnames[] = { | |
11908 | (char *) "self", NULL | |
11909 | }; | |
11910 | ||
11911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; | |
11912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11914 | { | |
11915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11916 | (arg1)->StutteredPageDownExtend(); | |
11917 | ||
11918 | wxPyEndAllowThreads(__tstate); | |
11919 | if (PyErr_Occurred()) SWIG_fail; | |
11920 | } | |
11921 | Py_INCREF(Py_None); resultobj = Py_None; | |
11922 | return resultobj; | |
11923 | fail: | |
11924 | return NULL; | |
11925 | } | |
11926 | ||
11927 | ||
11928 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11929 | PyObject *resultobj; | |
11930 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11931 | PyObject * obj0 = 0 ; | |
11932 | char *kwnames[] = { | |
11933 | (char *) "self", NULL | |
11934 | }; | |
11935 | ||
11936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; | |
11937 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11938 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11939 | { | |
11940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11941 | (arg1)->WordLeftEnd(); | |
11942 | ||
11943 | wxPyEndAllowThreads(__tstate); | |
11944 | if (PyErr_Occurred()) SWIG_fail; | |
11945 | } | |
11946 | Py_INCREF(Py_None); resultobj = Py_None; | |
11947 | return resultobj; | |
11948 | fail: | |
11949 | return NULL; | |
11950 | } | |
11951 | ||
11952 | ||
11953 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11954 | PyObject *resultobj; | |
11955 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11956 | PyObject * obj0 = 0 ; | |
11957 | char *kwnames[] = { | |
11958 | (char *) "self", NULL | |
11959 | }; | |
11960 | ||
11961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; | |
11962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11964 | { | |
11965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11966 | (arg1)->WordLeftEndExtend(); | |
11967 | ||
11968 | wxPyEndAllowThreads(__tstate); | |
11969 | if (PyErr_Occurred()) SWIG_fail; | |
11970 | } | |
11971 | Py_INCREF(Py_None); resultobj = Py_None; | |
11972 | return resultobj; | |
11973 | fail: | |
11974 | return NULL; | |
11975 | } | |
11976 | ||
11977 | ||
11978 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11979 | PyObject *resultobj; | |
11980 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11981 | PyObject * obj0 = 0 ; | |
11982 | char *kwnames[] = { | |
11983 | (char *) "self", NULL | |
11984 | }; | |
11985 | ||
11986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; | |
11987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11989 | { | |
11990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11991 | (arg1)->WordRightEnd(); | |
11992 | ||
11993 | wxPyEndAllowThreads(__tstate); | |
11994 | if (PyErr_Occurred()) SWIG_fail; | |
11995 | } | |
11996 | Py_INCREF(Py_None); resultobj = Py_None; | |
11997 | return resultobj; | |
11998 | fail: | |
11999 | return NULL; | |
12000 | } | |
12001 | ||
12002 | ||
12003 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12004 | PyObject *resultobj; | |
12005 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12006 | PyObject * obj0 = 0 ; | |
12007 | char *kwnames[] = { | |
12008 | (char *) "self", NULL | |
12009 | }; | |
12010 | ||
12011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; | |
12012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12014 | { | |
12015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12016 | (arg1)->WordRightEndExtend(); | |
12017 | ||
12018 | wxPyEndAllowThreads(__tstate); | |
12019 | if (PyErr_Occurred()) SWIG_fail; | |
12020 | } | |
12021 | Py_INCREF(Py_None); resultobj = Py_None; | |
12022 | return resultobj; | |
12023 | fail: | |
12024 | return NULL; | |
12025 | } | |
12026 | ||
12027 | ||
12028 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12029 | PyObject *resultobj; | |
12030 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12031 | wxString *arg2 = 0 ; | |
12032 | bool temp2 = False ; | |
12033 | PyObject * obj0 = 0 ; | |
12034 | PyObject * obj1 = 0 ; | |
12035 | char *kwnames[] = { | |
12036 | (char *) "self",(char *) "characters", NULL | |
12037 | }; | |
12038 | ||
12039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; | |
12040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12042 | { | |
12043 | arg2 = wxString_in_helper(obj1); | |
12044 | if (arg2 == NULL) SWIG_fail; | |
12045 | temp2 = True; | |
12046 | } | |
12047 | { | |
12048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12049 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); | |
12050 | ||
12051 | wxPyEndAllowThreads(__tstate); | |
12052 | if (PyErr_Occurred()) SWIG_fail; | |
12053 | } | |
12054 | Py_INCREF(Py_None); resultobj = Py_None; | |
12055 | { | |
12056 | if (temp2) | |
12057 | delete arg2; | |
12058 | } | |
12059 | return resultobj; | |
12060 | fail: | |
12061 | { | |
12062 | if (temp2) | |
12063 | delete arg2; | |
12064 | } | |
12065 | return NULL; | |
12066 | } | |
12067 | ||
12068 | ||
12069 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12070 | PyObject *resultobj; | |
12071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12072 | PyObject * obj0 = 0 ; | |
12073 | char *kwnames[] = { | |
12074 | (char *) "self", NULL | |
12075 | }; | |
12076 | ||
12077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; | |
12078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12080 | { | |
12081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12082 | (arg1)->SetCharsDefault(); | |
12083 | ||
12084 | wxPyEndAllowThreads(__tstate); | |
12085 | if (PyErr_Occurred()) SWIG_fail; | |
12086 | } | |
12087 | Py_INCREF(Py_None); resultobj = Py_None; | |
12088 | return resultobj; | |
12089 | fail: | |
12090 | return NULL; | |
12091 | } | |
12092 | ||
12093 | ||
12094 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12095 | PyObject *resultobj; | |
12096 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12097 | int result; | |
12098 | PyObject * obj0 = 0 ; | |
12099 | char *kwnames[] = { | |
12100 | (char *) "self", NULL | |
12101 | }; | |
12102 | ||
12103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; | |
12104 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12105 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12106 | { | |
12107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12108 | result = (int)(arg1)->AutoCompGetCurrent(); | |
12109 | ||
12110 | wxPyEndAllowThreads(__tstate); | |
12111 | if (PyErr_Occurred()) SWIG_fail; | |
12112 | } | |
12113 | resultobj = SWIG_FromInt((int)result); | |
12114 | return resultobj; | |
12115 | fail: | |
12116 | return NULL; | |
12117 | } | |
12118 | ||
12119 | ||
12120 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12121 | PyObject *resultobj; | |
12122 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12123 | PyObject * obj0 = 0 ; | |
12124 | char *kwnames[] = { | |
12125 | (char *) "self", NULL | |
12126 | }; | |
12127 | ||
12128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; | |
12129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12131 | { | |
12132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12133 | (arg1)->StartRecord(); | |
12134 | ||
12135 | wxPyEndAllowThreads(__tstate); | |
12136 | if (PyErr_Occurred()) SWIG_fail; | |
12137 | } | |
12138 | Py_INCREF(Py_None); resultobj = Py_None; | |
12139 | return resultobj; | |
12140 | fail: | |
12141 | return NULL; | |
12142 | } | |
12143 | ||
12144 | ||
12145 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12146 | PyObject *resultobj; | |
12147 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12148 | PyObject * obj0 = 0 ; | |
12149 | char *kwnames[] = { | |
12150 | (char *) "self", NULL | |
12151 | }; | |
12152 | ||
12153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; | |
12154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12156 | { | |
12157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12158 | (arg1)->StopRecord(); | |
12159 | ||
12160 | wxPyEndAllowThreads(__tstate); | |
12161 | if (PyErr_Occurred()) SWIG_fail; | |
12162 | } | |
12163 | Py_INCREF(Py_None); resultobj = Py_None; | |
12164 | return resultobj; | |
12165 | fail: | |
12166 | return NULL; | |
12167 | } | |
12168 | ||
12169 | ||
12170 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12171 | PyObject *resultobj; | |
12172 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12173 | int arg2 ; | |
12174 | PyObject * obj0 = 0 ; | |
12175 | PyObject * obj1 = 0 ; | |
12176 | char *kwnames[] = { | |
12177 | (char *) "self",(char *) "lexer", NULL | |
12178 | }; | |
12179 | ||
12180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; | |
12181 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12182 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12183 | arg2 = (int) SWIG_AsInt(obj1); | |
12184 | if (PyErr_Occurred()) SWIG_fail; | |
12185 | { | |
12186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12187 | (arg1)->SetLexer(arg2); | |
12188 | ||
12189 | wxPyEndAllowThreads(__tstate); | |
12190 | if (PyErr_Occurred()) SWIG_fail; | |
12191 | } | |
12192 | Py_INCREF(Py_None); resultobj = Py_None; | |
12193 | return resultobj; | |
12194 | fail: | |
12195 | return NULL; | |
12196 | } | |
12197 | ||
12198 | ||
12199 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12200 | PyObject *resultobj; | |
12201 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12202 | int result; | |
12203 | PyObject * obj0 = 0 ; | |
12204 | char *kwnames[] = { | |
12205 | (char *) "self", NULL | |
12206 | }; | |
12207 | ||
12208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; | |
12209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12211 | { | |
12212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12213 | result = (int)(arg1)->GetLexer(); | |
12214 | ||
12215 | wxPyEndAllowThreads(__tstate); | |
12216 | if (PyErr_Occurred()) SWIG_fail; | |
12217 | } | |
12218 | resultobj = SWIG_FromInt((int)result); | |
12219 | return resultobj; | |
12220 | fail: | |
12221 | return NULL; | |
12222 | } | |
12223 | ||
12224 | ||
12225 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12226 | PyObject *resultobj; | |
12227 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12228 | int arg2 ; | |
12229 | int arg3 ; | |
12230 | PyObject * obj0 = 0 ; | |
12231 | PyObject * obj1 = 0 ; | |
12232 | PyObject * obj2 = 0 ; | |
12233 | char *kwnames[] = { | |
12234 | (char *) "self",(char *) "start",(char *) "end", NULL | |
12235 | }; | |
12236 | ||
12237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12240 | arg2 = (int) SWIG_AsInt(obj1); | |
12241 | if (PyErr_Occurred()) SWIG_fail; | |
12242 | arg3 = (int) SWIG_AsInt(obj2); | |
12243 | if (PyErr_Occurred()) SWIG_fail; | |
12244 | { | |
12245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12246 | (arg1)->Colourise(arg2,arg3); | |
12247 | ||
12248 | wxPyEndAllowThreads(__tstate); | |
12249 | if (PyErr_Occurred()) SWIG_fail; | |
12250 | } | |
12251 | Py_INCREF(Py_None); resultobj = Py_None; | |
12252 | return resultobj; | |
12253 | fail: | |
12254 | return NULL; | |
12255 | } | |
12256 | ||
12257 | ||
12258 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12259 | PyObject *resultobj; | |
12260 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12261 | wxString *arg2 = 0 ; | |
12262 | wxString *arg3 = 0 ; | |
12263 | bool temp2 = False ; | |
12264 | bool temp3 = False ; | |
12265 | PyObject * obj0 = 0 ; | |
12266 | PyObject * obj1 = 0 ; | |
12267 | PyObject * obj2 = 0 ; | |
12268 | char *kwnames[] = { | |
12269 | (char *) "self",(char *) "key",(char *) "value", NULL | |
12270 | }; | |
12271 | ||
12272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12273 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12274 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12275 | { | |
12276 | arg2 = wxString_in_helper(obj1); | |
12277 | if (arg2 == NULL) SWIG_fail; | |
12278 | temp2 = True; | |
12279 | } | |
12280 | { | |
12281 | arg3 = wxString_in_helper(obj2); | |
12282 | if (arg3 == NULL) SWIG_fail; | |
12283 | temp3 = True; | |
12284 | } | |
12285 | { | |
12286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12287 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); | |
12288 | ||
12289 | wxPyEndAllowThreads(__tstate); | |
12290 | if (PyErr_Occurred()) SWIG_fail; | |
12291 | } | |
12292 | Py_INCREF(Py_None); resultobj = Py_None; | |
12293 | { | |
12294 | if (temp2) | |
12295 | delete arg2; | |
12296 | } | |
12297 | { | |
12298 | if (temp3) | |
12299 | delete arg3; | |
12300 | } | |
12301 | return resultobj; | |
12302 | fail: | |
12303 | { | |
12304 | if (temp2) | |
12305 | delete arg2; | |
12306 | } | |
12307 | { | |
12308 | if (temp3) | |
12309 | delete arg3; | |
12310 | } | |
12311 | return NULL; | |
12312 | } | |
12313 | ||
12314 | ||
12315 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12316 | PyObject *resultobj; | |
12317 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12318 | int arg2 ; | |
12319 | wxString *arg3 = 0 ; | |
12320 | bool temp3 = False ; | |
12321 | PyObject * obj0 = 0 ; | |
12322 | PyObject * obj1 = 0 ; | |
12323 | PyObject * obj2 = 0 ; | |
12324 | char *kwnames[] = { | |
12325 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL | |
12326 | }; | |
12327 | ||
12328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12331 | arg2 = (int) SWIG_AsInt(obj1); | |
12332 | if (PyErr_Occurred()) SWIG_fail; | |
12333 | { | |
12334 | arg3 = wxString_in_helper(obj2); | |
12335 | if (arg3 == NULL) SWIG_fail; | |
12336 | temp3 = True; | |
12337 | } | |
12338 | { | |
12339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12340 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); | |
12341 | ||
12342 | wxPyEndAllowThreads(__tstate); | |
12343 | if (PyErr_Occurred()) SWIG_fail; | |
12344 | } | |
12345 | Py_INCREF(Py_None); resultobj = Py_None; | |
12346 | { | |
12347 | if (temp3) | |
12348 | delete arg3; | |
12349 | } | |
12350 | return resultobj; | |
12351 | fail: | |
12352 | { | |
12353 | if (temp3) | |
12354 | delete arg3; | |
12355 | } | |
12356 | return NULL; | |
12357 | } | |
12358 | ||
12359 | ||
12360 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12361 | PyObject *resultobj; | |
12362 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12363 | wxString *arg2 = 0 ; | |
12364 | bool temp2 = False ; | |
12365 | PyObject * obj0 = 0 ; | |
12366 | PyObject * obj1 = 0 ; | |
12367 | char *kwnames[] = { | |
12368 | (char *) "self",(char *) "language", NULL | |
12369 | }; | |
12370 | ||
12371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; | |
12372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12374 | { | |
12375 | arg2 = wxString_in_helper(obj1); | |
12376 | if (arg2 == NULL) SWIG_fail; | |
12377 | temp2 = True; | |
12378 | } | |
12379 | { | |
12380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12381 | (arg1)->SetLexerLanguage((wxString const &)*arg2); | |
12382 | ||
12383 | wxPyEndAllowThreads(__tstate); | |
12384 | if (PyErr_Occurred()) SWIG_fail; | |
12385 | } | |
12386 | Py_INCREF(Py_None); resultobj = Py_None; | |
12387 | { | |
12388 | if (temp2) | |
12389 | delete arg2; | |
12390 | } | |
12391 | return resultobj; | |
12392 | fail: | |
12393 | { | |
12394 | if (temp2) | |
12395 | delete arg2; | |
12396 | } | |
12397 | return NULL; | |
12398 | } | |
12399 | ||
12400 | ||
12401 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12402 | PyObject *resultobj; | |
12403 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12404 | int result; | |
12405 | PyObject * obj0 = 0 ; | |
12406 | char *kwnames[] = { | |
12407 | (char *) "self", NULL | |
12408 | }; | |
12409 | ||
12410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; | |
12411 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12413 | { | |
12414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12415 | result = (int)(arg1)->GetCurrentLine(); | |
12416 | ||
12417 | wxPyEndAllowThreads(__tstate); | |
12418 | if (PyErr_Occurred()) SWIG_fail; | |
12419 | } | |
12420 | resultobj = SWIG_FromInt((int)result); | |
12421 | return resultobj; | |
12422 | fail: | |
12423 | return NULL; | |
12424 | } | |
12425 | ||
12426 | ||
12427 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12428 | PyObject *resultobj; | |
12429 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12430 | int arg2 ; | |
12431 | wxString *arg3 = 0 ; | |
12432 | bool temp3 = False ; | |
12433 | PyObject * obj0 = 0 ; | |
12434 | PyObject * obj1 = 0 ; | |
12435 | PyObject * obj2 = 0 ; | |
12436 | char *kwnames[] = { | |
12437 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL | |
12438 | }; | |
12439 | ||
12440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12443 | arg2 = (int) SWIG_AsInt(obj1); | |
12444 | if (PyErr_Occurred()) SWIG_fail; | |
12445 | { | |
12446 | arg3 = wxString_in_helper(obj2); | |
12447 | if (arg3 == NULL) SWIG_fail; | |
12448 | temp3 = True; | |
12449 | } | |
12450 | { | |
12451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12452 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); | |
12453 | ||
12454 | wxPyEndAllowThreads(__tstate); | |
12455 | if (PyErr_Occurred()) SWIG_fail; | |
12456 | } | |
12457 | Py_INCREF(Py_None); resultobj = Py_None; | |
12458 | { | |
12459 | if (temp3) | |
12460 | delete arg3; | |
12461 | } | |
12462 | return resultobj; | |
12463 | fail: | |
12464 | { | |
12465 | if (temp3) | |
12466 | delete arg3; | |
12467 | } | |
12468 | return NULL; | |
12469 | } | |
12470 | ||
12471 | ||
12472 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12473 | PyObject *resultobj; | |
12474 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12475 | int arg2 ; | |
12476 | wxFont *arg3 = 0 ; | |
12477 | PyObject * obj0 = 0 ; | |
12478 | PyObject * obj1 = 0 ; | |
12479 | PyObject * obj2 = 0 ; | |
12480 | char *kwnames[] = { | |
12481 | (char *) "self",(char *) "styleNum",(char *) "font", NULL | |
12482 | }; | |
12483 | ||
12484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12487 | arg2 = (int) SWIG_AsInt(obj1); | |
12488 | if (PyErr_Occurred()) SWIG_fail; | |
12489 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont, | |
12490 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12491 | SWIG_fail; | |
12492 | if (arg3 == NULL) { | |
12493 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
12494 | SWIG_fail; | |
12495 | } | |
12496 | { | |
12497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12498 | (arg1)->StyleSetFont(arg2,*arg3); | |
12499 | ||
12500 | wxPyEndAllowThreads(__tstate); | |
12501 | if (PyErr_Occurred()) SWIG_fail; | |
12502 | } | |
12503 | Py_INCREF(Py_None); resultobj = Py_None; | |
12504 | return resultobj; | |
12505 | fail: | |
12506 | return NULL; | |
12507 | } | |
12508 | ||
12509 | ||
12510 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12511 | PyObject *resultobj; | |
12512 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12513 | int arg2 ; | |
12514 | int arg3 ; | |
12515 | wxString *arg4 = 0 ; | |
12516 | bool arg5 ; | |
12517 | bool arg6 ; | |
12518 | bool arg7 ; | |
12519 | bool temp4 = False ; | |
12520 | PyObject * obj0 = 0 ; | |
12521 | PyObject * obj1 = 0 ; | |
12522 | PyObject * obj2 = 0 ; | |
12523 | PyObject * obj3 = 0 ; | |
12524 | PyObject * obj4 = 0 ; | |
12525 | PyObject * obj5 = 0 ; | |
12526 | PyObject * obj6 = 0 ; | |
12527 | char *kwnames[] = { | |
12528 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL | |
12529 | }; | |
12530 | ||
12531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
12532 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12533 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12534 | arg2 = (int) SWIG_AsInt(obj1); | |
12535 | if (PyErr_Occurred()) SWIG_fail; | |
12536 | arg3 = (int) SWIG_AsInt(obj2); | |
12537 | if (PyErr_Occurred()) SWIG_fail; | |
12538 | { | |
12539 | arg4 = wxString_in_helper(obj3); | |
12540 | if (arg4 == NULL) SWIG_fail; | |
12541 | temp4 = True; | |
12542 | } | |
12543 | arg5 = (bool) SWIG_AsBool(obj4); | |
12544 | if (PyErr_Occurred()) SWIG_fail; | |
12545 | arg6 = (bool) SWIG_AsBool(obj5); | |
12546 | if (PyErr_Occurred()) SWIG_fail; | |
12547 | arg7 = (bool) SWIG_AsBool(obj6); | |
12548 | if (PyErr_Occurred()) SWIG_fail; | |
12549 | { | |
12550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12551 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
12552 | ||
12553 | wxPyEndAllowThreads(__tstate); | |
12554 | if (PyErr_Occurred()) SWIG_fail; | |
12555 | } | |
12556 | Py_INCREF(Py_None); resultobj = Py_None; | |
12557 | { | |
12558 | if (temp4) | |
12559 | delete arg4; | |
12560 | } | |
12561 | return resultobj; | |
12562 | fail: | |
12563 | { | |
12564 | if (temp4) | |
12565 | delete arg4; | |
12566 | } | |
12567 | return NULL; | |
12568 | } | |
12569 | ||
12570 | ||
12571 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12572 | PyObject *resultobj; | |
12573 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12574 | int arg2 ; | |
12575 | PyObject * obj0 = 0 ; | |
12576 | PyObject * obj1 = 0 ; | |
12577 | char *kwnames[] = { | |
12578 | (char *) "self",(char *) "cmd", NULL | |
12579 | }; | |
12580 | ||
12581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; | |
12582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12584 | arg2 = (int) SWIG_AsInt(obj1); | |
12585 | if (PyErr_Occurred()) SWIG_fail; | |
12586 | { | |
12587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12588 | (arg1)->CmdKeyExecute(arg2); | |
12589 | ||
12590 | wxPyEndAllowThreads(__tstate); | |
12591 | if (PyErr_Occurred()) SWIG_fail; | |
12592 | } | |
12593 | Py_INCREF(Py_None); resultobj = Py_None; | |
12594 | return resultobj; | |
12595 | fail: | |
12596 | return NULL; | |
12597 | } | |
12598 | ||
12599 | ||
12600 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12601 | PyObject *resultobj; | |
12602 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12603 | int arg2 ; | |
12604 | int arg3 ; | |
12605 | PyObject * obj0 = 0 ; | |
12606 | PyObject * obj1 = 0 ; | |
12607 | PyObject * obj2 = 0 ; | |
12608 | char *kwnames[] = { | |
12609 | (char *) "self",(char *) "left",(char *) "right", NULL | |
12610 | }; | |
12611 | ||
12612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12615 | arg2 = (int) SWIG_AsInt(obj1); | |
12616 | if (PyErr_Occurred()) SWIG_fail; | |
12617 | arg3 = (int) SWIG_AsInt(obj2); | |
12618 | if (PyErr_Occurred()) SWIG_fail; | |
12619 | { | |
12620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12621 | (arg1)->SetMargins(arg2,arg3); | |
12622 | ||
12623 | wxPyEndAllowThreads(__tstate); | |
12624 | if (PyErr_Occurred()) SWIG_fail; | |
12625 | } | |
12626 | Py_INCREF(Py_None); resultobj = Py_None; | |
12627 | return resultobj; | |
12628 | fail: | |
12629 | return NULL; | |
12630 | } | |
12631 | ||
12632 | ||
12633 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12634 | PyObject *resultobj; | |
12635 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12636 | int *arg2 = (int *) 0 ; | |
12637 | int *arg3 = (int *) 0 ; | |
12638 | int temp2 ; | |
12639 | int temp3 ; | |
12640 | PyObject * obj0 = 0 ; | |
12641 | char *kwnames[] = { | |
12642 | (char *) "self", NULL | |
12643 | }; | |
12644 | ||
12645 | arg2 = &temp2; | |
12646 | arg3 = &temp3; | |
12647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
12648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12650 | { | |
12651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12652 | (arg1)->GetSelection(arg2,arg3); | |
12653 | ||
12654 | wxPyEndAllowThreads(__tstate); | |
12655 | if (PyErr_Occurred()) SWIG_fail; | |
12656 | } | |
12657 | Py_INCREF(Py_None); resultobj = Py_None; | |
12658 | { | |
12659 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
12660 | resultobj = t_output_helper(resultobj,o); | |
12661 | } | |
12662 | { | |
12663 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
12664 | resultobj = t_output_helper(resultobj,o); | |
12665 | } | |
12666 | return resultobj; | |
12667 | fail: | |
12668 | return NULL; | |
12669 | } | |
12670 | ||
12671 | ||
12672 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12673 | PyObject *resultobj; | |
12674 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12675 | int arg2 ; | |
12676 | wxPoint result; | |
12677 | PyObject * obj0 = 0 ; | |
12678 | PyObject * obj1 = 0 ; | |
12679 | char *kwnames[] = { | |
12680 | (char *) "self",(char *) "pos", NULL | |
12681 | }; | |
12682 | ||
12683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; | |
12684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12686 | arg2 = (int) SWIG_AsInt(obj1); | |
12687 | if (PyErr_Occurred()) SWIG_fail; | |
12688 | { | |
12689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12690 | result = (arg1)->PointFromPosition(arg2); | |
12691 | ||
12692 | wxPyEndAllowThreads(__tstate); | |
12693 | if (PyErr_Occurred()) SWIG_fail; | |
12694 | } | |
12695 | { | |
12696 | wxPoint * resultptr; | |
12697 | resultptr = new wxPoint((wxPoint &) result); | |
12698 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
12699 | } | |
12700 | return resultobj; | |
12701 | fail: | |
12702 | return NULL; | |
12703 | } | |
12704 | ||
12705 | ||
12706 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12707 | PyObject *resultobj; | |
12708 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12709 | int arg2 ; | |
12710 | PyObject * obj0 = 0 ; | |
12711 | PyObject * obj1 = 0 ; | |
12712 | char *kwnames[] = { | |
12713 | (char *) "self",(char *) "line", NULL | |
12714 | }; | |
12715 | ||
12716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
12717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12719 | arg2 = (int) SWIG_AsInt(obj1); | |
12720 | if (PyErr_Occurred()) SWIG_fail; | |
12721 | { | |
12722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12723 | (arg1)->ScrollToLine(arg2); | |
12724 | ||
12725 | wxPyEndAllowThreads(__tstate); | |
12726 | if (PyErr_Occurred()) SWIG_fail; | |
12727 | } | |
12728 | Py_INCREF(Py_None); resultobj = Py_None; | |
12729 | return resultobj; | |
12730 | fail: | |
12731 | return NULL; | |
12732 | } | |
12733 | ||
12734 | ||
12735 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12736 | PyObject *resultobj; | |
12737 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12738 | int arg2 ; | |
12739 | PyObject * obj0 = 0 ; | |
12740 | PyObject * obj1 = 0 ; | |
12741 | char *kwnames[] = { | |
12742 | (char *) "self",(char *) "column", NULL | |
12743 | }; | |
12744 | ||
12745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; | |
12746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12748 | arg2 = (int) SWIG_AsInt(obj1); | |
12749 | if (PyErr_Occurred()) SWIG_fail; | |
12750 | { | |
12751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12752 | (arg1)->ScrollToColumn(arg2); | |
12753 | ||
12754 | wxPyEndAllowThreads(__tstate); | |
12755 | if (PyErr_Occurred()) SWIG_fail; | |
12756 | } | |
12757 | Py_INCREF(Py_None); resultobj = Py_None; | |
12758 | return resultobj; | |
12759 | fail: | |
12760 | return NULL; | |
12761 | } | |
12762 | ||
12763 | ||
12764 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12765 | PyObject *resultobj; | |
12766 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12767 | int arg2 ; | |
12768 | long arg3 = (long) 0 ; | |
12769 | long arg4 = (long) 0 ; | |
12770 | long result; | |
12771 | PyObject * obj0 = 0 ; | |
12772 | PyObject * obj1 = 0 ; | |
12773 | PyObject * obj2 = 0 ; | |
12774 | PyObject * obj3 = 0 ; | |
12775 | char *kwnames[] = { | |
12776 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL | |
12777 | }; | |
12778 | ||
12779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
12780 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12781 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12782 | arg2 = (int) SWIG_AsInt(obj1); | |
12783 | if (PyErr_Occurred()) SWIG_fail; | |
12784 | if (obj2) { | |
12785 | arg3 = (long) SWIG_AsLong(obj2); | |
12786 | if (PyErr_Occurred()) SWIG_fail; | |
12787 | } | |
12788 | if (obj3) { | |
12789 | arg4 = (long) SWIG_AsLong(obj3); | |
12790 | if (PyErr_Occurred()) SWIG_fail; | |
12791 | } | |
12792 | { | |
12793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12794 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); | |
12795 | ||
12796 | wxPyEndAllowThreads(__tstate); | |
12797 | if (PyErr_Occurred()) SWIG_fail; | |
12798 | } | |
12799 | resultobj = SWIG_FromLong((long)result); | |
12800 | return resultobj; | |
12801 | fail: | |
12802 | return NULL; | |
12803 | } | |
12804 | ||
12805 | ||
12806 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12807 | PyObject *resultobj; | |
12808 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12809 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
12810 | PyObject * obj0 = 0 ; | |
12811 | PyObject * obj1 = 0 ; | |
12812 | char *kwnames[] = { | |
12813 | (char *) "self",(char *) "bar", NULL | |
12814 | }; | |
12815 | ||
12816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
12817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12819 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, | |
12820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12821 | { | |
12822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12823 | (arg1)->SetVScrollBar(arg2); | |
12824 | ||
12825 | wxPyEndAllowThreads(__tstate); | |
12826 | if (PyErr_Occurred()) SWIG_fail; | |
12827 | } | |
12828 | Py_INCREF(Py_None); resultobj = Py_None; | |
12829 | return resultobj; | |
12830 | fail: | |
12831 | return NULL; | |
12832 | } | |
12833 | ||
12834 | ||
12835 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12836 | PyObject *resultobj; | |
12837 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12838 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
12839 | PyObject * obj0 = 0 ; | |
12840 | PyObject * obj1 = 0 ; | |
12841 | char *kwnames[] = { | |
12842 | (char *) "self",(char *) "bar", NULL | |
12843 | }; | |
12844 | ||
12845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
12846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12848 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, | |
12849 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12850 | { | |
12851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12852 | (arg1)->SetHScrollBar(arg2); | |
12853 | ||
12854 | wxPyEndAllowThreads(__tstate); | |
12855 | if (PyErr_Occurred()) SWIG_fail; | |
12856 | } | |
12857 | Py_INCREF(Py_None); resultobj = Py_None; | |
12858 | return resultobj; | |
12859 | fail: | |
12860 | return NULL; | |
12861 | } | |
12862 | ||
12863 | ||
12864 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12865 | PyObject *resultobj; | |
12866 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12867 | bool result; | |
12868 | PyObject * obj0 = 0 ; | |
12869 | char *kwnames[] = { | |
12870 | (char *) "self", NULL | |
12871 | }; | |
12872 | ||
12873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; | |
12874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12876 | { | |
12877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12878 | result = (bool)(arg1)->GetLastKeydownProcessed(); | |
12879 | ||
12880 | wxPyEndAllowThreads(__tstate); | |
12881 | if (PyErr_Occurred()) SWIG_fail; | |
12882 | } | |
12883 | { | |
12884 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12885 | } | |
12886 | return resultobj; | |
12887 | fail: | |
12888 | return NULL; | |
12889 | } | |
12890 | ||
12891 | ||
12892 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12893 | PyObject *resultobj; | |
12894 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12895 | bool arg2 ; | |
12896 | PyObject * obj0 = 0 ; | |
12897 | PyObject * obj1 = 0 ; | |
12898 | char *kwnames[] = { | |
12899 | (char *) "self",(char *) "val", NULL | |
12900 | }; | |
12901 | ||
12902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; | |
12903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12905 | arg2 = (bool) SWIG_AsBool(obj1); | |
12906 | if (PyErr_Occurred()) SWIG_fail; | |
12907 | { | |
12908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12909 | (arg1)->SetLastKeydownProcessed(arg2); | |
12910 | ||
12911 | wxPyEndAllowThreads(__tstate); | |
12912 | if (PyErr_Occurred()) SWIG_fail; | |
12913 | } | |
12914 | Py_INCREF(Py_None); resultobj = Py_None; | |
12915 | return resultobj; | |
12916 | fail: | |
12917 | return NULL; | |
12918 | } | |
12919 | ||
12920 | ||
12921 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12922 | PyObject *resultobj; | |
12923 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12924 | wxString *arg2 = 0 ; | |
12925 | bool result; | |
12926 | bool temp2 = False ; | |
12927 | PyObject * obj0 = 0 ; | |
12928 | PyObject * obj1 = 0 ; | |
12929 | char *kwnames[] = { | |
12930 | (char *) "self",(char *) "filename", NULL | |
12931 | }; | |
12932 | ||
12933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; | |
12934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12936 | { | |
12937 | arg2 = wxString_in_helper(obj1); | |
12938 | if (arg2 == NULL) SWIG_fail; | |
12939 | temp2 = True; | |
12940 | } | |
12941 | { | |
12942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12943 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); | |
12944 | ||
12945 | wxPyEndAllowThreads(__tstate); | |
12946 | if (PyErr_Occurred()) SWIG_fail; | |
12947 | } | |
12948 | { | |
12949 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12950 | } | |
12951 | { | |
12952 | if (temp2) | |
12953 | delete arg2; | |
12954 | } | |
12955 | return resultobj; | |
12956 | fail: | |
12957 | { | |
12958 | if (temp2) | |
12959 | delete arg2; | |
12960 | } | |
12961 | return NULL; | |
12962 | } | |
12963 | ||
12964 | ||
12965 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12966 | PyObject *resultobj; | |
12967 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12968 | wxString *arg2 = 0 ; | |
12969 | bool result; | |
12970 | bool temp2 = False ; | |
12971 | PyObject * obj0 = 0 ; | |
12972 | PyObject * obj1 = 0 ; | |
12973 | char *kwnames[] = { | |
12974 | (char *) "self",(char *) "filename", NULL | |
12975 | }; | |
12976 | ||
12977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
12978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12980 | { | |
12981 | arg2 = wxString_in_helper(obj1); | |
12982 | if (arg2 == NULL) SWIG_fail; | |
12983 | temp2 = True; | |
12984 | } | |
12985 | { | |
12986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12987 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
12988 | ||
12989 | wxPyEndAllowThreads(__tstate); | |
12990 | if (PyErr_Occurred()) SWIG_fail; | |
12991 | } | |
12992 | { | |
12993 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12994 | } | |
12995 | { | |
12996 | if (temp2) | |
12997 | delete arg2; | |
12998 | } | |
12999 | return resultobj; | |
13000 | fail: | |
13001 | { | |
13002 | if (temp2) | |
13003 | delete arg2; | |
13004 | } | |
13005 | return NULL; | |
13006 | } | |
13007 | ||
13008 | ||
13009 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13010 | PyObject *resultobj; | |
13011 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13012 | int arg2 ; | |
13013 | int arg3 ; | |
13014 | int arg4 ; | |
13015 | int result; | |
13016 | PyObject * obj0 = 0 ; | |
13017 | PyObject * obj1 = 0 ; | |
13018 | PyObject * obj2 = 0 ; | |
13019 | PyObject * obj3 = 0 ; | |
13020 | char *kwnames[] = { | |
13021 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL | |
13022 | }; | |
13023 | ||
13024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
13025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
13026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13027 | arg2 = (int) SWIG_AsInt(obj1); | |
13028 | if (PyErr_Occurred()) SWIG_fail; | |
13029 | arg3 = (int) SWIG_AsInt(obj2); | |
13030 | if (PyErr_Occurred()) SWIG_fail; | |
13031 | arg4 = (wxDragResult) SWIG_AsInt(obj3); | |
13032 | if (PyErr_Occurred()) SWIG_fail; | |
13033 | { | |
13034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13035 | result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); | |
13036 | ||
13037 | wxPyEndAllowThreads(__tstate); | |
13038 | if (PyErr_Occurred()) SWIG_fail; | |
13039 | } | |
13040 | resultobj = SWIG_FromInt((int)result); | |
13041 | return resultobj; | |
13042 | fail: | |
13043 | return NULL; | |
13044 | } | |
13045 | ||
13046 | ||
13047 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13048 | PyObject *resultobj; | |
13049 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13050 | long arg2 ; | |
13051 | long arg3 ; | |
13052 | wxString *arg4 = 0 ; | |
13053 | bool result; | |
13054 | bool temp4 = False ; | |
13055 | PyObject * obj0 = 0 ; | |
13056 | PyObject * obj1 = 0 ; | |
13057 | PyObject * obj2 = 0 ; | |
13058 | PyObject * obj3 = 0 ; | |
13059 | char *kwnames[] = { | |
13060 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL | |
13061 | }; | |
13062 | ||
13063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
13064 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
13065 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13066 | arg2 = (long) SWIG_AsLong(obj1); | |
13067 | if (PyErr_Occurred()) SWIG_fail; | |
13068 | arg3 = (long) SWIG_AsLong(obj2); | |
13069 | if (PyErr_Occurred()) SWIG_fail; | |
13070 | { | |
13071 | arg4 = wxString_in_helper(obj3); | |
13072 | if (arg4 == NULL) SWIG_fail; | |
13073 | temp4 = True; | |
13074 | } | |
13075 | { | |
13076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13077 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); | |
13078 | ||
13079 | wxPyEndAllowThreads(__tstate); | |
13080 | if (PyErr_Occurred()) SWIG_fail; | |
13081 | } | |
13082 | { | |
13083 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13084 | } | |
13085 | { | |
13086 | if (temp4) | |
13087 | delete arg4; | |
13088 | } | |
13089 | return resultobj; | |
13090 | fail: | |
13091 | { | |
13092 | if (temp4) | |
13093 | delete arg4; | |
13094 | } | |
13095 | return NULL; | |
13096 | } | |
13097 | ||
13098 | ||
13099 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13100 | PyObject *resultobj; | |
13101 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13102 | bool arg2 ; | |
13103 | PyObject * obj0 = 0 ; | |
13104 | PyObject * obj1 = 0 ; | |
13105 | char *kwnames[] = { | |
13106 | (char *) "self",(char *) "useAA", NULL | |
13107 | }; | |
13108 | ||
13109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; | |
13110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
13111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13112 | arg2 = (bool) SWIG_AsBool(obj1); | |
13113 | if (PyErr_Occurred()) SWIG_fail; | |
13114 | { | |
13115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13116 | (arg1)->SetUseAntiAliasing(arg2); | |
13117 | ||
13118 | wxPyEndAllowThreads(__tstate); | |
13119 | if (PyErr_Occurred()) SWIG_fail; | |
13120 | } | |
13121 | Py_INCREF(Py_None); resultobj = Py_None; | |
13122 | return resultobj; | |
13123 | fail: | |
13124 | return NULL; | |
13125 | } | |
13126 | ||
13127 | ||
13128 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13129 | PyObject *resultobj; | |
13130 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13131 | bool result; | |
13132 | PyObject * obj0 = 0 ; | |
13133 | char *kwnames[] = { | |
13134 | (char *) "self", NULL | |
13135 | }; | |
13136 | ||
13137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; | |
13138 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
13139 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13140 | { | |
13141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13142 | result = (bool)(arg1)->GetUseAntiAliasing(); | |
13143 | ||
13144 | wxPyEndAllowThreads(__tstate); | |
13145 | if (PyErr_Occurred()) SWIG_fail; | |
13146 | } | |
13147 | { | |
13148 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13149 | } | |
13150 | return resultobj; | |
13151 | fail: | |
13152 | return NULL; | |
13153 | } | |
13154 | ||
13155 | ||
13156 | static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) { | |
13157 | PyObject *obj; | |
13158 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13159 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
13160 | Py_INCREF(obj); | |
13161 | return Py_BuildValue((char *)""); | |
13162 | } | |
13163 | static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13164 | PyObject *resultobj; | |
13165 | wxEventType arg1 = (wxEventType) 0 ; | |
13166 | int arg2 = (int) 0 ; | |
13167 | wxStyledTextEvent *result; | |
13168 | PyObject * obj0 = 0 ; | |
13169 | PyObject * obj1 = 0 ; | |
13170 | char *kwnames[] = { | |
13171 | (char *) "commandType",(char *) "id", NULL | |
13172 | }; | |
13173 | ||
13174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; | |
13175 | if (obj0) { | |
13176 | arg1 = (wxEventType) SWIG_AsInt(obj0); | |
13177 | if (PyErr_Occurred()) SWIG_fail; | |
13178 | } | |
13179 | if (obj1) { | |
13180 | arg2 = (int) SWIG_AsInt(obj1); | |
13181 | if (PyErr_Occurred()) SWIG_fail; | |
13182 | } | |
13183 | { | |
13184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13185 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); | |
13186 | ||
13187 | wxPyEndAllowThreads(__tstate); | |
13188 | if (PyErr_Occurred()) SWIG_fail; | |
13189 | } | |
13190 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); | |
13191 | return resultobj; | |
13192 | fail: | |
13193 | return NULL; | |
13194 | } | |
13195 | ||
13196 | ||
13197 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13198 | PyObject *resultobj; | |
13199 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13200 | PyObject * obj0 = 0 ; | |
13201 | char *kwnames[] = { | |
13202 | (char *) "self", NULL | |
13203 | }; | |
13204 | ||
13205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; | |
13206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13208 | { | |
13209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13210 | delete arg1; | |
13211 | ||
13212 | wxPyEndAllowThreads(__tstate); | |
13213 | if (PyErr_Occurred()) SWIG_fail; | |
13214 | } | |
13215 | Py_INCREF(Py_None); resultobj = Py_None; | |
13216 | return resultobj; | |
13217 | fail: | |
13218 | return NULL; | |
13219 | } | |
13220 | ||
13221 | ||
13222 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13223 | PyObject *resultobj; | |
13224 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13225 | int arg2 ; | |
13226 | PyObject * obj0 = 0 ; | |
13227 | PyObject * obj1 = 0 ; | |
13228 | char *kwnames[] = { | |
13229 | (char *) "self",(char *) "pos", NULL | |
13230 | }; | |
13231 | ||
13232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; | |
13233 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13234 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13235 | arg2 = (int) SWIG_AsInt(obj1); | |
13236 | if (PyErr_Occurred()) SWIG_fail; | |
13237 | { | |
13238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13239 | (arg1)->SetPosition(arg2); | |
13240 | ||
13241 | wxPyEndAllowThreads(__tstate); | |
13242 | if (PyErr_Occurred()) SWIG_fail; | |
13243 | } | |
13244 | Py_INCREF(Py_None); resultobj = Py_None; | |
13245 | return resultobj; | |
13246 | fail: | |
13247 | return NULL; | |
13248 | } | |
13249 | ||
13250 | ||
13251 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13252 | PyObject *resultobj; | |
13253 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13254 | int arg2 ; | |
13255 | PyObject * obj0 = 0 ; | |
13256 | PyObject * obj1 = 0 ; | |
13257 | char *kwnames[] = { | |
13258 | (char *) "self",(char *) "k", NULL | |
13259 | }; | |
13260 | ||
13261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; | |
13262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13264 | arg2 = (int) SWIG_AsInt(obj1); | |
13265 | if (PyErr_Occurred()) SWIG_fail; | |
13266 | { | |
13267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13268 | (arg1)->SetKey(arg2); | |
13269 | ||
13270 | wxPyEndAllowThreads(__tstate); | |
13271 | if (PyErr_Occurred()) SWIG_fail; | |
13272 | } | |
13273 | Py_INCREF(Py_None); resultobj = Py_None; | |
13274 | return resultobj; | |
13275 | fail: | |
13276 | return NULL; | |
13277 | } | |
13278 | ||
13279 | ||
13280 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13281 | PyObject *resultobj; | |
13282 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13283 | int arg2 ; | |
13284 | PyObject * obj0 = 0 ; | |
13285 | PyObject * obj1 = 0 ; | |
13286 | char *kwnames[] = { | |
13287 | (char *) "self",(char *) "m", NULL | |
13288 | }; | |
13289 | ||
13290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; | |
13291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13293 | arg2 = (int) SWIG_AsInt(obj1); | |
13294 | if (PyErr_Occurred()) SWIG_fail; | |
13295 | { | |
13296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13297 | (arg1)->SetModifiers(arg2); | |
13298 | ||
13299 | wxPyEndAllowThreads(__tstate); | |
13300 | if (PyErr_Occurred()) SWIG_fail; | |
13301 | } | |
13302 | Py_INCREF(Py_None); resultobj = Py_None; | |
13303 | return resultobj; | |
13304 | fail: | |
13305 | return NULL; | |
13306 | } | |
13307 | ||
13308 | ||
13309 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13310 | PyObject *resultobj; | |
13311 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13312 | int arg2 ; | |
13313 | PyObject * obj0 = 0 ; | |
13314 | PyObject * obj1 = 0 ; | |
13315 | char *kwnames[] = { | |
13316 | (char *) "self",(char *) "t", NULL | |
13317 | }; | |
13318 | ||
13319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; | |
13320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13322 | arg2 = (int) SWIG_AsInt(obj1); | |
13323 | if (PyErr_Occurred()) SWIG_fail; | |
13324 | { | |
13325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13326 | (arg1)->SetModificationType(arg2); | |
13327 | ||
13328 | wxPyEndAllowThreads(__tstate); | |
13329 | if (PyErr_Occurred()) SWIG_fail; | |
13330 | } | |
13331 | Py_INCREF(Py_None); resultobj = Py_None; | |
13332 | return resultobj; | |
13333 | fail: | |
13334 | return NULL; | |
13335 | } | |
13336 | ||
13337 | ||
13338 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13339 | PyObject *resultobj; | |
13340 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13341 | wxString *arg2 = 0 ; | |
13342 | bool temp2 = False ; | |
13343 | PyObject * obj0 = 0 ; | |
13344 | PyObject * obj1 = 0 ; | |
13345 | char *kwnames[] = { | |
13346 | (char *) "self",(char *) "t", NULL | |
13347 | }; | |
13348 | ||
13349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; | |
13350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13352 | { | |
13353 | arg2 = wxString_in_helper(obj1); | |
13354 | if (arg2 == NULL) SWIG_fail; | |
13355 | temp2 = True; | |
13356 | } | |
13357 | { | |
13358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13359 | (arg1)->SetText((wxString const &)*arg2); | |
13360 | ||
13361 | wxPyEndAllowThreads(__tstate); | |
13362 | if (PyErr_Occurred()) SWIG_fail; | |
13363 | } | |
13364 | Py_INCREF(Py_None); resultobj = Py_None; | |
13365 | { | |
13366 | if (temp2) | |
13367 | delete arg2; | |
13368 | } | |
13369 | return resultobj; | |
13370 | fail: | |
13371 | { | |
13372 | if (temp2) | |
13373 | delete arg2; | |
13374 | } | |
13375 | return NULL; | |
13376 | } | |
13377 | ||
13378 | ||
13379 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13380 | PyObject *resultobj; | |
13381 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13382 | int arg2 ; | |
13383 | PyObject * obj0 = 0 ; | |
13384 | PyObject * obj1 = 0 ; | |
13385 | char *kwnames[] = { | |
13386 | (char *) "self",(char *) "len", NULL | |
13387 | }; | |
13388 | ||
13389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; | |
13390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13392 | arg2 = (int) SWIG_AsInt(obj1); | |
13393 | if (PyErr_Occurred()) SWIG_fail; | |
13394 | { | |
13395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13396 | (arg1)->SetLength(arg2); | |
13397 | ||
13398 | wxPyEndAllowThreads(__tstate); | |
13399 | if (PyErr_Occurred()) SWIG_fail; | |
13400 | } | |
13401 | Py_INCREF(Py_None); resultobj = Py_None; | |
13402 | return resultobj; | |
13403 | fail: | |
13404 | return NULL; | |
13405 | } | |
13406 | ||
13407 | ||
13408 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13409 | PyObject *resultobj; | |
13410 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13411 | int arg2 ; | |
13412 | PyObject * obj0 = 0 ; | |
13413 | PyObject * obj1 = 0 ; | |
13414 | char *kwnames[] = { | |
13415 | (char *) "self",(char *) "num", NULL | |
13416 | }; | |
13417 | ||
13418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; | |
13419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13421 | arg2 = (int) SWIG_AsInt(obj1); | |
13422 | if (PyErr_Occurred()) SWIG_fail; | |
13423 | { | |
13424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13425 | (arg1)->SetLinesAdded(arg2); | |
13426 | ||
13427 | wxPyEndAllowThreads(__tstate); | |
13428 | if (PyErr_Occurred()) SWIG_fail; | |
13429 | } | |
13430 | Py_INCREF(Py_None); resultobj = Py_None; | |
13431 | return resultobj; | |
13432 | fail: | |
13433 | return NULL; | |
13434 | } | |
13435 | ||
13436 | ||
13437 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13438 | PyObject *resultobj; | |
13439 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13440 | int arg2 ; | |
13441 | PyObject * obj0 = 0 ; | |
13442 | PyObject * obj1 = 0 ; | |
13443 | char *kwnames[] = { | |
13444 | (char *) "self",(char *) "val", NULL | |
13445 | }; | |
13446 | ||
13447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; | |
13448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13450 | arg2 = (int) SWIG_AsInt(obj1); | |
13451 | if (PyErr_Occurred()) SWIG_fail; | |
13452 | { | |
13453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13454 | (arg1)->SetLine(arg2); | |
13455 | ||
13456 | wxPyEndAllowThreads(__tstate); | |
13457 | if (PyErr_Occurred()) SWIG_fail; | |
13458 | } | |
13459 | Py_INCREF(Py_None); resultobj = Py_None; | |
13460 | return resultobj; | |
13461 | fail: | |
13462 | return NULL; | |
13463 | } | |
13464 | ||
13465 | ||
13466 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13467 | PyObject *resultobj; | |
13468 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13469 | int arg2 ; | |
13470 | PyObject * obj0 = 0 ; | |
13471 | PyObject * obj1 = 0 ; | |
13472 | char *kwnames[] = { | |
13473 | (char *) "self",(char *) "val", NULL | |
13474 | }; | |
13475 | ||
13476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; | |
13477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13479 | arg2 = (int) SWIG_AsInt(obj1); | |
13480 | if (PyErr_Occurred()) SWIG_fail; | |
13481 | { | |
13482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13483 | (arg1)->SetFoldLevelNow(arg2); | |
13484 | ||
13485 | wxPyEndAllowThreads(__tstate); | |
13486 | if (PyErr_Occurred()) SWIG_fail; | |
13487 | } | |
13488 | Py_INCREF(Py_None); resultobj = Py_None; | |
13489 | return resultobj; | |
13490 | fail: | |
13491 | return NULL; | |
13492 | } | |
13493 | ||
13494 | ||
13495 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13496 | PyObject *resultobj; | |
13497 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13498 | int arg2 ; | |
13499 | PyObject * obj0 = 0 ; | |
13500 | PyObject * obj1 = 0 ; | |
13501 | char *kwnames[] = { | |
13502 | (char *) "self",(char *) "val", NULL | |
13503 | }; | |
13504 | ||
13505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; | |
13506 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13507 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13508 | arg2 = (int) SWIG_AsInt(obj1); | |
13509 | if (PyErr_Occurred()) SWIG_fail; | |
13510 | { | |
13511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13512 | (arg1)->SetFoldLevelPrev(arg2); | |
13513 | ||
13514 | wxPyEndAllowThreads(__tstate); | |
13515 | if (PyErr_Occurred()) SWIG_fail; | |
13516 | } | |
13517 | Py_INCREF(Py_None); resultobj = Py_None; | |
13518 | return resultobj; | |
13519 | fail: | |
13520 | return NULL; | |
13521 | } | |
13522 | ||
13523 | ||
13524 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13525 | PyObject *resultobj; | |
13526 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13527 | int arg2 ; | |
13528 | PyObject * obj0 = 0 ; | |
13529 | PyObject * obj1 = 0 ; | |
13530 | char *kwnames[] = { | |
13531 | (char *) "self",(char *) "val", NULL | |
13532 | }; | |
13533 | ||
13534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; | |
13535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13537 | arg2 = (int) SWIG_AsInt(obj1); | |
13538 | if (PyErr_Occurred()) SWIG_fail; | |
13539 | { | |
13540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13541 | (arg1)->SetMargin(arg2); | |
13542 | ||
13543 | wxPyEndAllowThreads(__tstate); | |
13544 | if (PyErr_Occurred()) SWIG_fail; | |
13545 | } | |
13546 | Py_INCREF(Py_None); resultobj = Py_None; | |
13547 | return resultobj; | |
13548 | fail: | |
13549 | return NULL; | |
13550 | } | |
13551 | ||
13552 | ||
13553 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13554 | PyObject *resultobj; | |
13555 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13556 | int arg2 ; | |
13557 | PyObject * obj0 = 0 ; | |
13558 | PyObject * obj1 = 0 ; | |
13559 | char *kwnames[] = { | |
13560 | (char *) "self",(char *) "val", NULL | |
13561 | }; | |
13562 | ||
13563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
13564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13566 | arg2 = (int) SWIG_AsInt(obj1); | |
13567 | if (PyErr_Occurred()) SWIG_fail; | |
13568 | { | |
13569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13570 | (arg1)->SetMessage(arg2); | |
13571 | ||
13572 | wxPyEndAllowThreads(__tstate); | |
13573 | if (PyErr_Occurred()) SWIG_fail; | |
13574 | } | |
13575 | Py_INCREF(Py_None); resultobj = Py_None; | |
13576 | return resultobj; | |
13577 | fail: | |
13578 | return NULL; | |
13579 | } | |
13580 | ||
13581 | ||
13582 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13583 | PyObject *resultobj; | |
13584 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13585 | int arg2 ; | |
13586 | PyObject * obj0 = 0 ; | |
13587 | PyObject * obj1 = 0 ; | |
13588 | char *kwnames[] = { | |
13589 | (char *) "self",(char *) "val", NULL | |
13590 | }; | |
13591 | ||
13592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; | |
13593 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13595 | arg2 = (int) SWIG_AsInt(obj1); | |
13596 | if (PyErr_Occurred()) SWIG_fail; | |
13597 | { | |
13598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13599 | (arg1)->SetWParam(arg2); | |
13600 | ||
13601 | wxPyEndAllowThreads(__tstate); | |
13602 | if (PyErr_Occurred()) SWIG_fail; | |
13603 | } | |
13604 | Py_INCREF(Py_None); resultobj = Py_None; | |
13605 | return resultobj; | |
13606 | fail: | |
13607 | return NULL; | |
13608 | } | |
13609 | ||
13610 | ||
13611 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13612 | PyObject *resultobj; | |
13613 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13614 | int arg2 ; | |
13615 | PyObject * obj0 = 0 ; | |
13616 | PyObject * obj1 = 0 ; | |
13617 | char *kwnames[] = { | |
13618 | (char *) "self",(char *) "val", NULL | |
13619 | }; | |
13620 | ||
13621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; | |
13622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13624 | arg2 = (int) SWIG_AsInt(obj1); | |
13625 | if (PyErr_Occurred()) SWIG_fail; | |
13626 | { | |
13627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13628 | (arg1)->SetLParam(arg2); | |
13629 | ||
13630 | wxPyEndAllowThreads(__tstate); | |
13631 | if (PyErr_Occurred()) SWIG_fail; | |
13632 | } | |
13633 | Py_INCREF(Py_None); resultobj = Py_None; | |
13634 | return resultobj; | |
13635 | fail: | |
13636 | return NULL; | |
13637 | } | |
13638 | ||
13639 | ||
13640 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13641 | PyObject *resultobj; | |
13642 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13643 | int arg2 ; | |
13644 | PyObject * obj0 = 0 ; | |
13645 | PyObject * obj1 = 0 ; | |
13646 | char *kwnames[] = { | |
13647 | (char *) "self",(char *) "val", NULL | |
13648 | }; | |
13649 | ||
13650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; | |
13651 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13652 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13653 | arg2 = (int) SWIG_AsInt(obj1); | |
13654 | if (PyErr_Occurred()) SWIG_fail; | |
13655 | { | |
13656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13657 | (arg1)->SetListType(arg2); | |
13658 | ||
13659 | wxPyEndAllowThreads(__tstate); | |
13660 | if (PyErr_Occurred()) SWIG_fail; | |
13661 | } | |
13662 | Py_INCREF(Py_None); resultobj = Py_None; | |
13663 | return resultobj; | |
13664 | fail: | |
13665 | return NULL; | |
13666 | } | |
13667 | ||
13668 | ||
13669 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13670 | PyObject *resultobj; | |
13671 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13672 | int arg2 ; | |
13673 | PyObject * obj0 = 0 ; | |
13674 | PyObject * obj1 = 0 ; | |
13675 | char *kwnames[] = { | |
13676 | (char *) "self",(char *) "val", NULL | |
13677 | }; | |
13678 | ||
13679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; | |
13680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13682 | arg2 = (int) SWIG_AsInt(obj1); | |
13683 | if (PyErr_Occurred()) SWIG_fail; | |
13684 | { | |
13685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13686 | (arg1)->SetX(arg2); | |
13687 | ||
13688 | wxPyEndAllowThreads(__tstate); | |
13689 | if (PyErr_Occurred()) SWIG_fail; | |
13690 | } | |
13691 | Py_INCREF(Py_None); resultobj = Py_None; | |
13692 | return resultobj; | |
13693 | fail: | |
13694 | return NULL; | |
13695 | } | |
13696 | ||
13697 | ||
13698 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13699 | PyObject *resultobj; | |
13700 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13701 | int arg2 ; | |
13702 | PyObject * obj0 = 0 ; | |
13703 | PyObject * obj1 = 0 ; | |
13704 | char *kwnames[] = { | |
13705 | (char *) "self",(char *) "val", NULL | |
13706 | }; | |
13707 | ||
13708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; | |
13709 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13710 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13711 | arg2 = (int) SWIG_AsInt(obj1); | |
13712 | if (PyErr_Occurred()) SWIG_fail; | |
13713 | { | |
13714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13715 | (arg1)->SetY(arg2); | |
13716 | ||
13717 | wxPyEndAllowThreads(__tstate); | |
13718 | if (PyErr_Occurred()) SWIG_fail; | |
13719 | } | |
13720 | Py_INCREF(Py_None); resultobj = Py_None; | |
13721 | return resultobj; | |
13722 | fail: | |
13723 | return NULL; | |
13724 | } | |
13725 | ||
13726 | ||
13727 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13728 | PyObject *resultobj; | |
13729 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13730 | wxString *arg2 = 0 ; | |
13731 | bool temp2 = False ; | |
13732 | PyObject * obj0 = 0 ; | |
13733 | PyObject * obj1 = 0 ; | |
13734 | char *kwnames[] = { | |
13735 | (char *) "self",(char *) "val", NULL | |
13736 | }; | |
13737 | ||
13738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; | |
13739 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13740 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13741 | { | |
13742 | arg2 = wxString_in_helper(obj1); | |
13743 | if (arg2 == NULL) SWIG_fail; | |
13744 | temp2 = True; | |
13745 | } | |
13746 | { | |
13747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13748 | (arg1)->SetDragText((wxString const &)*arg2); | |
13749 | ||
13750 | wxPyEndAllowThreads(__tstate); | |
13751 | if (PyErr_Occurred()) SWIG_fail; | |
13752 | } | |
13753 | Py_INCREF(Py_None); resultobj = Py_None; | |
13754 | { | |
13755 | if (temp2) | |
13756 | delete arg2; | |
13757 | } | |
13758 | return resultobj; | |
13759 | fail: | |
13760 | { | |
13761 | if (temp2) | |
13762 | delete arg2; | |
13763 | } | |
13764 | return NULL; | |
13765 | } | |
13766 | ||
13767 | ||
13768 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13769 | PyObject *resultobj; | |
13770 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13771 | bool arg2 ; | |
13772 | PyObject * obj0 = 0 ; | |
13773 | PyObject * obj1 = 0 ; | |
13774 | char *kwnames[] = { | |
13775 | (char *) "self",(char *) "val", NULL | |
13776 | }; | |
13777 | ||
13778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; | |
13779 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13780 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13781 | arg2 = (bool) SWIG_AsBool(obj1); | |
13782 | if (PyErr_Occurred()) SWIG_fail; | |
13783 | { | |
13784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13785 | (arg1)->SetDragAllowMove(arg2); | |
13786 | ||
13787 | wxPyEndAllowThreads(__tstate); | |
13788 | if (PyErr_Occurred()) SWIG_fail; | |
13789 | } | |
13790 | Py_INCREF(Py_None); resultobj = Py_None; | |
13791 | return resultobj; | |
13792 | fail: | |
13793 | return NULL; | |
13794 | } | |
13795 | ||
13796 | ||
13797 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13798 | PyObject *resultobj; | |
13799 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13800 | int arg2 ; | |
13801 | PyObject * obj0 = 0 ; | |
13802 | PyObject * obj1 = 0 ; | |
13803 | char *kwnames[] = { | |
13804 | (char *) "self",(char *) "val", NULL | |
13805 | }; | |
13806 | ||
13807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; | |
13808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13810 | arg2 = (wxDragResult) SWIG_AsInt(obj1); | |
13811 | if (PyErr_Occurred()) SWIG_fail; | |
13812 | { | |
13813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13814 | (arg1)->SetDragResult((wxDragResult )arg2); | |
13815 | ||
13816 | wxPyEndAllowThreads(__tstate); | |
13817 | if (PyErr_Occurred()) SWIG_fail; | |
13818 | } | |
13819 | Py_INCREF(Py_None); resultobj = Py_None; | |
13820 | return resultobj; | |
13821 | fail: | |
13822 | return NULL; | |
13823 | } | |
13824 | ||
13825 | ||
13826 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13827 | PyObject *resultobj; | |
13828 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13829 | int result; | |
13830 | PyObject * obj0 = 0 ; | |
13831 | char *kwnames[] = { | |
13832 | (char *) "self", NULL | |
13833 | }; | |
13834 | ||
13835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; | |
13836 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13837 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13838 | { | |
13839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13840 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); | |
13841 | ||
13842 | wxPyEndAllowThreads(__tstate); | |
13843 | if (PyErr_Occurred()) SWIG_fail; | |
13844 | } | |
13845 | resultobj = SWIG_FromInt((int)result); | |
13846 | return resultobj; | |
13847 | fail: | |
13848 | return NULL; | |
13849 | } | |
13850 | ||
13851 | ||
13852 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13853 | PyObject *resultobj; | |
13854 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13855 | int result; | |
13856 | PyObject * obj0 = 0 ; | |
13857 | char *kwnames[] = { | |
13858 | (char *) "self", NULL | |
13859 | }; | |
13860 | ||
13861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; | |
13862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13864 | { | |
13865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13866 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); | |
13867 | ||
13868 | wxPyEndAllowThreads(__tstate); | |
13869 | if (PyErr_Occurred()) SWIG_fail; | |
13870 | } | |
13871 | resultobj = SWIG_FromInt((int)result); | |
13872 | return resultobj; | |
13873 | fail: | |
13874 | return NULL; | |
13875 | } | |
13876 | ||
13877 | ||
13878 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13879 | PyObject *resultobj; | |
13880 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13881 | int result; | |
13882 | PyObject * obj0 = 0 ; | |
13883 | char *kwnames[] = { | |
13884 | (char *) "self", NULL | |
13885 | }; | |
13886 | ||
13887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; | |
13888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13890 | { | |
13891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13892 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); | |
13893 | ||
13894 | wxPyEndAllowThreads(__tstate); | |
13895 | if (PyErr_Occurred()) SWIG_fail; | |
13896 | } | |
13897 | resultobj = SWIG_FromInt((int)result); | |
13898 | return resultobj; | |
13899 | fail: | |
13900 | return NULL; | |
13901 | } | |
13902 | ||
13903 | ||
13904 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13905 | PyObject *resultobj; | |
13906 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13907 | int result; | |
13908 | PyObject * obj0 = 0 ; | |
13909 | char *kwnames[] = { | |
13910 | (char *) "self", NULL | |
13911 | }; | |
13912 | ||
13913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; | |
13914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13916 | { | |
13917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13918 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); | |
13919 | ||
13920 | wxPyEndAllowThreads(__tstate); | |
13921 | if (PyErr_Occurred()) SWIG_fail; | |
13922 | } | |
13923 | resultobj = SWIG_FromInt((int)result); | |
13924 | return resultobj; | |
13925 | fail: | |
13926 | return NULL; | |
13927 | } | |
13928 | ||
13929 | ||
13930 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13931 | PyObject *resultobj; | |
13932 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13933 | wxString result; | |
13934 | PyObject * obj0 = 0 ; | |
13935 | char *kwnames[] = { | |
13936 | (char *) "self", NULL | |
13937 | }; | |
13938 | ||
13939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; | |
13940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13942 | { | |
13943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13944 | result = ((wxStyledTextEvent const *)arg1)->GetText(); | |
13945 | ||
13946 | wxPyEndAllowThreads(__tstate); | |
13947 | if (PyErr_Occurred()) SWIG_fail; | |
13948 | } | |
13949 | { | |
13950 | #if wxUSE_UNICODE | |
13951 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13952 | #else | |
13953 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13954 | #endif | |
13955 | } | |
13956 | return resultobj; | |
13957 | fail: | |
13958 | return NULL; | |
13959 | } | |
13960 | ||
13961 | ||
13962 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13963 | PyObject *resultobj; | |
13964 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13965 | int result; | |
13966 | PyObject * obj0 = 0 ; | |
13967 | char *kwnames[] = { | |
13968 | (char *) "self", NULL | |
13969 | }; | |
13970 | ||
13971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; | |
13972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13974 | { | |
13975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13976 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); | |
13977 | ||
13978 | wxPyEndAllowThreads(__tstate); | |
13979 | if (PyErr_Occurred()) SWIG_fail; | |
13980 | } | |
13981 | resultobj = SWIG_FromInt((int)result); | |
13982 | return resultobj; | |
13983 | fail: | |
13984 | return NULL; | |
13985 | } | |
13986 | ||
13987 | ||
13988 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13989 | PyObject *resultobj; | |
13990 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13991 | int result; | |
13992 | PyObject * obj0 = 0 ; | |
13993 | char *kwnames[] = { | |
13994 | (char *) "self", NULL | |
13995 | }; | |
13996 | ||
13997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; | |
13998 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
13999 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14000 | { | |
14001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14002 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); | |
14003 | ||
14004 | wxPyEndAllowThreads(__tstate); | |
14005 | if (PyErr_Occurred()) SWIG_fail; | |
14006 | } | |
14007 | resultobj = SWIG_FromInt((int)result); | |
14008 | return resultobj; | |
14009 | fail: | |
14010 | return NULL; | |
14011 | } | |
14012 | ||
14013 | ||
14014 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14015 | PyObject *resultobj; | |
14016 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14017 | int result; | |
14018 | PyObject * obj0 = 0 ; | |
14019 | char *kwnames[] = { | |
14020 | (char *) "self", NULL | |
14021 | }; | |
14022 | ||
14023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
14024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14026 | { | |
14027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14028 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
14029 | ||
14030 | wxPyEndAllowThreads(__tstate); | |
14031 | if (PyErr_Occurred()) SWIG_fail; | |
14032 | } | |
14033 | resultobj = SWIG_FromInt((int)result); | |
14034 | return resultobj; | |
14035 | fail: | |
14036 | return NULL; | |
14037 | } | |
14038 | ||
14039 | ||
14040 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14041 | PyObject *resultobj; | |
14042 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14043 | int result; | |
14044 | PyObject * obj0 = 0 ; | |
14045 | char *kwnames[] = { | |
14046 | (char *) "self", NULL | |
14047 | }; | |
14048 | ||
14049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
14050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14052 | { | |
14053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14054 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
14055 | ||
14056 | wxPyEndAllowThreads(__tstate); | |
14057 | if (PyErr_Occurred()) SWIG_fail; | |
14058 | } | |
14059 | resultobj = SWIG_FromInt((int)result); | |
14060 | return resultobj; | |
14061 | fail: | |
14062 | return NULL; | |
14063 | } | |
14064 | ||
14065 | ||
14066 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14067 | PyObject *resultobj; | |
14068 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14069 | int result; | |
14070 | PyObject * obj0 = 0 ; | |
14071 | char *kwnames[] = { | |
14072 | (char *) "self", NULL | |
14073 | }; | |
14074 | ||
14075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
14076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14078 | { | |
14079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14080 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
14081 | ||
14082 | wxPyEndAllowThreads(__tstate); | |
14083 | if (PyErr_Occurred()) SWIG_fail; | |
14084 | } | |
14085 | resultobj = SWIG_FromInt((int)result); | |
14086 | return resultobj; | |
14087 | fail: | |
14088 | return NULL; | |
14089 | } | |
14090 | ||
14091 | ||
14092 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14093 | PyObject *resultobj; | |
14094 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14095 | int result; | |
14096 | PyObject * obj0 = 0 ; | |
14097 | char *kwnames[] = { | |
14098 | (char *) "self", NULL | |
14099 | }; | |
14100 | ||
14101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
14102 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14104 | { | |
14105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14106 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
14107 | ||
14108 | wxPyEndAllowThreads(__tstate); | |
14109 | if (PyErr_Occurred()) SWIG_fail; | |
14110 | } | |
14111 | resultobj = SWIG_FromInt((int)result); | |
14112 | return resultobj; | |
14113 | fail: | |
14114 | return NULL; | |
14115 | } | |
14116 | ||
14117 | ||
14118 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14119 | PyObject *resultobj; | |
14120 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14121 | int result; | |
14122 | PyObject * obj0 = 0 ; | |
14123 | char *kwnames[] = { | |
14124 | (char *) "self", NULL | |
14125 | }; | |
14126 | ||
14127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
14128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14130 | { | |
14131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14132 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
14133 | ||
14134 | wxPyEndAllowThreads(__tstate); | |
14135 | if (PyErr_Occurred()) SWIG_fail; | |
14136 | } | |
14137 | resultobj = SWIG_FromInt((int)result); | |
14138 | return resultobj; | |
14139 | fail: | |
14140 | return NULL; | |
14141 | } | |
14142 | ||
14143 | ||
14144 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14145 | PyObject *resultobj; | |
14146 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14147 | int result; | |
14148 | PyObject * obj0 = 0 ; | |
14149 | char *kwnames[] = { | |
14150 | (char *) "self", NULL | |
14151 | }; | |
14152 | ||
14153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
14154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14156 | { | |
14157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14158 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
14159 | ||
14160 | wxPyEndAllowThreads(__tstate); | |
14161 | if (PyErr_Occurred()) SWIG_fail; | |
14162 | } | |
14163 | resultobj = SWIG_FromInt((int)result); | |
14164 | return resultobj; | |
14165 | fail: | |
14166 | return NULL; | |
14167 | } | |
14168 | ||
14169 | ||
14170 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14171 | PyObject *resultobj; | |
14172 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14173 | int result; | |
14174 | PyObject * obj0 = 0 ; | |
14175 | char *kwnames[] = { | |
14176 | (char *) "self", NULL | |
14177 | }; | |
14178 | ||
14179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
14180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14182 | { | |
14183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14184 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
14185 | ||
14186 | wxPyEndAllowThreads(__tstate); | |
14187 | if (PyErr_Occurred()) SWIG_fail; | |
14188 | } | |
14189 | resultobj = SWIG_FromInt((int)result); | |
14190 | return resultobj; | |
14191 | fail: | |
14192 | return NULL; | |
14193 | } | |
14194 | ||
14195 | ||
14196 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14197 | PyObject *resultobj; | |
14198 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14199 | int result; | |
14200 | PyObject * obj0 = 0 ; | |
14201 | char *kwnames[] = { | |
14202 | (char *) "self", NULL | |
14203 | }; | |
14204 | ||
14205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
14206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14208 | { | |
14209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14210 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
14211 | ||
14212 | wxPyEndAllowThreads(__tstate); | |
14213 | if (PyErr_Occurred()) SWIG_fail; | |
14214 | } | |
14215 | resultobj = SWIG_FromInt((int)result); | |
14216 | return resultobj; | |
14217 | fail: | |
14218 | return NULL; | |
14219 | } | |
14220 | ||
14221 | ||
14222 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14223 | PyObject *resultobj; | |
14224 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14225 | int result; | |
14226 | PyObject * obj0 = 0 ; | |
14227 | char *kwnames[] = { | |
14228 | (char *) "self", NULL | |
14229 | }; | |
14230 | ||
14231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
14232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14234 | { | |
14235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14236 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
14237 | ||
14238 | wxPyEndAllowThreads(__tstate); | |
14239 | if (PyErr_Occurred()) SWIG_fail; | |
14240 | } | |
14241 | resultobj = SWIG_FromInt((int)result); | |
14242 | return resultobj; | |
14243 | fail: | |
14244 | return NULL; | |
14245 | } | |
14246 | ||
14247 | ||
14248 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14249 | PyObject *resultobj; | |
14250 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14251 | int result; | |
14252 | PyObject * obj0 = 0 ; | |
14253 | char *kwnames[] = { | |
14254 | (char *) "self", NULL | |
14255 | }; | |
14256 | ||
14257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
14258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14260 | { | |
14261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14262 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
14263 | ||
14264 | wxPyEndAllowThreads(__tstate); | |
14265 | if (PyErr_Occurred()) SWIG_fail; | |
14266 | } | |
14267 | resultobj = SWIG_FromInt((int)result); | |
14268 | return resultobj; | |
14269 | fail: | |
14270 | return NULL; | |
14271 | } | |
14272 | ||
14273 | ||
14274 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14275 | PyObject *resultobj; | |
14276 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14277 | wxString result; | |
14278 | PyObject * obj0 = 0 ; | |
14279 | char *kwnames[] = { | |
14280 | (char *) "self", NULL | |
14281 | }; | |
14282 | ||
14283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
14284 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14285 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14286 | { | |
14287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14288 | result = (arg1)->GetDragText(); | |
14289 | ||
14290 | wxPyEndAllowThreads(__tstate); | |
14291 | if (PyErr_Occurred()) SWIG_fail; | |
14292 | } | |
14293 | { | |
14294 | #if wxUSE_UNICODE | |
14295 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14296 | #else | |
14297 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14298 | #endif | |
14299 | } | |
14300 | return resultobj; | |
14301 | fail: | |
14302 | return NULL; | |
14303 | } | |
14304 | ||
14305 | ||
14306 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14307 | PyObject *resultobj; | |
14308 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14309 | bool result; | |
14310 | PyObject * obj0 = 0 ; | |
14311 | char *kwnames[] = { | |
14312 | (char *) "self", NULL | |
14313 | }; | |
14314 | ||
14315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
14316 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14318 | { | |
14319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14320 | result = (bool)(arg1)->GetDragAllowMove(); | |
14321 | ||
14322 | wxPyEndAllowThreads(__tstate); | |
14323 | if (PyErr_Occurred()) SWIG_fail; | |
14324 | } | |
14325 | { | |
14326 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14327 | } | |
14328 | return resultobj; | |
14329 | fail: | |
14330 | return NULL; | |
14331 | } | |
14332 | ||
14333 | ||
14334 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14335 | PyObject *resultobj; | |
14336 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14337 | int result; | |
14338 | PyObject * obj0 = 0 ; | |
14339 | char *kwnames[] = { | |
14340 | (char *) "self", NULL | |
14341 | }; | |
14342 | ||
14343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
14344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14346 | { | |
14347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14348 | result = (int)(arg1)->GetDragResult(); | |
14349 | ||
14350 | wxPyEndAllowThreads(__tstate); | |
14351 | if (PyErr_Occurred()) SWIG_fail; | |
14352 | } | |
14353 | resultobj = SWIG_FromInt((int)result); | |
14354 | return resultobj; | |
14355 | fail: | |
14356 | return NULL; | |
14357 | } | |
14358 | ||
14359 | ||
14360 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14361 | PyObject *resultobj; | |
14362 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14363 | bool result; | |
14364 | PyObject * obj0 = 0 ; | |
14365 | char *kwnames[] = { | |
14366 | (char *) "self", NULL | |
14367 | }; | |
14368 | ||
14369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
14370 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14372 | { | |
14373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14374 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
14375 | ||
14376 | wxPyEndAllowThreads(__tstate); | |
14377 | if (PyErr_Occurred()) SWIG_fail; | |
14378 | } | |
14379 | { | |
14380 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14381 | } | |
14382 | return resultobj; | |
14383 | fail: | |
14384 | return NULL; | |
14385 | } | |
14386 | ||
14387 | ||
14388 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14389 | PyObject *resultobj; | |
14390 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14391 | bool result; | |
14392 | PyObject * obj0 = 0 ; | |
14393 | char *kwnames[] = { | |
14394 | (char *) "self", NULL | |
14395 | }; | |
14396 | ||
14397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
14398 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14400 | { | |
14401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14402 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
14403 | ||
14404 | wxPyEndAllowThreads(__tstate); | |
14405 | if (PyErr_Occurred()) SWIG_fail; | |
14406 | } | |
14407 | { | |
14408 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14409 | } | |
14410 | return resultobj; | |
14411 | fail: | |
14412 | return NULL; | |
14413 | } | |
14414 | ||
14415 | ||
14416 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14417 | PyObject *resultobj; | |
14418 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14419 | bool result; | |
14420 | PyObject * obj0 = 0 ; | |
14421 | char *kwnames[] = { | |
14422 | (char *) "self", NULL | |
14423 | }; | |
14424 | ||
14425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
14426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14428 | { | |
14429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14430 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
14431 | ||
14432 | wxPyEndAllowThreads(__tstate); | |
14433 | if (PyErr_Occurred()) SWIG_fail; | |
14434 | } | |
14435 | { | |
14436 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14437 | } | |
14438 | return resultobj; | |
14439 | fail: | |
14440 | return NULL; | |
14441 | } | |
14442 | ||
14443 | ||
14444 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14445 | PyObject *resultobj; | |
14446 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14447 | wxEvent *result; | |
14448 | PyObject * obj0 = 0 ; | |
14449 | char *kwnames[] = { | |
14450 | (char *) "self", NULL | |
14451 | }; | |
14452 | ||
14453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
14454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, | |
14455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14456 | { | |
14457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14458 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
14459 | ||
14460 | wxPyEndAllowThreads(__tstate); | |
14461 | if (PyErr_Occurred()) SWIG_fail; | |
14462 | } | |
14463 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); | |
14464 | return resultobj; | |
14465 | fail: | |
14466 | return NULL; | |
14467 | } | |
14468 | ||
14469 | ||
14470 | static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) { | |
14471 | PyObject *obj; | |
14472 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14473 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
14474 | Py_INCREF(obj); | |
14475 | return Py_BuildValue((char *)""); | |
14476 | } | |
14477 | static PyMethodDef SwigMethods[] = { | |
14478 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
14479 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
14480 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS }, | |
14481 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
14482 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
14483 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
14484 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
14485 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
14486 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
14487 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, | |
14488 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
14489 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
14490 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, | |
14491 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
14492 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
14493 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
14494 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
14495 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, | |
14496 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
14497 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
14498 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, | |
14499 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
14500 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
14501 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
14502 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, | |
14503 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, | |
14504 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
14505 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, | |
14506 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
14507 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
14508 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
14509 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, | |
14510 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
14511 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
14512 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, | |
14513 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
14514 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
14515 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
14516 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
14517 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
14518 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
14519 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
14520 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14521 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
14522 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
14523 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
14524 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
14525 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
14526 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
14527 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
14528 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS }, | |
14529 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
14530 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
14531 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
14532 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
14533 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
14534 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
14535 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
14536 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
14537 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, | |
14538 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14539 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
14540 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
14541 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, | |
14542 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, | |
14543 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, | |
14544 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, | |
14545 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, | |
14546 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, | |
14547 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, | |
14548 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, | |
14549 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS }, | |
14550 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
14551 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, | |
14552 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
14553 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
14554 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
14555 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
14556 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
14557 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, | |
14558 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
14559 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
14560 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, | |
14561 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
14562 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
14563 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
14564 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, | |
14565 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14566 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14567 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS }, | |
14568 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS }, | |
14569 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
14570 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
14571 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
14572 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
14573 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, | |
14574 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
14575 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
14576 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
14577 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
14578 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, | |
14579 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
14580 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
14581 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, | |
14582 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, | |
14583 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, | |
14584 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, | |
14585 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
14586 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
14587 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, | |
14588 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
14589 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
14590 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
14591 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
14592 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
14593 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
14594 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
14595 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
14596 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
14597 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
14598 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
14599 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
14600 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS }, | |
14601 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS }, | |
14602 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS }, | |
14603 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS }, | |
14604 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
14605 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
14606 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
14607 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
14608 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
14609 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
14610 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
14611 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
14612 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14613 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14614 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
14615 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
14616 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
14617 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
14618 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
14619 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
14620 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
14621 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14622 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
14623 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
14624 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
14625 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
14626 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
14627 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
14628 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
14629 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
14630 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
14631 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
14632 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
14633 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
14634 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
14635 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
14636 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
14637 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
14638 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
14639 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
14640 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
14641 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
14642 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
14643 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
14644 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
14645 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
14646 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
14647 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
14648 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
14649 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
14650 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
14651 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
14652 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
14653 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
14654 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
14655 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
14656 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
14657 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
14658 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
14659 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
14660 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
14661 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
14662 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
14663 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
14664 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
14665 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
14666 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
14667 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
14668 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
14669 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
14670 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
14671 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
14672 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
14673 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
14674 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
14675 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
14676 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
14677 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
14678 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
14679 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
14680 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
14681 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
14682 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS }, | |
14683 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
14684 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
14685 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
14686 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
14687 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
14688 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
14689 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
14690 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
14691 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
14692 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
14693 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
14694 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
14695 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
14696 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, | |
14697 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
14698 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
14699 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
14700 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
14701 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
14702 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
14703 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
14704 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
14705 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
14706 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
14707 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
14708 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
14709 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
14710 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
14711 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
14712 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS }, | |
14713 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
14714 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
14715 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS }, | |
14716 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14717 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14718 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, | |
14719 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS }, | |
14720 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS }, | |
14721 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS }, | |
14722 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS }, | |
14723 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS }, | |
14724 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS }, | |
14725 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS }, | |
14726 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS }, | |
14727 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS }, | |
14728 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS }, | |
14729 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS }, | |
14730 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS }, | |
14731 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
14732 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS }, | |
14733 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
14734 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS }, | |
14735 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
14736 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS }, | |
14737 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
14738 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS }, | |
14739 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS }, | |
14740 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS }, | |
14741 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS }, | |
14742 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS }, | |
14743 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS }, | |
14744 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS }, | |
14745 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS }, | |
14746 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS }, | |
14747 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS }, | |
14748 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS }, | |
14749 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS }, | |
14750 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS }, | |
14751 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS }, | |
14752 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS }, | |
14753 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS }, | |
14754 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS }, | |
14755 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS }, | |
14756 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS }, | |
14757 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS }, | |
14758 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS }, | |
14759 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS }, | |
14760 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS }, | |
14761 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS }, | |
14762 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS }, | |
14763 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS }, | |
14764 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS }, | |
14765 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS }, | |
14766 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS }, | |
14767 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS }, | |
14768 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS }, | |
14769 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS }, | |
14770 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS }, | |
14771 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS }, | |
14772 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS }, | |
14773 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS }, | |
14774 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS }, | |
14775 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS }, | |
14776 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS }, | |
14777 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS }, | |
14778 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS }, | |
14779 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS }, | |
14780 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS }, | |
14781 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS }, | |
14782 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS }, | |
14783 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, | |
14784 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
14785 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
14786 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
14787 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
14788 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
14789 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
14790 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
14791 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
14792 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
14793 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
14794 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
14795 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
14796 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
14797 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
14798 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
14799 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
14800 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
14801 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
14802 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
14803 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
14804 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
14805 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
14806 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
14807 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
14808 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
14809 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
14810 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
14811 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
14812 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
14813 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
14814 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
14815 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
14816 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
14817 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS }, | |
14818 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS }, | |
14819 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
14820 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
14821 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
14822 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
14823 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
14824 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
14825 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
14826 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
14827 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, | |
14828 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
14829 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
14830 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS }, | |
14831 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
14832 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
14833 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
14834 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
14835 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS }, | |
14836 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS }, | |
14837 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS }, | |
14838 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS }, | |
14839 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS }, | |
14840 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS }, | |
14841 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS }, | |
14842 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS }, | |
14843 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS }, | |
14844 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS }, | |
14845 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS }, | |
14846 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS }, | |
14847 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS }, | |
14848 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS }, | |
14849 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
14850 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
14851 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14852 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14853 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14854 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14855 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14856 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14857 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14858 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14859 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS }, | |
14860 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS }, | |
14861 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS }, | |
14862 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS }, | |
14863 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS }, | |
14864 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS }, | |
14865 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS }, | |
14866 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS }, | |
14867 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS }, | |
14868 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS }, | |
14869 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS }, | |
14870 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS }, | |
14871 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
14872 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, | |
14873 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
14874 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
14875 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
14876 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, | |
14877 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
14878 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, | |
14879 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
14880 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
14881 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
14882 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
14883 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
14884 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
14885 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
14886 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
14887 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
14888 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, | |
14889 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, | |
14890 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14891 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
14892 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
14893 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
14894 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, | |
14895 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
14896 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS }, | |
14897 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS }, | |
14898 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS }, | |
14899 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS }, | |
14900 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS }, | |
14901 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
14902 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
14903 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
14904 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
14905 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
14906 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
14907 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
14908 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
14909 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
14910 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
14911 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
14912 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
14913 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
14914 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
14915 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
14916 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
14917 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
14918 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
14919 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, | |
14920 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
14921 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
14922 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, | |
14923 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
14924 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
14925 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
14926 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
14927 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
14928 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
14929 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
14930 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
14931 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
14932 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
14933 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
14934 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
14935 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
14936 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
14937 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
14938 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
14939 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
14940 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
14941 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
14942 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, | |
14943 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
14944 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
14945 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, | |
14946 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, | |
14947 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS }, | |
14948 | { NULL, NULL } | |
14949 | }; | |
14950 | ||
14951 | ||
14952 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
14953 | ||
14954 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
14955 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
14956 | } | |
14957 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
14958 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
14959 | } | |
14960 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
14961 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
14962 | } | |
14963 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
14964 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
14965 | } | |
14966 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
14967 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
14968 | } | |
14969 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
14970 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
14971 | } | |
14972 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
14973 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
14974 | } | |
14975 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
14976 | return (void *)((wxObject *) ((wxSizer *) x)); | |
14977 | } | |
14978 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
14979 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
14980 | } | |
14981 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { | |
14982 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
14983 | } | |
14984 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
14985 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
14986 | } | |
14987 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
14988 | return (void *)((wxObject *) ((wxEvent *) x)); | |
14989 | } | |
14990 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
14991 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
14992 | } | |
14993 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
14994 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
14995 | } | |
14996 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
14997 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
14998 | } | |
14999 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
15000 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
15001 | } | |
15002 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
15003 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
15004 | } | |
15005 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { | |
15006 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15007 | } | |
15008 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
15009 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15010 | } | |
15011 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
15012 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15013 | } | |
15014 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
15015 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15016 | } | |
15017 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
15018 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15019 | } | |
15020 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
15021 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
15022 | } | |
15023 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
15024 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
15025 | } | |
15026 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { | |
15027 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
15028 | } | |
15029 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
15030 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
15031 | } | |
15032 | static void *_p_wxClipboardTo_p_wxObject(void *x) { | |
15033 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
15034 | } | |
15035 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
15036 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
15037 | } | |
15038 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
15039 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
15040 | } | |
15041 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
15042 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
15043 | } | |
15044 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
15045 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15046 | } | |
15047 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
15048 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
15049 | } | |
15050 | static void *_p_wxToolTipTo_p_wxObject(void *x) { | |
15051 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
15052 | } | |
15053 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
15054 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
15055 | } | |
15056 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
15057 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
15058 | } | |
15059 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
15060 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15061 | } | |
15062 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
15063 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15064 | } | |
15065 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
15066 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
15067 | } | |
15068 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
15069 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
15070 | } | |
15071 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
15072 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
15073 | } | |
15074 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
15075 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
15076 | } | |
15077 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
15078 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
15079 | } | |
15080 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
15081 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
15082 | } | |
15083 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
15084 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
15085 | } | |
15086 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
15087 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
15088 | } | |
15089 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
15090 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
15091 | } | |
15092 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
15093 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
15094 | } | |
15095 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
15096 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
15097 | } | |
15098 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
15099 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
15100 | } | |
15101 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
15102 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
15103 | } | |
15104 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
15105 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
15106 | } | |
15107 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
15108 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
15109 | } | |
15110 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
15111 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
15112 | } | |
15113 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
15114 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
15115 | } | |
15116 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
15117 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
15118 | } | |
15119 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
15120 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
15121 | } | |
15122 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
15123 | return (void *)((wxObject *) ((wxImage *) x)); | |
15124 | } | |
15125 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
15126 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
15127 | } | |
15128 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { | |
15129 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
15130 | } | |
15131 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
15132 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
15133 | } | |
15134 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
15135 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15136 | } | |
15137 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
15138 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15139 | } | |
15140 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
15141 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
15142 | } | |
15143 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
15144 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
15145 | } | |
15146 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
15147 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
15148 | } | |
15149 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
15150 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
15151 | } | |
15152 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { | |
15153 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
15154 | } | |
15155 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
15156 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
15157 | } | |
15158 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
15159 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15160 | } | |
15161 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
15162 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
15163 | } | |
15164 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
15165 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
15166 | } | |
15167 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
15168 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
15169 | } | |
15170 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
15171 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
15172 | } | |
15173 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
15174 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
15175 | } | |
15176 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { | |
15177 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
15178 | } | |
15179 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
15180 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15181 | } | |
15182 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
15183 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
15184 | } | |
15185 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
15186 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
15187 | } | |
15188 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
15189 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
15190 | } | |
15191 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
15192 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15193 | } | |
15194 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { | |
15195 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
15196 | } | |
15197 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
15198 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15199 | } | |
15200 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
15201 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
15202 | } | |
15203 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
15204 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
15205 | } | |
15206 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { | |
15207 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
15208 | } | |
15209 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
15210 | return (void *)((wxWindow *) ((wxControl *) x)); | |
15211 | } | |
15212 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
15213 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
15214 | } | |
15215 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
15216 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
15217 | } | |
15218 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
15219 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
15220 | } | |
15221 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
15222 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15223 | } | |
15224 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
15225 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
15226 | } | |
15227 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
15228 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15229 | } | |
15230 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
15231 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15232 | } | |
15233 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
15234 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15235 | } | |
15236 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
15237 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15238 | } | |
15239 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
15240 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15241 | } | |
15242 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
15243 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15244 | } | |
15245 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
15246 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15247 | } | |
15248 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
15249 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
15250 | } | |
15251 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
15252 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
15253 | } | |
15254 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
15255 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15256 | } | |
15257 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
15258 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
15259 | } | |
15260 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { | |
15261 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
15262 | } | |
15263 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { | |
15264 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
15265 | } | |
15266 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
15267 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
15268 | } | |
15269 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
15270 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
15271 | } | |
15272 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
15273 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
15274 | } | |
15275 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
15276 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
15277 | } | |
15278 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { | |
15279 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
15280 | } | |
15281 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
15282 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
15283 | } | |
15284 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
15285 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
15286 | } | |
15287 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
15288 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15289 | } | |
15290 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
15291 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
15292 | } | |
15293 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
15294 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
15295 | } | |
15296 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
15297 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
15298 | } | |
15299 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
15300 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
15301 | } | |
15302 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
15303 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
15304 | } | |
15305 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { | |
15306 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
15307 | } | |
15308 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
15309 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
15310 | } | |
15311 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
15312 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
15313 | } | |
15314 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
15315 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
15316 | } | |
15317 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
15318 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15319 | } | |
15320 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { | |
15321 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
15322 | } | |
15323 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
15324 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
15325 | } | |
15326 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
15327 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15328 | } | |
15329 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
15330 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15331 | } | |
15332 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
15333 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
15334 | } | |
15335 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
15336 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
15337 | } | |
15338 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
15339 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
15340 | } | |
15341 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
15342 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
15343 | } | |
15344 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
15345 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
15346 | } | |
15347 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
15348 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
15349 | } | |
15350 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
15351 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
15352 | } | |
15353 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
15354 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15355 | } | |
15356 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
15357 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15358 | } | |
15359 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
15360 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15361 | } | |
15362 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
15363 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15364 | } | |
15365 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
15366 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15367 | } | |
15368 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
15369 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15370 | } | |
15371 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
15372 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
15373 | } | |
15374 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
15375 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
15376 | } | |
15377 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
15378 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15379 | } | |
15380 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { | |
15381 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
15382 | } | |
15383 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
15384 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
15385 | } | |
15386 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
15387 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
15388 | } | |
15389 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
15390 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15391 | } | |
15392 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
15393 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15394 | } | |
15395 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
15396 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15397 | } | |
15398 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
15399 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
15400 | } | |
15401 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
15402 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
15403 | } | |
15404 | 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}}; | |
15405 | 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}}; | |
15406 | 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}}; | |
15407 | 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}}; | |
15408 | 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}}; | |
15409 | 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}}; | |
15410 | 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}}; | |
15411 | 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}}; | |
15412 | 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}}; | |
15413 | 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}}; | |
15414 | 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}}; | |
15415 | 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}}; | |
15416 | 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}}; | |
15417 | 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}}; | |
15418 | 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}}; | |
15419 | 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}}; | |
15420 | 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}}; | |
15421 | 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}}; | |
15422 | 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}}; | |
15423 | ||
15424 | static swig_type_info *swig_types_initial[] = { | |
15425 | _swigt__p_wxRect, | |
15426 | _swigt__p_wxColour, | |
15427 | _swigt__p_wxObject, | |
15428 | _swigt__p_wxScrollBar, | |
15429 | _swigt__p_wxStyledTextEvent, | |
15430 | _swigt__p_wxWindow, | |
15431 | _swigt__p_wxCommandEvent, | |
15432 | _swigt__p_wxBitmap, | |
15433 | _swigt__p_void, | |
15434 | _swigt__p_wxPoint, | |
15435 | _swigt__p_wxDC, | |
15436 | _swigt__p_char, | |
15437 | _swigt__p_wxEvtHandler, | |
15438 | _swigt__p_wxStyledTextCtrl, | |
15439 | _swigt__p_wxFont, | |
15440 | _swigt__p_wxControl, | |
15441 | _swigt__p_wxEvent, | |
15442 | _swigt__p_int, | |
15443 | _swigt__p_wxMemoryBuffer, | |
15444 | 0 | |
15445 | }; | |
15446 | ||
15447 | ||
15448 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
15449 | ||
15450 | static swig_const_info swig_const_table[] = { | |
15451 | {0}}; | |
15452 | ||
15453 | #ifdef __cplusplus | |
15454 | } | |
15455 | #endif | |
15456 | ||
15457 | #ifdef __cplusplus | |
15458 | extern "C" | |
15459 | #endif | |
15460 | SWIGEXPORT(void) SWIG_init(void) { | |
15461 | static PyObject *SWIG_globals = 0; | |
15462 | static int typeinit = 0; | |
15463 | PyObject *m, *d; | |
15464 | int i; | |
15465 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
15466 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
15467 | d = PyModule_GetDict(m); | |
15468 | ||
15469 | if (!typeinit) { | |
15470 | for (i = 0; swig_types_initial[i]; i++) { | |
15471 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
15472 | } | |
15473 | typeinit = 1; | |
15474 | } | |
15475 | SWIG_InstallConstants(d,swig_const_table); | |
15476 | ||
15477 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
15478 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
15479 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_FromInt((int)1)); | |
15480 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_FromInt((int)1)); | |
15481 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_FromInt((int)-1)); | |
15482 | PyDict_SetItemString(d,"STC_START", SWIG_FromInt((int)2000)); | |
15483 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_FromInt((int)3000)); | |
15484 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_FromInt((int)4000)); | |
15485 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_FromInt((int)0)); | |
15486 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_FromInt((int)1)); | |
15487 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_FromInt((int)2)); | |
15488 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_FromInt((int)0)); | |
15489 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_FromInt((int)1)); | |
15490 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_FromInt((int)2)); | |
15491 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_FromInt((int)65001)); | |
15492 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_FromInt((int)1)); | |
15493 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_FromInt((int)31)); | |
15494 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_FromInt((int)0)); | |
15495 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_FromInt((int)1)); | |
15496 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_FromInt((int)2)); | |
15497 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_FromInt((int)3)); | |
15498 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_FromInt((int)4)); | |
15499 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_FromInt((int)5)); | |
15500 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_FromInt((int)6)); | |
15501 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_FromInt((int)7)); | |
15502 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_FromInt((int)8)); | |
15503 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_FromInt((int)9)); | |
15504 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_FromInt((int)10)); | |
15505 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_FromInt((int)11)); | |
15506 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_FromInt((int)12)); | |
15507 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_FromInt((int)13)); | |
15508 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_FromInt((int)14)); | |
15509 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_FromInt((int)15)); | |
15510 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_FromInt((int)16)); | |
15511 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_FromInt((int)17)); | |
15512 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_FromInt((int)18)); | |
15513 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_FromInt((int)19)); | |
15514 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_FromInt((int)20)); | |
15515 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_FromInt((int)21)); | |
15516 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_FromInt((int)22)); | |
15517 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_FromInt((int)23)); | |
15518 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_FromInt((int)24)); | |
15519 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_FromInt((int)25)); | |
15520 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_FromInt((int)10000)); | |
15521 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_FromInt((int)25)); | |
15522 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_FromInt((int)26)); | |
15523 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_FromInt((int)27)); | |
15524 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_FromInt((int)28)); | |
15525 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_FromInt((int)29)); | |
15526 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_FromInt((int)30)); | |
15527 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_FromInt((int)31)); | |
15528 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_FromInt((int)0xFE000000)); | |
15529 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_FromInt((int)0)); | |
15530 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_FromInt((int)1)); | |
15531 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_FromInt((int)32)); | |
15532 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_FromInt((int)33)); | |
15533 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_FromInt((int)34)); | |
15534 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_FromInt((int)35)); | |
15535 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_FromInt((int)36)); | |
15536 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_FromInt((int)37)); | |
15537 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_FromInt((int)39)); | |
15538 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_FromInt((int)127)); | |
15539 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_FromInt((int)0)); | |
15540 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_FromInt((int)1)); | |
15541 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_FromInt((int)186)); | |
15542 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_FromInt((int)136)); | |
15543 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_FromInt((int)238)); | |
15544 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_FromInt((int)134)); | |
15545 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_FromInt((int)161)); | |
15546 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_FromInt((int)129)); | |
15547 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_FromInt((int)77)); | |
15548 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_FromInt((int)255)); | |
15549 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_FromInt((int)204)); | |
15550 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_FromInt((int)128)); | |
15551 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_FromInt((int)2)); | |
15552 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_FromInt((int)162)); | |
15553 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_FromInt((int)130)); | |
15554 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_FromInt((int)177)); | |
15555 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_FromInt((int)178)); | |
15556 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_FromInt((int)163)); | |
15557 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_FromInt((int)222)); | |
15558 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_FromInt((int)0)); | |
15559 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_FromInt((int)1)); | |
15560 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_FromInt((int)2)); | |
15561 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_FromInt((int)7)); | |
15562 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_FromInt((int)0)); | |
15563 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_FromInt((int)1)); | |
15564 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_FromInt((int)2)); | |
15565 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_FromInt((int)3)); | |
15566 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_FromInt((int)4)); | |
15567 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_FromInt((int)5)); | |
15568 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_FromInt((int)6)); | |
15569 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_FromInt((int)0x20)); | |
15570 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_FromInt((int)0x40)); | |
15571 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_FromInt((int)0x80)); | |
15572 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_FromInt((int)0xE0)); | |
15573 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_FromInt((int)0)); | |
15574 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_FromInt((int)1)); | |
15575 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_FromInt((int)2)); | |
15576 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_FromInt((int)3)); | |
15577 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_FromInt((int)4)); | |
15578 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_FromInt((int)2)); | |
15579 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_FromInt((int)4)); | |
15580 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_FromInt((int)0x00100000)); | |
15581 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_FromInt((int)0x00200000)); | |
15582 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_FromInt((int)0x00400000)); | |
15583 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_FromInt((int)0x400)); | |
15584 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_FromInt((int)0x1000)); | |
15585 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_FromInt((int)0x2000)); | |
15586 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_FromInt((int)0x4000)); | |
15587 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_FromInt((int)0x8000)); | |
15588 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_FromInt((int)0x10000)); | |
15589 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_FromInt((int)0x20000)); | |
15590 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_FromInt((int)0x0FFF)); | |
15591 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_FromInt((int)0x0002)); | |
15592 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_FromInt((int)0x0004)); | |
15593 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_FromInt((int)0x0008)); | |
15594 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_FromInt((int)0x0010)); | |
15595 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_FromInt((int)0x0040)); | |
15596 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_FromInt((int)0x0001)); | |
15597 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_FromInt((int)10000000)); | |
15598 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_FromInt((int)0)); | |
15599 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_FromInt((int)1)); | |
15600 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_FromInt((int)0)); | |
15601 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_FromInt((int)1)); | |
15602 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_FromInt((int)2)); | |
15603 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_FromInt((int)3)); | |
15604 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_FromInt((int)0)); | |
15605 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_FromInt((int)1)); | |
15606 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_FromInt((int)2)); | |
15607 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_FromInt((int)-1)); | |
15608 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_FromInt((int)4)); | |
15609 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_FromInt((int)0x01)); | |
15610 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_FromInt((int)0x04)); | |
15611 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_FromInt((int)0x01)); | |
15612 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_FromInt((int)0x04)); | |
15613 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_FromInt((int)0x10)); | |
15614 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_FromInt((int)0x08)); | |
15615 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_FromInt((int)0)); | |
15616 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_FromInt((int)1)); | |
15617 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_FromInt((int)2)); | |
15618 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_FromInt((int)8)); | |
15619 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_FromInt((int)0x1)); | |
15620 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_FromInt((int)0x2)); | |
15621 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_FromInt((int)0x4)); | |
15622 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_FromInt((int)0x8)); | |
15623 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_FromInt((int)0x10)); | |
15624 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_FromInt((int)0x20)); | |
15625 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_FromInt((int)0x40)); | |
15626 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_FromInt((int)0x100)); | |
15627 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_FromInt((int)0x200)); | |
15628 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_FromInt((int)0x400)); | |
15629 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_FromInt((int)0x800)); | |
15630 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_FromInt((int)0xF77)); | |
15631 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_FromInt((int)300)); | |
15632 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_FromInt((int)301)); | |
15633 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_FromInt((int)302)); | |
15634 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_FromInt((int)303)); | |
15635 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_FromInt((int)304)); | |
15636 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_FromInt((int)305)); | |
15637 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_FromInt((int)306)); | |
15638 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_FromInt((int)307)); | |
15639 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_FromInt((int)308)); | |
15640 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_FromInt((int)309)); | |
15641 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_FromInt((int)7)); | |
15642 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_FromInt((int)8)); | |
15643 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_FromInt((int)9)); | |
15644 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_FromInt((int)13)); | |
15645 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_FromInt((int)310)); | |
15646 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_FromInt((int)311)); | |
15647 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_FromInt((int)312)); | |
15648 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_FromInt((int)1)); | |
15649 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_FromInt((int)2)); | |
15650 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_FromInt((int)4)); | |
15651 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_FromInt((int)0)); | |
15652 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_FromInt((int)1)); | |
15653 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_FromInt((int)2)); | |
15654 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_FromInt((int)3)); | |
15655 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_FromInt((int)4)); | |
15656 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_FromInt((int)5)); | |
15657 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_FromInt((int)6)); | |
15658 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_FromInt((int)7)); | |
15659 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_FromInt((int)8)); | |
15660 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_FromInt((int)9)); | |
15661 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_FromInt((int)10)); | |
15662 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_FromInt((int)11)); | |
15663 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_FromInt((int)12)); | |
15664 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_FromInt((int)13)); | |
15665 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_FromInt((int)14)); | |
15666 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_FromInt((int)15)); | |
15667 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_FromInt((int)16)); | |
15668 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_FromInt((int)17)); | |
15669 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_FromInt((int)18)); | |
15670 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_FromInt((int)19)); | |
15671 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_FromInt((int)20)); | |
15672 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_FromInt((int)21)); | |
15673 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_FromInt((int)22)); | |
15674 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_FromInt((int)23)); | |
15675 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_FromInt((int)24)); | |
15676 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_FromInt((int)25)); | |
15677 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_FromInt((int)26)); | |
15678 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_FromInt((int)27)); | |
15679 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_FromInt((int)28)); | |
15680 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_FromInt((int)29)); | |
15681 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_FromInt((int)30)); | |
15682 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_FromInt((int)31)); | |
15683 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_FromInt((int)32)); | |
15684 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_FromInt((int)33)); | |
15685 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_FromInt((int)34)); | |
15686 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_FromInt((int)35)); | |
15687 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_FromInt((int)36)); | |
15688 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_FromInt((int)37)); | |
15689 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_FromInt((int)38)); | |
15690 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_FromInt((int)39)); | |
15691 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_FromInt((int)40)); | |
15692 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_FromInt((int)41)); | |
15693 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_FromInt((int)42)); | |
15694 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_FromInt((int)43)); | |
15695 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_FromInt((int)44)); | |
15696 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_FromInt((int)45)); | |
15697 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_FromInt((int)46)); | |
15698 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_FromInt((int)47)); | |
15699 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_FromInt((int)48)); | |
15700 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_FromInt((int)49)); | |
15701 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_FromInt((int)50)); | |
15702 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_FromInt((int)51)); | |
15703 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_FromInt((int)52)); | |
15704 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_FromInt((int)53)); | |
15705 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_FromInt((int)54)); | |
15706 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_FromInt((int)1000)); | |
15707 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_FromInt((int)0)); | |
15708 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_FromInt((int)1)); | |
15709 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_FromInt((int)2)); | |
15710 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_FromInt((int)3)); | |
15711 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_FromInt((int)4)); | |
15712 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_FromInt((int)5)); | |
15713 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_FromInt((int)6)); | |
15714 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_FromInt((int)7)); | |
15715 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_FromInt((int)8)); | |
15716 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_FromInt((int)9)); | |
15717 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_FromInt((int)10)); | |
15718 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_FromInt((int)11)); | |
15719 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_FromInt((int)12)); | |
15720 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_FromInt((int)13)); | |
15721 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_FromInt((int)0)); | |
15722 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_FromInt((int)1)); | |
15723 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_FromInt((int)2)); | |
15724 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_FromInt((int)3)); | |
15725 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_FromInt((int)4)); | |
15726 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_FromInt((int)5)); | |
15727 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_FromInt((int)6)); | |
15728 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_FromInt((int)7)); | |
15729 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_FromInt((int)8)); | |
15730 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_FromInt((int)9)); | |
15731 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_FromInt((int)10)); | |
15732 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_FromInt((int)11)); | |
15733 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_FromInt((int)12)); | |
15734 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_FromInt((int)13)); | |
15735 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_FromInt((int)14)); | |
15736 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_FromInt((int)15)); | |
15737 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_FromInt((int)16)); | |
15738 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_FromInt((int)17)); | |
15739 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_FromInt((int)18)); | |
15740 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_FromInt((int)19)); | |
15741 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_FromInt((int)0)); | |
15742 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_FromInt((int)1)); | |
15743 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_FromInt((int)2)); | |
15744 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_FromInt((int)3)); | |
15745 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_FromInt((int)4)); | |
15746 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_FromInt((int)5)); | |
15747 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_FromInt((int)6)); | |
15748 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_FromInt((int)7)); | |
15749 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_FromInt((int)8)); | |
15750 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_FromInt((int)9)); | |
15751 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_FromInt((int)10)); | |
15752 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_FromInt((int)11)); | |
15753 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_FromInt((int)12)); | |
15754 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_FromInt((int)13)); | |
15755 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_FromInt((int)14)); | |
15756 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_FromInt((int)15)); | |
15757 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_FromInt((int)16)); | |
15758 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_FromInt((int)17)); | |
15759 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_FromInt((int)18)); | |
15760 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_FromInt((int)19)); | |
15761 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_FromInt((int)20)); | |
15762 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_FromInt((int)21)); | |
15763 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_FromInt((int)22)); | |
15764 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_FromInt((int)23)); | |
15765 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_FromInt((int)24)); | |
15766 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_FromInt((int)25)); | |
15767 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_FromInt((int)26)); | |
15768 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_FromInt((int)27)); | |
15769 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_FromInt((int)28)); | |
15770 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_FromInt((int)29)); | |
15771 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_FromInt((int)30)); | |
15772 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_FromInt((int)31)); | |
15773 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_FromInt((int)40)); | |
15774 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_FromInt((int)41)); | |
15775 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_FromInt((int)42)); | |
15776 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_FromInt((int)43)); | |
15777 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_FromInt((int)44)); | |
15778 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_FromInt((int)45)); | |
15779 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_FromInt((int)46)); | |
15780 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_FromInt((int)47)); | |
15781 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_FromInt((int)48)); | |
15782 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_FromInt((int)49)); | |
15783 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_FromInt((int)50)); | |
15784 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_FromInt((int)51)); | |
15785 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_FromInt((int)52)); | |
15786 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_FromInt((int)55)); | |
15787 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_FromInt((int)56)); | |
15788 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_FromInt((int)57)); | |
15789 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_FromInt((int)58)); | |
15790 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_FromInt((int)59)); | |
15791 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_FromInt((int)60)); | |
15792 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_FromInt((int)61)); | |
15793 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_FromInt((int)62)); | |
15794 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_FromInt((int)63)); | |
15795 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_FromInt((int)64)); | |
15796 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_FromInt((int)65)); | |
15797 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_FromInt((int)66)); | |
15798 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_FromInt((int)67)); | |
15799 | PyDict_SetItemString(d,"STC_HB_START", SWIG_FromInt((int)70)); | |
15800 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_FromInt((int)71)); | |
15801 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_FromInt((int)72)); | |
15802 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_FromInt((int)73)); | |
15803 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_FromInt((int)74)); | |
15804 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_FromInt((int)75)); | |
15805 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_FromInt((int)76)); | |
15806 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_FromInt((int)77)); | |
15807 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_FromInt((int)80)); | |
15808 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_FromInt((int)81)); | |
15809 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_FromInt((int)82)); | |
15810 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_FromInt((int)83)); | |
15811 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_FromInt((int)84)); | |
15812 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_FromInt((int)85)); | |
15813 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_FromInt((int)86)); | |
15814 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_FromInt((int)87)); | |
15815 | PyDict_SetItemString(d,"STC_HP_START", SWIG_FromInt((int)90)); | |
15816 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_FromInt((int)91)); | |
15817 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_FromInt((int)92)); | |
15818 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_FromInt((int)93)); | |
15819 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_FromInt((int)94)); | |
15820 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_FromInt((int)95)); | |
15821 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_FromInt((int)96)); | |
15822 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_FromInt((int)97)); | |
15823 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_FromInt((int)98)); | |
15824 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_FromInt((int)99)); | |
15825 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_FromInt((int)100)); | |
15826 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_FromInt((int)101)); | |
15827 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_FromInt((int)102)); | |
15828 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_FromInt((int)105)); | |
15829 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_FromInt((int)106)); | |
15830 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_FromInt((int)107)); | |
15831 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_FromInt((int)108)); | |
15832 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_FromInt((int)109)); | |
15833 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_FromInt((int)110)); | |
15834 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_FromInt((int)111)); | |
15835 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_FromInt((int)112)); | |
15836 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_FromInt((int)113)); | |
15837 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_FromInt((int)114)); | |
15838 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_FromInt((int)115)); | |
15839 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_FromInt((int)116)); | |
15840 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_FromInt((int)117)); | |
15841 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_FromInt((int)118)); | |
15842 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_FromInt((int)119)); | |
15843 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_FromInt((int)120)); | |
15844 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_FromInt((int)121)); | |
15845 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_FromInt((int)122)); | |
15846 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_FromInt((int)123)); | |
15847 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_FromInt((int)124)); | |
15848 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_FromInt((int)125)); | |
15849 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_FromInt((int)126)); | |
15850 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_FromInt((int)127)); | |
15851 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_FromInt((int)0)); | |
15852 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_FromInt((int)1)); | |
15853 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_FromInt((int)2)); | |
15854 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_FromInt((int)3)); | |
15855 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_FromInt((int)4)); | |
15856 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_FromInt((int)5)); | |
15857 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_FromInt((int)6)); | |
15858 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_FromInt((int)7)); | |
15859 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_FromInt((int)8)); | |
15860 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_FromInt((int)9)); | |
15861 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_FromInt((int)10)); | |
15862 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_FromInt((int)11)); | |
15863 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_FromInt((int)12)); | |
15864 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_FromInt((int)13)); | |
15865 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_FromInt((int)14)); | |
15866 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_FromInt((int)15)); | |
15867 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_FromInt((int)17)); | |
15868 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_FromInt((int)18)); | |
15869 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_FromInt((int)19)); | |
15870 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_FromInt((int)20)); | |
15871 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_FromInt((int)21)); | |
15872 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_FromInt((int)22)); | |
15873 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_FromInt((int)23)); | |
15874 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_FromInt((int)24)); | |
15875 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_FromInt((int)25)); | |
15876 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_FromInt((int)26)); | |
15877 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_FromInt((int)27)); | |
15878 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_FromInt((int)28)); | |
15879 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_FromInt((int)29)); | |
15880 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_FromInt((int)30)); | |
15881 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_FromInt((int)0)); | |
15882 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_FromInt((int)1)); | |
15883 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_FromInt((int)2)); | |
15884 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_FromInt((int)3)); | |
15885 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_FromInt((int)4)); | |
15886 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_FromInt((int)5)); | |
15887 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_FromInt((int)6)); | |
15888 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_FromInt((int)7)); | |
15889 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_FromInt((int)8)); | |
15890 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_FromInt((int)9)); | |
15891 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_FromInt((int)10)); | |
15892 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_FromInt((int)11)); | |
15893 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_FromInt((int)12)); | |
15894 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_FromInt((int)0)); | |
15895 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_FromInt((int)1)); | |
15896 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_FromInt((int)2)); | |
15897 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_FromInt((int)3)); | |
15898 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_FromInt((int)4)); | |
15899 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_FromInt((int)0)); | |
15900 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_FromInt((int)1)); | |
15901 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_FromInt((int)2)); | |
15902 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_FromInt((int)3)); | |
15903 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_FromInt((int)4)); | |
15904 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_FromInt((int)0)); | |
15905 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_FromInt((int)1)); | |
15906 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_FromInt((int)2)); | |
15907 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_FromInt((int)3)); | |
15908 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_FromInt((int)4)); | |
15909 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_FromInt((int)5)); | |
15910 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_FromInt((int)6)); | |
15911 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_FromInt((int)7)); | |
15912 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_FromInt((int)8)); | |
15913 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_FromInt((int)9)); | |
15914 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_FromInt((int)10)); | |
15915 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_FromInt((int)11)); | |
15916 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_FromInt((int)12)); | |
15917 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_FromInt((int)13)); | |
15918 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_FromInt((int)14)); | |
15919 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_FromInt((int)15)); | |
15920 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_FromInt((int)16)); | |
15921 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_FromInt((int)17)); | |
15922 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_FromInt((int)18)); | |
15923 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_FromInt((int)19)); | |
15924 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_FromInt((int)0)); | |
15925 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_FromInt((int)1)); | |
15926 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_FromInt((int)2)); | |
15927 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_FromInt((int)3)); | |
15928 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_FromInt((int)4)); | |
15929 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_FromInt((int)5)); | |
15930 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_FromInt((int)6)); | |
15931 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_FromInt((int)7)); | |
15932 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_FromInt((int)8)); | |
15933 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_FromInt((int)9)); | |
15934 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_FromInt((int)10)); | |
15935 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_FromInt((int)11)); | |
15936 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_FromInt((int)12)); | |
15937 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_FromInt((int)13)); | |
15938 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_FromInt((int)14)); | |
15939 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_FromInt((int)15)); | |
15940 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_FromInt((int)16)); | |
15941 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_FromInt((int)17)); | |
15942 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_FromInt((int)18)); | |
15943 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_FromInt((int)0)); | |
15944 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_FromInt((int)1)); | |
15945 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_FromInt((int)2)); | |
15946 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_FromInt((int)3)); | |
15947 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_FromInt((int)4)); | |
15948 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_FromInt((int)5)); | |
15949 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_FromInt((int)6)); | |
15950 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_FromInt((int)7)); | |
15951 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_FromInt((int)0)); | |
15952 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_FromInt((int)1)); | |
15953 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_FromInt((int)2)); | |
15954 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_FromInt((int)3)); | |
15955 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_FromInt((int)4)); | |
15956 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_FromInt((int)5)); | |
15957 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_FromInt((int)9)); | |
15958 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_FromInt((int)0)); | |
15959 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_FromInt((int)1)); | |
15960 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_FromInt((int)2)); | |
15961 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_FromInt((int)3)); | |
15962 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_FromInt((int)4)); | |
15963 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_FromInt((int)5)); | |
15964 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_FromInt((int)6)); | |
15965 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_FromInt((int)0)); | |
15966 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_FromInt((int)1)); | |
15967 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_FromInt((int)2)); | |
15968 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_FromInt((int)3)); | |
15969 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_FromInt((int)4)); | |
15970 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_FromInt((int)5)); | |
15971 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_FromInt((int)6)); | |
15972 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_FromInt((int)7)); | |
15973 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_FromInt((int)8)); | |
15974 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_FromInt((int)9)); | |
15975 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_FromInt((int)0)); | |
15976 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_FromInt((int)1)); | |
15977 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_FromInt((int)2)); | |
15978 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_FromInt((int)3)); | |
15979 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_FromInt((int)6)); | |
15980 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_FromInt((int)7)); | |
15981 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_FromInt((int)8)); | |
15982 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_FromInt((int)9)); | |
15983 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_FromInt((int)10)); | |
15984 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_FromInt((int)11)); | |
15985 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_FromInt((int)12)); | |
15986 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_FromInt((int)13)); | |
15987 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_FromInt((int)14)); | |
15988 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_FromInt((int)15)); | |
15989 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_FromInt((int)16)); | |
15990 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_FromInt((int)0)); | |
15991 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_FromInt((int)1)); | |
15992 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_FromInt((int)2)); | |
15993 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_FromInt((int)3)); | |
15994 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_FromInt((int)4)); | |
15995 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_FromInt((int)5)); | |
15996 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_FromInt((int)6)); | |
15997 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_FromInt((int)7)); | |
15998 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_FromInt((int)8)); | |
15999 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_FromInt((int)9)); | |
16000 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_FromInt((int)10)); | |
16001 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_FromInt((int)11)); | |
16002 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_FromInt((int)0)); | |
16003 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_FromInt((int)1)); | |
16004 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_FromInt((int)2)); | |
16005 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_FromInt((int)3)); | |
16006 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_FromInt((int)4)); | |
16007 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_FromInt((int)5)); | |
16008 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_FromInt((int)6)); | |
16009 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_FromInt((int)7)); | |
16010 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_FromInt((int)8)); | |
16011 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_FromInt((int)9)); | |
16012 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_FromInt((int)10)); | |
16013 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_FromInt((int)0)); | |
16014 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_FromInt((int)1)); | |
16015 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_FromInt((int)2)); | |
16016 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_FromInt((int)3)); | |
16017 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_FromInt((int)6)); | |
16018 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_FromInt((int)8)); | |
16019 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_FromInt((int)9)); | |
16020 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_FromInt((int)10)); | |
16021 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_FromInt((int)0)); | |
16022 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_FromInt((int)1)); | |
16023 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_FromInt((int)2)); | |
16024 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_FromInt((int)3)); | |
16025 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_FromInt((int)4)); | |
16026 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_FromInt((int)5)); | |
16027 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_FromInt((int)6)); | |
16028 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_FromInt((int)7)); | |
16029 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_FromInt((int)8)); | |
16030 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_FromInt((int)0)); | |
16031 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_FromInt((int)1)); | |
16032 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_FromInt((int)2)); | |
16033 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_FromInt((int)3)); | |
16034 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_FromInt((int)4)); | |
16035 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_FromInt((int)5)); | |
16036 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_FromInt((int)6)); | |
16037 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_FromInt((int)7)); | |
16038 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_FromInt((int)8)); | |
16039 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_FromInt((int)9)); | |
16040 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_FromInt((int)10)); | |
16041 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_FromInt((int)0)); | |
16042 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_FromInt((int)1)); | |
16043 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_FromInt((int)2)); | |
16044 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_FromInt((int)3)); | |
16045 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_FromInt((int)4)); | |
16046 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_FromInt((int)5)); | |
16047 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_FromInt((int)6)); | |
16048 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_FromInt((int)7)); | |
16049 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_FromInt((int)8)); | |
16050 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_FromInt((int)9)); | |
16051 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_FromInt((int)10)); | |
16052 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_FromInt((int)11)); | |
16053 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_FromInt((int)0)); | |
16054 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_FromInt((int)1)); | |
16055 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_FromInt((int)2)); | |
16056 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_FromInt((int)3)); | |
16057 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_FromInt((int)4)); | |
16058 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_FromInt((int)5)); | |
16059 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_FromInt((int)6)); | |
16060 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_FromInt((int)7)); | |
16061 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_FromInt((int)8)); | |
16062 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_FromInt((int)0)); | |
16063 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_FromInt((int)1)); | |
16064 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_FromInt((int)2)); | |
16065 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_FromInt((int)3)); | |
16066 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_FromInt((int)4)); | |
16067 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_FromInt((int)5)); | |
16068 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_FromInt((int)6)); | |
16069 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_FromInt((int)7)); | |
16070 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_FromInt((int)8)); | |
16071 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_FromInt((int)9)); | |
16072 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_FromInt((int)10)); | |
16073 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_FromInt((int)11)); | |
16074 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_FromInt((int)12)); | |
16075 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_FromInt((int)13)); | |
16076 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_FromInt((int)14)); | |
16077 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_FromInt((int)15)); | |
16078 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_FromInt((int)0)); | |
16079 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_FromInt((int)1)); | |
16080 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_FromInt((int)2)); | |
16081 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_FromInt((int)3)); | |
16082 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_FromInt((int)4)); | |
16083 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_FromInt((int)5)); | |
16084 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_FromInt((int)6)); | |
16085 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_FromInt((int)7)); | |
16086 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_FromInt((int)8)); | |
16087 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_FromInt((int)9)); | |
16088 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_FromInt((int)10)); | |
16089 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_FromInt((int)11)); | |
16090 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_FromInt((int)12)); | |
16091 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_FromInt((int)13)); | |
16092 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_FromInt((int)14)); | |
16093 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_FromInt((int)0)); | |
16094 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_FromInt((int)1)); | |
16095 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_FromInt((int)2)); | |
16096 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_FromInt((int)3)); | |
16097 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_FromInt((int)4)); | |
16098 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_FromInt((int)5)); | |
16099 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_FromInt((int)6)); | |
16100 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_FromInt((int)7)); | |
16101 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_FromInt((int)8)); | |
16102 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_FromInt((int)9)); | |
16103 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_FromInt((int)10)); | |
16104 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_FromInt((int)11)); | |
16105 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_FromInt((int)12)); | |
16106 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_FromInt((int)13)); | |
16107 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_FromInt((int)14)); | |
16108 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_FromInt((int)0)); | |
16109 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_FromInt((int)1)); | |
16110 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_FromInt((int)2)); | |
16111 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_FromInt((int)3)); | |
16112 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_FromInt((int)4)); | |
16113 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_FromInt((int)5)); | |
16114 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_FromInt((int)6)); | |
16115 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_FromInt((int)7)); | |
16116 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_FromInt((int)8)); | |
16117 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_FromInt((int)9)); | |
16118 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_FromInt((int)10)); | |
16119 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_FromInt((int)11)); | |
16120 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_FromInt((int)12)); | |
16121 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_FromInt((int)13)); | |
16122 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_FromInt((int)14)); | |
16123 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_FromInt((int)0)); | |
16124 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_FromInt((int)1)); | |
16125 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_FromInt((int)2)); | |
16126 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_FromInt((int)3)); | |
16127 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_FromInt((int)4)); | |
16128 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_FromInt((int)5)); | |
16129 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_FromInt((int)6)); | |
16130 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_FromInt((int)7)); | |
16131 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_FromInt((int)8)); | |
16132 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_FromInt((int)9)); | |
16133 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_FromInt((int)10)); | |
16134 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_FromInt((int)11)); | |
16135 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_FromInt((int)12)); | |
16136 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_FromInt((int)13)); | |
16137 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_FromInt((int)14)); | |
16138 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_FromInt((int)15)); | |
16139 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_FromInt((int)16)); | |
16140 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_FromInt((int)0)); | |
16141 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_FromInt((int)1)); | |
16142 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_FromInt((int)2)); | |
16143 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_FromInt((int)3)); | |
16144 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_FromInt((int)4)); | |
16145 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_FromInt((int)5)); | |
16146 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_FromInt((int)6)); | |
16147 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_FromInt((int)7)); | |
16148 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_FromInt((int)8)); | |
16149 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_FromInt((int)9)); | |
16150 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_FromInt((int)10)); | |
16151 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_FromInt((int)0)); | |
16152 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_FromInt((int)1)); | |
16153 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_FromInt((int)2)); | |
16154 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_FromInt((int)3)); | |
16155 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_FromInt((int)4)); | |
16156 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_FromInt((int)5)); | |
16157 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_FromInt((int)6)); | |
16158 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_FromInt((int)7)); | |
16159 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_FromInt((int)8)); | |
16160 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_FromInt((int)9)); | |
16161 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_FromInt((int)10)); | |
16162 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_FromInt((int)11)); | |
16163 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_FromInt((int)0)); | |
16164 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_FromInt((int)1)); | |
16165 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_FromInt((int)2)); | |
16166 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_FromInt((int)3)); | |
16167 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_FromInt((int)4)); | |
16168 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_FromInt((int)5)); | |
16169 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_FromInt((int)6)); | |
16170 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_FromInt((int)7)); | |
16171 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_FromInt((int)8)); | |
16172 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_FromInt((int)9)); | |
16173 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_FromInt((int)10)); | |
16174 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_FromInt((int)11)); | |
16175 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_FromInt((int)12)); | |
16176 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_FromInt((int)13)); | |
16177 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_FromInt((int)14)); | |
16178 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_FromInt((int)15)); | |
16179 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_FromInt((int)0)); | |
16180 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_FromInt((int)1)); | |
16181 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_FromInt((int)2)); | |
16182 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_FromInt((int)3)); | |
16183 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_FromInt((int)4)); | |
16184 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_FromInt((int)5)); | |
16185 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_FromInt((int)6)); | |
16186 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_FromInt((int)7)); | |
16187 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_FromInt((int)8)); | |
16188 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_FromInt((int)9)); | |
16189 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_FromInt((int)10)); | |
16190 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_FromInt((int)11)); | |
16191 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_FromInt((int)12)); | |
16192 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_FromInt((int)13)); | |
16193 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_FromInt((int)0)); | |
16194 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_FromInt((int)1)); | |
16195 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_FromInt((int)2)); | |
16196 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_FromInt((int)3)); | |
16197 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_FromInt((int)4)); | |
16198 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_FromInt((int)5)); | |
16199 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_FromInt((int)6)); | |
16200 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_FromInt((int)7)); | |
16201 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_FromInt((int)8)); | |
16202 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_FromInt((int)9)); | |
16203 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_FromInt((int)10)); | |
16204 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_FromInt((int)11)); | |
16205 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_FromInt((int)12)); | |
16206 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_FromInt((int)13)); | |
16207 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_FromInt((int)14)); | |
16208 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_FromInt((int)15)); | |
16209 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_FromInt((int)16)); | |
16210 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_FromInt((int)17)); | |
16211 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_FromInt((int)0)); | |
16212 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_FromInt((int)1)); | |
16213 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_FromInt((int)2)); | |
16214 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_FromInt((int)3)); | |
16215 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_FromInt((int)4)); | |
16216 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_FromInt((int)5)); | |
16217 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_FromInt((int)6)); | |
16218 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_FromInt((int)7)); | |
16219 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_FromInt((int)8)); | |
16220 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_FromInt((int)9)); | |
16221 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_FromInt((int)10)); | |
16222 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_FromInt((int)11)); | |
16223 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_FromInt((int)12)); | |
16224 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_FromInt((int)13)); | |
16225 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_FromInt((int)14)); | |
16226 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_FromInt((int)0)); | |
16227 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_FromInt((int)1)); | |
16228 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_FromInt((int)2)); | |
16229 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_FromInt((int)3)); | |
16230 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_FromInt((int)4)); | |
16231 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_FromInt((int)5)); | |
16232 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_FromInt((int)6)); | |
16233 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_FromInt((int)0)); | |
16234 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_FromInt((int)1)); | |
16235 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_FromInt((int)2)); | |
16236 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_FromInt((int)3)); | |
16237 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_FromInt((int)4)); | |
16238 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_FromInt((int)5)); | |
16239 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_FromInt((int)6)); | |
16240 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_FromInt((int)7)); | |
16241 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_FromInt((int)8)); | |
16242 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_FromInt((int)0)); | |
16243 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_FromInt((int)1)); | |
16244 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_FromInt((int)2)); | |
16245 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_FromInt((int)3)); | |
16246 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_FromInt((int)4)); | |
16247 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_FromInt((int)5)); | |
16248 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_FromInt((int)0)); | |
16249 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_FromInt((int)1)); | |
16250 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_FromInt((int)2)); | |
16251 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_FromInt((int)3)); | |
16252 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_FromInt((int)4)); | |
16253 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_FromInt((int)5)); | |
16254 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_FromInt((int)6)); | |
16255 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_FromInt((int)0)); | |
16256 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_FromInt((int)1)); | |
16257 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_FromInt((int)2)); | |
16258 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_FromInt((int)3)); | |
16259 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_FromInt((int)4)); | |
16260 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_FromInt((int)5)); | |
16261 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_FromInt((int)6)); | |
16262 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_FromInt((int)7)); | |
16263 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_FromInt((int)8)); | |
16264 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_FromInt((int)9)); | |
16265 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_FromInt((int)10)); | |
16266 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_FromInt((int)11)); | |
16267 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_FromInt((int)12)); | |
16268 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_FromInt((int)13)); | |
16269 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_FromInt((int)31)); | |
16270 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_FromInt((int)2011)); | |
16271 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_FromInt((int)2013)); | |
16272 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_FromInt((int)2176)); | |
16273 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_FromInt((int)2177)); | |
16274 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_FromInt((int)2178)); | |
16275 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_FromInt((int)2179)); | |
16276 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_FromInt((int)2180)); | |
16277 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_FromInt((int)2300)); | |
16278 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_FromInt((int)2301)); | |
16279 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_FromInt((int)2302)); | |
16280 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_FromInt((int)2303)); | |
16281 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_FromInt((int)2304)); | |
16282 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_FromInt((int)2305)); | |
16283 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_FromInt((int)2306)); | |
16284 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_FromInt((int)2307)); | |
16285 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_FromInt((int)2308)); | |
16286 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_FromInt((int)2309)); | |
16287 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_FromInt((int)2310)); | |
16288 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_FromInt((int)2311)); | |
16289 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_FromInt((int)2312)); | |
16290 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_FromInt((int)2313)); | |
16291 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_FromInt((int)2314)); | |
16292 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_FromInt((int)2315)); | |
16293 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_FromInt((int)2316)); | |
16294 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_FromInt((int)2317)); | |
16295 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_FromInt((int)2318)); | |
16296 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_FromInt((int)2319)); | |
16297 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_FromInt((int)2320)); | |
16298 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_FromInt((int)2321)); | |
16299 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_FromInt((int)2322)); | |
16300 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_FromInt((int)2323)); | |
16301 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_FromInt((int)2324)); | |
16302 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_FromInt((int)2325)); | |
16303 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_FromInt((int)2326)); | |
16304 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_FromInt((int)2327)); | |
16305 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_FromInt((int)2328)); | |
16306 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_FromInt((int)2329)); | |
16307 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_FromInt((int)2330)); | |
16308 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_FromInt((int)2331)); | |
16309 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_FromInt((int)2332)); | |
16310 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_FromInt((int)2333)); | |
16311 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_FromInt((int)2334)); | |
16312 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_FromInt((int)2335)); | |
16313 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_FromInt((int)2336)); | |
16314 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_FromInt((int)2337)); | |
16315 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_FromInt((int)2338)); | |
16316 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_FromInt((int)2339)); | |
16317 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_FromInt((int)2404)); | |
16318 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_FromInt((int)2340)); | |
16319 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_FromInt((int)2341)); | |
16320 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_FromInt((int)2342)); | |
16321 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_FromInt((int)2343)); | |
16322 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_FromInt((int)2344)); | |
16323 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_FromInt((int)2345)); | |
16324 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_FromInt((int)2346)); | |
16325 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_FromInt((int)2347)); | |
16326 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_FromInt((int)2348)); | |
16327 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_FromInt((int)2349)); | |
16328 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_FromInt((int)2450)); | |
16329 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_FromInt((int)2451)); | |
16330 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_FromInt((int)2452)); | |
16331 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_FromInt((int)2453)); | |
16332 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_FromInt((int)2454)); | |
16333 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_FromInt((int)2455)); | |
16334 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_FromInt((int)2390)); | |
16335 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_FromInt((int)2391)); | |
16336 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_FromInt((int)2392)); | |
16337 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_FromInt((int)2393)); | |
16338 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_FromInt((int)2395)); | |
16339 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_FromInt((int)2396)); | |
16340 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_FromInt((int)2413)); | |
16341 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_FromInt((int)2414)); | |
16342 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_FromInt((int)2415)); | |
16343 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_FromInt((int)2416)); | |
16344 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_FromInt((int)2426)); | |
16345 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_FromInt((int)2427)); | |
16346 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_FromInt((int)2428)); | |
16347 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_FromInt((int)2429)); | |
16348 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_FromInt((int)2430)); | |
16349 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_FromInt((int)2431)); | |
16350 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_FromInt((int)2432)); | |
16351 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_FromInt((int)2433)); | |
16352 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_FromInt((int)2434)); | |
16353 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_FromInt((int)2435)); | |
16354 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_FromInt((int)2436)); | |
16355 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_FromInt((int)2437)); | |
16356 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_FromInt((int)2438)); | |
16357 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_FromInt((int)2439)); | |
16358 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_FromInt((int)2440)); | |
16359 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_FromInt((int)2441)); | |
16360 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_FromInt((int)2442)); | |
16361 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_FromInt((int)wxEVT_STC_CHANGE)); | |
16362 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_FromInt((int)wxEVT_STC_STYLENEEDED)); | |
16363 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_FromInt((int)wxEVT_STC_CHARADDED)); | |
16364 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTREACHED)); | |
16365 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTLEFT)); | |
16366 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT)); | |
16367 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_FromInt((int)wxEVT_STC_KEY)); | |
16368 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_FromInt((int)wxEVT_STC_DOUBLECLICK)); | |
16369 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_FromInt((int)wxEVT_STC_UPDATEUI)); | |
16370 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_FromInt((int)wxEVT_STC_MODIFIED)); | |
16371 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_FromInt((int)wxEVT_STC_MACRORECORD)); | |
16372 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_FromInt((int)wxEVT_STC_MARGINCLICK)); | |
16373 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_FromInt((int)wxEVT_STC_NEEDSHOWN)); | |
16374 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_FromInt((int)wxEVT_STC_POSCHANGED)); | |
16375 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_FromInt((int)wxEVT_STC_PAINTED)); | |
16376 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_FromInt((int)wxEVT_STC_USERLISTSELECTION)); | |
16377 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_FromInt((int)wxEVT_STC_URIDROPPED)); | |
16378 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_FromInt((int)wxEVT_STC_DWELLSTART)); | |
16379 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_FromInt((int)wxEVT_STC_DWELLEND)); | |
16380 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_FromInt((int)wxEVT_STC_START_DRAG)); | |
16381 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_FromInt((int)wxEVT_STC_DRAG_OVER)); | |
16382 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_FromInt((int)wxEVT_STC_DO_DROP)); | |
16383 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_FromInt((int)wxEVT_STC_ZOOM)); | |
16384 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_CLICK)); | |
16385 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK)); | |
16386 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_FromInt((int)wxEVT_STC_CALLTIP_CLICK)); | |
16387 | ||
16388 | ||
16389 | } | |
16390 |