2 * FILE : contrib/stc/stc_.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initstc_c
56 #define SWIG_name "stc_c"
59 #include "wx/stc/stc.h"
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "string type is required for parameter";
96 static void *SwigwxStyledTextCtrlTowxControl(void *ptr
) {
97 wxStyledTextCtrl
*src
;
99 src
= (wxStyledTextCtrl
*) ptr
;
100 dest
= (wxControl
*) src
;
101 return (void *) dest
;
104 static void *SwigwxStyledTextCtrlTowxWindow(void *ptr
) {
105 wxStyledTextCtrl
*src
;
107 src
= (wxStyledTextCtrl
*) ptr
;
108 dest
= (wxWindow
*) src
;
109 return (void *) dest
;
112 static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr
) {
113 wxStyledTextCtrl
*src
;
115 src
= (wxStyledTextCtrl
*) ptr
;
116 dest
= (wxEvtHandler
*) src
;
117 return (void *) dest
;
120 static void *SwigwxStyledTextCtrlTowxObject(void *ptr
) {
121 wxStyledTextCtrl
*src
;
123 src
= (wxStyledTextCtrl
*) ptr
;
124 dest
= (wxObject
*) src
;
125 return (void *) dest
;
128 #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
129 static PyObject
*_wrap_new_wxStyledTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
130 PyObject
* _resultobj
;
131 wxStyledTextCtrl
* _result
;
134 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
135 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
136 long _arg4
= (long ) 0;
137 char * _arg5
= (char *) "styledtext";
138 PyObject
* _argo0
= 0;
140 PyObject
* _obj2
= 0;
142 PyObject
* _obj3
= 0;
143 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStyledTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p.");
159 if (! wxPoint_helper(_obj2
, &_arg2
))
165 if (! wxSize_helper(_obj3
, &_arg3
))
169 wxPy_BEGIN_ALLOW_THREADS
;
170 _result
= (wxStyledTextCtrl
*)new_wxStyledTextCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
172 wxPy_END_ALLOW_THREADS
;
174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStyledTextCtrl_p");
175 _resultobj
= Py_BuildValue("s",_ptemp
);
178 _resultobj
= Py_None
;
183 #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
184 static PyObject
*_wrap_wxStyledTextCtrl_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
185 PyObject
* _resultobj
;
186 wxStyledTextCtrl
* _arg0
;
188 PyObject
* _argo0
= 0;
189 PyObject
* _obj1
= 0;
190 char *_kwnames
[] = { "self","text", NULL
};
193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_AddText",_kwnames
,&_argo0
,&_obj1
))
196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p.");
203 #if PYTHON_API_VERSION >= 1009
204 char* tmpPtr
; int tmpSize
;
205 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
209 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
211 _arg1
= new wxString(tmpPtr
, tmpSize
);
213 if (!PyString_Check(_obj1
)) {
214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
217 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
221 wxPy_BEGIN_ALLOW_THREADS
;
222 wxStyledTextCtrl_AddText(_arg0
,*_arg1
);
224 wxPy_END_ALLOW_THREADS
;
225 } Py_INCREF(Py_None
);
226 _resultobj
= Py_None
;
234 #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0))
235 static PyObject
*_wrap_wxStyledTextCtrl_AddStyledText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
237 wxStyledTextCtrl
* _arg0
;
239 PyObject
* _argo0
= 0;
240 PyObject
* _obj1
= 0;
241 char *_kwnames
[] = { "self","text", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_AddStyledText",_kwnames
,&_argo0
,&_obj1
))
247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p.");
254 #if PYTHON_API_VERSION >= 1009
255 char* tmpPtr
; int tmpSize
;
256 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
260 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
262 _arg1
= new wxString(tmpPtr
, tmpSize
);
264 if (!PyString_Check(_obj1
)) {
265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
268 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
272 wxPy_BEGIN_ALLOW_THREADS
;
273 wxStyledTextCtrl_AddStyledText(_arg0
,*_arg1
);
275 wxPy_END_ALLOW_THREADS
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
285 #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1))
286 static PyObject
*_wrap_wxStyledTextCtrl_InsertText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
288 wxStyledTextCtrl
* _arg0
;
291 PyObject
* _argo0
= 0;
292 PyObject
* _obj2
= 0;
293 char *_kwnames
[] = { "self","pos","text", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_InsertText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p.");
306 #if PYTHON_API_VERSION >= 1009
307 char* tmpPtr
; int tmpSize
;
308 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
312 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
314 _arg2
= new wxString(tmpPtr
, tmpSize
);
316 if (!PyString_Check(_obj2
)) {
317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
320 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
324 wxPy_BEGIN_ALLOW_THREADS
;
325 wxStyledTextCtrl_InsertText(_arg0
,_arg1
,*_arg2
);
327 wxPy_END_ALLOW_THREADS
;
328 } Py_INCREF(Py_None
);
329 _resultobj
= Py_None
;
337 #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
338 static PyObject
*_wrap_wxStyledTextCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
340 wxStyledTextCtrl
* _arg0
;
341 PyObject
* _argo0
= 0;
342 char *_kwnames
[] = { "self", NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_ClearAll",_kwnames
,&_argo0
))
348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p.");
355 wxPy_BEGIN_ALLOW_THREADS
;
356 wxStyledTextCtrl_ClearAll(_arg0
);
358 wxPy_END_ALLOW_THREADS
;
359 } Py_INCREF(Py_None
);
360 _resultobj
= Py_None
;
364 #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle())
365 static PyObject
*_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
367 wxStyledTextCtrl
* _arg0
;
368 PyObject
* _argo0
= 0;
369 char *_kwnames
[] = { "self", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames
,&_argo0
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p.");
382 wxPy_BEGIN_ALLOW_THREADS
;
383 wxStyledTextCtrl_ClearDocumentStyle(_arg0
);
385 wxPy_END_ALLOW_THREADS
;
386 } Py_INCREF(Py_None
);
387 _resultobj
= Py_None
;
391 #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength())
392 static PyObject
*_wrap_wxStyledTextCtrl_GetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
395 wxStyledTextCtrl
* _arg0
;
396 PyObject
* _argo0
= 0;
397 char *_kwnames
[] = { "self", NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetLength",_kwnames
,&_argo0
))
403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p.");
410 wxPy_BEGIN_ALLOW_THREADS
;
411 _result
= (int )wxStyledTextCtrl_GetLength(_arg0
);
413 wxPy_END_ALLOW_THREADS
;
414 } _resultobj
= Py_BuildValue("i",_result
);
418 #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0))
419 static PyObject
*_wrap_wxStyledTextCtrl_GetCharAt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
422 wxStyledTextCtrl
* _arg0
;
424 PyObject
* _argo0
= 0;
425 char *_kwnames
[] = { "self","pos", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames
,&_argo0
,&_arg1
))
431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p.");
438 wxPy_BEGIN_ALLOW_THREADS
;
439 _result
= (int )wxStyledTextCtrl_GetCharAt(_arg0
,_arg1
);
441 wxPy_END_ALLOW_THREADS
;
442 } _resultobj
= Py_BuildValue("i",_result
);
446 #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos())
447 static PyObject
*_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
450 wxStyledTextCtrl
* _arg0
;
451 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames
,&_argo0
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p.");
465 wxPy_BEGIN_ALLOW_THREADS
;
466 _result
= (int )wxStyledTextCtrl_GetCurrentPos(_arg0
);
468 wxPy_END_ALLOW_THREADS
;
469 } _resultobj
= Py_BuildValue("i",_result
);
473 #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor())
474 static PyObject
*_wrap_wxStyledTextCtrl_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxStyledTextCtrl
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetAnchor",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 _result
= (int )wxStyledTextCtrl_GetAnchor(_arg0
);
495 wxPy_END_ALLOW_THREADS
;
496 } _resultobj
= Py_BuildValue("i",_result
);
500 #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0))
501 static PyObject
*_wrap_wxStyledTextCtrl_GetStyleAt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
502 PyObject
* _resultobj
;
504 wxStyledTextCtrl
* _arg0
;
506 PyObject
* _argo0
= 0;
507 char *_kwnames
[] = { "self","pos", NULL
};
510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames
,&_argo0
,&_arg1
))
513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p.");
520 wxPy_BEGIN_ALLOW_THREADS
;
521 _result
= (int )wxStyledTextCtrl_GetStyleAt(_arg0
,_arg1
);
523 wxPy_END_ALLOW_THREADS
;
524 } _resultobj
= Py_BuildValue("i",_result
);
528 #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo())
529 static PyObject
*_wrap_wxStyledTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
531 wxStyledTextCtrl
* _arg0
;
532 PyObject
* _argo0
= 0;
533 char *_kwnames
[] = { "self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_Redo",_kwnames
,&_argo0
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p.");
546 wxPy_BEGIN_ALLOW_THREADS
;
547 wxStyledTextCtrl_Redo(_arg0
);
549 wxPy_END_ALLOW_THREADS
;
550 } Py_INCREF(Py_None
);
551 _resultobj
= Py_None
;
555 #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0))
556 static PyObject
*_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
558 wxStyledTextCtrl
* _arg0
;
560 PyObject
* _argo0
= 0;
562 char *_kwnames
[] = { "self","collectUndo", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames
,&_argo0
,&tempbool1
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p.");
574 _arg1
= (bool ) tempbool1
;
576 wxPy_BEGIN_ALLOW_THREADS
;
577 wxStyledTextCtrl_SetUndoCollection(_arg0
,_arg1
);
579 wxPy_END_ALLOW_THREADS
;
580 } Py_INCREF(Py_None
);
581 _resultobj
= Py_None
;
585 #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
586 static PyObject
*_wrap_wxStyledTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
588 wxStyledTextCtrl
* _arg0
;
589 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "self", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_SelectAll",_kwnames
,&_argo0
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p.");
603 wxPy_BEGIN_ALLOW_THREADS
;
604 wxStyledTextCtrl_SelectAll(_arg0
);
606 wxPy_END_ALLOW_THREADS
;
607 } Py_INCREF(Py_None
);
608 _resultobj
= Py_None
;
612 #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint())
613 static PyObject
*_wrap_wxStyledTextCtrl_SetSavePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
615 wxStyledTextCtrl
* _arg0
;
616 PyObject
* _argo0
= 0;
617 char *_kwnames
[] = { "self", NULL
};
620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_SetSavePoint",_kwnames
,&_argo0
))
623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p.");
630 wxPy_BEGIN_ALLOW_THREADS
;
631 wxStyledTextCtrl_SetSavePoint(_arg0
);
633 wxPy_END_ALLOW_THREADS
;
634 } Py_INCREF(Py_None
);
635 _resultobj
= Py_None
;
639 #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1))
640 static PyObject
*_wrap_wxStyledTextCtrl_GetStyledText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
643 wxStyledTextCtrl
* _arg0
;
646 PyObject
* _argo0
= 0;
647 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p.");
660 wxPy_BEGIN_ALLOW_THREADS
;
661 _result
= new wxString (wxStyledTextCtrl_GetStyledText(_arg0
,_arg1
,_arg2
));
663 wxPy_END_ALLOW_THREADS
;
665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
673 #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
674 static PyObject
*_wrap_wxStyledTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
677 wxStyledTextCtrl
* _arg0
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_CanRedo",_kwnames
,&_argo0
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 _result
= (bool )wxStyledTextCtrl_CanRedo(_arg0
);
695 wxPy_END_ALLOW_THREADS
;
696 } _resultobj
= Py_BuildValue("i",_result
);
700 #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0))
701 static PyObject
*_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
704 wxStyledTextCtrl
* _arg0
;
706 PyObject
* _argo0
= 0;
707 char *_kwnames
[] = { "self","handle", NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames
,&_argo0
,&_arg1
))
713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p.");
720 wxPy_BEGIN_ALLOW_THREADS
;
721 _result
= (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0
,_arg1
);
723 wxPy_END_ALLOW_THREADS
;
724 } _resultobj
= Py_BuildValue("i",_result
);
728 #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0))
729 static PyObject
*_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
731 wxStyledTextCtrl
* _arg0
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self","handle", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames
,&_argo0
,&_arg1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 wxStyledTextCtrl_MarkerDeleteHandle(_arg0
,_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 } Py_INCREF(Py_None
);
752 _resultobj
= Py_None
;
756 #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection())
757 static PyObject
*_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
760 wxStyledTextCtrl
* _arg0
;
761 PyObject
* _argo0
= 0;
762 char *_kwnames
[] = { "self", NULL
};
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames
,&_argo0
))
768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p.");
775 wxPy_BEGIN_ALLOW_THREADS
;
776 _result
= (bool )wxStyledTextCtrl_GetUndoCollection(_arg0
);
778 wxPy_END_ALLOW_THREADS
;
779 } _resultobj
= Py_BuildValue("i",_result
);
783 #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace())
784 static PyObject
*_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* _resultobj
;
787 wxStyledTextCtrl
* _arg0
;
788 PyObject
* _argo0
= 0;
789 char *_kwnames
[] = { "self", NULL
};
792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames
,&_argo0
))
795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
802 wxPy_BEGIN_ALLOW_THREADS
;
803 _result
= (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0
);
805 wxPy_END_ALLOW_THREADS
;
806 } _resultobj
= Py_BuildValue("i",_result
);
810 #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0))
811 static PyObject
*_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
813 wxStyledTextCtrl
* _arg0
;
815 PyObject
* _argo0
= 0;
816 char *_kwnames
[] = { "self","viewWS", NULL
};
819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames
,&_argo0
,&_arg1
))
822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
829 wxPy_BEGIN_ALLOW_THREADS
;
830 wxStyledTextCtrl_SetViewWhiteSpace(_arg0
,_arg1
);
832 wxPy_END_ALLOW_THREADS
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
838 #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0))
839 static PyObject
*_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
842 wxStyledTextCtrl
* _arg0
;
844 PyObject
* _argo0
= 0;
846 PyObject
* _obj1
= 0;
847 char *_kwnames
[] = { "self","pt", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames
,&_argo0
,&_obj1
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p.");
861 if (! wxPoint_helper(_obj1
, &_arg1
))
865 wxPy_BEGIN_ALLOW_THREADS
;
866 _result
= (int )wxStyledTextCtrl_PositionFromPoint(_arg0
,*_arg1
);
868 wxPy_END_ALLOW_THREADS
;
869 } _resultobj
= Py_BuildValue("i",_result
);
873 #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0))
874 static PyObject
*_wrap_wxStyledTextCtrl_GotoLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
876 wxStyledTextCtrl
* _arg0
;
878 PyObject
* _argo0
= 0;
879 char *_kwnames
[] = { "self","line", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GotoLine",_kwnames
,&_argo0
,&_arg1
))
885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p.");
892 wxPy_BEGIN_ALLOW_THREADS
;
893 wxStyledTextCtrl_GotoLine(_arg0
,_arg1
);
895 wxPy_END_ALLOW_THREADS
;
896 } Py_INCREF(Py_None
);
897 _resultobj
= Py_None
;
901 #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0))
902 static PyObject
*_wrap_wxStyledTextCtrl_GotoPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
904 wxStyledTextCtrl
* _arg0
;
906 PyObject
* _argo0
= 0;
907 char *_kwnames
[] = { "self","pos", NULL
};
910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GotoPos",_kwnames
,&_argo0
,&_arg1
))
913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p.");
920 wxPy_BEGIN_ALLOW_THREADS
;
921 wxStyledTextCtrl_GotoPos(_arg0
,_arg1
);
923 wxPy_END_ALLOW_THREADS
;
924 } Py_INCREF(Py_None
);
925 _resultobj
= Py_None
;
929 #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0))
930 static PyObject
*_wrap_wxStyledTextCtrl_SetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
932 wxStyledTextCtrl
* _arg0
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self","posAnchor", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames
,&_argo0
,&_arg1
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p.");
948 wxPy_BEGIN_ALLOW_THREADS
;
949 wxStyledTextCtrl_SetAnchor(_arg0
,_arg1
);
951 wxPy_END_ALLOW_THREADS
;
952 } Py_INCREF(Py_None
);
953 _resultobj
= Py_None
;
957 #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0))
958 static PyObject
*_wrap_wxStyledTextCtrl_GetCurLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
961 wxStyledTextCtrl
* _arg0
;
962 int * _arg1
= (int *) NULL
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetCurLine",_kwnames
,&_argo0
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p.");
981 wxPy_BEGIN_ALLOW_THREADS
;
982 _result
= new wxString (wxStyledTextCtrl_GetCurLine(_arg0
,_arg1
));
984 wxPy_END_ALLOW_THREADS
;
986 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
990 o
= PyInt_FromLong((long) (*_arg1
));
991 _resultobj
= t_output_helper(_resultobj
, o
);
999 #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled())
1000 static PyObject
*_wrap_wxStyledTextCtrl_GetEndStyled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 wxStyledTextCtrl
* _arg0
;
1004 PyObject
* _argo0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetEndStyled",_kwnames
,&_argo0
))
1011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 _result
= (int )wxStyledTextCtrl_GetEndStyled(_arg0
);
1021 wxPy_END_ALLOW_THREADS
;
1022 } _resultobj
= Py_BuildValue("i",_result
);
1026 #define wxStyledTextCtrl_ConvertEOLs(_swigobj) (_swigobj->ConvertEOLs())
1027 static PyObject
*_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1029 wxStyledTextCtrl
* _arg0
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "self", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_ConvertEOLs",_kwnames
,&_argo0
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 wxStyledTextCtrl_ConvertEOLs(_arg0
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode())
1054 static PyObject
*_wrap_wxStyledTextCtrl_GetEOLMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1057 wxStyledTextCtrl
* _arg0
;
1058 PyObject
* _argo0
= 0;
1059 char *_kwnames
[] = { "self", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetEOLMode",_kwnames
,&_argo0
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p.");
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 _result
= (int )wxStyledTextCtrl_GetEOLMode(_arg0
);
1075 wxPy_END_ALLOW_THREADS
;
1076 } _resultobj
= Py_BuildValue("i",_result
);
1080 #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0))
1081 static PyObject
*_wrap_wxStyledTextCtrl_SetEOLMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1083 wxStyledTextCtrl
* _arg0
;
1085 PyObject
* _argo0
= 0;
1086 char *_kwnames
[] = { "self","eolMode", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames
,&_argo0
,&_arg1
))
1092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p.");
1099 wxPy_BEGIN_ALLOW_THREADS
;
1100 wxStyledTextCtrl_SetEOLMode(_arg0
,_arg1
);
1102 wxPy_END_ALLOW_THREADS
;
1103 } Py_INCREF(Py_None
);
1104 _resultobj
= Py_None
;
1108 #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1))
1109 static PyObject
*_wrap_wxStyledTextCtrl_StartStyling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1111 wxStyledTextCtrl
* _arg0
;
1114 PyObject
* _argo0
= 0;
1115 char *_kwnames
[] = { "self","pos","mask", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_StartStyling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p.");
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 wxStyledTextCtrl_StartStyling(_arg0
,_arg1
,_arg2
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } Py_INCREF(Py_None
);
1133 _resultobj
= Py_None
;
1137 #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1))
1138 static PyObject
*_wrap_wxStyledTextCtrl_SetStyling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1140 wxStyledTextCtrl
* _arg0
;
1143 PyObject
* _argo0
= 0;
1144 char *_kwnames
[] = { "self","length","style", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetStyling",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p.");
1157 wxPy_BEGIN_ALLOW_THREADS
;
1158 wxStyledTextCtrl_SetStyling(_arg0
,_arg1
,_arg2
);
1160 wxPy_END_ALLOW_THREADS
;
1161 } Py_INCREF(Py_None
);
1162 _resultobj
= Py_None
;
1166 #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw())
1167 static PyObject
*_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1170 wxStyledTextCtrl
* _arg0
;
1171 PyObject
* _argo0
= 0;
1172 char *_kwnames
[] = { "self", NULL
};
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames
,&_argo0
))
1178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p.");
1185 wxPy_BEGIN_ALLOW_THREADS
;
1186 _result
= (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0
);
1188 wxPy_END_ALLOW_THREADS
;
1189 } _resultobj
= Py_BuildValue("i",_result
);
1193 #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0))
1194 static PyObject
*_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
* _resultobj
;
1196 wxStyledTextCtrl
* _arg0
;
1198 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self","buffered", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames
,&_argo0
,&tempbool1
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p.");
1212 _arg1
= (bool ) tempbool1
;
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 wxStyledTextCtrl_SetBufferedDraw(_arg0
,_arg1
);
1217 wxPy_END_ALLOW_THREADS
;
1218 } Py_INCREF(Py_None
);
1219 _resultobj
= Py_None
;
1223 #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0))
1224 static PyObject
*_wrap_wxStyledTextCtrl_SetTabWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1226 wxStyledTextCtrl
* _arg0
;
1228 PyObject
* _argo0
= 0;
1229 char *_kwnames
[] = { "self","tabWidth", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames
,&_argo0
,&_arg1
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 wxStyledTextCtrl_SetTabWidth(_arg0
,_arg1
);
1245 wxPy_END_ALLOW_THREADS
;
1246 } Py_INCREF(Py_None
);
1247 _resultobj
= Py_None
;
1251 #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth())
1252 static PyObject
*_wrap_wxStyledTextCtrl_GetTabWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1255 wxStyledTextCtrl
* _arg0
;
1256 PyObject
* _argo0
= 0;
1257 char *_kwnames
[] = { "self", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetTabWidth",_kwnames
,&_argo0
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (int )wxStyledTextCtrl_GetTabWidth(_arg0
);
1273 wxPy_END_ALLOW_THREADS
;
1274 } _resultobj
= Py_BuildValue("i",_result
);
1278 #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0))
1279 static PyObject
*_wrap_wxStyledTextCtrl_SetCodePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1281 wxStyledTextCtrl
* _arg0
;
1283 PyObject
* _argo0
= 0;
1284 char *_kwnames
[] = { "self","codePage", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames
,&_argo0
,&_arg1
))
1290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p.");
1297 wxPy_BEGIN_ALLOW_THREADS
;
1298 wxStyledTextCtrl_SetCodePage(_arg0
,_arg1
);
1300 wxPy_END_ALLOW_THREADS
;
1301 } Py_INCREF(Py_None
);
1302 _resultobj
= Py_None
;
1306 #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1307 static PyObject
*_wrap_wxStyledTextCtrl_MarkerDefine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1309 wxStyledTextCtrl
* _arg0
;
1312 wxColour
* _arg3
= (wxColour
*) &wxNullColour
;
1313 wxColour
* _arg4
= (wxColour
*) &wxNullColour
;
1314 PyObject
* _argo0
= 0;
1316 PyObject
* _obj3
= 0;
1318 PyObject
* _obj4
= 0;
1319 char *_kwnames
[] = { "self","markerNumber","markerSymbol","foreground","background", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
1325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p.");
1334 if (! wxColour_helper(_obj3
, &_arg3
))
1340 if (! wxColour_helper(_obj4
, &_arg4
))
1344 wxPy_BEGIN_ALLOW_THREADS
;
1345 wxStyledTextCtrl_MarkerDefine(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
1347 wxPy_END_ALLOW_THREADS
;
1348 } Py_INCREF(Py_None
);
1349 _resultobj
= Py_None
;
1353 #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1))
1354 static PyObject
*_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1356 wxStyledTextCtrl
* _arg0
;
1359 PyObject
* _argo0
= 0;
1361 PyObject
* _obj2
= 0;
1362 char *_kwnames
[] = { "self","markerNumber","fore", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p.");
1376 if (! wxColour_helper(_obj2
, &_arg2
))
1380 wxPy_BEGIN_ALLOW_THREADS
;
1381 wxStyledTextCtrl_MarkerSetForeground(_arg0
,_arg1
,*_arg2
);
1383 wxPy_END_ALLOW_THREADS
;
1384 } Py_INCREF(Py_None
);
1385 _resultobj
= Py_None
;
1389 #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1))
1390 static PyObject
*_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1392 wxStyledTextCtrl
* _arg0
;
1395 PyObject
* _argo0
= 0;
1397 PyObject
* _obj2
= 0;
1398 char *_kwnames
[] = { "self","markerNumber","back", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p.");
1412 if (! wxColour_helper(_obj2
, &_arg2
))
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 wxStyledTextCtrl_MarkerSetBackground(_arg0
,_arg1
,*_arg2
);
1419 wxPy_END_ALLOW_THREADS
;
1420 } Py_INCREF(Py_None
);
1421 _resultobj
= Py_None
;
1425 #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1))
1426 static PyObject
*_wrap_wxStyledTextCtrl_MarkerAdd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1428 wxStyledTextCtrl
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self","line","markerNumber", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p.");
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 wxStyledTextCtrl_MarkerAdd(_arg0
,_arg1
,_arg2
);
1448 wxPy_END_ALLOW_THREADS
;
1449 } Py_INCREF(Py_None
);
1450 _resultobj
= Py_None
;
1454 #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1))
1455 static PyObject
*_wrap_wxStyledTextCtrl_MarkerDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1457 wxStyledTextCtrl
* _arg0
;
1460 PyObject
* _argo0
= 0;
1461 char *_kwnames
[] = { "self","line","markerNumber", NULL
};
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p.");
1474 wxPy_BEGIN_ALLOW_THREADS
;
1475 wxStyledTextCtrl_MarkerDelete(_arg0
,_arg1
,_arg2
);
1477 wxPy_END_ALLOW_THREADS
;
1478 } Py_INCREF(Py_None
);
1479 _resultobj
= Py_None
;
1483 #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0))
1484 static PyObject
*_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1486 wxStyledTextCtrl
* _arg0
;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "self","markerNumber", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames
,&_argo0
,&_arg1
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 wxStyledTextCtrl_MarkerDeleteAll(_arg0
,_arg1
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } Py_INCREF(Py_None
);
1507 _resultobj
= Py_None
;
1511 #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0))
1512 static PyObject
*_wrap_wxStyledTextCtrl_MarkerGet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1515 wxStyledTextCtrl
* _arg0
;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self","line", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames
,&_argo0
,&_arg1
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p.");
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 _result
= (int )wxStyledTextCtrl_MarkerGet(_arg0
,_arg1
);
1534 wxPy_END_ALLOW_THREADS
;
1535 } _resultobj
= Py_BuildValue("i",_result
);
1539 #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1))
1540 static PyObject
*_wrap_wxStyledTextCtrl_MarkerNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1543 wxStyledTextCtrl
* _arg0
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self","lineStart","markerMask", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (int )wxStyledTextCtrl_MarkerNext(_arg0
,_arg1
,_arg2
);
1563 wxPy_END_ALLOW_THREADS
;
1564 } _resultobj
= Py_BuildValue("i",_result
);
1568 #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1))
1569 static PyObject
*_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1572 wxStyledTextCtrl
* _arg0
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self","lineStart","markerMask", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= (int )wxStyledTextCtrl_MarkerPrevious(_arg0
,_arg1
,_arg2
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } _resultobj
= Py_BuildValue("i",_result
);
1597 #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1))
1598 static PyObject
*_wrap_wxStyledTextCtrl_SetMarginType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1600 wxStyledTextCtrl
* _arg0
;
1603 PyObject
* _argo0
= 0;
1604 char *_kwnames
[] = { "self","margin","marginType", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p.");
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 wxStyledTextCtrl_SetMarginType(_arg0
,_arg1
,_arg2
);
1620 wxPy_END_ALLOW_THREADS
;
1621 } Py_INCREF(Py_None
);
1622 _resultobj
= Py_None
;
1626 #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0))
1627 static PyObject
*_wrap_wxStyledTextCtrl_GetMarginType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1630 wxStyledTextCtrl
* _arg0
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self","margin", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames
,&_argo0
,&_arg1
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p.");
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 _result
= (int )wxStyledTextCtrl_GetMarginType(_arg0
,_arg1
);
1649 wxPy_END_ALLOW_THREADS
;
1650 } _resultobj
= Py_BuildValue("i",_result
);
1654 #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1))
1655 static PyObject
*_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1657 wxStyledTextCtrl
* _arg0
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self","margin","pixelWidth", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p.");
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 wxStyledTextCtrl_SetMarginWidth(_arg0
,_arg1
,_arg2
);
1677 wxPy_END_ALLOW_THREADS
;
1678 } Py_INCREF(Py_None
);
1679 _resultobj
= Py_None
;
1683 #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0))
1684 static PyObject
*_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1687 wxStyledTextCtrl
* _arg0
;
1689 PyObject
* _argo0
= 0;
1690 char *_kwnames
[] = { "self","margin", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p.");
1703 wxPy_BEGIN_ALLOW_THREADS
;
1704 _result
= (int )wxStyledTextCtrl_GetMarginWidth(_arg0
,_arg1
);
1706 wxPy_END_ALLOW_THREADS
;
1707 } _resultobj
= Py_BuildValue("i",_result
);
1711 #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1))
1712 static PyObject
*_wrap_wxStyledTextCtrl_SetMarginMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1714 wxStyledTextCtrl
* _arg0
;
1717 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self","margin","mask", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p.");
1731 wxPy_BEGIN_ALLOW_THREADS
;
1732 wxStyledTextCtrl_SetMarginMask(_arg0
,_arg1
,_arg2
);
1734 wxPy_END_ALLOW_THREADS
;
1735 } Py_INCREF(Py_None
);
1736 _resultobj
= Py_None
;
1740 #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0))
1741 static PyObject
*_wrap_wxStyledTextCtrl_GetMarginMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1744 wxStyledTextCtrl
* _arg0
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self","margin", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames
,&_argo0
,&_arg1
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p.");
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 _result
= (int )wxStyledTextCtrl_GetMarginMask(_arg0
,_arg1
);
1763 wxPy_END_ALLOW_THREADS
;
1764 } _resultobj
= Py_BuildValue("i",_result
);
1768 #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1))
1769 static PyObject
*_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1771 wxStyledTextCtrl
* _arg0
;
1774 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self","margin","sensitive", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p.");
1788 _arg2
= (bool ) tempbool2
;
1790 wxPy_BEGIN_ALLOW_THREADS
;
1791 wxStyledTextCtrl_SetMarginSensitive(_arg0
,_arg1
,_arg2
);
1793 wxPy_END_ALLOW_THREADS
;
1794 } Py_INCREF(Py_None
);
1795 _resultobj
= Py_None
;
1799 #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0))
1800 static PyObject
*_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1803 wxStyledTextCtrl
* _arg0
;
1805 PyObject
* _argo0
= 0;
1806 char *_kwnames
[] = { "self","margin", NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames
,&_argo0
,&_arg1
))
1812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p.");
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 _result
= (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0
,_arg1
);
1822 wxPy_END_ALLOW_THREADS
;
1823 } _resultobj
= Py_BuildValue("i",_result
);
1827 #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll())
1828 static PyObject
*_wrap_wxStyledTextCtrl_StyleClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1830 wxStyledTextCtrl
* _arg0
;
1831 PyObject
* _argo0
= 0;
1832 char *_kwnames
[] = { "self", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_StyleClearAll",_kwnames
,&_argo0
))
1838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p.");
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 wxStyledTextCtrl_StyleClearAll(_arg0
);
1848 wxPy_END_ALLOW_THREADS
;
1849 } Py_INCREF(Py_None
);
1850 _resultobj
= Py_None
;
1854 #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1))
1855 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1857 wxStyledTextCtrl
* _arg0
;
1860 PyObject
* _argo0
= 0;
1862 PyObject
* _obj2
= 0;
1863 char *_kwnames
[] = { "self","style","fore", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p.");
1877 if (! wxColour_helper(_obj2
, &_arg2
))
1881 wxPy_BEGIN_ALLOW_THREADS
;
1882 wxStyledTextCtrl_StyleSetForeground(_arg0
,_arg1
,*_arg2
);
1884 wxPy_END_ALLOW_THREADS
;
1885 } Py_INCREF(Py_None
);
1886 _resultobj
= Py_None
;
1890 #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1))
1891 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1893 wxStyledTextCtrl
* _arg0
;
1896 PyObject
* _argo0
= 0;
1898 PyObject
* _obj2
= 0;
1899 char *_kwnames
[] = { "self","style","back", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p.");
1913 if (! wxColour_helper(_obj2
, &_arg2
))
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 wxStyledTextCtrl_StyleSetBackground(_arg0
,_arg1
,*_arg2
);
1920 wxPy_END_ALLOW_THREADS
;
1921 } Py_INCREF(Py_None
);
1922 _resultobj
= Py_None
;
1926 #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1))
1927 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1929 wxStyledTextCtrl
* _arg0
;
1932 PyObject
* _argo0
= 0;
1934 char *_kwnames
[] = { "self","style","bold", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p.");
1946 _arg2
= (bool ) tempbool2
;
1948 wxPy_BEGIN_ALLOW_THREADS
;
1949 wxStyledTextCtrl_StyleSetBold(_arg0
,_arg1
,_arg2
);
1951 wxPy_END_ALLOW_THREADS
;
1952 } Py_INCREF(Py_None
);
1953 _resultobj
= Py_None
;
1957 #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1))
1958 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1960 wxStyledTextCtrl
* _arg0
;
1963 PyObject
* _argo0
= 0;
1965 char *_kwnames
[] = { "self","style","italic", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p.");
1977 _arg2
= (bool ) tempbool2
;
1979 wxPy_BEGIN_ALLOW_THREADS
;
1980 wxStyledTextCtrl_StyleSetItalic(_arg0
,_arg1
,_arg2
);
1982 wxPy_END_ALLOW_THREADS
;
1983 } Py_INCREF(Py_None
);
1984 _resultobj
= Py_None
;
1988 #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1))
1989 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1991 wxStyledTextCtrl
* _arg0
;
1994 PyObject
* _argo0
= 0;
1995 char *_kwnames
[] = { "self","style","sizePoints", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 wxStyledTextCtrl_StyleSetSize(_arg0
,_arg1
,_arg2
);
2011 wxPy_END_ALLOW_THREADS
;
2012 } Py_INCREF(Py_None
);
2013 _resultobj
= Py_None
;
2017 #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1))
2018 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2020 wxStyledTextCtrl
* _arg0
;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _obj2
= 0;
2025 char *_kwnames
[] = { "self","style","fontName", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p.");
2038 #if PYTHON_API_VERSION >= 1009
2039 char* tmpPtr
; int tmpSize
;
2040 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2044 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2046 _arg2
= new wxString(tmpPtr
, tmpSize
);
2048 if (!PyString_Check(_obj2
)) {
2049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2052 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2056 wxPy_BEGIN_ALLOW_THREADS
;
2057 wxStyledTextCtrl_StyleSetFaceName(_arg0
,_arg1
,*_arg2
);
2059 wxPy_END_ALLOW_THREADS
;
2060 } Py_INCREF(Py_None
);
2061 _resultobj
= Py_None
;
2069 #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1))
2070 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2072 wxStyledTextCtrl
* _arg0
;
2075 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self","style","filled", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p.");
2089 _arg2
= (bool ) tempbool2
;
2091 wxPy_BEGIN_ALLOW_THREADS
;
2092 wxStyledTextCtrl_StyleSetEOLFilled(_arg0
,_arg1
,_arg2
);
2094 wxPy_END_ALLOW_THREADS
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2100 #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault())
2101 static PyObject
*_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2103 wxStyledTextCtrl
* _arg0
;
2104 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames
,&_argo0
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p.");
2118 wxPy_BEGIN_ALLOW_THREADS
;
2119 wxStyledTextCtrl_StyleResetDefault(_arg0
);
2121 wxPy_END_ALLOW_THREADS
;
2122 } Py_INCREF(Py_None
);
2123 _resultobj
= Py_None
;
2127 #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1))
2128 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2130 wxStyledTextCtrl
* _arg0
;
2133 PyObject
* _argo0
= 0;
2135 char *_kwnames
[] = { "self","style","underline", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p.");
2147 _arg2
= (bool ) tempbool2
;
2149 wxPy_BEGIN_ALLOW_THREADS
;
2150 wxStyledTextCtrl_StyleSetUnderline(_arg0
,_arg1
,_arg2
);
2152 wxPy_END_ALLOW_THREADS
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2158 #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1))
2159 static PyObject
*_wrap_wxStyledTextCtrl_SetSelForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxStyledTextCtrl
* _arg0
;
2164 PyObject
* _argo0
= 0;
2167 PyObject
* _obj2
= 0;
2168 char *_kwnames
[] = { "self","useSetting","fore", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p.");
2180 _arg1
= (bool ) tempbool1
;
2183 if (! wxColour_helper(_obj2
, &_arg2
))
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 wxStyledTextCtrl_SetSelForeground(_arg0
,_arg1
,*_arg2
);
2190 wxPy_END_ALLOW_THREADS
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2196 #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1))
2197 static PyObject
*_wrap_wxStyledTextCtrl_SetSelBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2199 wxStyledTextCtrl
* _arg0
;
2202 PyObject
* _argo0
= 0;
2205 PyObject
* _obj2
= 0;
2206 char *_kwnames
[] = { "self","useSetting","back", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
2212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p.");
2218 _arg1
= (bool ) tempbool1
;
2221 if (! wxColour_helper(_obj2
, &_arg2
))
2225 wxPy_BEGIN_ALLOW_THREADS
;
2226 wxStyledTextCtrl_SetSelBackground(_arg0
,_arg1
,*_arg2
);
2228 wxPy_END_ALLOW_THREADS
;
2229 } Py_INCREF(Py_None
);
2230 _resultobj
= Py_None
;
2234 #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0))
2235 static PyObject
*_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2237 wxStyledTextCtrl
* _arg0
;
2239 PyObject
* _argo0
= 0;
2241 PyObject
* _obj1
= 0;
2242 char *_kwnames
[] = { "self","fore", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames
,&_argo0
,&_obj1
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p.");
2256 if (! wxColour_helper(_obj1
, &_arg1
))
2260 wxPy_BEGIN_ALLOW_THREADS
;
2261 wxStyledTextCtrl_SetCaretForeground(_arg0
,*_arg1
);
2263 wxPy_END_ALLOW_THREADS
;
2264 } Py_INCREF(Py_None
);
2265 _resultobj
= Py_None
;
2269 #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2))
2270 static PyObject
*_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
* _resultobj
;
2272 wxStyledTextCtrl
* _arg0
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self","key","modifiers","cmd", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p.");
2290 wxPy_BEGIN_ALLOW_THREADS
;
2291 wxStyledTextCtrl_CmdKeyAssign(_arg0
,_arg1
,_arg2
,_arg3
);
2293 wxPy_END_ALLOW_THREADS
;
2294 } Py_INCREF(Py_None
);
2295 _resultobj
= Py_None
;
2299 #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1))
2300 static PyObject
*_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2302 wxStyledTextCtrl
* _arg0
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self","key","modifiers", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p.");
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 wxStyledTextCtrl_CmdKeyClear(_arg0
,_arg1
,_arg2
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } Py_INCREF(Py_None
);
2324 _resultobj
= Py_None
;
2328 #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll())
2329 static PyObject
*_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2331 wxStyledTextCtrl
* _arg0
;
2332 PyObject
* _argo0
= 0;
2333 char *_kwnames
[] = { "self", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames
,&_argo0
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p.");
2346 wxPy_BEGIN_ALLOW_THREADS
;
2347 wxStyledTextCtrl_CmdKeyClearAll(_arg0
);
2349 wxPy_END_ALLOW_THREADS
;
2350 } Py_INCREF(Py_None
);
2351 _resultobj
= Py_None
;
2355 #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1))
2356 static PyObject
*_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
* _resultobj
;
2358 wxStyledTextCtrl
* _arg0
;
2361 PyObject
* _argo0
= 0;
2362 char *_kwnames
[] = { "self","length","styleBytes", NULL
};
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p.");
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 wxStyledTextCtrl_SetStyleBytes(_arg0
,_arg1
,_arg2
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } Py_INCREF(Py_None
);
2380 _resultobj
= Py_None
;
2384 #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1))
2385 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2387 wxStyledTextCtrl
* _arg0
;
2390 PyObject
* _argo0
= 0;
2392 char *_kwnames
[] = { "self","style","visible", NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p.");
2404 _arg2
= (bool ) tempbool2
;
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 wxStyledTextCtrl_StyleSetVisible(_arg0
,_arg1
,_arg2
);
2409 wxPy_END_ALLOW_THREADS
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2415 #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod())
2416 static PyObject
*_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2419 wxStyledTextCtrl
* _arg0
;
2420 PyObject
* _argo0
= 0;
2421 char *_kwnames
[] = { "self", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames
,&_argo0
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p.");
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 _result
= (int )wxStyledTextCtrl_GetCaretPeriod(_arg0
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } _resultobj
= Py_BuildValue("i",_result
);
2442 #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0))
2443 static PyObject
*_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2445 wxStyledTextCtrl
* _arg0
;
2447 PyObject
* _argo0
= 0;
2448 char *_kwnames
[] = { "self","periodMilliseconds", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames
,&_argo0
,&_arg1
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p.");
2461 wxPy_BEGIN_ALLOW_THREADS
;
2462 wxStyledTextCtrl_SetCaretPeriod(_arg0
,_arg1
);
2464 wxPy_END_ALLOW_THREADS
;
2465 } Py_INCREF(Py_None
);
2466 _resultobj
= Py_None
;
2470 #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0))
2471 static PyObject
*_wrap_wxStyledTextCtrl_SetWordChars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2473 wxStyledTextCtrl
* _arg0
;
2475 PyObject
* _argo0
= 0;
2476 PyObject
* _obj1
= 0;
2477 char *_kwnames
[] = { "self","characters", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_SetWordChars",_kwnames
,&_argo0
,&_obj1
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p.");
2490 #if PYTHON_API_VERSION >= 1009
2491 char* tmpPtr
; int tmpSize
;
2492 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2496 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2498 _arg1
= new wxString(tmpPtr
, tmpSize
);
2500 if (!PyString_Check(_obj1
)) {
2501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2504 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2508 wxPy_BEGIN_ALLOW_THREADS
;
2509 wxStyledTextCtrl_SetWordChars(_arg0
,*_arg1
);
2511 wxPy_END_ALLOW_THREADS
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2521 #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction())
2522 static PyObject
*_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2524 wxStyledTextCtrl
* _arg0
;
2525 PyObject
* _argo0
= 0;
2526 char *_kwnames
[] = { "self", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames
,&_argo0
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p.");
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 wxStyledTextCtrl_BeginUndoAction(_arg0
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2548 #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction())
2549 static PyObject
*_wrap_wxStyledTextCtrl_EndUndoAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2551 wxStyledTextCtrl
* _arg0
;
2552 PyObject
* _argo0
= 0;
2553 char *_kwnames
[] = { "self", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_EndUndoAction",_kwnames
,&_argo0
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p.");
2566 wxPy_BEGIN_ALLOW_THREADS
;
2567 wxStyledTextCtrl_EndUndoAction(_arg0
);
2569 wxPy_END_ALLOW_THREADS
;
2570 } Py_INCREF(Py_None
);
2571 _resultobj
= Py_None
;
2575 #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1))
2576 static PyObject
*_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2578 wxStyledTextCtrl
* _arg0
;
2581 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self","indic","style", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 wxStyledTextCtrl_IndicatorSetStyle(_arg0
,_arg1
,_arg2
);
2598 wxPy_END_ALLOW_THREADS
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0))
2605 static PyObject
*_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2608 wxStyledTextCtrl
* _arg0
;
2610 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self","indic", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames
,&_argo0
,&_arg1
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p.");
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 _result
= (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0
,_arg1
);
2627 wxPy_END_ALLOW_THREADS
;
2628 } _resultobj
= Py_BuildValue("i",_result
);
2632 #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1))
2633 static PyObject
*_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2635 wxStyledTextCtrl
* _arg0
;
2638 PyObject
* _argo0
= 0;
2640 PyObject
* _obj2
= 0;
2641 char *_kwnames
[] = { "self","indic","fore", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p.");
2655 if (! wxColour_helper(_obj2
, &_arg2
))
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 wxStyledTextCtrl_IndicatorSetForeground(_arg0
,_arg1
,*_arg2
);
2662 wxPy_END_ALLOW_THREADS
;
2663 } Py_INCREF(Py_None
);
2664 _resultobj
= Py_None
;
2668 #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0))
2669 static PyObject
*_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2672 wxStyledTextCtrl
* _arg0
;
2674 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self","indic", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames
,&_argo0
,&_arg1
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 _result
= new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0
,_arg1
));
2692 wxPy_END_ALLOW_THREADS
;
2693 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2694 _resultobj
= Py_BuildValue("s",_ptemp
);
2698 #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0))
2699 static PyObject
*_wrap_wxStyledTextCtrl_SetStyleBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2701 wxStyledTextCtrl
* _arg0
;
2703 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self","bits", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames
,&_argo0
,&_arg1
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p.");
2717 wxPy_BEGIN_ALLOW_THREADS
;
2718 wxStyledTextCtrl_SetStyleBits(_arg0
,_arg1
);
2720 wxPy_END_ALLOW_THREADS
;
2721 } Py_INCREF(Py_None
);
2722 _resultobj
= Py_None
;
2726 #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits())
2727 static PyObject
*_wrap_wxStyledTextCtrl_GetStyleBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
* _resultobj
;
2730 wxStyledTextCtrl
* _arg0
;
2731 PyObject
* _argo0
= 0;
2732 char *_kwnames
[] = { "self", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetStyleBits",_kwnames
,&_argo0
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p.");
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (int )wxStyledTextCtrl_GetStyleBits(_arg0
);
2748 wxPy_END_ALLOW_THREADS
;
2749 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1))
2754 static PyObject
*_wrap_wxStyledTextCtrl_SetLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2756 wxStyledTextCtrl
* _arg0
;
2759 PyObject
* _argo0
= 0;
2760 char *_kwnames
[] = { "self","line","state", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetLineState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p.");
2773 wxPy_BEGIN_ALLOW_THREADS
;
2774 wxStyledTextCtrl_SetLineState(_arg0
,_arg1
,_arg2
);
2776 wxPy_END_ALLOW_THREADS
;
2777 } Py_INCREF(Py_None
);
2778 _resultobj
= Py_None
;
2782 #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0))
2783 static PyObject
*_wrap_wxStyledTextCtrl_GetLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2786 wxStyledTextCtrl
* _arg0
;
2788 PyObject
* _argo0
= 0;
2789 char *_kwnames
[] = { "self","line", NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetLineState",_kwnames
,&_argo0
,&_arg1
))
2795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p.");
2802 wxPy_BEGIN_ALLOW_THREADS
;
2803 _result
= (int )wxStyledTextCtrl_GetLineState(_arg0
,_arg1
);
2805 wxPy_END_ALLOW_THREADS
;
2806 } _resultobj
= Py_BuildValue("i",_result
);
2810 #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState())
2811 static PyObject
*_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2814 wxStyledTextCtrl
* _arg0
;
2815 PyObject
* _argo0
= 0;
2816 char *_kwnames
[] = { "self", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames
,&_argo0
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p.");
2829 wxPy_BEGIN_ALLOW_THREADS
;
2830 _result
= (int )wxStyledTextCtrl_GetMaxLineState(_arg0
);
2832 wxPy_END_ALLOW_THREADS
;
2833 } _resultobj
= Py_BuildValue("i",_result
);
2837 #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1))
2838 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2840 wxStyledTextCtrl
* _arg0
;
2843 PyObject
* _argo0
= 0;
2844 PyObject
* _obj2
= 0;
2845 char *_kwnames
[] = { "self","lenEntered","itemList", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p.");
2858 #if PYTHON_API_VERSION >= 1009
2859 char* tmpPtr
; int tmpSize
;
2860 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2864 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2866 _arg2
= new wxString(tmpPtr
, tmpSize
);
2868 if (!PyString_Check(_obj2
)) {
2869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2872 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2876 wxPy_BEGIN_ALLOW_THREADS
;
2877 wxStyledTextCtrl_AutoCompShow(_arg0
,_arg1
,*_arg2
);
2879 wxPy_END_ALLOW_THREADS
;
2880 } Py_INCREF(Py_None
);
2881 _resultobj
= Py_None
;
2889 #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel())
2890 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2892 wxStyledTextCtrl
* _arg0
;
2893 PyObject
* _argo0
= 0;
2894 char *_kwnames
[] = { "self", NULL
};
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames
,&_argo0
))
2900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p.");
2907 wxPy_BEGIN_ALLOW_THREADS
;
2908 wxStyledTextCtrl_AutoCompCancel(_arg0
);
2910 wxPy_END_ALLOW_THREADS
;
2911 } Py_INCREF(Py_None
);
2912 _resultobj
= Py_None
;
2916 #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive())
2917 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2920 wxStyledTextCtrl
* _arg0
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_AutoCompActive",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 _result
= (bool )wxStyledTextCtrl_AutoCompActive(_arg0
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } _resultobj
= Py_BuildValue("i",_result
);
2943 #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart())
2944 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2947 wxStyledTextCtrl
* _arg0
;
2948 PyObject
* _argo0
= 0;
2949 char *_kwnames
[] = { "self", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames
,&_argo0
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p.");
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 _result
= (int )wxStyledTextCtrl_AutoCompPosStart(_arg0
);
2965 wxPy_END_ALLOW_THREADS
;
2966 } _resultobj
= Py_BuildValue("i",_result
);
2970 #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete())
2971 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2973 wxStyledTextCtrl
* _arg0
;
2974 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames
,&_argo0
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p.");
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 wxStyledTextCtrl_AutoCompComplete(_arg0
);
2991 wxPy_END_ALLOW_THREADS
;
2992 } Py_INCREF(Py_None
);
2993 _resultobj
= Py_None
;
2997 #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0))
2998 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompStops(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3000 wxStyledTextCtrl
* _arg0
;
3002 PyObject
* _argo0
= 0;
3003 PyObject
* _obj1
= 0;
3004 char *_kwnames
[] = { "self","characterSet", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames
,&_argo0
,&_obj1
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p.");
3017 #if PYTHON_API_VERSION >= 1009
3018 char* tmpPtr
; int tmpSize
;
3019 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3020 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3023 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3025 _arg1
= new wxString(tmpPtr
, tmpSize
);
3027 if (!PyString_Check(_obj1
)) {
3028 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3031 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3035 wxPy_BEGIN_ALLOW_THREADS
;
3036 wxStyledTextCtrl_AutoCompStops(_arg0
,*_arg1
);
3038 wxPy_END_ALLOW_THREADS
;
3039 } Py_INCREF(Py_None
);
3040 _resultobj
= Py_None
;
3048 #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0))
3049 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3051 wxStyledTextCtrl
* _arg0
;
3053 PyObject
* _argo0
= 0;
3054 char *_kwnames
[] = { "self","separatorCharacter", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames
,&_argo0
,&_arg1
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p.");
3067 wxPy_BEGIN_ALLOW_THREADS
;
3068 wxStyledTextCtrl_AutoCompSetSeparator(_arg0
,_arg1
);
3070 wxPy_END_ALLOW_THREADS
;
3071 } Py_INCREF(Py_None
);
3072 _resultobj
= Py_None
;
3076 #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator())
3077 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3080 wxStyledTextCtrl
* _arg0
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p.");
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 _result
= (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0
);
3098 wxPy_END_ALLOW_THREADS
;
3099 } _resultobj
= Py_BuildValue("i",_result
);
3103 #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0))
3104 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3106 wxStyledTextCtrl
* _arg0
;
3108 PyObject
* _argo0
= 0;
3109 PyObject
* _obj1
= 0;
3110 char *_kwnames
[] = { "self","text", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames
,&_argo0
,&_obj1
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p.");
3123 #if PYTHON_API_VERSION >= 1009
3124 char* tmpPtr
; int tmpSize
;
3125 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3126 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3129 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3131 _arg1
= new wxString(tmpPtr
, tmpSize
);
3133 if (!PyString_Check(_obj1
)) {
3134 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3137 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3141 wxPy_BEGIN_ALLOW_THREADS
;
3142 wxStyledTextCtrl_AutoCompSelect(_arg0
,*_arg1
);
3144 wxPy_END_ALLOW_THREADS
;
3145 } Py_INCREF(Py_None
);
3146 _resultobj
= Py_None
;
3154 #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0))
3155 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3157 wxStyledTextCtrl
* _arg0
;
3159 PyObject
* _argo0
= 0;
3161 char *_kwnames
[] = { "self","cancel", NULL
};
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames
,&_argo0
,&tempbool1
))
3167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p.");
3173 _arg1
= (bool ) tempbool1
;
3175 wxPy_BEGIN_ALLOW_THREADS
;
3176 wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0
,_arg1
);
3178 wxPy_END_ALLOW_THREADS
;
3179 } Py_INCREF(Py_None
);
3180 _resultobj
= Py_None
;
3184 #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart())
3185 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3188 wxStyledTextCtrl
* _arg0
;
3189 PyObject
* _argo0
= 0;
3190 char *_kwnames
[] = { "self", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames
,&_argo0
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p.");
3203 wxPy_BEGIN_ALLOW_THREADS
;
3204 _result
= (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0
);
3206 wxPy_END_ALLOW_THREADS
;
3207 } _resultobj
= Py_BuildValue("i",_result
);
3211 #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0))
3212 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3214 wxStyledTextCtrl
* _arg0
;
3216 PyObject
* _argo0
= 0;
3217 PyObject
* _obj1
= 0;
3218 char *_kwnames
[] = { "self","characterSet", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames
,&_argo0
,&_obj1
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p.");
3231 #if PYTHON_API_VERSION >= 1009
3232 char* tmpPtr
; int tmpSize
;
3233 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3237 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3239 _arg1
= new wxString(tmpPtr
, tmpSize
);
3241 if (!PyString_Check(_obj1
)) {
3242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3245 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3249 wxPy_BEGIN_ALLOW_THREADS
;
3250 wxStyledTextCtrl_AutoCompSetFillUps(_arg0
,*_arg1
);
3252 wxPy_END_ALLOW_THREADS
;
3253 } Py_INCREF(Py_None
);
3254 _resultobj
= Py_None
;
3262 #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0))
3263 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3265 wxStyledTextCtrl
* _arg0
;
3267 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self","chooseSingle", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames
,&_argo0
,&tempbool1
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p.");
3281 _arg1
= (bool ) tempbool1
;
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0
,_arg1
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } Py_INCREF(Py_None
);
3288 _resultobj
= Py_None
;
3292 #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle())
3293 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3296 wxStyledTextCtrl
* _arg0
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames
,&_argo0
))
3304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p.");
3311 wxPy_BEGIN_ALLOW_THREADS
;
3312 _result
= (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0
);
3314 wxPy_END_ALLOW_THREADS
;
3315 } _resultobj
= Py_BuildValue("i",_result
);
3319 #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0))
3320 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3322 wxStyledTextCtrl
* _arg0
;
3324 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","ignoreCase", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames
,&_argo0
,&tempbool1
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p.");
3338 _arg1
= (bool ) tempbool1
;
3340 wxPy_BEGIN_ALLOW_THREADS
;
3341 wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0
,_arg1
);
3343 wxPy_END_ALLOW_THREADS
;
3344 } Py_INCREF(Py_None
);
3345 _resultobj
= Py_None
;
3349 #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase())
3350 static PyObject
*_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3353 wxStyledTextCtrl
* _arg0
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames
,&_argo0
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p.");
3368 wxPy_BEGIN_ALLOW_THREADS
;
3369 _result
= (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0
);
3371 wxPy_END_ALLOW_THREADS
;
3372 } _resultobj
= Py_BuildValue("i",_result
);
3376 #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3377 static PyObject
*_wrap_wxStyledTextCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3379 wxStyledTextCtrl
* _arg0
;
3381 PyObject
* _argo0
= 0;
3382 char *_kwnames
[] = { "self","indentSize", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p.");
3395 wxPy_BEGIN_ALLOW_THREADS
;
3396 wxStyledTextCtrl_SetIndent(_arg0
,_arg1
);
3398 wxPy_END_ALLOW_THREADS
;
3399 } Py_INCREF(Py_None
);
3400 _resultobj
= Py_None
;
3404 #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3405 static PyObject
*_wrap_wxStyledTextCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3408 wxStyledTextCtrl
* _arg0
;
3409 PyObject
* _argo0
= 0;
3410 char *_kwnames
[] = { "self", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetIndent",_kwnames
,&_argo0
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p.");
3423 wxPy_BEGIN_ALLOW_THREADS
;
3424 _result
= (int )wxStyledTextCtrl_GetIndent(_arg0
);
3426 wxPy_END_ALLOW_THREADS
;
3427 } _resultobj
= Py_BuildValue("i",_result
);
3431 #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0))
3432 static PyObject
*_wrap_wxStyledTextCtrl_SetUseTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3434 wxStyledTextCtrl
* _arg0
;
3436 PyObject
* _argo0
= 0;
3438 char *_kwnames
[] = { "self","useTabs", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames
,&_argo0
,&tempbool1
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p.");
3450 _arg1
= (bool ) tempbool1
;
3452 wxPy_BEGIN_ALLOW_THREADS
;
3453 wxStyledTextCtrl_SetUseTabs(_arg0
,_arg1
);
3455 wxPy_END_ALLOW_THREADS
;
3456 } Py_INCREF(Py_None
);
3457 _resultobj
= Py_None
;
3461 #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs())
3462 static PyObject
*_wrap_wxStyledTextCtrl_GetUseTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
* _resultobj
;
3465 wxStyledTextCtrl
* _arg0
;
3466 PyObject
* _argo0
= 0;
3467 char *_kwnames
[] = { "self", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetUseTabs",_kwnames
,&_argo0
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p.");
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 _result
= (bool )wxStyledTextCtrl_GetUseTabs(_arg0
);
3483 wxPy_END_ALLOW_THREADS
;
3484 } _resultobj
= Py_BuildValue("i",_result
);
3488 #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1))
3489 static PyObject
*_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3491 wxStyledTextCtrl
* _arg0
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self","line","indentSize", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p.");
3508 wxPy_BEGIN_ALLOW_THREADS
;
3509 wxStyledTextCtrl_SetLineIndentation(_arg0
,_arg1
,_arg2
);
3511 wxPy_END_ALLOW_THREADS
;
3512 } Py_INCREF(Py_None
);
3513 _resultobj
= Py_None
;
3517 #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0))
3518 static PyObject
*_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3521 wxStyledTextCtrl
* _arg0
;
3523 PyObject
* _argo0
= 0;
3524 char *_kwnames
[] = { "self","line", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames
,&_argo0
,&_arg1
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p.");
3537 wxPy_BEGIN_ALLOW_THREADS
;
3538 _result
= (int )wxStyledTextCtrl_GetLineIndentation(_arg0
,_arg1
);
3540 wxPy_END_ALLOW_THREADS
;
3541 } _resultobj
= Py_BuildValue("i",_result
);
3545 #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0))
3546 static PyObject
*_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3549 wxStyledTextCtrl
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self","line", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames
,&_argo0
,&_arg1
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p.");
3565 wxPy_BEGIN_ALLOW_THREADS
;
3566 _result
= (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0
,_arg1
);
3568 wxPy_END_ALLOW_THREADS
;
3569 } _resultobj
= Py_BuildValue("i",_result
);
3573 #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0))
3574 static PyObject
*_wrap_wxStyledTextCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3577 wxStyledTextCtrl
* _arg0
;
3579 PyObject
* _argo0
= 0;
3580 char *_kwnames
[] = { "self","pos", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p.");
3593 wxPy_BEGIN_ALLOW_THREADS
;
3594 _result
= (int )wxStyledTextCtrl_GetColumn(_arg0
,_arg1
);
3596 wxPy_END_ALLOW_THREADS
;
3597 } _resultobj
= Py_BuildValue("i",_result
);
3601 #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0))
3602 static PyObject
*_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3604 wxStyledTextCtrl
* _arg0
;
3606 PyObject
* _argo0
= 0;
3608 char *_kwnames
[] = { "self","show", NULL
};
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames
,&_argo0
,&tempbool1
))
3614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
3620 _arg1
= (bool ) tempbool1
;
3622 wxPy_BEGIN_ALLOW_THREADS
;
3623 wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0
,_arg1
);
3625 wxPy_END_ALLOW_THREADS
;
3626 } Py_INCREF(Py_None
);
3627 _resultobj
= Py_None
;
3631 #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar())
3632 static PyObject
*_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3635 wxStyledTextCtrl
* _arg0
;
3636 PyObject
* _argo0
= 0;
3637 char *_kwnames
[] = { "self", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames
,&_argo0
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } _resultobj
= Py_BuildValue("i",_result
);
3658 #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0))
3659 static PyObject
*_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3661 wxStyledTextCtrl
* _arg0
;
3663 PyObject
* _argo0
= 0;
3665 char *_kwnames
[] = { "self","show", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames
,&_argo0
,&tempbool1
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p.");
3677 _arg1
= (bool ) tempbool1
;
3679 wxPy_BEGIN_ALLOW_THREADS
;
3680 wxStyledTextCtrl_SetIndentationGuides(_arg0
,_arg1
);
3682 wxPy_END_ALLOW_THREADS
;
3683 } Py_INCREF(Py_None
);
3684 _resultobj
= Py_None
;
3688 #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides())
3689 static PyObject
*_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3692 wxStyledTextCtrl
* _arg0
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames
,&_argo0
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p.");
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 _result
= (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0
);
3710 wxPy_END_ALLOW_THREADS
;
3711 } _resultobj
= Py_BuildValue("i",_result
);
3715 #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0))
3716 static PyObject
*_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3718 wxStyledTextCtrl
* _arg0
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self","column", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames
,&_argo0
,&_arg1
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p.");
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 wxStyledTextCtrl_SetHighlightGuide(_arg0
,_arg1
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3743 #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide())
3744 static PyObject
*_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3747 wxStyledTextCtrl
* _arg0
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p.");
3762 wxPy_BEGIN_ALLOW_THREADS
;
3763 _result
= (int )wxStyledTextCtrl_GetHighlightGuide(_arg0
);
3765 wxPy_END_ALLOW_THREADS
;
3766 } _resultobj
= Py_BuildValue("i",_result
);
3770 #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0))
3771 static PyObject
*_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3774 wxStyledTextCtrl
* _arg0
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self","line", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames
,&_argo0
,&_arg1
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p.");
3790 wxPy_BEGIN_ALLOW_THREADS
;
3791 _result
= (int )wxStyledTextCtrl_GetLineEndPosition(_arg0
,_arg1
);
3793 wxPy_END_ALLOW_THREADS
;
3794 } _resultobj
= Py_BuildValue("i",_result
);
3798 #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage())
3799 static PyObject
*_wrap_wxStyledTextCtrl_GetCodePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3802 wxStyledTextCtrl
* _arg0
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetCodePage",_kwnames
,&_argo0
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p.");
3817 wxPy_BEGIN_ALLOW_THREADS
;
3818 _result
= (int )wxStyledTextCtrl_GetCodePage(_arg0
);
3820 wxPy_END_ALLOW_THREADS
;
3821 } _resultobj
= Py_BuildValue("i",_result
);
3825 #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground())
3826 static PyObject
*_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
* _resultobj
;
3829 wxStyledTextCtrl
* _arg0
;
3830 PyObject
* _argo0
= 0;
3831 char *_kwnames
[] = { "self", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames
,&_argo0
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p.");
3845 wxPy_BEGIN_ALLOW_THREADS
;
3846 _result
= new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0
));
3848 wxPy_END_ALLOW_THREADS
;
3849 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3850 _resultobj
= Py_BuildValue("s",_ptemp
);
3854 #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly())
3855 static PyObject
*_wrap_wxStyledTextCtrl_GetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3858 wxStyledTextCtrl
* _arg0
;
3859 PyObject
* _argo0
= 0;
3860 char *_kwnames
[] = { "self", NULL
};
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetReadOnly",_kwnames
,&_argo0
))
3866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p.");
3873 wxPy_BEGIN_ALLOW_THREADS
;
3874 _result
= (bool )wxStyledTextCtrl_GetReadOnly(_arg0
);
3876 wxPy_END_ALLOW_THREADS
;
3877 } _resultobj
= Py_BuildValue("i",_result
);
3881 #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0))
3882 static PyObject
*_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3884 wxStyledTextCtrl
* _arg0
;
3886 PyObject
* _argo0
= 0;
3887 char *_kwnames
[] = { "self","pos", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames
,&_argo0
,&_arg1
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 wxStyledTextCtrl_SetCurrentPos(_arg0
,_arg1
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } Py_INCREF(Py_None
);
3905 _resultobj
= Py_None
;
3909 #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0))
3910 static PyObject
*_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3912 wxStyledTextCtrl
* _arg0
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self","pos", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames
,&_argo0
,&_arg1
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 wxStyledTextCtrl_SetSelectionStart(_arg0
,_arg1
);
3931 wxPy_END_ALLOW_THREADS
;
3932 } Py_INCREF(Py_None
);
3933 _resultobj
= Py_None
;
3937 #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart())
3938 static PyObject
*_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
* _resultobj
;
3941 wxStyledTextCtrl
* _arg0
;
3942 PyObject
* _argo0
= 0;
3943 char *_kwnames
[] = { "self", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames
,&_argo0
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 _result
= (int )wxStyledTextCtrl_GetSelectionStart(_arg0
);
3959 wxPy_END_ALLOW_THREADS
;
3960 } _resultobj
= Py_BuildValue("i",_result
);
3964 #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0))
3965 static PyObject
*_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
* _resultobj
;
3967 wxStyledTextCtrl
* _arg0
;
3969 PyObject
* _argo0
= 0;
3970 char *_kwnames
[] = { "self","pos", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames
,&_argo0
,&_arg1
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p.");
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 wxStyledTextCtrl_SetSelectionEnd(_arg0
,_arg1
);
3986 wxPy_END_ALLOW_THREADS
;
3987 } Py_INCREF(Py_None
);
3988 _resultobj
= Py_None
;
3992 #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd())
3993 static PyObject
*_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3996 wxStyledTextCtrl
* _arg0
;
3997 PyObject
* _argo0
= 0;
3998 char *_kwnames
[] = { "self", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames
,&_argo0
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p.");
4011 wxPy_BEGIN_ALLOW_THREADS
;
4012 _result
= (int )wxStyledTextCtrl_GetSelectionEnd(_arg0
);
4014 wxPy_END_ALLOW_THREADS
;
4015 } _resultobj
= Py_BuildValue("i",_result
);
4019 #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0))
4020 static PyObject
*_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxStyledTextCtrl
* _arg0
;
4024 PyObject
* _argo0
= 0;
4025 char *_kwnames
[] = { "self","magnification", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames
,&_argo0
,&_arg1
))
4031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p.");
4038 wxPy_BEGIN_ALLOW_THREADS
;
4039 wxStyledTextCtrl_SetPrintMagnification(_arg0
,_arg1
);
4041 wxPy_END_ALLOW_THREADS
;
4042 } Py_INCREF(Py_None
);
4043 _resultobj
= Py_None
;
4047 #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification())
4048 static PyObject
*_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4051 wxStyledTextCtrl
* _arg0
;
4052 PyObject
* _argo0
= 0;
4053 char *_kwnames
[] = { "self", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames
,&_argo0
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p.");
4066 wxPy_BEGIN_ALLOW_THREADS
;
4067 _result
= (int )wxStyledTextCtrl_GetPrintMagnification(_arg0
);
4069 wxPy_END_ALLOW_THREADS
;
4070 } _resultobj
= Py_BuildValue("i",_result
);
4074 #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0))
4075 static PyObject
*_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4077 wxStyledTextCtrl
* _arg0
;
4079 PyObject
* _argo0
= 0;
4080 char *_kwnames
[] = { "self","mode", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames
,&_argo0
,&_arg1
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p.");
4093 wxPy_BEGIN_ALLOW_THREADS
;
4094 wxStyledTextCtrl_SetPrintColourMode(_arg0
,_arg1
);
4096 wxPy_END_ALLOW_THREADS
;
4097 } Py_INCREF(Py_None
);
4098 _resultobj
= Py_None
;
4102 #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode())
4103 static PyObject
*_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4106 wxStyledTextCtrl
* _arg0
;
4107 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames
,&_argo0
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p.");
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 _result
= (int )wxStyledTextCtrl_GetPrintColourMode(_arg0
);
4124 wxPy_END_ALLOW_THREADS
;
4125 } _resultobj
= Py_BuildValue("i",_result
);
4129 #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4130 static PyObject
*_wrap_wxStyledTextCtrl_FindText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4133 wxStyledTextCtrl
* _arg0
;
4139 PyObject
* _argo0
= 0;
4140 PyObject
* _obj3
= 0;
4143 char *_kwnames
[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOii:wxStyledTextCtrl_FindText",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&tempbool4
,&tempbool5
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p.");
4156 #if PYTHON_API_VERSION >= 1009
4157 char* tmpPtr
; int tmpSize
;
4158 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4162 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4164 _arg3
= new wxString(tmpPtr
, tmpSize
);
4166 if (!PyString_Check(_obj3
)) {
4167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4170 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4173 _arg4
= (bool ) tempbool4
;
4174 _arg5
= (bool ) tempbool5
;
4176 wxPy_BEGIN_ALLOW_THREADS
;
4177 _result
= (int )wxStyledTextCtrl_FindText(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
4179 wxPy_END_ALLOW_THREADS
;
4180 } _resultobj
= Py_BuildValue("i",_result
);
4188 #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4189 static PyObject
*_wrap_wxStyledTextCtrl_FormatRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4192 wxStyledTextCtrl
* _arg0
;
4200 PyObject
* _argo0
= 0;
4202 PyObject
* _argo4
= 0;
4203 PyObject
* _argo5
= 0;
4205 PyObject
* _obj6
= 0;
4207 PyObject
* _obj7
= 0;
4208 char *_kwnames
[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_argo4
,&_argo5
,&_obj6
,&_obj7
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p.");
4220 _arg1
= (bool ) tempbool1
;
4222 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxDC_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
4229 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
4237 if (! wxRect_helper(_obj6
, &_arg6
))
4242 if (! wxRect_helper(_obj7
, &_arg7
))
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 _result
= (int )wxStyledTextCtrl_FormatRange(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
);
4249 wxPy_END_ALLOW_THREADS
;
4250 } _resultobj
= Py_BuildValue("i",_result
);
4254 #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine())
4255 static PyObject
*_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4258 wxStyledTextCtrl
* _arg0
;
4259 PyObject
* _argo0
= 0;
4260 char *_kwnames
[] = { "self", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames
,&_argo0
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p.");
4273 wxPy_BEGIN_ALLOW_THREADS
;
4274 _result
= (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0
);
4276 wxPy_END_ALLOW_THREADS
;
4277 } _resultobj
= Py_BuildValue("i",_result
);
4281 #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0))
4282 static PyObject
*_wrap_wxStyledTextCtrl_GetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4285 wxStyledTextCtrl
* _arg0
;
4287 PyObject
* _argo0
= 0;
4288 char *_kwnames
[] = { "self","line", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetLine",_kwnames
,&_argo0
,&_arg1
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 _result
= new wxString (wxStyledTextCtrl_GetLine(_arg0
,_arg1
));
4304 wxPy_END_ALLOW_THREADS
;
4306 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4314 #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount())
4315 static PyObject
*_wrap_wxStyledTextCtrl_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
* _resultobj
;
4318 wxStyledTextCtrl
* _arg0
;
4319 PyObject
* _argo0
= 0;
4320 char *_kwnames
[] = { "self", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetLineCount",_kwnames
,&_argo0
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p.");
4333 wxPy_BEGIN_ALLOW_THREADS
;
4334 _result
= (int )wxStyledTextCtrl_GetLineCount(_arg0
);
4336 wxPy_END_ALLOW_THREADS
;
4337 } _resultobj
= Py_BuildValue("i",_result
);
4341 #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0))
4342 static PyObject
*_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4344 wxStyledTextCtrl
* _arg0
;
4346 PyObject
* _argo0
= 0;
4347 char *_kwnames
[] = { "self","width", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames
,&_argo0
,&_arg1
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p.");
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 wxStyledTextCtrl_SetMarginLeft(_arg0
,_arg1
);
4363 wxPy_END_ALLOW_THREADS
;
4364 } Py_INCREF(Py_None
);
4365 _resultobj
= Py_None
;
4369 #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft())
4370 static PyObject
*_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4373 wxStyledTextCtrl
* _arg0
;
4374 PyObject
* _argo0
= 0;
4375 char *_kwnames
[] = { "self", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames
,&_argo0
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p.");
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 _result
= (int )wxStyledTextCtrl_GetMarginLeft(_arg0
);
4391 wxPy_END_ALLOW_THREADS
;
4392 } _resultobj
= Py_BuildValue("i",_result
);
4396 #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0))
4397 static PyObject
*_wrap_wxStyledTextCtrl_SetMarginRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4399 wxStyledTextCtrl
* _arg0
;
4401 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self","width", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames
,&_argo0
,&_arg1
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p.");
4415 wxPy_BEGIN_ALLOW_THREADS
;
4416 wxStyledTextCtrl_SetMarginRight(_arg0
,_arg1
);
4418 wxPy_END_ALLOW_THREADS
;
4419 } Py_INCREF(Py_None
);
4420 _resultobj
= Py_None
;
4424 #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight())
4425 static PyObject
*_wrap_wxStyledTextCtrl_GetMarginRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4428 wxStyledTextCtrl
* _arg0
;
4429 PyObject
* _argo0
= 0;
4430 char *_kwnames
[] = { "self", NULL
};
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetMarginRight",_kwnames
,&_argo0
))
4436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p.");
4443 wxPy_BEGIN_ALLOW_THREADS
;
4444 _result
= (int )wxStyledTextCtrl_GetMarginRight(_arg0
);
4446 wxPy_END_ALLOW_THREADS
;
4447 } _resultobj
= Py_BuildValue("i",_result
);
4451 #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify())
4452 static PyObject
*_wrap_wxStyledTextCtrl_GetModify(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4455 wxStyledTextCtrl
* _arg0
;
4456 PyObject
* _argo0
= 0;
4457 char *_kwnames
[] = { "self", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetModify",_kwnames
,&_argo0
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p.");
4470 wxPy_BEGIN_ALLOW_THREADS
;
4471 _result
= (bool )wxStyledTextCtrl_GetModify(_arg0
);
4473 wxPy_END_ALLOW_THREADS
;
4474 } _resultobj
= Py_BuildValue("i",_result
);
4478 #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4479 static PyObject
*_wrap_wxStyledTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4481 wxStyledTextCtrl
* _arg0
;
4484 PyObject
* _argo0
= 0;
4485 char *_kwnames
[] = { "self","start","end", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p.");
4498 wxPy_BEGIN_ALLOW_THREADS
;
4499 wxStyledTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
4501 wxPy_END_ALLOW_THREADS
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText())
4508 static PyObject
*_wrap_wxStyledTextCtrl_GetSelectedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4511 wxStyledTextCtrl
* _arg0
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetSelectedText",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 _result
= new wxString (wxStyledTextCtrl_GetSelectedText(_arg0
));
4529 wxPy_END_ALLOW_THREADS
;
4531 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4539 #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1))
4540 static PyObject
*_wrap_wxStyledTextCtrl_GetTextRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
* _resultobj
;
4543 wxStyledTextCtrl
* _arg0
;
4546 PyObject
* _argo0
= 0;
4547 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p.");
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 _result
= new wxString (wxStyledTextCtrl_GetTextRange(_arg0
,_arg1
,_arg2
));
4563 wxPy_END_ALLOW_THREADS
;
4565 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4573 #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0))
4574 static PyObject
*_wrap_wxStyledTextCtrl_HideSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4576 wxStyledTextCtrl
* _arg0
;
4578 PyObject
* _argo0
= 0;
4580 char *_kwnames
[] = { "self","normal", NULL
};
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_HideSelection",_kwnames
,&_argo0
,&tempbool1
))
4586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p.");
4592 _arg1
= (bool ) tempbool1
;
4594 wxPy_BEGIN_ALLOW_THREADS
;
4595 wxStyledTextCtrl_HideSelection(_arg0
,_arg1
);
4597 wxPy_END_ALLOW_THREADS
;
4598 } Py_INCREF(Py_None
);
4599 _resultobj
= Py_None
;
4603 #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0))
4604 static PyObject
*_wrap_wxStyledTextCtrl_LineFromPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4607 wxStyledTextCtrl
* _arg0
;
4609 PyObject
* _argo0
= 0;
4610 char *_kwnames
[] = { "self","pos", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames
,&_argo0
,&_arg1
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p.");
4623 wxPy_BEGIN_ALLOW_THREADS
;
4624 _result
= (int )wxStyledTextCtrl_LineFromPosition(_arg0
,_arg1
);
4626 wxPy_END_ALLOW_THREADS
;
4627 } _resultobj
= Py_BuildValue("i",_result
);
4631 #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0))
4632 static PyObject
*_wrap_wxStyledTextCtrl_PositionFromLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4635 wxStyledTextCtrl
* _arg0
;
4637 PyObject
* _argo0
= 0;
4638 char *_kwnames
[] = { "self","line", NULL
};
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames
,&_argo0
,&_arg1
))
4644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p.");
4651 wxPy_BEGIN_ALLOW_THREADS
;
4652 _result
= (int )wxStyledTextCtrl_PositionFromLine(_arg0
,_arg1
);
4654 wxPy_END_ALLOW_THREADS
;
4655 } _resultobj
= Py_BuildValue("i",_result
);
4659 #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1))
4660 static PyObject
*_wrap_wxStyledTextCtrl_LineScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4662 wxStyledTextCtrl
* _arg0
;
4665 PyObject
* _argo0
= 0;
4666 char *_kwnames
[] = { "self","columns","lines", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_LineScroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p.");
4679 wxPy_BEGIN_ALLOW_THREADS
;
4680 wxStyledTextCtrl_LineScroll(_arg0
,_arg1
,_arg2
);
4682 wxPy_END_ALLOW_THREADS
;
4683 } Py_INCREF(Py_None
);
4684 _resultobj
= Py_None
;
4688 #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible())
4689 static PyObject
*_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
* _resultobj
;
4691 wxStyledTextCtrl
* _arg0
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p.");
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 wxStyledTextCtrl_EnsureCaretVisible(_arg0
);
4709 wxPy_END_ALLOW_THREADS
;
4710 } Py_INCREF(Py_None
);
4711 _resultobj
= Py_None
;
4715 #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0))
4716 static PyObject
*_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
* _resultobj
;
4718 wxStyledTextCtrl
* _arg0
;
4720 PyObject
* _argo0
= 0;
4721 PyObject
* _obj1
= 0;
4722 char *_kwnames
[] = { "self","text", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames
,&_argo0
,&_obj1
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p.");
4735 #if PYTHON_API_VERSION >= 1009
4736 char* tmpPtr
; int tmpSize
;
4737 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4741 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4743 _arg1
= new wxString(tmpPtr
, tmpSize
);
4745 if (!PyString_Check(_obj1
)) {
4746 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4749 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4753 wxPy_BEGIN_ALLOW_THREADS
;
4754 wxStyledTextCtrl_ReplaceSelection(_arg0
,*_arg1
);
4756 wxPy_END_ALLOW_THREADS
;
4757 } Py_INCREF(Py_None
);
4758 _resultobj
= Py_None
;
4766 #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
4767 static PyObject
*_wrap_wxStyledTextCtrl_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4769 wxStyledTextCtrl
* _arg0
;
4771 PyObject
* _argo0
= 0;
4773 char *_kwnames
[] = { "self","readOnly", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
4779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p.");
4785 _arg1
= (bool ) tempbool1
;
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 wxStyledTextCtrl_SetReadOnly(_arg0
,_arg1
);
4790 wxPy_END_ALLOW_THREADS
;
4791 } Py_INCREF(Py_None
);
4792 _resultobj
= Py_None
;
4796 #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
4797 static PyObject
*_wrap_wxStyledTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4800 wxStyledTextCtrl
* _arg0
;
4801 PyObject
* _argo0
= 0;
4802 char *_kwnames
[] = { "self", NULL
};
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_CanPaste",_kwnames
,&_argo0
))
4808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p.");
4815 wxPy_BEGIN_ALLOW_THREADS
;
4816 _result
= (bool )wxStyledTextCtrl_CanPaste(_arg0
);
4818 wxPy_END_ALLOW_THREADS
;
4819 } _resultobj
= Py_BuildValue("i",_result
);
4823 #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
4824 static PyObject
*_wrap_wxStyledTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
* _resultobj
;
4827 wxStyledTextCtrl
* _arg0
;
4828 PyObject
* _argo0
= 0;
4829 char *_kwnames
[] = { "self", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_CanUndo",_kwnames
,&_argo0
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p.");
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= (bool )wxStyledTextCtrl_CanUndo(_arg0
);
4845 wxPy_END_ALLOW_THREADS
;
4846 } _resultobj
= Py_BuildValue("i",_result
);
4850 #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer())
4851 static PyObject
*_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4853 wxStyledTextCtrl
* _arg0
;
4854 PyObject
* _argo0
= 0;
4855 char *_kwnames
[] = { "self", NULL
};
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames
,&_argo0
))
4861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p.");
4868 wxPy_BEGIN_ALLOW_THREADS
;
4869 wxStyledTextCtrl_EmptyUndoBuffer(_arg0
);
4871 wxPy_END_ALLOW_THREADS
;
4872 } Py_INCREF(Py_None
);
4873 _resultobj
= Py_None
;
4877 #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo())
4878 static PyObject
*_wrap_wxStyledTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
* _resultobj
;
4880 wxStyledTextCtrl
* _arg0
;
4881 PyObject
* _argo0
= 0;
4882 char *_kwnames
[] = { "self", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_Undo",_kwnames
,&_argo0
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p.");
4895 wxPy_BEGIN_ALLOW_THREADS
;
4896 wxStyledTextCtrl_Undo(_arg0
);
4898 wxPy_END_ALLOW_THREADS
;
4899 } Py_INCREF(Py_None
);
4900 _resultobj
= Py_None
;
4904 #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4905 static PyObject
*_wrap_wxStyledTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4907 wxStyledTextCtrl
* _arg0
;
4908 PyObject
* _argo0
= 0;
4909 char *_kwnames
[] = { "self", NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_Cut",_kwnames
,&_argo0
))
4915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p.");
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 wxStyledTextCtrl_Cut(_arg0
);
4925 wxPy_END_ALLOW_THREADS
;
4926 } Py_INCREF(Py_None
);
4927 _resultobj
= Py_None
;
4931 #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4932 static PyObject
*_wrap_wxStyledTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4934 wxStyledTextCtrl
* _arg0
;
4935 PyObject
* _argo0
= 0;
4936 char *_kwnames
[] = { "self", NULL
};
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_Copy",_kwnames
,&_argo0
))
4942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p.");
4949 wxPy_BEGIN_ALLOW_THREADS
;
4950 wxStyledTextCtrl_Copy(_arg0
);
4952 wxPy_END_ALLOW_THREADS
;
4953 } Py_INCREF(Py_None
);
4954 _resultobj
= Py_None
;
4958 #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4959 static PyObject
*_wrap_wxStyledTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4961 wxStyledTextCtrl
* _arg0
;
4962 PyObject
* _argo0
= 0;
4963 char *_kwnames
[] = { "self", NULL
};
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_Paste",_kwnames
,&_argo0
))
4969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p.");
4976 wxPy_BEGIN_ALLOW_THREADS
;
4977 wxStyledTextCtrl_Paste(_arg0
);
4979 wxPy_END_ALLOW_THREADS
;
4980 } Py_INCREF(Py_None
);
4981 _resultobj
= Py_None
;
4985 #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4986 static PyObject
*_wrap_wxStyledTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
* _resultobj
;
4988 wxStyledTextCtrl
* _arg0
;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_Clear",_kwnames
,&_argo0
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p.");
5003 wxPy_BEGIN_ALLOW_THREADS
;
5004 wxStyledTextCtrl_Clear(_arg0
);
5006 wxPy_END_ALLOW_THREADS
;
5007 } Py_INCREF(Py_None
);
5008 _resultobj
= Py_None
;
5012 #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5013 static PyObject
*_wrap_wxStyledTextCtrl_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5015 wxStyledTextCtrl
* _arg0
;
5017 PyObject
* _argo0
= 0;
5018 PyObject
* _obj1
= 0;
5019 char *_kwnames
[] = { "self","text", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_SetText",_kwnames
,&_argo0
,&_obj1
))
5025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p.");
5032 #if PYTHON_API_VERSION >= 1009
5033 char* tmpPtr
; int tmpSize
;
5034 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5038 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5040 _arg1
= new wxString(tmpPtr
, tmpSize
);
5042 if (!PyString_Check(_obj1
)) {
5043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5046 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5050 wxPy_BEGIN_ALLOW_THREADS
;
5051 wxStyledTextCtrl_SetText(_arg0
,*_arg1
);
5053 wxPy_END_ALLOW_THREADS
;
5054 } Py_INCREF(Py_None
);
5055 _resultobj
= Py_None
;
5063 #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText())
5064 static PyObject
*_wrap_wxStyledTextCtrl_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5067 wxStyledTextCtrl
* _arg0
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetText",_kwnames
,&_argo0
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p.");
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 _result
= new wxString (wxStyledTextCtrl_GetText(_arg0
));
5085 wxPy_END_ALLOW_THREADS
;
5087 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5095 #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength())
5096 static PyObject
*_wrap_wxStyledTextCtrl_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5099 wxStyledTextCtrl
* _arg0
;
5100 PyObject
* _argo0
= 0;
5101 char *_kwnames
[] = { "self", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetTextLength",_kwnames
,&_argo0
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p.");
5114 wxPy_BEGIN_ALLOW_THREADS
;
5115 _result
= (int )wxStyledTextCtrl_GetTextLength(_arg0
);
5117 wxPy_END_ALLOW_THREADS
;
5118 } _resultobj
= Py_BuildValue("i",_result
);
5122 #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0))
5123 static PyObject
*_wrap_wxStyledTextCtrl_SetOvertype(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5125 wxStyledTextCtrl
* _arg0
;
5127 PyObject
* _argo0
= 0;
5129 char *_kwnames
[] = { "self","overtype", NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames
,&_argo0
,&tempbool1
))
5135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p.");
5141 _arg1
= (bool ) tempbool1
;
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 wxStyledTextCtrl_SetOvertype(_arg0
,_arg1
);
5146 wxPy_END_ALLOW_THREADS
;
5147 } Py_INCREF(Py_None
);
5148 _resultobj
= Py_None
;
5152 #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype())
5153 static PyObject
*_wrap_wxStyledTextCtrl_GetOvertype(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5156 wxStyledTextCtrl
* _arg0
;
5157 PyObject
* _argo0
= 0;
5158 char *_kwnames
[] = { "self", NULL
};
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetOvertype",_kwnames
,&_argo0
))
5164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p.");
5171 wxPy_BEGIN_ALLOW_THREADS
;
5172 _result
= (bool )wxStyledTextCtrl_GetOvertype(_arg0
);
5174 wxPy_END_ALLOW_THREADS
;
5175 } _resultobj
= Py_BuildValue("i",_result
);
5179 #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1))
5180 static PyObject
*_wrap_wxStyledTextCtrl_CallTipShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5182 wxStyledTextCtrl
* _arg0
;
5185 PyObject
* _argo0
= 0;
5186 PyObject
* _obj2
= 0;
5187 char *_kwnames
[] = { "self","pos","definition", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p.");
5200 #if PYTHON_API_VERSION >= 1009
5201 char* tmpPtr
; int tmpSize
;
5202 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5206 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5208 _arg2
= new wxString(tmpPtr
, tmpSize
);
5210 if (!PyString_Check(_obj2
)) {
5211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5214 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5218 wxPy_BEGIN_ALLOW_THREADS
;
5219 wxStyledTextCtrl_CallTipShow(_arg0
,_arg1
,*_arg2
);
5221 wxPy_END_ALLOW_THREADS
;
5222 } Py_INCREF(Py_None
);
5223 _resultobj
= Py_None
;
5231 #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel())
5232 static PyObject
*_wrap_wxStyledTextCtrl_CallTipCancel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5234 wxStyledTextCtrl
* _arg0
;
5235 PyObject
* _argo0
= 0;
5236 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_CallTipCancel",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p.");
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 wxStyledTextCtrl_CallTipCancel(_arg0
);
5252 wxPy_END_ALLOW_THREADS
;
5253 } Py_INCREF(Py_None
);
5254 _resultobj
= Py_None
;
5258 #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive())
5259 static PyObject
*_wrap_wxStyledTextCtrl_CallTipActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5262 wxStyledTextCtrl
* _arg0
;
5263 PyObject
* _argo0
= 0;
5264 char *_kwnames
[] = { "self", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_CallTipActive",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p.");
5277 wxPy_BEGIN_ALLOW_THREADS
;
5278 _result
= (bool )wxStyledTextCtrl_CallTipActive(_arg0
);
5280 wxPy_END_ALLOW_THREADS
;
5281 } _resultobj
= Py_BuildValue("i",_result
);
5285 #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart())
5286 static PyObject
*_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5289 wxStyledTextCtrl
* _arg0
;
5290 PyObject
* _argo0
= 0;
5291 char *_kwnames
[] = { "self", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames
,&_argo0
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p.");
5304 wxPy_BEGIN_ALLOW_THREADS
;
5305 _result
= (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0
);
5307 wxPy_END_ALLOW_THREADS
;
5308 } _resultobj
= Py_BuildValue("i",_result
);
5312 #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1))
5313 static PyObject
*_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5315 wxStyledTextCtrl
* _arg0
;
5318 PyObject
* _argo0
= 0;
5319 char *_kwnames
[] = { "self","start","end", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p.");
5332 wxPy_BEGIN_ALLOW_THREADS
;
5333 wxStyledTextCtrl_CallTipSetHighlight(_arg0
,_arg1
,_arg2
);
5335 wxPy_END_ALLOW_THREADS
;
5336 } Py_INCREF(Py_None
);
5337 _resultobj
= Py_None
;
5341 #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0))
5342 static PyObject
*_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5344 wxStyledTextCtrl
* _arg0
;
5346 PyObject
* _argo0
= 0;
5348 PyObject
* _obj1
= 0;
5349 char *_kwnames
[] = { "self","back", NULL
};
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames
,&_argo0
,&_obj1
))
5355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p.");
5363 if (! wxColour_helper(_obj1
, &_arg1
))
5367 wxPy_BEGIN_ALLOW_THREADS
;
5368 wxStyledTextCtrl_CallTipSetBackground(_arg0
,*_arg1
);
5370 wxPy_END_ALLOW_THREADS
;
5371 } Py_INCREF(Py_None
);
5372 _resultobj
= Py_None
;
5376 #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0))
5377 static PyObject
*_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5380 wxStyledTextCtrl
* _arg0
;
5382 PyObject
* _argo0
= 0;
5383 char *_kwnames
[] = { "self","line", NULL
};
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames
,&_argo0
,&_arg1
))
5389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p.");
5396 wxPy_BEGIN_ALLOW_THREADS
;
5397 _result
= (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0
,_arg1
);
5399 wxPy_END_ALLOW_THREADS
;
5400 } _resultobj
= Py_BuildValue("i",_result
);
5404 #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0))
5405 static PyObject
*_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
* _resultobj
;
5408 wxStyledTextCtrl
* _arg0
;
5410 PyObject
* _argo0
= 0;
5411 char *_kwnames
[] = { "self","lineDisplay", NULL
};
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames
,&_argo0
,&_arg1
))
5417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p.");
5424 wxPy_BEGIN_ALLOW_THREADS
;
5425 _result
= (int )wxStyledTextCtrl_DocLineFromVisible(_arg0
,_arg1
);
5427 wxPy_END_ALLOW_THREADS
;
5428 } _resultobj
= Py_BuildValue("i",_result
);
5432 #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1))
5433 static PyObject
*_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
* _resultobj
;
5435 wxStyledTextCtrl
* _arg0
;
5438 PyObject
* _argo0
= 0;
5439 char *_kwnames
[] = { "self","line","level", NULL
};
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p.");
5452 wxPy_BEGIN_ALLOW_THREADS
;
5453 wxStyledTextCtrl_SetFoldLevel(_arg0
,_arg1
,_arg2
);
5455 wxPy_END_ALLOW_THREADS
;
5456 } Py_INCREF(Py_None
);
5457 _resultobj
= Py_None
;
5461 #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0))
5462 static PyObject
*_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5465 wxStyledTextCtrl
* _arg0
;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self","line", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames
,&_argo0
,&_arg1
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p.");
5481 wxPy_BEGIN_ALLOW_THREADS
;
5482 _result
= (int )wxStyledTextCtrl_GetFoldLevel(_arg0
,_arg1
);
5484 wxPy_END_ALLOW_THREADS
;
5485 } _resultobj
= Py_BuildValue("i",_result
);
5489 #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1))
5490 static PyObject
*_wrap_wxStyledTextCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5493 wxStyledTextCtrl
* _arg0
;
5496 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self","line","level", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p.");
5510 wxPy_BEGIN_ALLOW_THREADS
;
5511 _result
= (int )wxStyledTextCtrl_GetLastChild(_arg0
,_arg1
,_arg2
);
5513 wxPy_END_ALLOW_THREADS
;
5514 } _resultobj
= Py_BuildValue("i",_result
);
5518 #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0))
5519 static PyObject
*_wrap_wxStyledTextCtrl_GetFoldParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
* _resultobj
;
5522 wxStyledTextCtrl
* _arg0
;
5524 PyObject
* _argo0
= 0;
5525 char *_kwnames
[] = { "self","line", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames
,&_argo0
,&_arg1
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p.");
5538 wxPy_BEGIN_ALLOW_THREADS
;
5539 _result
= (int )wxStyledTextCtrl_GetFoldParent(_arg0
,_arg1
);
5541 wxPy_END_ALLOW_THREADS
;
5542 } _resultobj
= Py_BuildValue("i",_result
);
5546 #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1))
5547 static PyObject
*_wrap_wxStyledTextCtrl_ShowLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
* _resultobj
;
5549 wxStyledTextCtrl
* _arg0
;
5552 PyObject
* _argo0
= 0;
5553 char *_kwnames
[] = { "self","lineStart","lineEnd", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_ShowLines",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p.");
5566 wxPy_BEGIN_ALLOW_THREADS
;
5567 wxStyledTextCtrl_ShowLines(_arg0
,_arg1
,_arg2
);
5569 wxPy_END_ALLOW_THREADS
;
5570 } Py_INCREF(Py_None
);
5571 _resultobj
= Py_None
;
5575 #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1))
5576 static PyObject
*_wrap_wxStyledTextCtrl_HideLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5578 wxStyledTextCtrl
* _arg0
;
5581 PyObject
* _argo0
= 0;
5582 char *_kwnames
[] = { "self","lineStart","lineEnd", NULL
};
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_HideLines",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p.");
5595 wxPy_BEGIN_ALLOW_THREADS
;
5596 wxStyledTextCtrl_HideLines(_arg0
,_arg1
,_arg2
);
5598 wxPy_END_ALLOW_THREADS
;
5599 } Py_INCREF(Py_None
);
5600 _resultobj
= Py_None
;
5604 #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0))
5605 static PyObject
*_wrap_wxStyledTextCtrl_GetLineVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
* _resultobj
;
5608 wxStyledTextCtrl
* _arg0
;
5610 PyObject
* _argo0
= 0;
5611 char *_kwnames
[] = { "self","line", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames
,&_argo0
,&_arg1
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p.");
5624 wxPy_BEGIN_ALLOW_THREADS
;
5625 _result
= (bool )wxStyledTextCtrl_GetLineVisible(_arg0
,_arg1
);
5627 wxPy_END_ALLOW_THREADS
;
5628 } _resultobj
= Py_BuildValue("i",_result
);
5632 #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1))
5633 static PyObject
*_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
* _resultobj
;
5635 wxStyledTextCtrl
* _arg0
;
5638 PyObject
* _argo0
= 0;
5640 char *_kwnames
[] = { "self","line","expanded", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p.");
5652 _arg2
= (bool ) tempbool2
;
5654 wxPy_BEGIN_ALLOW_THREADS
;
5655 wxStyledTextCtrl_SetFoldExpanded(_arg0
,_arg1
,_arg2
);
5657 wxPy_END_ALLOW_THREADS
;
5658 } Py_INCREF(Py_None
);
5659 _resultobj
= Py_None
;
5663 #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0))
5664 static PyObject
*_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5667 wxStyledTextCtrl
* _arg0
;
5669 PyObject
* _argo0
= 0;
5670 char *_kwnames
[] = { "self","line", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames
,&_argo0
,&_arg1
))
5676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p.");
5683 wxPy_BEGIN_ALLOW_THREADS
;
5684 _result
= (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0
,_arg1
);
5686 wxPy_END_ALLOW_THREADS
;
5687 } _resultobj
= Py_BuildValue("i",_result
);
5691 #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0))
5692 static PyObject
*_wrap_wxStyledTextCtrl_ToggleFold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5694 wxStyledTextCtrl
* _arg0
;
5696 PyObject
* _argo0
= 0;
5697 char *_kwnames
[] = { "self","line", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames
,&_argo0
,&_arg1
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p.");
5710 wxPy_BEGIN_ALLOW_THREADS
;
5711 wxStyledTextCtrl_ToggleFold(_arg0
,_arg1
);
5713 wxPy_END_ALLOW_THREADS
;
5714 } Py_INCREF(Py_None
);
5715 _resultobj
= Py_None
;
5719 #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5720 static PyObject
*_wrap_wxStyledTextCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
* _resultobj
;
5722 wxStyledTextCtrl
* _arg0
;
5724 PyObject
* _argo0
= 0;
5725 char *_kwnames
[] = { "self","line", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
5731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p.");
5738 wxPy_BEGIN_ALLOW_THREADS
;
5739 wxStyledTextCtrl_EnsureVisible(_arg0
,_arg1
);
5741 wxPy_END_ALLOW_THREADS
;
5742 } Py_INCREF(Py_None
);
5743 _resultobj
= Py_None
;
5747 #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0))
5748 static PyObject
*_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5750 wxStyledTextCtrl
* _arg0
;
5752 PyObject
* _argo0
= 0;
5753 char *_kwnames
[] = { "self","flags", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames
,&_argo0
,&_arg1
))
5759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p.");
5766 wxPy_BEGIN_ALLOW_THREADS
;
5767 wxStyledTextCtrl_SetFoldFlags(_arg0
,_arg1
);
5769 wxPy_END_ALLOW_THREADS
;
5770 } Py_INCREF(Py_None
);
5771 _resultobj
= Py_None
;
5775 #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0))
5776 static PyObject
*_wrap_wxStyledTextCtrl_LineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
* _resultobj
;
5779 wxStyledTextCtrl
* _arg0
;
5781 PyObject
* _argo0
= 0;
5782 char *_kwnames
[] = { "self","line", NULL
};
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_LineLength",_kwnames
,&_argo0
,&_arg1
))
5788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p.");
5795 wxPy_BEGIN_ALLOW_THREADS
;
5796 _result
= (int )wxStyledTextCtrl_LineLength(_arg0
,_arg1
);
5798 wxPy_END_ALLOW_THREADS
;
5799 } _resultobj
= Py_BuildValue("i",_result
);
5803 #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1))
5804 static PyObject
*_wrap_wxStyledTextCtrl_BraceHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
* _resultobj
;
5806 wxStyledTextCtrl
* _arg0
;
5809 PyObject
* _argo0
= 0;
5810 char *_kwnames
[] = { "self","pos1","pos2", NULL
};
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p.");
5823 wxPy_BEGIN_ALLOW_THREADS
;
5824 wxStyledTextCtrl_BraceHighlight(_arg0
,_arg1
,_arg2
);
5826 wxPy_END_ALLOW_THREADS
;
5827 } Py_INCREF(Py_None
);
5828 _resultobj
= Py_None
;
5832 #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0))
5833 static PyObject
*_wrap_wxStyledTextCtrl_BraceBadLight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
* _resultobj
;
5835 wxStyledTextCtrl
* _arg0
;
5837 PyObject
* _argo0
= 0;
5838 char *_kwnames
[] = { "self","pos", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames
,&_argo0
,&_arg1
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p.");
5851 wxPy_BEGIN_ALLOW_THREADS
;
5852 wxStyledTextCtrl_BraceBadLight(_arg0
,_arg1
);
5854 wxPy_END_ALLOW_THREADS
;
5855 } Py_INCREF(Py_None
);
5856 _resultobj
= Py_None
;
5860 #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0))
5861 static PyObject
*_wrap_wxStyledTextCtrl_BraceMatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5864 wxStyledTextCtrl
* _arg0
;
5866 PyObject
* _argo0
= 0;
5867 char *_kwnames
[] = { "self","pos", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames
,&_argo0
,&_arg1
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p.");
5880 wxPy_BEGIN_ALLOW_THREADS
;
5881 _result
= (int )wxStyledTextCtrl_BraceMatch(_arg0
,_arg1
);
5883 wxPy_END_ALLOW_THREADS
;
5884 } _resultobj
= Py_BuildValue("i",_result
);
5888 #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL())
5889 static PyObject
*_wrap_wxStyledTextCtrl_GetViewEOL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5892 wxStyledTextCtrl
* _arg0
;
5893 PyObject
* _argo0
= 0;
5894 char *_kwnames
[] = { "self", NULL
};
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetViewEOL",_kwnames
,&_argo0
))
5900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p.");
5907 wxPy_BEGIN_ALLOW_THREADS
;
5908 _result
= (bool )wxStyledTextCtrl_GetViewEOL(_arg0
);
5910 wxPy_END_ALLOW_THREADS
;
5911 } _resultobj
= Py_BuildValue("i",_result
);
5915 #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0))
5916 static PyObject
*_wrap_wxStyledTextCtrl_SetViewEOL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
* _resultobj
;
5918 wxStyledTextCtrl
* _arg0
;
5920 PyObject
* _argo0
= 0;
5922 char *_kwnames
[] = { "self","visible", NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames
,&_argo0
,&tempbool1
))
5928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p.");
5934 _arg1
= (bool ) tempbool1
;
5936 wxPy_BEGIN_ALLOW_THREADS
;
5937 wxStyledTextCtrl_SetViewEOL(_arg0
,_arg1
);
5939 wxPy_END_ALLOW_THREADS
;
5940 } Py_INCREF(Py_None
);
5941 _resultobj
= Py_None
;
5945 #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer())
5946 static PyObject
*_wrap_wxStyledTextCtrl_GetDocPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
* _resultobj
;
5949 wxStyledTextCtrl
* _arg0
;
5950 PyObject
* _argo0
= 0;
5951 char *_kwnames
[] = { "self", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetDocPointer",_kwnames
,&_argo0
))
5958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p.");
5965 wxPy_BEGIN_ALLOW_THREADS
;
5966 _result
= (void *)wxStyledTextCtrl_GetDocPointer(_arg0
);
5968 wxPy_END_ALLOW_THREADS
;
5970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_void_p");
5971 _resultobj
= Py_BuildValue("s",_ptemp
);
5974 _resultobj
= Py_None
;
5979 #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0))
5980 static PyObject
*_wrap_wxStyledTextCtrl_SetDocPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5982 wxStyledTextCtrl
* _arg0
;
5984 PyObject
* _argo0
= 0;
5985 PyObject
* _argo1
= 0;
5986 char *_kwnames
[] = { "self","docPointer", NULL
};
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames
,&_argo0
,&_argo1
))
5992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
5994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p.");
5999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,(char *) 0 )) {
6001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p.");
6006 wxPy_BEGIN_ALLOW_THREADS
;
6007 wxStyledTextCtrl_SetDocPointer(_arg0
,_arg1
);
6009 wxPy_END_ALLOW_THREADS
;
6010 } Py_INCREF(Py_None
);
6011 _resultobj
= Py_None
;
6015 #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0))
6016 static PyObject
*_wrap_wxStyledTextCtrl_SetModEventMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
* _resultobj
;
6018 wxStyledTextCtrl
* _arg0
;
6020 PyObject
* _argo0
= 0;
6021 char *_kwnames
[] = { "self","mask", NULL
};
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames
,&_argo0
,&_arg1
))
6027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p.");
6034 wxPy_BEGIN_ALLOW_THREADS
;
6035 wxStyledTextCtrl_SetModEventMask(_arg0
,_arg1
);
6037 wxPy_END_ALLOW_THREADS
;
6038 } Py_INCREF(Py_None
);
6039 _resultobj
= Py_None
;
6043 #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn())
6044 static PyObject
*_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
* _resultobj
;
6047 wxStyledTextCtrl
* _arg0
;
6048 PyObject
* _argo0
= 0;
6049 char *_kwnames
[] = { "self", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames
,&_argo0
))
6055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p.");
6062 wxPy_BEGIN_ALLOW_THREADS
;
6063 _result
= (int )wxStyledTextCtrl_GetEdgeColumn(_arg0
);
6065 wxPy_END_ALLOW_THREADS
;
6066 } _resultobj
= Py_BuildValue("i",_result
);
6070 #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0))
6071 static PyObject
*_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
* _resultobj
;
6073 wxStyledTextCtrl
* _arg0
;
6075 PyObject
* _argo0
= 0;
6076 char *_kwnames
[] = { "self","column", NULL
};
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames
,&_argo0
,&_arg1
))
6082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p.");
6089 wxPy_BEGIN_ALLOW_THREADS
;
6090 wxStyledTextCtrl_SetEdgeColumn(_arg0
,_arg1
);
6092 wxPy_END_ALLOW_THREADS
;
6093 } Py_INCREF(Py_None
);
6094 _resultobj
= Py_None
;
6098 #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode())
6099 static PyObject
*_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
* _resultobj
;
6102 wxStyledTextCtrl
* _arg0
;
6103 PyObject
* _argo0
= 0;
6104 char *_kwnames
[] = { "self", NULL
};
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames
,&_argo0
))
6110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p.");
6117 wxPy_BEGIN_ALLOW_THREADS
;
6118 _result
= (int )wxStyledTextCtrl_GetEdgeMode(_arg0
);
6120 wxPy_END_ALLOW_THREADS
;
6121 } _resultobj
= Py_BuildValue("i",_result
);
6125 #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0))
6126 static PyObject
*_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
* _resultobj
;
6128 wxStyledTextCtrl
* _arg0
;
6130 PyObject
* _argo0
= 0;
6131 char *_kwnames
[] = { "self","mode", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames
,&_argo0
,&_arg1
))
6137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p.");
6144 wxPy_BEGIN_ALLOW_THREADS
;
6145 wxStyledTextCtrl_SetEdgeMode(_arg0
,_arg1
);
6147 wxPy_END_ALLOW_THREADS
;
6148 } Py_INCREF(Py_None
);
6149 _resultobj
= Py_None
;
6153 #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour())
6154 static PyObject
*_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6157 wxStyledTextCtrl
* _arg0
;
6158 PyObject
* _argo0
= 0;
6159 char *_kwnames
[] = { "self", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames
,&_argo0
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p.");
6173 wxPy_BEGIN_ALLOW_THREADS
;
6174 _result
= new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0
));
6176 wxPy_END_ALLOW_THREADS
;
6177 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6178 _resultobj
= Py_BuildValue("s",_ptemp
);
6182 #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0))
6183 static PyObject
*_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6185 wxStyledTextCtrl
* _arg0
;
6187 PyObject
* _argo0
= 0;
6189 PyObject
* _obj1
= 0;
6190 char *_kwnames
[] = { "self","edgeColour", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames
,&_argo0
,&_obj1
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p.");
6204 if (! wxColour_helper(_obj1
, &_arg1
))
6208 wxPy_BEGIN_ALLOW_THREADS
;
6209 wxStyledTextCtrl_SetEdgeColour(_arg0
,*_arg1
);
6211 wxPy_END_ALLOW_THREADS
;
6212 } Py_INCREF(Py_None
);
6213 _resultobj
= Py_None
;
6217 #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor())
6218 static PyObject
*_wrap_wxStyledTextCtrl_SearchAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
* _resultobj
;
6220 wxStyledTextCtrl
* _arg0
;
6221 PyObject
* _argo0
= 0;
6222 char *_kwnames
[] = { "self", NULL
};
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_SearchAnchor",_kwnames
,&_argo0
))
6228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p.");
6235 wxPy_BEGIN_ALLOW_THREADS
;
6236 wxStyledTextCtrl_SearchAnchor(_arg0
);
6238 wxPy_END_ALLOW_THREADS
;
6239 } Py_INCREF(Py_None
);
6240 _resultobj
= Py_None
;
6244 #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1))
6245 static PyObject
*_wrap_wxStyledTextCtrl_SearchNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6248 wxStyledTextCtrl
* _arg0
;
6251 PyObject
* _argo0
= 0;
6252 PyObject
* _obj2
= 0;
6253 char *_kwnames
[] = { "self","flags","text", NULL
};
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_SearchNext",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p.");
6266 #if PYTHON_API_VERSION >= 1009
6267 char* tmpPtr
; int tmpSize
;
6268 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6272 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6274 _arg2
= new wxString(tmpPtr
, tmpSize
);
6276 if (!PyString_Check(_obj2
)) {
6277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6280 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6284 wxPy_BEGIN_ALLOW_THREADS
;
6285 _result
= (int )wxStyledTextCtrl_SearchNext(_arg0
,_arg1
,*_arg2
);
6287 wxPy_END_ALLOW_THREADS
;
6288 } _resultobj
= Py_BuildValue("i",_result
);
6296 #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1))
6297 static PyObject
*_wrap_wxStyledTextCtrl_SearchPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
* _resultobj
;
6300 wxStyledTextCtrl
* _arg0
;
6303 PyObject
* _argo0
= 0;
6304 PyObject
* _obj2
= 0;
6305 char *_kwnames
[] = { "self","flags","text", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p.");
6318 #if PYTHON_API_VERSION >= 1009
6319 char* tmpPtr
; int tmpSize
;
6320 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6324 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6326 _arg2
= new wxString(tmpPtr
, tmpSize
);
6328 if (!PyString_Check(_obj2
)) {
6329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6332 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6336 wxPy_BEGIN_ALLOW_THREADS
;
6337 _result
= (int )wxStyledTextCtrl_SearchPrev(_arg0
,_arg1
,*_arg2
);
6339 wxPy_END_ALLOW_THREADS
;
6340 } _resultobj
= Py_BuildValue("i",_result
);
6348 #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1))
6349 static PyObject
*_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6351 wxStyledTextCtrl
* _arg0
;
6354 PyObject
* _argo0
= 0;
6355 char *_kwnames
[] = { "self","caretPolicy","caretSlop", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p.");
6368 wxPy_BEGIN_ALLOW_THREADS
;
6369 wxStyledTextCtrl_SetCaretPolicy(_arg0
,_arg1
,_arg2
);
6371 wxPy_END_ALLOW_THREADS
;
6372 } Py_INCREF(Py_None
);
6373 _resultobj
= Py_None
;
6377 #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen())
6378 static PyObject
*_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6381 wxStyledTextCtrl
* _arg0
;
6382 PyObject
* _argo0
= 0;
6383 char *_kwnames
[] = { "self", NULL
};
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames
,&_argo0
))
6389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p.");
6396 wxPy_BEGIN_ALLOW_THREADS
;
6397 _result
= (int )wxStyledTextCtrl_LinesOnScreen(_arg0
);
6399 wxPy_END_ALLOW_THREADS
;
6400 } _resultobj
= Py_BuildValue("i",_result
);
6404 #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0))
6405 static PyObject
*_wrap_wxStyledTextCtrl_UsePopUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6407 wxStyledTextCtrl
* _arg0
;
6409 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "self","allowPopUp", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames
,&_argo0
,&tempbool1
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p.");
6423 _arg1
= (bool ) tempbool1
;
6425 wxPy_BEGIN_ALLOW_THREADS
;
6426 wxStyledTextCtrl_UsePopUp(_arg0
,_arg1
);
6428 wxPy_END_ALLOW_THREADS
;
6429 } Py_INCREF(Py_None
);
6430 _resultobj
= Py_None
;
6434 #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle())
6435 static PyObject
*_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6438 wxStyledTextCtrl
* _arg0
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p.");
6453 wxPy_BEGIN_ALLOW_THREADS
;
6454 _result
= (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0
);
6456 wxPy_END_ALLOW_THREADS
;
6457 } _resultobj
= Py_BuildValue("i",_result
);
6461 #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
6462 static PyObject
*_wrap_wxStyledTextCtrl_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6464 wxStyledTextCtrl
* _arg0
;
6466 PyObject
* _argo0
= 0;
6467 char *_kwnames
[] = { "self","zoom", NULL
};
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetZoom",_kwnames
,&_argo0
,&_arg1
))
6473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p.");
6480 wxPy_BEGIN_ALLOW_THREADS
;
6481 wxStyledTextCtrl_SetZoom(_arg0
,_arg1
);
6483 wxPy_END_ALLOW_THREADS
;
6484 } Py_INCREF(Py_None
);
6485 _resultobj
= Py_None
;
6489 #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom())
6490 static PyObject
*_wrap_wxStyledTextCtrl_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6493 wxStyledTextCtrl
* _arg0
;
6494 PyObject
* _argo0
= 0;
6495 char *_kwnames
[] = { "self", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetZoom",_kwnames
,&_argo0
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p.");
6508 wxPy_BEGIN_ALLOW_THREADS
;
6509 _result
= (int )wxStyledTextCtrl_GetZoom(_arg0
);
6511 wxPy_END_ALLOW_THREADS
;
6512 } _resultobj
= Py_BuildValue("i",_result
);
6516 #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument())
6517 static PyObject
*_wrap_wxStyledTextCtrl_CreateDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6520 wxStyledTextCtrl
* _arg0
;
6521 PyObject
* _argo0
= 0;
6522 char *_kwnames
[] = { "self", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_CreateDocument",_kwnames
,&_argo0
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p.");
6536 wxPy_BEGIN_ALLOW_THREADS
;
6537 _result
= (void *)wxStyledTextCtrl_CreateDocument(_arg0
);
6539 wxPy_END_ALLOW_THREADS
;
6541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_void_p");
6542 _resultobj
= Py_BuildValue("s",_ptemp
);
6545 _resultobj
= Py_None
;
6550 #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0))
6551 static PyObject
*_wrap_wxStyledTextCtrl_AddRefDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
* _resultobj
;
6553 wxStyledTextCtrl
* _arg0
;
6555 PyObject
* _argo0
= 0;
6556 PyObject
* _argo1
= 0;
6557 char *_kwnames
[] = { "self","docPointer", NULL
};
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames
,&_argo0
,&_argo1
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p.");
6570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,(char *) 0 )) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p.");
6577 wxPy_BEGIN_ALLOW_THREADS
;
6578 wxStyledTextCtrl_AddRefDocument(_arg0
,_arg1
);
6580 wxPy_END_ALLOW_THREADS
;
6581 } Py_INCREF(Py_None
);
6582 _resultobj
= Py_None
;
6586 #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0))
6587 static PyObject
*_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6589 wxStyledTextCtrl
* _arg0
;
6591 PyObject
* _argo0
= 0;
6592 PyObject
* _argo1
= 0;
6593 char *_kwnames
[] = { "self","docPointer", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames
,&_argo0
,&_argo1
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p.");
6606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,(char *) 0 )) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p.");
6613 wxPy_BEGIN_ALLOW_THREADS
;
6614 wxStyledTextCtrl_ReleaseDocument(_arg0
,_arg1
);
6616 wxPy_END_ALLOW_THREADS
;
6617 } Py_INCREF(Py_None
);
6618 _resultobj
= Py_None
;
6622 #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask())
6623 static PyObject
*_wrap_wxStyledTextCtrl_GetModEventMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
* _resultobj
;
6626 wxStyledTextCtrl
* _arg0
;
6627 PyObject
* _argo0
= 0;
6628 char *_kwnames
[] = { "self", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetModEventMask",_kwnames
,&_argo0
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p.");
6641 wxPy_BEGIN_ALLOW_THREADS
;
6642 _result
= (int )wxStyledTextCtrl_GetModEventMask(_arg0
);
6644 wxPy_END_ALLOW_THREADS
;
6645 } _resultobj
= Py_BuildValue("i",_result
);
6649 #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
6650 static PyObject
*_wrap_wxStyledTextCtrl_StartRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
* _resultobj
;
6652 wxStyledTextCtrl
* _arg0
;
6653 PyObject
* _argo0
= 0;
6654 char *_kwnames
[] = { "self", NULL
};
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_StartRecord",_kwnames
,&_argo0
))
6660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p.");
6667 wxPy_BEGIN_ALLOW_THREADS
;
6668 wxStyledTextCtrl_StartRecord(_arg0
);
6670 wxPy_END_ALLOW_THREADS
;
6671 } Py_INCREF(Py_None
);
6672 _resultobj
= Py_None
;
6676 #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord())
6677 static PyObject
*_wrap_wxStyledTextCtrl_StopRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
* _resultobj
;
6679 wxStyledTextCtrl
* _arg0
;
6680 PyObject
* _argo0
= 0;
6681 char *_kwnames
[] = { "self", NULL
};
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_StopRecord",_kwnames
,&_argo0
))
6687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p.");
6694 wxPy_BEGIN_ALLOW_THREADS
;
6695 wxStyledTextCtrl_StopRecord(_arg0
);
6697 wxPy_END_ALLOW_THREADS
;
6698 } Py_INCREF(Py_None
);
6699 _resultobj
= Py_None
;
6703 #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0))
6704 static PyObject
*_wrap_wxStyledTextCtrl_SetLexer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6706 wxStyledTextCtrl
* _arg0
;
6708 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self","lexer", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_SetLexer",_kwnames
,&_argo0
,&_arg1
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p.");
6722 wxPy_BEGIN_ALLOW_THREADS
;
6723 wxStyledTextCtrl_SetLexer(_arg0
,_arg1
);
6725 wxPy_END_ALLOW_THREADS
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6731 #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer())
6732 static PyObject
*_wrap_wxStyledTextCtrl_GetLexer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
* _resultobj
;
6735 wxStyledTextCtrl
* _arg0
;
6736 PyObject
* _argo0
= 0;
6737 char *_kwnames
[] = { "self", NULL
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetLexer",_kwnames
,&_argo0
))
6743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p.");
6750 wxPy_BEGIN_ALLOW_THREADS
;
6751 _result
= (int )wxStyledTextCtrl_GetLexer(_arg0
);
6753 wxPy_END_ALLOW_THREADS
;
6754 } _resultobj
= Py_BuildValue("i",_result
);
6758 #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1))
6759 static PyObject
*_wrap_wxStyledTextCtrl_Colourise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
* _resultobj
;
6761 wxStyledTextCtrl
* _arg0
;
6764 PyObject
* _argo0
= 0;
6765 char *_kwnames
[] = { "self","start","end", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_Colourise",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p.");
6778 wxPy_BEGIN_ALLOW_THREADS
;
6779 wxStyledTextCtrl_Colourise(_arg0
,_arg1
,_arg2
);
6781 wxPy_END_ALLOW_THREADS
;
6782 } Py_INCREF(Py_None
);
6783 _resultobj
= Py_None
;
6787 #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1))
6788 static PyObject
*_wrap_wxStyledTextCtrl_SetProperty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6790 wxStyledTextCtrl
* _arg0
;
6793 PyObject
* _argo0
= 0;
6794 PyObject
* _obj1
= 0;
6795 PyObject
* _obj2
= 0;
6796 char *_kwnames
[] = { "self","key","value", NULL
};
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxStyledTextCtrl_SetProperty",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p.");
6809 #if PYTHON_API_VERSION >= 1009
6810 char* tmpPtr
; int tmpSize
;
6811 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6815 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6817 _arg1
= new wxString(tmpPtr
, tmpSize
);
6819 if (!PyString_Check(_obj1
)) {
6820 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6823 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6827 #if PYTHON_API_VERSION >= 1009
6828 char* tmpPtr
; int tmpSize
;
6829 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6830 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6833 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6835 _arg2
= new wxString(tmpPtr
, tmpSize
);
6837 if (!PyString_Check(_obj2
)) {
6838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6841 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6845 wxPy_BEGIN_ALLOW_THREADS
;
6846 wxStyledTextCtrl_SetProperty(_arg0
,*_arg1
,*_arg2
);
6848 wxPy_END_ALLOW_THREADS
;
6849 } Py_INCREF(Py_None
);
6850 _resultobj
= Py_None
;
6862 #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1))
6863 static PyObject
*_wrap_wxStyledTextCtrl_SetKeyWords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
* _resultobj
;
6865 wxStyledTextCtrl
* _arg0
;
6868 PyObject
* _argo0
= 0;
6869 PyObject
* _obj2
= 0;
6870 char *_kwnames
[] = { "self","keywordSet","keyWords", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p.");
6883 #if PYTHON_API_VERSION >= 1009
6884 char* tmpPtr
; int tmpSize
;
6885 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6889 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6891 _arg2
= new wxString(tmpPtr
, tmpSize
);
6893 if (!PyString_Check(_obj2
)) {
6894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6897 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6901 wxPy_BEGIN_ALLOW_THREADS
;
6902 wxStyledTextCtrl_SetKeyWords(_arg0
,_arg1
,*_arg2
);
6904 wxPy_END_ALLOW_THREADS
;
6905 } Py_INCREF(Py_None
);
6906 _resultobj
= Py_None
;
6914 #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine())
6915 static PyObject
*_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
* _resultobj
;
6918 wxStyledTextCtrl
* _arg0
;
6919 PyObject
* _argo0
= 0;
6920 char *_kwnames
[] = { "self", NULL
};
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames
,&_argo0
))
6926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p.");
6933 wxPy_BEGIN_ALLOW_THREADS
;
6934 _result
= (int )wxStyledTextCtrl_GetCurrentLine(_arg0
);
6936 wxPy_END_ALLOW_THREADS
;
6937 } _resultobj
= Py_BuildValue("i",_result
);
6941 #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1))
6942 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
* _resultobj
;
6944 wxStyledTextCtrl
* _arg0
;
6947 PyObject
* _argo0
= 0;
6948 PyObject
* _obj2
= 0;
6949 char *_kwnames
[] = { "self","styleNum","spec", NULL
};
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
6957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p.");
6962 #if PYTHON_API_VERSION >= 1009
6963 char* tmpPtr
; int tmpSize
;
6964 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6968 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6970 _arg2
= new wxString(tmpPtr
, tmpSize
);
6972 if (!PyString_Check(_obj2
)) {
6973 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6976 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6980 wxPy_BEGIN_ALLOW_THREADS
;
6981 wxStyledTextCtrl_StyleSetSpec(_arg0
,_arg1
,*_arg2
);
6983 wxPy_END_ALLOW_THREADS
;
6984 } Py_INCREF(Py_None
);
6985 _resultobj
= Py_None
;
6993 #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1))
6994 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
* _resultobj
;
6996 wxStyledTextCtrl
* _arg0
;
6999 PyObject
* _argo0
= 0;
7000 PyObject
* _argo2
= 0;
7001 char *_kwnames
[] = { "self","styleNum","font", NULL
};
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
7009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p.");
7014 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p.");
7021 wxPy_BEGIN_ALLOW_THREADS
;
7022 wxStyledTextCtrl_StyleSetFont(_arg0
,_arg1
,*_arg2
);
7024 wxPy_END_ALLOW_THREADS
;
7025 } Py_INCREF(Py_None
);
7026 _resultobj
= Py_None
;
7030 #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7031 static PyObject
*_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
* _resultobj
;
7033 wxStyledTextCtrl
* _arg0
;
7040 PyObject
* _argo0
= 0;
7041 PyObject
* _obj3
= 0;
7045 char *_kwnames
[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&tempbool4
,&tempbool5
,&tempbool6
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p.");
7058 #if PYTHON_API_VERSION >= 1009
7059 char* tmpPtr
; int tmpSize
;
7060 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7061 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7064 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7066 _arg3
= new wxString(tmpPtr
, tmpSize
);
7068 if (!PyString_Check(_obj3
)) {
7069 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7072 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7075 _arg4
= (bool ) tempbool4
;
7076 _arg5
= (bool ) tempbool5
;
7077 _arg6
= (bool ) tempbool6
;
7079 wxPy_BEGIN_ALLOW_THREADS
;
7080 wxStyledTextCtrl_StyleSetFontAttr(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
);
7082 wxPy_END_ALLOW_THREADS
;
7083 } Py_INCREF(Py_None
);
7084 _resultobj
= Py_None
;
7092 #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0))
7093 static PyObject
*_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
* _resultobj
;
7095 wxStyledTextCtrl
* _arg0
;
7097 PyObject
* _argo0
= 0;
7098 char *_kwnames
[] = { "self","cmd", NULL
};
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames
,&_argo0
,&_arg1
))
7104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p.");
7111 wxPy_BEGIN_ALLOW_THREADS
;
7112 wxStyledTextCtrl_CmdKeyExecute(_arg0
,_arg1
);
7114 wxPy_END_ALLOW_THREADS
;
7115 } Py_INCREF(Py_None
);
7116 _resultobj
= Py_None
;
7120 #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
7121 static PyObject
*_wrap_wxStyledTextCtrl_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
* _resultobj
;
7123 wxStyledTextCtrl
* _arg0
;
7126 PyObject
* _argo0
= 0;
7127 char *_kwnames
[] = { "self","left","right", NULL
};
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxStyledTextCtrl_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
7135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p.");
7140 wxPy_BEGIN_ALLOW_THREADS
;
7141 wxStyledTextCtrl_SetMargins(_arg0
,_arg1
,_arg2
);
7143 wxPy_END_ALLOW_THREADS
;
7144 } Py_INCREF(Py_None
);
7145 _resultobj
= Py_None
;
7149 #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7150 static PyObject
*_wrap_wxStyledTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
* _resultobj
;
7152 wxStyledTextCtrl
* _arg0
;
7157 PyObject
* _argo0
= 0;
7158 char *_kwnames
[] = { "self", NULL
};
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextCtrl_GetSelection",_kwnames
,&_argo0
))
7170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
7172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p.");
7177 wxPy_BEGIN_ALLOW_THREADS
;
7178 wxStyledTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
7180 wxPy_END_ALLOW_THREADS
;
7181 } Py_INCREF(Py_None
);
7182 _resultobj
= Py_None
;
7185 o
= PyInt_FromLong((long) (*_arg1
));
7186 _resultobj
= t_output_helper(_resultobj
, o
);
7190 o
= PyInt_FromLong((long) (*_arg2
));
7191 _resultobj
= t_output_helper(_resultobj
, o
);
7196 #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0))
7197 static PyObject
*_wrap_wxStyledTextCtrl_PointFromPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
* _resultobj
;
7200 wxStyledTextCtrl
* _arg0
;
7202 PyObject
* _argo0
= 0;
7203 char *_kwnames
[] = { "self","pos", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames
,&_argo0
,&_arg1
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p.");
7217 wxPy_BEGIN_ALLOW_THREADS
;
7218 _result
= new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0
,_arg1
));
7220 wxPy_END_ALLOW_THREADS
;
7221 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7222 _resultobj
= Py_BuildValue("s",_ptemp
);
7226 #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0))
7227 static PyObject
*_wrap_wxStyledTextCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
* _resultobj
;
7229 wxStyledTextCtrl
* _arg0
;
7231 PyObject
* _argo0
= 0;
7232 char *_kwnames
[] = { "self","line", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p.");
7245 wxPy_BEGIN_ALLOW_THREADS
;
7246 wxStyledTextCtrl_ScrollToLine(_arg0
,_arg1
);
7248 wxPy_END_ALLOW_THREADS
;
7249 } Py_INCREF(Py_None
);
7250 _resultobj
= Py_None
;
7254 #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0))
7255 static PyObject
*_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
* _resultobj
;
7257 wxStyledTextCtrl
* _arg0
;
7259 PyObject
* _argo0
= 0;
7260 char *_kwnames
[] = { "self","column", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames
,&_argo0
,&_arg1
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextCtrl_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p.");
7273 wxPy_BEGIN_ALLOW_THREADS
;
7274 wxStyledTextCtrl_ScrollToColumn(_arg0
,_arg1
);
7276 wxPy_END_ALLOW_THREADS
;
7277 } Py_INCREF(Py_None
);
7278 _resultobj
= Py_None
;
7282 static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr
) {
7283 wxStyledTextEvent
*src
;
7284 wxCommandEvent
*dest
;
7285 src
= (wxStyledTextEvent
*) ptr
;
7286 dest
= (wxCommandEvent
*) src
;
7287 return (void *) dest
;
7290 static void *SwigwxStyledTextEventTowxEvent(void *ptr
) {
7291 wxStyledTextEvent
*src
;
7293 src
= (wxStyledTextEvent
*) ptr
;
7294 dest
= (wxEvent
*) src
;
7295 return (void *) dest
;
7298 static void *SwigwxStyledTextEventTowxObject(void *ptr
) {
7299 wxStyledTextEvent
*src
;
7301 src
= (wxStyledTextEvent
*) ptr
;
7302 dest
= (wxObject
*) src
;
7303 return (void *) dest
;
7306 #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1))
7307 static PyObject
*_wrap_new_wxStyledTextEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
* _resultobj
;
7309 wxStyledTextEvent
* _result
;
7310 wxEventType _arg0
= (wxEventType
) 0;
7311 int _arg1
= (int ) 0;
7312 char *_kwnames
[] = { "commandType","id", NULL
};
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxStyledTextEvent",_kwnames
,&_arg0
,&_arg1
))
7319 wxPy_BEGIN_ALLOW_THREADS
;
7320 _result
= (wxStyledTextEvent
*)new_wxStyledTextEvent(_arg0
,_arg1
);
7322 wxPy_END_ALLOW_THREADS
;
7324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStyledTextEvent_p");
7325 _resultobj
= Py_BuildValue("s",_ptemp
);
7328 _resultobj
= Py_None
;
7333 #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj)
7334 static PyObject
*_wrap_delete_wxStyledTextEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
* _resultobj
;
7336 wxStyledTextEvent
* _arg0
;
7337 PyObject
* _argo0
= 0;
7338 char *_kwnames
[] = { "self", NULL
};
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStyledTextEvent",_kwnames
,&_argo0
))
7344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p.");
7351 wxPy_BEGIN_ALLOW_THREADS
;
7352 delete_wxStyledTextEvent(_arg0
);
7354 wxPy_END_ALLOW_THREADS
;
7355 } Py_INCREF(Py_None
);
7356 _resultobj
= Py_None
;
7360 #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
7361 static PyObject
*_wrap_wxStyledTextEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
* _resultobj
;
7363 wxStyledTextEvent
* _arg0
;
7365 PyObject
* _argo0
= 0;
7366 char *_kwnames
[] = { "self","pos", NULL
};
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetPosition",_kwnames
,&_argo0
,&_arg1
))
7372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p.");
7379 wxPy_BEGIN_ALLOW_THREADS
;
7380 wxStyledTextEvent_SetPosition(_arg0
,_arg1
);
7382 wxPy_END_ALLOW_THREADS
;
7383 } Py_INCREF(Py_None
);
7384 _resultobj
= Py_None
;
7388 #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0))
7389 static PyObject
*_wrap_wxStyledTextEvent_SetKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
* _resultobj
;
7391 wxStyledTextEvent
* _arg0
;
7393 PyObject
* _argo0
= 0;
7394 char *_kwnames
[] = { "self","k", NULL
};
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetKey",_kwnames
,&_argo0
,&_arg1
))
7400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p.");
7407 wxPy_BEGIN_ALLOW_THREADS
;
7408 wxStyledTextEvent_SetKey(_arg0
,_arg1
);
7410 wxPy_END_ALLOW_THREADS
;
7411 } Py_INCREF(Py_None
);
7412 _resultobj
= Py_None
;
7416 #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0))
7417 static PyObject
*_wrap_wxStyledTextEvent_SetModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
* _resultobj
;
7419 wxStyledTextEvent
* _arg0
;
7421 PyObject
* _argo0
= 0;
7422 char *_kwnames
[] = { "self","m", NULL
};
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetModifiers",_kwnames
,&_argo0
,&_arg1
))
7428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p.");
7435 wxPy_BEGIN_ALLOW_THREADS
;
7436 wxStyledTextEvent_SetModifiers(_arg0
,_arg1
);
7438 wxPy_END_ALLOW_THREADS
;
7439 } Py_INCREF(Py_None
);
7440 _resultobj
= Py_None
;
7444 #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0))
7445 static PyObject
*_wrap_wxStyledTextEvent_SetModificationType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
* _resultobj
;
7447 wxStyledTextEvent
* _arg0
;
7449 PyObject
* _argo0
= 0;
7450 char *_kwnames
[] = { "self","t", NULL
};
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetModificationType",_kwnames
,&_argo0
,&_arg1
))
7456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p.");
7463 wxPy_BEGIN_ALLOW_THREADS
;
7464 wxStyledTextEvent_SetModificationType(_arg0
,_arg1
);
7466 wxPy_END_ALLOW_THREADS
;
7467 } Py_INCREF(Py_None
);
7468 _resultobj
= Py_None
;
7472 #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7473 static PyObject
*_wrap_wxStyledTextEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
* _resultobj
;
7475 wxStyledTextEvent
* _arg0
;
7477 PyObject
* _argo0
= 0;
7478 char *_kwnames
[] = { "self","t", NULL
};
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxStyledTextEvent_SetText",_kwnames
,&_argo0
,&_arg1
))
7484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p.");
7491 wxPy_BEGIN_ALLOW_THREADS
;
7492 wxStyledTextEvent_SetText(_arg0
,_arg1
);
7494 wxPy_END_ALLOW_THREADS
;
7495 } Py_INCREF(Py_None
);
7496 _resultobj
= Py_None
;
7500 #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0))
7501 static PyObject
*_wrap_wxStyledTextEvent_SetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
* _resultobj
;
7503 wxStyledTextEvent
* _arg0
;
7505 PyObject
* _argo0
= 0;
7506 char *_kwnames
[] = { "self","len", NULL
};
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetLength",_kwnames
,&_argo0
,&_arg1
))
7512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p.");
7519 wxPy_BEGIN_ALLOW_THREADS
;
7520 wxStyledTextEvent_SetLength(_arg0
,_arg1
);
7522 wxPy_END_ALLOW_THREADS
;
7523 } Py_INCREF(Py_None
);
7524 _resultobj
= Py_None
;
7528 #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0))
7529 static PyObject
*_wrap_wxStyledTextEvent_SetLinesAdded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
* _resultobj
;
7531 wxStyledTextEvent
* _arg0
;
7533 PyObject
* _argo0
= 0;
7534 char *_kwnames
[] = { "self","num", NULL
};
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames
,&_argo0
,&_arg1
))
7540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p.");
7547 wxPy_BEGIN_ALLOW_THREADS
;
7548 wxStyledTextEvent_SetLinesAdded(_arg0
,_arg1
);
7550 wxPy_END_ALLOW_THREADS
;
7551 } Py_INCREF(Py_None
);
7552 _resultobj
= Py_None
;
7556 #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0))
7557 static PyObject
*_wrap_wxStyledTextEvent_SetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7559 wxStyledTextEvent
* _arg0
;
7561 PyObject
* _argo0
= 0;
7562 char *_kwnames
[] = { "self","val", NULL
};
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetLine",_kwnames
,&_argo0
,&_arg1
))
7568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p.");
7575 wxPy_BEGIN_ALLOW_THREADS
;
7576 wxStyledTextEvent_SetLine(_arg0
,_arg1
);
7578 wxPy_END_ALLOW_THREADS
;
7579 } Py_INCREF(Py_None
);
7580 _resultobj
= Py_None
;
7584 #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0))
7585 static PyObject
*_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
* _resultobj
;
7587 wxStyledTextEvent
* _arg0
;
7589 PyObject
* _argo0
= 0;
7590 char *_kwnames
[] = { "self","val", NULL
};
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames
,&_argo0
,&_arg1
))
7596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p.");
7603 wxPy_BEGIN_ALLOW_THREADS
;
7604 wxStyledTextEvent_SetFoldLevelNow(_arg0
,_arg1
);
7606 wxPy_END_ALLOW_THREADS
;
7607 } Py_INCREF(Py_None
);
7608 _resultobj
= Py_None
;
7612 #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0))
7613 static PyObject
*_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
* _resultobj
;
7615 wxStyledTextEvent
* _arg0
;
7617 PyObject
* _argo0
= 0;
7618 char *_kwnames
[] = { "self","val", NULL
};
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames
,&_argo0
,&_arg1
))
7624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
7631 wxPy_BEGIN_ALLOW_THREADS
;
7632 wxStyledTextEvent_SetFoldLevelPrev(_arg0
,_arg1
);
7634 wxPy_END_ALLOW_THREADS
;
7635 } Py_INCREF(Py_None
);
7636 _resultobj
= Py_None
;
7640 #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0))
7641 static PyObject
*_wrap_wxStyledTextEvent_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
* _resultobj
;
7643 wxStyledTextEvent
* _arg0
;
7645 PyObject
* _argo0
= 0;
7646 char *_kwnames
[] = { "self","val", NULL
};
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetMargin",_kwnames
,&_argo0
,&_arg1
))
7652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p.");
7659 wxPy_BEGIN_ALLOW_THREADS
;
7660 wxStyledTextEvent_SetMargin(_arg0
,_arg1
);
7662 wxPy_END_ALLOW_THREADS
;
7663 } Py_INCREF(Py_None
);
7664 _resultobj
= Py_None
;
7668 #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
7669 static PyObject
*_wrap_wxStyledTextEvent_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
* _resultobj
;
7671 wxStyledTextEvent
* _arg0
;
7673 PyObject
* _argo0
= 0;
7674 char *_kwnames
[] = { "self","val", NULL
};
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetMessage",_kwnames
,&_argo0
,&_arg1
))
7680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p.");
7687 wxPy_BEGIN_ALLOW_THREADS
;
7688 wxStyledTextEvent_SetMessage(_arg0
,_arg1
);
7690 wxPy_END_ALLOW_THREADS
;
7691 } Py_INCREF(Py_None
);
7692 _resultobj
= Py_None
;
7696 #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0))
7697 static PyObject
*_wrap_wxStyledTextEvent_SetWParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
* _resultobj
;
7699 wxStyledTextEvent
* _arg0
;
7701 PyObject
* _argo0
= 0;
7702 char *_kwnames
[] = { "self","val", NULL
};
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetWParam",_kwnames
,&_argo0
,&_arg1
))
7708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p.");
7715 wxPy_BEGIN_ALLOW_THREADS
;
7716 wxStyledTextEvent_SetWParam(_arg0
,_arg1
);
7718 wxPy_END_ALLOW_THREADS
;
7719 } Py_INCREF(Py_None
);
7720 _resultobj
= Py_None
;
7724 #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0))
7725 static PyObject
*_wrap_wxStyledTextEvent_SetLParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
* _resultobj
;
7727 wxStyledTextEvent
* _arg0
;
7729 PyObject
* _argo0
= 0;
7730 char *_kwnames
[] = { "self","val", NULL
};
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStyledTextEvent_SetLParam",_kwnames
,&_argo0
,&_arg1
))
7736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p.");
7743 wxPy_BEGIN_ALLOW_THREADS
;
7744 wxStyledTextEvent_SetLParam(_arg0
,_arg1
);
7746 wxPy_END_ALLOW_THREADS
;
7747 } Py_INCREF(Py_None
);
7748 _resultobj
= Py_None
;
7752 #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
7753 static PyObject
*_wrap_wxStyledTextEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
* _resultobj
;
7756 wxStyledTextEvent
* _arg0
;
7757 PyObject
* _argo0
= 0;
7758 char *_kwnames
[] = { "self", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetPosition",_kwnames
,&_argo0
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p.");
7771 wxPy_BEGIN_ALLOW_THREADS
;
7772 _result
= (int )wxStyledTextEvent_GetPosition(_arg0
);
7774 wxPy_END_ALLOW_THREADS
;
7775 } _resultobj
= Py_BuildValue("i",_result
);
7779 #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey())
7780 static PyObject
*_wrap_wxStyledTextEvent_GetKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7783 wxStyledTextEvent
* _arg0
;
7784 PyObject
* _argo0
= 0;
7785 char *_kwnames
[] = { "self", NULL
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetKey",_kwnames
,&_argo0
))
7791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p.");
7798 wxPy_BEGIN_ALLOW_THREADS
;
7799 _result
= (int )wxStyledTextEvent_GetKey(_arg0
);
7801 wxPy_END_ALLOW_THREADS
;
7802 } _resultobj
= Py_BuildValue("i",_result
);
7806 #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers())
7807 static PyObject
*_wrap_wxStyledTextEvent_GetModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
* _resultobj
;
7810 wxStyledTextEvent
* _arg0
;
7811 PyObject
* _argo0
= 0;
7812 char *_kwnames
[] = { "self", NULL
};
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetModifiers",_kwnames
,&_argo0
))
7818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p.");
7825 wxPy_BEGIN_ALLOW_THREADS
;
7826 _result
= (int )wxStyledTextEvent_GetModifiers(_arg0
);
7828 wxPy_END_ALLOW_THREADS
;
7829 } _resultobj
= Py_BuildValue("i",_result
);
7833 #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType())
7834 static PyObject
*_wrap_wxStyledTextEvent_GetModificationType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7837 wxStyledTextEvent
* _arg0
;
7838 PyObject
* _argo0
= 0;
7839 char *_kwnames
[] = { "self", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetModificationType",_kwnames
,&_argo0
))
7845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p.");
7852 wxPy_BEGIN_ALLOW_THREADS
;
7853 _result
= (int )wxStyledTextEvent_GetModificationType(_arg0
);
7855 wxPy_END_ALLOW_THREADS
;
7856 } _resultobj
= Py_BuildValue("i",_result
);
7860 #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText())
7861 static PyObject
*_wrap_wxStyledTextEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
* _resultobj
;
7864 wxStyledTextEvent
* _arg0
;
7865 PyObject
* _argo0
= 0;
7866 char *_kwnames
[] = { "self", NULL
};
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetText",_kwnames
,&_argo0
))
7872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p.");
7879 wxPy_BEGIN_ALLOW_THREADS
;
7880 _result
= new wxString (wxStyledTextEvent_GetText(_arg0
));
7882 wxPy_END_ALLOW_THREADS
;
7884 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7892 #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength())
7893 static PyObject
*_wrap_wxStyledTextEvent_GetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
* _resultobj
;
7896 wxStyledTextEvent
* _arg0
;
7897 PyObject
* _argo0
= 0;
7898 char *_kwnames
[] = { "self", NULL
};
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetLength",_kwnames
,&_argo0
))
7904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p.");
7911 wxPy_BEGIN_ALLOW_THREADS
;
7912 _result
= (int )wxStyledTextEvent_GetLength(_arg0
);
7914 wxPy_END_ALLOW_THREADS
;
7915 } _resultobj
= Py_BuildValue("i",_result
);
7919 #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded())
7920 static PyObject
*_wrap_wxStyledTextEvent_GetLinesAdded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
* _resultobj
;
7923 wxStyledTextEvent
* _arg0
;
7924 PyObject
* _argo0
= 0;
7925 char *_kwnames
[] = { "self", NULL
};
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetLinesAdded",_kwnames
,&_argo0
))
7931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p.");
7938 wxPy_BEGIN_ALLOW_THREADS
;
7939 _result
= (int )wxStyledTextEvent_GetLinesAdded(_arg0
);
7941 wxPy_END_ALLOW_THREADS
;
7942 } _resultobj
= Py_BuildValue("i",_result
);
7946 #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine())
7947 static PyObject
*_wrap_wxStyledTextEvent_GetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
* _resultobj
;
7950 wxStyledTextEvent
* _arg0
;
7951 PyObject
* _argo0
= 0;
7952 char *_kwnames
[] = { "self", NULL
};
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetLine",_kwnames
,&_argo0
))
7958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p.");
7965 wxPy_BEGIN_ALLOW_THREADS
;
7966 _result
= (int )wxStyledTextEvent_GetLine(_arg0
);
7968 wxPy_END_ALLOW_THREADS
;
7969 } _resultobj
= Py_BuildValue("i",_result
);
7973 #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow())
7974 static PyObject
*_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7977 wxStyledTextEvent
* _arg0
;
7978 PyObject
* _argo0
= 0;
7979 char *_kwnames
[] = { "self", NULL
};
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames
,&_argo0
))
7985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
7987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p.");
7992 wxPy_BEGIN_ALLOW_THREADS
;
7993 _result
= (int )wxStyledTextEvent_GetFoldLevelNow(_arg0
);
7995 wxPy_END_ALLOW_THREADS
;
7996 } _resultobj
= Py_BuildValue("i",_result
);
8000 #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev())
8001 static PyObject
*_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
* _resultobj
;
8004 wxStyledTextEvent
* _arg0
;
8005 PyObject
* _argo0
= 0;
8006 char *_kwnames
[] = { "self", NULL
};
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames
,&_argo0
))
8012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
8019 wxPy_BEGIN_ALLOW_THREADS
;
8020 _result
= (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0
);
8022 wxPy_END_ALLOW_THREADS
;
8023 } _resultobj
= Py_BuildValue("i",_result
);
8027 #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin())
8028 static PyObject
*_wrap_wxStyledTextEvent_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
* _resultobj
;
8031 wxStyledTextEvent
* _arg0
;
8032 PyObject
* _argo0
= 0;
8033 char *_kwnames
[] = { "self", NULL
};
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetMargin",_kwnames
,&_argo0
))
8039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p.");
8046 wxPy_BEGIN_ALLOW_THREADS
;
8047 _result
= (int )wxStyledTextEvent_GetMargin(_arg0
);
8049 wxPy_END_ALLOW_THREADS
;
8050 } _resultobj
= Py_BuildValue("i",_result
);
8054 #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage())
8055 static PyObject
*_wrap_wxStyledTextEvent_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
* _resultobj
;
8058 wxStyledTextEvent
* _arg0
;
8059 PyObject
* _argo0
= 0;
8060 char *_kwnames
[] = { "self", NULL
};
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetMessage",_kwnames
,&_argo0
))
8066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p.");
8073 wxPy_BEGIN_ALLOW_THREADS
;
8074 _result
= (int )wxStyledTextEvent_GetMessage(_arg0
);
8076 wxPy_END_ALLOW_THREADS
;
8077 } _resultobj
= Py_BuildValue("i",_result
);
8081 #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam())
8082 static PyObject
*_wrap_wxStyledTextEvent_GetWParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8085 wxStyledTextEvent
* _arg0
;
8086 PyObject
* _argo0
= 0;
8087 char *_kwnames
[] = { "self", NULL
};
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetWParam",_kwnames
,&_argo0
))
8093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p.");
8100 wxPy_BEGIN_ALLOW_THREADS
;
8101 _result
= (int )wxStyledTextEvent_GetWParam(_arg0
);
8103 wxPy_END_ALLOW_THREADS
;
8104 } _resultobj
= Py_BuildValue("i",_result
);
8108 #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam())
8109 static PyObject
*_wrap_wxStyledTextEvent_GetLParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
* _resultobj
;
8112 wxStyledTextEvent
* _arg0
;
8113 PyObject
* _argo0
= 0;
8114 char *_kwnames
[] = { "self", NULL
};
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetLParam",_kwnames
,&_argo0
))
8120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p.");
8127 wxPy_BEGIN_ALLOW_THREADS
;
8128 _result
= (int )wxStyledTextEvent_GetLParam(_arg0
);
8130 wxPy_END_ALLOW_THREADS
;
8131 } _resultobj
= Py_BuildValue("i",_result
);
8135 #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift())
8136 static PyObject
*_wrap_wxStyledTextEvent_GetShift(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
* _resultobj
;
8139 wxStyledTextEvent
* _arg0
;
8140 PyObject
* _argo0
= 0;
8141 char *_kwnames
[] = { "self", NULL
};
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetShift",_kwnames
,&_argo0
))
8147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p.");
8154 wxPy_BEGIN_ALLOW_THREADS
;
8155 _result
= (bool )wxStyledTextEvent_GetShift(_arg0
);
8157 wxPy_END_ALLOW_THREADS
;
8158 } _resultobj
= Py_BuildValue("i",_result
);
8162 #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl())
8163 static PyObject
*_wrap_wxStyledTextEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
* _resultobj
;
8166 wxStyledTextEvent
* _arg0
;
8167 PyObject
* _argo0
= 0;
8168 char *_kwnames
[] = { "self", NULL
};
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetControl",_kwnames
,&_argo0
))
8174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p.");
8181 wxPy_BEGIN_ALLOW_THREADS
;
8182 _result
= (bool )wxStyledTextEvent_GetControl(_arg0
);
8184 wxPy_END_ALLOW_THREADS
;
8185 } _resultobj
= Py_BuildValue("i",_result
);
8189 #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt())
8190 static PyObject
*_wrap_wxStyledTextEvent_GetAlt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
* _resultobj
;
8193 wxStyledTextEvent
* _arg0
;
8194 PyObject
* _argo0
= 0;
8195 char *_kwnames
[] = { "self", NULL
};
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStyledTextEvent_GetAlt",_kwnames
,&_argo0
))
8201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p.");
8208 wxPy_BEGIN_ALLOW_THREADS
;
8209 _result
= (bool )wxStyledTextEvent_GetAlt(_arg0
);
8211 wxPy_END_ALLOW_THREADS
;
8212 } _resultobj
= Py_BuildValue("i",_result
);
8216 #define wxStyledTextEvent_CopyObject(_swigobj,_swigarg0) (_swigobj->CopyObject(_swigarg0))
8217 static PyObject
*_wrap_wxStyledTextEvent_CopyObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
* _resultobj
;
8219 wxStyledTextEvent
* _arg0
;
8221 PyObject
* _argo0
= 0;
8222 PyObject
* _argo1
= 0;
8223 char *_kwnames
[] = { "self","obj", NULL
};
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStyledTextEvent_CopyObject",_kwnames
,&_argo0
,&_argo1
))
8229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStyledTextEvent_p")) {
8231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStyledTextEvent_CopyObject. Expected _wxStyledTextEvent_p.");
8236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
8238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStyledTextEvent_CopyObject. Expected _wxObject_p.");
8243 wxPy_BEGIN_ALLOW_THREADS
;
8244 wxStyledTextEvent_CopyObject(_arg0
,*_arg1
);
8246 wxPy_END_ALLOW_THREADS
;
8247 } Py_INCREF(Py_None
);
8248 _resultobj
= Py_None
;
8252 static PyMethodDef stc_cMethods
[] = {
8253 { "wxStyledTextEvent_CopyObject", (PyCFunction
) _wrap_wxStyledTextEvent_CopyObject
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxStyledTextEvent_GetAlt", (PyCFunction
) _wrap_wxStyledTextEvent_GetAlt
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxStyledTextEvent_GetControl", (PyCFunction
) _wrap_wxStyledTextEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxStyledTextEvent_GetShift", (PyCFunction
) _wrap_wxStyledTextEvent_GetShift
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxStyledTextEvent_GetLParam", (PyCFunction
) _wrap_wxStyledTextEvent_GetLParam
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxStyledTextEvent_GetWParam", (PyCFunction
) _wrap_wxStyledTextEvent_GetWParam
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxStyledTextEvent_GetMessage", (PyCFunction
) _wrap_wxStyledTextEvent_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxStyledTextEvent_GetMargin", (PyCFunction
) _wrap_wxStyledTextEvent_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction
) _wrap_wxStyledTextEvent_GetFoldLevelPrev
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction
) _wrap_wxStyledTextEvent_GetFoldLevelNow
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxStyledTextEvent_GetLine", (PyCFunction
) _wrap_wxStyledTextEvent_GetLine
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxStyledTextEvent_GetLinesAdded", (PyCFunction
) _wrap_wxStyledTextEvent_GetLinesAdded
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxStyledTextEvent_GetLength", (PyCFunction
) _wrap_wxStyledTextEvent_GetLength
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxStyledTextEvent_GetText", (PyCFunction
) _wrap_wxStyledTextEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxStyledTextEvent_GetModificationType", (PyCFunction
) _wrap_wxStyledTextEvent_GetModificationType
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxStyledTextEvent_GetModifiers", (PyCFunction
) _wrap_wxStyledTextEvent_GetModifiers
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxStyledTextEvent_GetKey", (PyCFunction
) _wrap_wxStyledTextEvent_GetKey
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxStyledTextEvent_GetPosition", (PyCFunction
) _wrap_wxStyledTextEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxStyledTextEvent_SetLParam", (PyCFunction
) _wrap_wxStyledTextEvent_SetLParam
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxStyledTextEvent_SetWParam", (PyCFunction
) _wrap_wxStyledTextEvent_SetWParam
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxStyledTextEvent_SetMessage", (PyCFunction
) _wrap_wxStyledTextEvent_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxStyledTextEvent_SetMargin", (PyCFunction
) _wrap_wxStyledTextEvent_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction
) _wrap_wxStyledTextEvent_SetFoldLevelPrev
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction
) _wrap_wxStyledTextEvent_SetFoldLevelNow
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxStyledTextEvent_SetLine", (PyCFunction
) _wrap_wxStyledTextEvent_SetLine
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxStyledTextEvent_SetLinesAdded", (PyCFunction
) _wrap_wxStyledTextEvent_SetLinesAdded
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxStyledTextEvent_SetLength", (PyCFunction
) _wrap_wxStyledTextEvent_SetLength
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxStyledTextEvent_SetText", (PyCFunction
) _wrap_wxStyledTextEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxStyledTextEvent_SetModificationType", (PyCFunction
) _wrap_wxStyledTextEvent_SetModificationType
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxStyledTextEvent_SetModifiers", (PyCFunction
) _wrap_wxStyledTextEvent_SetModifiers
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxStyledTextEvent_SetKey", (PyCFunction
) _wrap_wxStyledTextEvent_SetKey
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxStyledTextEvent_SetPosition", (PyCFunction
) _wrap_wxStyledTextEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "delete_wxStyledTextEvent", (PyCFunction
) _wrap_delete_wxStyledTextEvent
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "new_wxStyledTextEvent", (PyCFunction
) _wrap_new_wxStyledTextEvent
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction
) _wrap_wxStyledTextCtrl_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxStyledTextCtrl_ScrollToLine", (PyCFunction
) _wrap_wxStyledTextCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxStyledTextCtrl_PointFromPosition", (PyCFunction
) _wrap_wxStyledTextCtrl_PointFromPosition
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxStyledTextCtrl_GetSelection", (PyCFunction
) _wrap_wxStyledTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxStyledTextCtrl_SetMargins", (PyCFunction
) _wrap_wxStyledTextCtrl_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction
) _wrap_wxStyledTextCtrl_CmdKeyExecute
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetFontAttr
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxStyledTextCtrl_StyleSetFont", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetFont
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetSpec
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction
) _wrap_wxStyledTextCtrl_GetCurrentLine
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxStyledTextCtrl_SetKeyWords", (PyCFunction
) _wrap_wxStyledTextCtrl_SetKeyWords
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxStyledTextCtrl_SetProperty", (PyCFunction
) _wrap_wxStyledTextCtrl_SetProperty
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxStyledTextCtrl_Colourise", (PyCFunction
) _wrap_wxStyledTextCtrl_Colourise
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxStyledTextCtrl_GetLexer", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLexer
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxStyledTextCtrl_SetLexer", (PyCFunction
) _wrap_wxStyledTextCtrl_SetLexer
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxStyledTextCtrl_StopRecord", (PyCFunction
) _wrap_wxStyledTextCtrl_StopRecord
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxStyledTextCtrl_StartRecord", (PyCFunction
) _wrap_wxStyledTextCtrl_StartRecord
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxStyledTextCtrl_GetModEventMask", (PyCFunction
) _wrap_wxStyledTextCtrl_GetModEventMask
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction
) _wrap_wxStyledTextCtrl_ReleaseDocument
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxStyledTextCtrl_AddRefDocument", (PyCFunction
) _wrap_wxStyledTextCtrl_AddRefDocument
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxStyledTextCtrl_CreateDocument", (PyCFunction
) _wrap_wxStyledTextCtrl_CreateDocument
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxStyledTextCtrl_GetZoom", (PyCFunction
) _wrap_wxStyledTextCtrl_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxStyledTextCtrl_SetZoom", (PyCFunction
) _wrap_wxStyledTextCtrl_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction
) _wrap_wxStyledTextCtrl_SelectionIsRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxStyledTextCtrl_UsePopUp", (PyCFunction
) _wrap_wxStyledTextCtrl_UsePopUp
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction
) _wrap_wxStyledTextCtrl_LinesOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction
) _wrap_wxStyledTextCtrl_SetCaretPolicy
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxStyledTextCtrl_SearchPrev", (PyCFunction
) _wrap_wxStyledTextCtrl_SearchPrev
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxStyledTextCtrl_SearchNext", (PyCFunction
) _wrap_wxStyledTextCtrl_SearchNext
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxStyledTextCtrl_SearchAnchor", (PyCFunction
) _wrap_wxStyledTextCtrl_SearchAnchor
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction
) _wrap_wxStyledTextCtrl_SetEdgeColour
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction
) _wrap_wxStyledTextCtrl_GetEdgeColour
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction
) _wrap_wxStyledTextCtrl_SetEdgeMode
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction
) _wrap_wxStyledTextCtrl_GetEdgeMode
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction
) _wrap_wxStyledTextCtrl_SetEdgeColumn
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction
) _wrap_wxStyledTextCtrl_GetEdgeColumn
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxStyledTextCtrl_SetModEventMask", (PyCFunction
) _wrap_wxStyledTextCtrl_SetModEventMask
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxStyledTextCtrl_SetDocPointer", (PyCFunction
) _wrap_wxStyledTextCtrl_SetDocPointer
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxStyledTextCtrl_GetDocPointer", (PyCFunction
) _wrap_wxStyledTextCtrl_GetDocPointer
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxStyledTextCtrl_SetViewEOL", (PyCFunction
) _wrap_wxStyledTextCtrl_SetViewEOL
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxStyledTextCtrl_GetViewEOL", (PyCFunction
) _wrap_wxStyledTextCtrl_GetViewEOL
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxStyledTextCtrl_BraceMatch", (PyCFunction
) _wrap_wxStyledTextCtrl_BraceMatch
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxStyledTextCtrl_BraceBadLight", (PyCFunction
) _wrap_wxStyledTextCtrl_BraceBadLight
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxStyledTextCtrl_BraceHighlight", (PyCFunction
) _wrap_wxStyledTextCtrl_BraceHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxStyledTextCtrl_LineLength", (PyCFunction
) _wrap_wxStyledTextCtrl_LineLength
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction
) _wrap_wxStyledTextCtrl_SetFoldFlags
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxStyledTextCtrl_EnsureVisible", (PyCFunction
) _wrap_wxStyledTextCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxStyledTextCtrl_ToggleFold", (PyCFunction
) _wrap_wxStyledTextCtrl_ToggleFold
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction
) _wrap_wxStyledTextCtrl_GetFoldExpanded
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction
) _wrap_wxStyledTextCtrl_SetFoldExpanded
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxStyledTextCtrl_GetLineVisible", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLineVisible
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxStyledTextCtrl_HideLines", (PyCFunction
) _wrap_wxStyledTextCtrl_HideLines
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxStyledTextCtrl_ShowLines", (PyCFunction
) _wrap_wxStyledTextCtrl_ShowLines
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxStyledTextCtrl_GetFoldParent", (PyCFunction
) _wrap_wxStyledTextCtrl_GetFoldParent
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxStyledTextCtrl_GetLastChild", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction
) _wrap_wxStyledTextCtrl_GetFoldLevel
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction
) _wrap_wxStyledTextCtrl_SetFoldLevel
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction
) _wrap_wxStyledTextCtrl_DocLineFromVisible
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction
) _wrap_wxStyledTextCtrl_VisibleFromDocLine
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction
) _wrap_wxStyledTextCtrl_CallTipSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction
) _wrap_wxStyledTextCtrl_CallTipSetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction
) _wrap_wxStyledTextCtrl_CallTipPosAtStart
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxStyledTextCtrl_CallTipActive", (PyCFunction
) _wrap_wxStyledTextCtrl_CallTipActive
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxStyledTextCtrl_CallTipCancel", (PyCFunction
) _wrap_wxStyledTextCtrl_CallTipCancel
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxStyledTextCtrl_CallTipShow", (PyCFunction
) _wrap_wxStyledTextCtrl_CallTipShow
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxStyledTextCtrl_GetOvertype", (PyCFunction
) _wrap_wxStyledTextCtrl_GetOvertype
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxStyledTextCtrl_SetOvertype", (PyCFunction
) _wrap_wxStyledTextCtrl_SetOvertype
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxStyledTextCtrl_GetTextLength", (PyCFunction
) _wrap_wxStyledTextCtrl_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxStyledTextCtrl_GetText", (PyCFunction
) _wrap_wxStyledTextCtrl_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxStyledTextCtrl_SetText", (PyCFunction
) _wrap_wxStyledTextCtrl_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxStyledTextCtrl_Clear", (PyCFunction
) _wrap_wxStyledTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxStyledTextCtrl_Paste", (PyCFunction
) _wrap_wxStyledTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxStyledTextCtrl_Copy", (PyCFunction
) _wrap_wxStyledTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxStyledTextCtrl_Cut", (PyCFunction
) _wrap_wxStyledTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxStyledTextCtrl_Undo", (PyCFunction
) _wrap_wxStyledTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction
) _wrap_wxStyledTextCtrl_EmptyUndoBuffer
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxStyledTextCtrl_CanUndo", (PyCFunction
) _wrap_wxStyledTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxStyledTextCtrl_CanPaste", (PyCFunction
) _wrap_wxStyledTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxStyledTextCtrl_SetReadOnly", (PyCFunction
) _wrap_wxStyledTextCtrl_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction
) _wrap_wxStyledTextCtrl_ReplaceSelection
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction
) _wrap_wxStyledTextCtrl_EnsureCaretVisible
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxStyledTextCtrl_LineScroll", (PyCFunction
) _wrap_wxStyledTextCtrl_LineScroll
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxStyledTextCtrl_PositionFromLine", (PyCFunction
) _wrap_wxStyledTextCtrl_PositionFromLine
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxStyledTextCtrl_LineFromPosition", (PyCFunction
) _wrap_wxStyledTextCtrl_LineFromPosition
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxStyledTextCtrl_HideSelection", (PyCFunction
) _wrap_wxStyledTextCtrl_HideSelection
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxStyledTextCtrl_GetTextRange", (PyCFunction
) _wrap_wxStyledTextCtrl_GetTextRange
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxStyledTextCtrl_GetSelectedText", (PyCFunction
) _wrap_wxStyledTextCtrl_GetSelectedText
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxStyledTextCtrl_SetSelection", (PyCFunction
) _wrap_wxStyledTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxStyledTextCtrl_GetModify", (PyCFunction
) _wrap_wxStyledTextCtrl_GetModify
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxStyledTextCtrl_GetMarginRight", (PyCFunction
) _wrap_wxStyledTextCtrl_GetMarginRight
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxStyledTextCtrl_SetMarginRight", (PyCFunction
) _wrap_wxStyledTextCtrl_SetMarginRight
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction
) _wrap_wxStyledTextCtrl_GetMarginLeft
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction
) _wrap_wxStyledTextCtrl_SetMarginLeft
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxStyledTextCtrl_GetLineCount", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxStyledTextCtrl_GetLine", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLine
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction
) _wrap_wxStyledTextCtrl_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxStyledTextCtrl_FormatRange", (PyCFunction
) _wrap_wxStyledTextCtrl_FormatRange
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxStyledTextCtrl_FindText", (PyCFunction
) _wrap_wxStyledTextCtrl_FindText
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction
) _wrap_wxStyledTextCtrl_GetPrintColourMode
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction
) _wrap_wxStyledTextCtrl_SetPrintColourMode
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction
) _wrap_wxStyledTextCtrl_GetPrintMagnification
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction
) _wrap_wxStyledTextCtrl_SetPrintMagnification
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction
) _wrap_wxStyledTextCtrl_GetSelectionEnd
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction
) _wrap_wxStyledTextCtrl_SetSelectionEnd
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction
) _wrap_wxStyledTextCtrl_GetSelectionStart
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction
) _wrap_wxStyledTextCtrl_SetSelectionStart
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction
) _wrap_wxStyledTextCtrl_SetCurrentPos
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxStyledTextCtrl_GetReadOnly", (PyCFunction
) _wrap_wxStyledTextCtrl_GetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction
) _wrap_wxStyledTextCtrl_GetCaretForeground
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxStyledTextCtrl_GetCodePage", (PyCFunction
) _wrap_wxStyledTextCtrl_GetCodePage
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLineEndPosition
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction
) _wrap_wxStyledTextCtrl_GetHighlightGuide
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction
) _wrap_wxStyledTextCtrl_SetHighlightGuide
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction
) _wrap_wxStyledTextCtrl_GetIndentationGuides
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction
) _wrap_wxStyledTextCtrl_SetIndentationGuides
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction
) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction
) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxStyledTextCtrl_GetColumn", (PyCFunction
) _wrap_wxStyledTextCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLineIndentPosition
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLineIndentation
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction
) _wrap_wxStyledTextCtrl_SetLineIndentation
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxStyledTextCtrl_GetUseTabs", (PyCFunction
) _wrap_wxStyledTextCtrl_GetUseTabs
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxStyledTextCtrl_SetUseTabs", (PyCFunction
) _wrap_wxStyledTextCtrl_SetUseTabs
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxStyledTextCtrl_GetIndent", (PyCFunction
) _wrap_wxStyledTextCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxStyledTextCtrl_SetIndent", (PyCFunction
) _wrap_wxStyledTextCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompSetFillUps
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompSelect
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompGetSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompSetSeparator
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxStyledTextCtrl_AutoCompStops", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompStops
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompComplete
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompPosStart
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxStyledTextCtrl_AutoCompActive", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompActive
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompCancel
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxStyledTextCtrl_AutoCompShow", (PyCFunction
) _wrap_wxStyledTextCtrl_AutoCompShow
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction
) _wrap_wxStyledTextCtrl_GetMaxLineState
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxStyledTextCtrl_GetLineState", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLineState
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxStyledTextCtrl_SetLineState", (PyCFunction
) _wrap_wxStyledTextCtrl_SetLineState
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxStyledTextCtrl_GetStyleBits", (PyCFunction
) _wrap_wxStyledTextCtrl_GetStyleBits
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxStyledTextCtrl_SetStyleBits", (PyCFunction
) _wrap_wxStyledTextCtrl_SetStyleBits
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction
) _wrap_wxStyledTextCtrl_IndicatorGetForeground
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction
) _wrap_wxStyledTextCtrl_IndicatorSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction
) _wrap_wxStyledTextCtrl_IndicatorGetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction
) _wrap_wxStyledTextCtrl_IndicatorSetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxStyledTextCtrl_EndUndoAction", (PyCFunction
) _wrap_wxStyledTextCtrl_EndUndoAction
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction
) _wrap_wxStyledTextCtrl_BeginUndoAction
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxStyledTextCtrl_SetWordChars", (PyCFunction
) _wrap_wxStyledTextCtrl_SetWordChars
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction
) _wrap_wxStyledTextCtrl_SetCaretPeriod
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction
) _wrap_wxStyledTextCtrl_GetCaretPeriod
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetVisible
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction
) _wrap_wxStyledTextCtrl_SetStyleBytes
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction
) _wrap_wxStyledTextCtrl_CmdKeyClearAll
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction
) _wrap_wxStyledTextCtrl_CmdKeyClear
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction
) _wrap_wxStyledTextCtrl_CmdKeyAssign
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction
) _wrap_wxStyledTextCtrl_SetCaretForeground
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxStyledTextCtrl_SetSelBackground", (PyCFunction
) _wrap_wxStyledTextCtrl_SetSelBackground
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "wxStyledTextCtrl_SetSelForeground", (PyCFunction
) _wrap_wxStyledTextCtrl_SetSelForeground
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetUnderline
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleResetDefault
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetEOLFilled
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxStyledTextCtrl_StyleSetSize", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetSize
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetItalic
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "wxStyledTextCtrl_StyleSetBold", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetBold
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxStyledTextCtrl_StyleClearAll", (PyCFunction
) _wrap_wxStyledTextCtrl_StyleClearAll
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction
) _wrap_wxStyledTextCtrl_GetMarginSensitive
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction
) _wrap_wxStyledTextCtrl_SetMarginSensitive
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxStyledTextCtrl_GetMarginMask", (PyCFunction
) _wrap_wxStyledTextCtrl_GetMarginMask
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxStyledTextCtrl_SetMarginMask", (PyCFunction
) _wrap_wxStyledTextCtrl_SetMarginMask
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction
) _wrap_wxStyledTextCtrl_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction
) _wrap_wxStyledTextCtrl_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxStyledTextCtrl_GetMarginType", (PyCFunction
) _wrap_wxStyledTextCtrl_GetMarginType
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxStyledTextCtrl_SetMarginType", (PyCFunction
) _wrap_wxStyledTextCtrl_SetMarginType
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerPrevious
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxStyledTextCtrl_MarkerNext", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerNext
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxStyledTextCtrl_MarkerGet", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerGet
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerDeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxStyledTextCtrl_MarkerDelete", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerDelete
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxStyledTextCtrl_MarkerAdd", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerAdd
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxStyledTextCtrl_MarkerDefine", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerDefine
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxStyledTextCtrl_SetCodePage", (PyCFunction
) _wrap_wxStyledTextCtrl_SetCodePage
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxStyledTextCtrl_GetTabWidth", (PyCFunction
) _wrap_wxStyledTextCtrl_GetTabWidth
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxStyledTextCtrl_SetTabWidth", (PyCFunction
) _wrap_wxStyledTextCtrl_SetTabWidth
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction
) _wrap_wxStyledTextCtrl_SetBufferedDraw
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction
) _wrap_wxStyledTextCtrl_GetBufferedDraw
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxStyledTextCtrl_SetStyling", (PyCFunction
) _wrap_wxStyledTextCtrl_SetStyling
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxStyledTextCtrl_StartStyling", (PyCFunction
) _wrap_wxStyledTextCtrl_StartStyling
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxStyledTextCtrl_SetEOLMode", (PyCFunction
) _wrap_wxStyledTextCtrl_SetEOLMode
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxStyledTextCtrl_GetEOLMode", (PyCFunction
) _wrap_wxStyledTextCtrl_GetEOLMode
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction
) _wrap_wxStyledTextCtrl_ConvertEOLs
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxStyledTextCtrl_GetEndStyled", (PyCFunction
) _wrap_wxStyledTextCtrl_GetEndStyled
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxStyledTextCtrl_GetCurLine", (PyCFunction
) _wrap_wxStyledTextCtrl_GetCurLine
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxStyledTextCtrl_SetAnchor", (PyCFunction
) _wrap_wxStyledTextCtrl_SetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxStyledTextCtrl_GotoPos", (PyCFunction
) _wrap_wxStyledTextCtrl_GotoPos
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxStyledTextCtrl_GotoLine", (PyCFunction
) _wrap_wxStyledTextCtrl_GotoLine
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction
) _wrap_wxStyledTextCtrl_PositionFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction
) _wrap_wxStyledTextCtrl_SetViewWhiteSpace
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction
) _wrap_wxStyledTextCtrl_GetViewWhiteSpace
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction
) _wrap_wxStyledTextCtrl_GetUndoCollection
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerDeleteHandle
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction
) _wrap_wxStyledTextCtrl_MarkerLineFromHandle
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxStyledTextCtrl_CanRedo", (PyCFunction
) _wrap_wxStyledTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxStyledTextCtrl_GetStyledText", (PyCFunction
) _wrap_wxStyledTextCtrl_GetStyledText
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxStyledTextCtrl_SetSavePoint", (PyCFunction
) _wrap_wxStyledTextCtrl_SetSavePoint
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxStyledTextCtrl_SelectAll", (PyCFunction
) _wrap_wxStyledTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction
) _wrap_wxStyledTextCtrl_SetUndoCollection
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxStyledTextCtrl_Redo", (PyCFunction
) _wrap_wxStyledTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxStyledTextCtrl_GetStyleAt", (PyCFunction
) _wrap_wxStyledTextCtrl_GetStyleAt
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxStyledTextCtrl_GetAnchor", (PyCFunction
) _wrap_wxStyledTextCtrl_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction
) _wrap_wxStyledTextCtrl_GetCurrentPos
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxStyledTextCtrl_GetCharAt", (PyCFunction
) _wrap_wxStyledTextCtrl_GetCharAt
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxStyledTextCtrl_GetLength", (PyCFunction
) _wrap_wxStyledTextCtrl_GetLength
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction
) _wrap_wxStyledTextCtrl_ClearDocumentStyle
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxStyledTextCtrl_ClearAll", (PyCFunction
) _wrap_wxStyledTextCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxStyledTextCtrl_InsertText", (PyCFunction
) _wrap_wxStyledTextCtrl_InsertText
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxStyledTextCtrl_AddStyledText", (PyCFunction
) _wrap_wxStyledTextCtrl_AddStyledText
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxStyledTextCtrl_AddText", (PyCFunction
) _wrap_wxStyledTextCtrl_AddText
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "new_wxStyledTextCtrl", (PyCFunction
) _wrap_new_wxStyledTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8521 * This table is used by the pointer type-checker
8523 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8524 { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent
},
8525 { "_signed_long","_long",0},
8526 { "_wxPrintQuality","_wxCoord",0},
8527 { "_wxPrintQuality","_int",0},
8528 { "_wxPrintQuality","_signed_int",0},
8529 { "_wxPrintQuality","_unsigned_int",0},
8530 { "_wxPrintQuality","_wxWindowID",0},
8531 { "_wxPrintQuality","_uint",0},
8532 { "_wxPrintQuality","_EBool",0},
8533 { "_wxPrintQuality","_size_t",0},
8534 { "_wxPrintQuality","_time_t",0},
8535 { "_byte","_unsigned_char",0},
8536 { "_long","_unsigned_long",0},
8537 { "_long","_signed_long",0},
8538 { "_size_t","_wxCoord",0},
8539 { "_size_t","_wxPrintQuality",0},
8540 { "_size_t","_time_t",0},
8541 { "_size_t","_unsigned_int",0},
8542 { "_size_t","_int",0},
8543 { "_size_t","_wxWindowID",0},
8544 { "_size_t","_uint",0},
8545 { "_uint","_wxCoord",0},
8546 { "_uint","_wxPrintQuality",0},
8547 { "_uint","_time_t",0},
8548 { "_uint","_size_t",0},
8549 { "_uint","_unsigned_int",0},
8550 { "_uint","_int",0},
8551 { "_uint","_wxWindowID",0},
8552 { "_wxChar","_char",0},
8553 { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent
},
8554 { "_char","_wxChar",0},
8555 { "_EBool","_wxCoord",0},
8556 { "_EBool","_wxPrintQuality",0},
8557 { "_EBool","_signed_int",0},
8558 { "_EBool","_int",0},
8559 { "_EBool","_wxWindowID",0},
8560 { "_unsigned_long","_long",0},
8561 { "_signed_int","_wxCoord",0},
8562 { "_signed_int","_wxPrintQuality",0},
8563 { "_signed_int","_EBool",0},
8564 { "_signed_int","_wxWindowID",0},
8565 { "_signed_int","_int",0},
8566 { "_WXTYPE","_wxDateTime_t",0},
8567 { "_WXTYPE","_short",0},
8568 { "_WXTYPE","_signed_short",0},
8569 { "_WXTYPE","_unsigned_short",0},
8570 { "_unsigned_short","_wxDateTime_t",0},
8571 { "_unsigned_short","_WXTYPE",0},
8572 { "_unsigned_short","_short",0},
8573 { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject
},
8574 { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject
},
8575 { "_signed_short","_WXTYPE",0},
8576 { "_signed_short","_short",0},
8577 { "_unsigned_char","_byte",0},
8578 { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl
},
8579 { "_unsigned_int","_wxCoord",0},
8580 { "_unsigned_int","_wxPrintQuality",0},
8581 { "_unsigned_int","_time_t",0},
8582 { "_unsigned_int","_size_t",0},
8583 { "_unsigned_int","_uint",0},
8584 { "_unsigned_int","_wxWindowID",0},
8585 { "_unsigned_int","_int",0},
8586 { "_short","_wxDateTime_t",0},
8587 { "_short","_WXTYPE",0},
8588 { "_short","_unsigned_short",0},
8589 { "_short","_signed_short",0},
8590 { "_wxWindowID","_wxCoord",0},
8591 { "_wxWindowID","_wxPrintQuality",0},
8592 { "_wxWindowID","_time_t",0},
8593 { "_wxWindowID","_size_t",0},
8594 { "_wxWindowID","_EBool",0},
8595 { "_wxWindowID","_uint",0},
8596 { "_wxWindowID","_int",0},
8597 { "_wxWindowID","_signed_int",0},
8598 { "_wxWindowID","_unsigned_int",0},
8599 { "_int","_wxCoord",0},
8600 { "_int","_wxPrintQuality",0},
8601 { "_int","_time_t",0},
8602 { "_int","_size_t",0},
8603 { "_int","_EBool",0},
8604 { "_int","_uint",0},
8605 { "_int","_wxWindowID",0},
8606 { "_int","_unsigned_int",0},
8607 { "_int","_signed_int",0},
8608 { "_wxDateTime_t","_unsigned_short",0},
8609 { "_wxDateTime_t","_short",0},
8610 { "_wxDateTime_t","_WXTYPE",0},
8611 { "_time_t","_wxCoord",0},
8612 { "_time_t","_wxPrintQuality",0},
8613 { "_time_t","_unsigned_int",0},
8614 { "_time_t","_int",0},
8615 { "_time_t","_wxWindowID",0},
8616 { "_time_t","_uint",0},
8617 { "_time_t","_size_t",0},
8618 { "_wxCoord","_int",0},
8619 { "_wxCoord","_signed_int",0},
8620 { "_wxCoord","_unsigned_int",0},
8621 { "_wxCoord","_wxWindowID",0},
8622 { "_wxCoord","_uint",0},
8623 { "_wxCoord","_EBool",0},
8624 { "_wxCoord","_size_t",0},
8625 { "_wxCoord","_time_t",0},
8626 { "_wxCoord","_wxPrintQuality",0},
8627 { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler
},
8628 { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow
},
8631 static PyObject
*SWIG_globals
;
8635 SWIGEXPORT(void) initstc_c() {
8637 SWIG_globals
= SWIG_newvarlink();
8638 m
= Py_InitModule("stc_c", stc_cMethods
);
8639 d
= PyModule_GetDict(m
);
8640 PyDict_SetItemString(d
,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1));
8641 PyDict_SetItemString(d
,"wxSTC_START", PyInt_FromLong((long) 2000));
8642 PyDict_SetItemString(d
,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000));
8643 PyDict_SetItemString(d
,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000));
8644 PyDict_SetItemString(d
,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
8645 PyDict_SetItemString(d
,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
8646 PyDict_SetItemString(d
,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0));
8647 PyDict_SetItemString(d
,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1));
8648 PyDict_SetItemString(d
,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2));
8649 PyDict_SetItemString(d
,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0));
8650 PyDict_SetItemString(d
,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
8651 PyDict_SetItemString(d
,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
8652 PyDict_SetItemString(d
,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
8653 PyDict_SetItemString(d
,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
8654 PyDict_SetItemString(d
,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
8655 PyDict_SetItemString(d
,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
8656 PyDict_SetItemString(d
,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2));
8657 PyDict_SetItemString(d
,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3));
8658 PyDict_SetItemString(d
,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4));
8659 PyDict_SetItemString(d
,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5));
8660 PyDict_SetItemString(d
,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6));
8661 PyDict_SetItemString(d
,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7));
8662 PyDict_SetItemString(d
,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8));
8663 PyDict_SetItemString(d
,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30));
8664 PyDict_SetItemString(d
,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31));
8665 PyDict_SetItemString(d
,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0));
8666 PyDict_SetItemString(d
,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1));
8667 PyDict_SetItemString(d
,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32));
8668 PyDict_SetItemString(d
,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33));
8669 PyDict_SetItemString(d
,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34));
8670 PyDict_SetItemString(d
,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35));
8671 PyDict_SetItemString(d
,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36));
8672 PyDict_SetItemString(d
,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37));
8673 PyDict_SetItemString(d
,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127));
8674 PyDict_SetItemString(d
,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0));
8675 PyDict_SetItemString(d
,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1));
8676 PyDict_SetItemString(d
,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186));
8677 PyDict_SetItemString(d
,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136));
8678 PyDict_SetItemString(d
,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238));
8679 PyDict_SetItemString(d
,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134));
8680 PyDict_SetItemString(d
,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161));
8681 PyDict_SetItemString(d
,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129));
8682 PyDict_SetItemString(d
,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77));
8683 PyDict_SetItemString(d
,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255));
8684 PyDict_SetItemString(d
,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204));
8685 PyDict_SetItemString(d
,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128));
8686 PyDict_SetItemString(d
,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2));
8687 PyDict_SetItemString(d
,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162));
8688 PyDict_SetItemString(d
,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130));
8689 PyDict_SetItemString(d
,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177));
8690 PyDict_SetItemString(d
,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178));
8691 PyDict_SetItemString(d
,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163));
8692 PyDict_SetItemString(d
,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222));
8693 PyDict_SetItemString(d
,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7));
8694 PyDict_SetItemString(d
,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0));
8695 PyDict_SetItemString(d
,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1));
8696 PyDict_SetItemString(d
,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2));
8697 PyDict_SetItemString(d
,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3));
8698 PyDict_SetItemString(d
,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4));
8699 PyDict_SetItemString(d
,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 32));
8700 PyDict_SetItemString(d
,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 64));
8701 PyDict_SetItemString(d
,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 128));
8702 PyDict_SetItemString(d
,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 224));
8703 PyDict_SetItemString(d
,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0));
8704 PyDict_SetItemString(d
,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1));
8705 PyDict_SetItemString(d
,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2));
8706 PyDict_SetItemString(d
,"wxSTC_FIND_DOWN", PyInt_FromLong((long) 1));
8707 PyDict_SetItemString(d
,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2));
8708 PyDict_SetItemString(d
,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
8709 PyDict_SetItemString(d
,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
8710 PyDict_SetItemString(d
,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
8711 PyDict_SetItemString(d
,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
8712 PyDict_SetItemString(d
,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177));
8713 PyDict_SetItemString(d
,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178));
8714 PyDict_SetItemString(d
,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179));
8715 PyDict_SetItemString(d
,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
8716 PyDict_SetItemString(d
,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
8717 PyDict_SetItemString(d
,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
8718 PyDict_SetItemString(d
,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
8719 PyDict_SetItemString(d
,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300));
8720 PyDict_SetItemString(d
,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301));
8721 PyDict_SetItemString(d
,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302));
8722 PyDict_SetItemString(d
,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303));
8723 PyDict_SetItemString(d
,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304));
8724 PyDict_SetItemString(d
,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305));
8725 PyDict_SetItemString(d
,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306));
8726 PyDict_SetItemString(d
,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307));
8727 PyDict_SetItemString(d
,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308));
8728 PyDict_SetItemString(d
,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309));
8729 PyDict_SetItemString(d
,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310));
8730 PyDict_SetItemString(d
,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311));
8731 PyDict_SetItemString(d
,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312));
8732 PyDict_SetItemString(d
,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313));
8733 PyDict_SetItemString(d
,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314));
8734 PyDict_SetItemString(d
,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315));
8735 PyDict_SetItemString(d
,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316));
8736 PyDict_SetItemString(d
,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317));
8737 PyDict_SetItemString(d
,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318));
8738 PyDict_SetItemString(d
,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319));
8739 PyDict_SetItemString(d
,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320));
8740 PyDict_SetItemString(d
,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321));
8741 PyDict_SetItemString(d
,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322));
8742 PyDict_SetItemString(d
,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323));
8743 PyDict_SetItemString(d
,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324));
8744 PyDict_SetItemString(d
,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325));
8745 PyDict_SetItemString(d
,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326));
8746 PyDict_SetItemString(d
,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327));
8747 PyDict_SetItemString(d
,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328));
8748 PyDict_SetItemString(d
,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329));
8749 PyDict_SetItemString(d
,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330));
8750 PyDict_SetItemString(d
,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331));
8751 PyDict_SetItemString(d
,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332));
8752 PyDict_SetItemString(d
,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333));
8753 PyDict_SetItemString(d
,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334));
8754 PyDict_SetItemString(d
,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335));
8755 PyDict_SetItemString(d
,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336));
8756 PyDict_SetItemString(d
,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
8757 PyDict_SetItemString(d
,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
8758 PyDict_SetItemString(d
,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
8759 PyDict_SetItemString(d
,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
8760 PyDict_SetItemString(d
,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
8761 PyDict_SetItemString(d
,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
8762 PyDict_SetItemString(d
,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343));
8763 PyDict_SetItemString(d
,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0));
8764 PyDict_SetItemString(d
,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
8765 PyDict_SetItemString(d
,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
8766 PyDict_SetItemString(d
,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
8767 PyDict_SetItemString(d
,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02));
8768 PyDict_SetItemString(d
,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04));
8769 PyDict_SetItemString(d
,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1));
8770 PyDict_SetItemString(d
,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2));
8771 PyDict_SetItemString(d
,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4));
8772 PyDict_SetItemString(d
,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8));
8773 PyDict_SetItemString(d
,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10));
8774 PyDict_SetItemString(d
,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20));
8775 PyDict_SetItemString(d
,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40));
8776 PyDict_SetItemString(d
,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100));
8777 PyDict_SetItemString(d
,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200));
8778 PyDict_SetItemString(d
,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400));
8779 PyDict_SetItemString(d
,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800));
8780 PyDict_SetItemString(d
,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77));
8781 PyDict_SetItemString(d
,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300));
8782 PyDict_SetItemString(d
,"wxSTC_KEY_UP", PyInt_FromLong((long) 301));
8783 PyDict_SetItemString(d
,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302));
8784 PyDict_SetItemString(d
,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303));
8785 PyDict_SetItemString(d
,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304));
8786 PyDict_SetItemString(d
,"wxSTC_KEY_END", PyInt_FromLong((long) 305));
8787 PyDict_SetItemString(d
,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306));
8788 PyDict_SetItemString(d
,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307));
8789 PyDict_SetItemString(d
,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308));
8790 PyDict_SetItemString(d
,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309));
8791 PyDict_SetItemString(d
,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7));
8792 PyDict_SetItemString(d
,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8));
8793 PyDict_SetItemString(d
,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9));
8794 PyDict_SetItemString(d
,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13));
8795 PyDict_SetItemString(d
,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310));
8796 PyDict_SetItemString(d
,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311));
8797 PyDict_SetItemString(d
,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312));
8798 PyDict_SetItemString(d
,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1));
8799 PyDict_SetItemString(d
,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2));
8800 PyDict_SetItemString(d
,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4));
8801 PyDict_SetItemString(d
,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0));
8802 PyDict_SetItemString(d
,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1));
8803 PyDict_SetItemString(d
,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2));
8804 PyDict_SetItemString(d
,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3));
8805 PyDict_SetItemString(d
,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4));
8806 PyDict_SetItemString(d
,"wxSTC_LEX_XML", PyInt_FromLong((long) 5));
8807 PyDict_SetItemString(d
,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6));
8808 PyDict_SetItemString(d
,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7));
8809 PyDict_SetItemString(d
,"wxSTC_LEX_VB", PyInt_FromLong((long) 8));
8810 PyDict_SetItemString(d
,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9));
8811 PyDict_SetItemString(d
,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10));
8812 PyDict_SetItemString(d
,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11));
8813 PyDict_SetItemString(d
,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12));
8814 PyDict_SetItemString(d
,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13));
8815 PyDict_SetItemString(d
,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14));
8816 PyDict_SetItemString(d
,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15));
8817 PyDict_SetItemString(d
,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16));
8818 PyDict_SetItemString(d
,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
8819 PyDict_SetItemString(d
,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
8820 PyDict_SetItemString(d
,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2));
8821 PyDict_SetItemString(d
,"wxSTC_P_STRING", PyInt_FromLong((long) 3));
8822 PyDict_SetItemString(d
,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4));
8823 PyDict_SetItemString(d
,"wxSTC_P_WORD", PyInt_FromLong((long) 5));
8824 PyDict_SetItemString(d
,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6));
8825 PyDict_SetItemString(d
,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7));
8826 PyDict_SetItemString(d
,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8));
8827 PyDict_SetItemString(d
,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9));
8828 PyDict_SetItemString(d
,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10));
8829 PyDict_SetItemString(d
,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11));
8830 PyDict_SetItemString(d
,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12));
8831 PyDict_SetItemString(d
,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13));
8832 PyDict_SetItemString(d
,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0));
8833 PyDict_SetItemString(d
,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1));
8834 PyDict_SetItemString(d
,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2));
8835 PyDict_SetItemString(d
,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3));
8836 PyDict_SetItemString(d
,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4));
8837 PyDict_SetItemString(d
,"wxSTC_C_WORD", PyInt_FromLong((long) 5));
8838 PyDict_SetItemString(d
,"wxSTC_C_STRING", PyInt_FromLong((long) 6));
8839 PyDict_SetItemString(d
,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7));
8840 PyDict_SetItemString(d
,"wxSTC_C_UUID", PyInt_FromLong((long) 8));
8841 PyDict_SetItemString(d
,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9));
8842 PyDict_SetItemString(d
,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10));
8843 PyDict_SetItemString(d
,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11));
8844 PyDict_SetItemString(d
,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12));
8845 PyDict_SetItemString(d
,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13));
8846 PyDict_SetItemString(d
,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0));
8847 PyDict_SetItemString(d
,"wxSTC_H_TAG", PyInt_FromLong((long) 1));
8848 PyDict_SetItemString(d
,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2));
8849 PyDict_SetItemString(d
,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3));
8850 PyDict_SetItemString(d
,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4));
8851 PyDict_SetItemString(d
,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5));
8852 PyDict_SetItemString(d
,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6));
8853 PyDict_SetItemString(d
,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7));
8854 PyDict_SetItemString(d
,"wxSTC_H_OTHER", PyInt_FromLong((long) 8));
8855 PyDict_SetItemString(d
,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9));
8856 PyDict_SetItemString(d
,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10));
8857 PyDict_SetItemString(d
,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11));
8858 PyDict_SetItemString(d
,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12));
8859 PyDict_SetItemString(d
,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13));
8860 PyDict_SetItemString(d
,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14));
8861 PyDict_SetItemString(d
,"wxSTC_H_ASP", PyInt_FromLong((long) 15));
8862 PyDict_SetItemString(d
,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16));
8863 PyDict_SetItemString(d
,"wxSTC_H_CDATA", PyInt_FromLong((long) 17));
8864 PyDict_SetItemString(d
,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18));
8865 PyDict_SetItemString(d
,"wxSTC_H_VALUE", PyInt_FromLong((long) 19));
8866 PyDict_SetItemString(d
,"wxSTC_HJ_START", PyInt_FromLong((long) 40));
8867 PyDict_SetItemString(d
,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41));
8868 PyDict_SetItemString(d
,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42));
8869 PyDict_SetItemString(d
,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43));
8870 PyDict_SetItemString(d
,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44));
8871 PyDict_SetItemString(d
,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45));
8872 PyDict_SetItemString(d
,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46));
8873 PyDict_SetItemString(d
,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47));
8874 PyDict_SetItemString(d
,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48));
8875 PyDict_SetItemString(d
,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49));
8876 PyDict_SetItemString(d
,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50));
8877 PyDict_SetItemString(d
,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51));
8878 PyDict_SetItemString(d
,"wxSTC_HJA_START", PyInt_FromLong((long) 55));
8879 PyDict_SetItemString(d
,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56));
8880 PyDict_SetItemString(d
,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57));
8881 PyDict_SetItemString(d
,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58));
8882 PyDict_SetItemString(d
,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59));
8883 PyDict_SetItemString(d
,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60));
8884 PyDict_SetItemString(d
,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61));
8885 PyDict_SetItemString(d
,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62));
8886 PyDict_SetItemString(d
,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63));
8887 PyDict_SetItemString(d
,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64));
8888 PyDict_SetItemString(d
,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65));
8889 PyDict_SetItemString(d
,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66));
8890 PyDict_SetItemString(d
,"wxSTC_HB_START", PyInt_FromLong((long) 70));
8891 PyDict_SetItemString(d
,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71));
8892 PyDict_SetItemString(d
,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72));
8893 PyDict_SetItemString(d
,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73));
8894 PyDict_SetItemString(d
,"wxSTC_HB_WORD", PyInt_FromLong((long) 74));
8895 PyDict_SetItemString(d
,"wxSTC_HB_STRING", PyInt_FromLong((long) 75));
8896 PyDict_SetItemString(d
,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76));
8897 PyDict_SetItemString(d
,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77));
8898 PyDict_SetItemString(d
,"wxSTC_HBA_START", PyInt_FromLong((long) 80));
8899 PyDict_SetItemString(d
,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81));
8900 PyDict_SetItemString(d
,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82));
8901 PyDict_SetItemString(d
,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83));
8902 PyDict_SetItemString(d
,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84));
8903 PyDict_SetItemString(d
,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85));
8904 PyDict_SetItemString(d
,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86));
8905 PyDict_SetItemString(d
,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87));
8906 PyDict_SetItemString(d
,"wxSTC_HP_START", PyInt_FromLong((long) 90));
8907 PyDict_SetItemString(d
,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91));
8908 PyDict_SetItemString(d
,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92));
8909 PyDict_SetItemString(d
,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93));
8910 PyDict_SetItemString(d
,"wxSTC_HP_STRING", PyInt_FromLong((long) 94));
8911 PyDict_SetItemString(d
,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95));
8912 PyDict_SetItemString(d
,"wxSTC_HP_WORD", PyInt_FromLong((long) 96));
8913 PyDict_SetItemString(d
,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97));
8914 PyDict_SetItemString(d
,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98));
8915 PyDict_SetItemString(d
,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99));
8916 PyDict_SetItemString(d
,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100));
8917 PyDict_SetItemString(d
,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101));
8918 PyDict_SetItemString(d
,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102));
8919 PyDict_SetItemString(d
,"wxSTC_HPA_START", PyInt_FromLong((long) 105));
8920 PyDict_SetItemString(d
,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106));
8921 PyDict_SetItemString(d
,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107));
8922 PyDict_SetItemString(d
,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108));
8923 PyDict_SetItemString(d
,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109));
8924 PyDict_SetItemString(d
,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110));
8925 PyDict_SetItemString(d
,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111));
8926 PyDict_SetItemString(d
,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112));
8927 PyDict_SetItemString(d
,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113));
8928 PyDict_SetItemString(d
,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114));
8929 PyDict_SetItemString(d
,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115));
8930 PyDict_SetItemString(d
,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116));
8931 PyDict_SetItemString(d
,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117));
8932 PyDict_SetItemString(d
,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118));
8933 PyDict_SetItemString(d
,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119));
8934 PyDict_SetItemString(d
,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120));
8935 PyDict_SetItemString(d
,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121));
8936 PyDict_SetItemString(d
,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122));
8937 PyDict_SetItemString(d
,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123));
8938 PyDict_SetItemString(d
,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124));
8939 PyDict_SetItemString(d
,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125));
8940 PyDict_SetItemString(d
,"wxSTC_HPHP_STRINGEOL", PyInt_FromLong((long) 126));
8941 PyDict_SetItemString(d
,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0));
8942 PyDict_SetItemString(d
,"wxSTC_PL_HERE", PyInt_FromLong((long) 1));
8943 PyDict_SetItemString(d
,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2));
8944 PyDict_SetItemString(d
,"wxSTC_PL_POD", PyInt_FromLong((long) 3));
8945 PyDict_SetItemString(d
,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4));
8946 PyDict_SetItemString(d
,"wxSTC_PL_WORD", PyInt_FromLong((long) 5));
8947 PyDict_SetItemString(d
,"wxSTC_PL_STRING", PyInt_FromLong((long) 6));
8948 PyDict_SetItemString(d
,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7));
8949 PyDict_SetItemString(d
,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8));
8950 PyDict_SetItemString(d
,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9));
8951 PyDict_SetItemString(d
,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10));
8952 PyDict_SetItemString(d
,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11));
8953 PyDict_SetItemString(d
,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12));
8954 PyDict_SetItemString(d
,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13));
8955 PyDict_SetItemString(d
,"wxSTC_PL_HASH", PyInt_FromLong((long) 14));
8956 PyDict_SetItemString(d
,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15));
8957 PyDict_SetItemString(d
,"wxSTC_PL_REF", PyInt_FromLong((long) 16));
8958 PyDict_SetItemString(d
,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17));
8959 PyDict_SetItemString(d
,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18));
8960 PyDict_SetItemString(d
,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19));
8961 PyDict_SetItemString(d
,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20));
8962 PyDict_SetItemString(d
,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21));
8963 PyDict_SetItemString(d
,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0));
8964 PyDict_SetItemString(d
,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1));
8965 PyDict_SetItemString(d
,"wxSTC_L_TAG", PyInt_FromLong((long) 2));
8966 PyDict_SetItemString(d
,"wxSTC_L_MATH", PyInt_FromLong((long) 3));
8967 PyDict_SetItemString(d
,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4));
8968 PyDict_SetItemString(d
,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0));
8969 PyDict_SetItemString(d
,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1));
8970 PyDict_SetItemString(d
,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2));
8971 PyDict_SetItemString(d
,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3));
8972 PyDict_SetItemString(d
,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4));
8973 PyDict_SetItemString(d
,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5));
8974 PyDict_SetItemString(d
,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6));
8975 PyDict_SetItemString(d
,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7));
8976 PyDict_SetItemString(d
,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8));
8977 PyDict_SetItemString(d
,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9));
8978 PyDict_SetItemString(d
,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10));
8979 PyDict_SetItemString(d
,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11));
8980 PyDict_SetItemString(d
,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12));
8981 PyDict_SetItemString(d
,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0));
8982 PyDict_SetItemString(d
,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1));
8983 PyDict_SetItemString(d
,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2));
8984 PyDict_SetItemString(d
,"wxSTC_ERR_MS", PyInt_FromLong((long) 3));
8985 PyDict_SetItemString(d
,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4));
8986 PyDict_SetItemString(d
,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5));
8987 PyDict_SetItemString(d
,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6));
8988 PyDict_SetItemString(d
,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31)))));
8989 PyDict_SetItemString(d
,"wxSTCNameStr", PyString_FromString("wxSTCNameStr"));
8990 PyDict_SetItemString(d
,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE
));
8991 PyDict_SetItemString(d
,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED
));
8992 PyDict_SetItemString(d
,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED
));
8993 PyDict_SetItemString(d
,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI
));
8994 PyDict_SetItemString(d
,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED
));
8995 PyDict_SetItemString(d
,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT
));
8996 PyDict_SetItemString(d
,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT
));
8997 PyDict_SetItemString(d
,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK
));
8998 PyDict_SetItemString(d
,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED
));
8999 PyDict_SetItemString(d
,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY
));
9000 PyDict_SetItemString(d
,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD
));
9001 PyDict_SetItemString(d
,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK
));
9002 PyDict_SetItemString(d
,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN
));
9003 PyDict_SetItemString(d
,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED
));
9006 wxClassInfo::CleanUpClasses();
9007 wxClassInfo::InitializeClasses();
9011 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9012 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);