]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * FILE : gtk/lseditor.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Patch 6) | |
7 | * | |
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. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
52 | #define SWIG_init initlseditorc | |
53 | ||
54 | #define SWIG_name "lseditorc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include "lseditorpl.h" | |
58 | ||
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
61 | PyObject* o3; | |
62 | if (!target) { | |
63 | target = o; | |
64 | } else if (target == Py_None) { | |
65 | Py_DECREF(Py_None); | |
66 | target = o; | |
67 | } else { | |
68 | if (!PyList_Check(target)) { | |
69 | o2 = target; | |
70 | target = PyList_New(0); | |
71 | PyList_Append(target, o2); | |
72 | Py_XDECREF(o2); | |
73 | } | |
74 | PyList_Append(target,o); | |
75 | Py_XDECREF(o); | |
76 | } | |
77 | return target; | |
78 | } | |
79 | ||
80 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
81 | PyObject* o2; | |
82 | PyObject* o3; | |
83 | ||
84 | if (!target) { | |
85 | target = o; | |
86 | } else if (target == Py_None) { | |
87 | Py_DECREF(Py_None); | |
88 | target = o; | |
89 | } else { | |
90 | if (!PyTuple_Check(target)) { | |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
95 | o3 = PyTuple_New(1); | |
96 | PyTuple_SetItem(o3, 0, o); | |
97 | ||
98 | o2 = target; | |
99 | target = PySequence_Concat(o2, o3); | |
100 | Py_DECREF(o2); | |
101 | Py_DECREF(o3); | |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
106 | ||
107 | extern byte* byte_LIST_helper(PyObject* source); | |
108 | extern int* int_LIST_helper(PyObject* source); | |
109 | extern long* long_LIST_helper(PyObject* source); | |
110 | extern char** string_LIST_helper(PyObject* source); | |
111 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
112 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
113 | extern wxString* wxString_LIST_helper(PyObject* source); | |
114 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); | |
115 | ||
116 | ||
117 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
118 | ||
119 | #ifdef SEPARATE | |
120 | wxString wxPyEmptyStr(""); | |
121 | #endif | |
122 | #ifdef __cplusplus | |
123 | extern "C" { | |
124 | #endif | |
125 | #define new_wxsLSEditorPlugin() (new wxsLSEditorPlugin()) | |
126 | static PyObject *_wrap_new_wxsLSEditorPlugin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
127 | PyObject * _resultobj; | |
128 | wxsLSEditorPlugin * _result; | |
129 | char *_kwnames[] = { NULL }; | |
130 | char _ptemp[128]; | |
131 | ||
132 | self = self; | |
133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxsLSEditorPlugin",_kwnames)) | |
134 | return NULL; | |
135 | { | |
136 | wxPy_BEGIN_ALLOW_THREADS; | |
137 | _result = (wxsLSEditorPlugin *)new_wxsLSEditorPlugin(); | |
138 | ||
139 | wxPy_END_ALLOW_THREADS; | |
140 | } if (_result) { | |
141 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxsLSEditorPlugin_p"); | |
142 | _resultobj = Py_BuildValue("s",_ptemp); | |
143 | } else { | |
144 | Py_INCREF(Py_None); | |
145 | _resultobj = Py_None; | |
146 | } | |
147 | return _resultobj; | |
148 | } | |
149 | ||
150 | #define delete_wxsLSEditorPlugin(_swigobj) (delete _swigobj) | |
151 | static PyObject *_wrap_delete_wxsLSEditorPlugin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
152 | PyObject * _resultobj; | |
153 | wxsLSEditorPlugin * _arg0; | |
154 | PyObject * _argo0 = 0; | |
155 | char *_kwnames[] = { "self", NULL }; | |
156 | ||
157 | self = self; | |
158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxsLSEditorPlugin",_kwnames,&_argo0)) | |
159 | return NULL; | |
160 | if (_argo0) { | |
161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxsLSEditorPlugin. Expected _wxsLSEditorPlugin_p."); | |
164 | return NULL; | |
165 | } | |
166 | } | |
167 | { | |
168 | wxPy_BEGIN_ALLOW_THREADS; | |
169 | delete_wxsLSEditorPlugin(_arg0); | |
170 | ||
171 | wxPy_END_ALLOW_THREADS; | |
172 | } Py_INCREF(Py_None); | |
173 | _resultobj = Py_None; | |
174 | return _resultobj; | |
175 | } | |
176 | ||
177 | #define wxsLSEditorPlugin_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1)) | |
178 | static PyObject *_wrap_wxsLSEditorPlugin_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
179 | PyObject * _resultobj; | |
180 | wxsLSEditorPlugin * _arg0; | |
181 | wxWindow * _arg1; | |
182 | wxWindowID _arg2; | |
183 | PyObject * _argo0 = 0; | |
184 | PyObject * _argo1 = 0; | |
185 | char *_kwnames[] = { "self","parent","id", NULL }; | |
186 | ||
187 | self = self; | |
188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxsLSEditorPlugin_Create",_kwnames,&_argo0,&_argo1,&_arg2)) | |
189 | return NULL; | |
190 | if (_argo0) { | |
191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_Create. Expected _wxsLSEditorPlugin_p."); | |
194 | return NULL; | |
195 | } | |
196 | } | |
197 | if (_argo1) { | |
198 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
199 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxsLSEditorPlugin_Create. Expected _wxWindow_p."); | |
201 | return NULL; | |
202 | } | |
203 | } | |
204 | { | |
205 | wxPy_BEGIN_ALLOW_THREADS; | |
206 | wxsLSEditorPlugin_Create(_arg0,_arg1,_arg2); | |
207 | ||
208 | wxPy_END_ALLOW_THREADS; | |
209 | } Py_INCREF(Py_None); | |
210 | _resultobj = Py_None; | |
211 | return _resultobj; | |
212 | } | |
213 | ||
214 | #define wxsLSEditorPlugin_OnOpen(_swigobj,_swigarg0) (_swigobj->OnOpen(_swigarg0)) | |
215 | static PyObject *_wrap_wxsLSEditorPlugin_OnOpen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
216 | PyObject * _resultobj; | |
217 | wxsLSEditorPlugin * _arg0; | |
218 | char * _arg1; | |
219 | PyObject * _argo0 = 0; | |
220 | char *_kwnames[] = { "self","fname", NULL }; | |
221 | ||
222 | self = self; | |
223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxsLSEditorPlugin_OnOpen",_kwnames,&_argo0,&_arg1)) | |
224 | return NULL; | |
225 | if (_argo0) { | |
226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnOpen. Expected _wxsLSEditorPlugin_p."); | |
229 | return NULL; | |
230 | } | |
231 | } | |
232 | { | |
233 | wxPy_BEGIN_ALLOW_THREADS; | |
234 | wxsLSEditorPlugin_OnOpen(_arg0,_arg1); | |
235 | ||
236 | wxPy_END_ALLOW_THREADS; | |
237 | } Py_INCREF(Py_None); | |
238 | _resultobj = Py_None; | |
239 | return _resultobj; | |
240 | } | |
241 | ||
242 | #define wxsLSEditorPlugin_OnSave(_swigobj,_swigarg0) (_swigobj->OnSave(_swigarg0)) | |
243 | static PyObject *_wrap_wxsLSEditorPlugin_OnSave(PyObject *self, PyObject *args, PyObject *kwargs) { | |
244 | PyObject * _resultobj; | |
245 | wxsLSEditorPlugin * _arg0; | |
246 | char * _arg1; | |
247 | PyObject * _argo0 = 0; | |
248 | char *_kwnames[] = { "self","fname", NULL }; | |
249 | ||
250 | self = self; | |
251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxsLSEditorPlugin_OnSave",_kwnames,&_argo0,&_arg1)) | |
252 | return NULL; | |
253 | if (_argo0) { | |
254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnSave. Expected _wxsLSEditorPlugin_p."); | |
257 | return NULL; | |
258 | } | |
259 | } | |
260 | { | |
261 | wxPy_BEGIN_ALLOW_THREADS; | |
262 | wxsLSEditorPlugin_OnSave(_arg0,_arg1); | |
263 | ||
264 | wxPy_END_ALLOW_THREADS; | |
265 | } Py_INCREF(Py_None); | |
266 | _resultobj = Py_None; | |
267 | return _resultobj; | |
268 | } | |
269 | ||
270 | #define wxsLSEditorPlugin_OnCopy(_swigobj) (_swigobj->OnCopy()) | |
271 | static PyObject *_wrap_wxsLSEditorPlugin_OnCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
272 | PyObject * _resultobj; | |
273 | wxsLSEditorPlugin * _arg0; | |
274 | PyObject * _argo0 = 0; | |
275 | char *_kwnames[] = { "self", NULL }; | |
276 | ||
277 | self = self; | |
278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnCopy",_kwnames,&_argo0)) | |
279 | return NULL; | |
280 | if (_argo0) { | |
281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnCopy. Expected _wxsLSEditorPlugin_p."); | |
284 | return NULL; | |
285 | } | |
286 | } | |
287 | { | |
288 | wxPy_BEGIN_ALLOW_THREADS; | |
289 | wxsLSEditorPlugin_OnCopy(_arg0); | |
290 | ||
291 | wxPy_END_ALLOW_THREADS; | |
292 | } Py_INCREF(Py_None); | |
293 | _resultobj = Py_None; | |
294 | return _resultobj; | |
295 | } | |
296 | ||
297 | #define wxsLSEditorPlugin_OnCut(_swigobj) (_swigobj->OnCut()) | |
298 | static PyObject *_wrap_wxsLSEditorPlugin_OnCut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
299 | PyObject * _resultobj; | |
300 | wxsLSEditorPlugin * _arg0; | |
301 | PyObject * _argo0 = 0; | |
302 | char *_kwnames[] = { "self", NULL }; | |
303 | ||
304 | self = self; | |
305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnCut",_kwnames,&_argo0)) | |
306 | return NULL; | |
307 | if (_argo0) { | |
308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnCut. Expected _wxsLSEditorPlugin_p."); | |
311 | return NULL; | |
312 | } | |
313 | } | |
314 | { | |
315 | wxPy_BEGIN_ALLOW_THREADS; | |
316 | wxsLSEditorPlugin_OnCut(_arg0); | |
317 | ||
318 | wxPy_END_ALLOW_THREADS; | |
319 | } Py_INCREF(Py_None); | |
320 | _resultobj = Py_None; | |
321 | return _resultobj; | |
322 | } | |
323 | ||
324 | #define wxsLSEditorPlugin_OnPaste(_swigobj) (_swigobj->OnPaste()) | |
325 | static PyObject *_wrap_wxsLSEditorPlugin_OnPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
326 | PyObject * _resultobj; | |
327 | wxsLSEditorPlugin * _arg0; | |
328 | PyObject * _argo0 = 0; | |
329 | char *_kwnames[] = { "self", NULL }; | |
330 | ||
331 | self = self; | |
332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnPaste",_kwnames,&_argo0)) | |
333 | return NULL; | |
334 | if (_argo0) { | |
335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnPaste. Expected _wxsLSEditorPlugin_p."); | |
338 | return NULL; | |
339 | } | |
340 | } | |
341 | { | |
342 | wxPy_BEGIN_ALLOW_THREADS; | |
343 | wxsLSEditorPlugin_OnPaste(_arg0); | |
344 | ||
345 | wxPy_END_ALLOW_THREADS; | |
346 | } Py_INCREF(Py_None); | |
347 | _resultobj = Py_None; | |
348 | return _resultobj; | |
349 | } | |
350 | ||
351 | #define wxsLSEditorPlugin_OnDelete(_swigobj) (_swigobj->OnDelete()) | |
352 | static PyObject *_wrap_wxsLSEditorPlugin_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
353 | PyObject * _resultobj; | |
354 | wxsLSEditorPlugin * _arg0; | |
355 | PyObject * _argo0 = 0; | |
356 | char *_kwnames[] = { "self", NULL }; | |
357 | ||
358 | self = self; | |
359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnDelete",_kwnames,&_argo0)) | |
360 | return NULL; | |
361 | if (_argo0) { | |
362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnDelete. Expected _wxsLSEditorPlugin_p."); | |
365 | return NULL; | |
366 | } | |
367 | } | |
368 | { | |
369 | wxPy_BEGIN_ALLOW_THREADS; | |
370 | wxsLSEditorPlugin_OnDelete(_arg0); | |
371 | ||
372 | wxPy_END_ALLOW_THREADS; | |
373 | } Py_INCREF(Py_None); | |
374 | _resultobj = Py_None; | |
375 | return _resultobj; | |
376 | } | |
377 | ||
378 | #define wxsLSEditorPlugin_OnUndo(_swigobj) (_swigobj->OnUndo()) | |
379 | static PyObject *_wrap_wxsLSEditorPlugin_OnUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
380 | PyObject * _resultobj; | |
381 | wxsLSEditorPlugin * _arg0; | |
382 | PyObject * _argo0 = 0; | |
383 | char *_kwnames[] = { "self", NULL }; | |
384 | ||
385 | self = self; | |
386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnUndo",_kwnames,&_argo0)) | |
387 | return NULL; | |
388 | if (_argo0) { | |
389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnUndo. Expected _wxsLSEditorPlugin_p."); | |
392 | return NULL; | |
393 | } | |
394 | } | |
395 | { | |
396 | wxPy_BEGIN_ALLOW_THREADS; | |
397 | wxsLSEditorPlugin_OnUndo(_arg0); | |
398 | ||
399 | wxPy_END_ALLOW_THREADS; | |
400 | } Py_INCREF(Py_None); | |
401 | _resultobj = Py_None; | |
402 | return _resultobj; | |
403 | } | |
404 | ||
405 | #define wxsLSEditorPlugin_OnRedo(_swigobj) (_swigobj->OnRedo()) | |
406 | static PyObject *_wrap_wxsLSEditorPlugin_OnRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
407 | PyObject * _resultobj; | |
408 | wxsLSEditorPlugin * _arg0; | |
409 | PyObject * _argo0 = 0; | |
410 | char *_kwnames[] = { "self", NULL }; | |
411 | ||
412 | self = self; | |
413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnRedo",_kwnames,&_argo0)) | |
414 | return NULL; | |
415 | if (_argo0) { | |
416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnRedo. Expected _wxsLSEditorPlugin_p."); | |
419 | return NULL; | |
420 | } | |
421 | } | |
422 | { | |
423 | wxPy_BEGIN_ALLOW_THREADS; | |
424 | wxsLSEditorPlugin_OnRedo(_arg0); | |
425 | ||
426 | wxPy_END_ALLOW_THREADS; | |
427 | } Py_INCREF(Py_None); | |
428 | _resultobj = Py_None; | |
429 | return _resultobj; | |
430 | } | |
431 | ||
432 | #define wxsLSEditorPlugin_SelectAll(_swigobj) (_swigobj->SelectAll()) | |
433 | static PyObject *_wrap_wxsLSEditorPlugin_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
434 | PyObject * _resultobj; | |
435 | wxsLSEditorPlugin * _arg0; | |
436 | PyObject * _argo0 = 0; | |
437 | char *_kwnames[] = { "self", NULL }; | |
438 | ||
439 | self = self; | |
440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_SelectAll",_kwnames,&_argo0)) | |
441 | return NULL; | |
442 | if (_argo0) { | |
443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_SelectAll. Expected _wxsLSEditorPlugin_p."); | |
446 | return NULL; | |
447 | } | |
448 | } | |
449 | { | |
450 | wxPy_BEGIN_ALLOW_THREADS; | |
451 | wxsLSEditorPlugin_SelectAll(_arg0); | |
452 | ||
453 | wxPy_END_ALLOW_THREADS; | |
454 | } Py_INCREF(Py_None); | |
455 | _resultobj = Py_None; | |
456 | return _resultobj; | |
457 | } | |
458 | ||
459 | #define wxsLSEditorPlugin_OnGotoLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->OnGotoLine(_swigarg0,_swigarg1)) | |
460 | static PyObject *_wrap_wxsLSEditorPlugin_OnGotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
461 | PyObject * _resultobj; | |
462 | wxsLSEditorPlugin * _arg0; | |
463 | int _arg1; | |
464 | int _arg2 = (int ) 0; | |
465 | PyObject * _argo0 = 0; | |
466 | char *_kwnames[] = { "self","lineNo","column", NULL }; | |
467 | ||
468 | self = self; | |
469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxsLSEditorPlugin_OnGotoLine",_kwnames,&_argo0,&_arg1,&_arg2)) | |
470 | return NULL; | |
471 | if (_argo0) { | |
472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnGotoLine. Expected _wxsLSEditorPlugin_p."); | |
475 | return NULL; | |
476 | } | |
477 | } | |
478 | { | |
479 | wxPy_BEGIN_ALLOW_THREADS; | |
480 | wxsLSEditorPlugin_OnGotoLine(_arg0,_arg1,_arg2); | |
481 | ||
482 | wxPy_END_ALLOW_THREADS; | |
483 | } Py_INCREF(Py_None); | |
484 | _resultobj = Py_None; | |
485 | return _resultobj; | |
486 | } | |
487 | ||
488 | #define wxsLSEditorPlugin_OnProperties(_swigobj) (_swigobj->OnProperties()) | |
489 | static PyObject *_wrap_wxsLSEditorPlugin_OnProperties(PyObject *self, PyObject *args, PyObject *kwargs) { | |
490 | PyObject * _resultobj; | |
491 | wxsLSEditorPlugin * _arg0; | |
492 | PyObject * _argo0 = 0; | |
493 | char *_kwnames[] = { "self", NULL }; | |
494 | ||
495 | self = self; | |
496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnProperties",_kwnames,&_argo0)) | |
497 | return NULL; | |
498 | if (_argo0) { | |
499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnProperties. Expected _wxsLSEditorPlugin_p."); | |
502 | return NULL; | |
503 | } | |
504 | } | |
505 | { | |
506 | wxPy_BEGIN_ALLOW_THREADS; | |
507 | wxsLSEditorPlugin_OnProperties(_arg0); | |
508 | ||
509 | wxPy_END_ALLOW_THREADS; | |
510 | } Py_INCREF(Py_None); | |
511 | _resultobj = Py_None; | |
512 | return _resultobj; | |
513 | } | |
514 | ||
515 | #define wxsLSEditorPlugin_OnFind(_swigobj) (_swigobj->OnFind()) | |
516 | static PyObject *_wrap_wxsLSEditorPlugin_OnFind(PyObject *self, PyObject *args, PyObject *kwargs) { | |
517 | PyObject * _resultobj; | |
518 | wxsLSEditorPlugin * _arg0; | |
519 | PyObject * _argo0 = 0; | |
520 | char *_kwnames[] = { "self", NULL }; | |
521 | ||
522 | self = self; | |
523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnFind",_kwnames,&_argo0)) | |
524 | return NULL; | |
525 | if (_argo0) { | |
526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnFind. Expected _wxsLSEditorPlugin_p."); | |
529 | return NULL; | |
530 | } | |
531 | } | |
532 | { | |
533 | wxPy_BEGIN_ALLOW_THREADS; | |
534 | wxsLSEditorPlugin_OnFind(_arg0); | |
535 | ||
536 | wxPy_END_ALLOW_THREADS; | |
537 | } Py_INCREF(Py_None); | |
538 | _resultobj = Py_None; | |
539 | return _resultobj; | |
540 | } | |
541 | ||
542 | #define wxsLSEditorPlugin_OnFindNext(_swigobj) (_swigobj->OnFindNext()) | |
543 | static PyObject *_wrap_wxsLSEditorPlugin_OnFindNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
544 | PyObject * _resultobj; | |
545 | wxsLSEditorPlugin * _arg0; | |
546 | PyObject * _argo0 = 0; | |
547 | char *_kwnames[] = { "self", NULL }; | |
548 | ||
549 | self = self; | |
550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnFindNext",_kwnames,&_argo0)) | |
551 | return NULL; | |
552 | if (_argo0) { | |
553 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
554 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnFindNext. Expected _wxsLSEditorPlugin_p."); | |
556 | return NULL; | |
557 | } | |
558 | } | |
559 | { | |
560 | wxPy_BEGIN_ALLOW_THREADS; | |
561 | wxsLSEditorPlugin_OnFindNext(_arg0); | |
562 | ||
563 | wxPy_END_ALLOW_THREADS; | |
564 | } Py_INCREF(Py_None); | |
565 | _resultobj = Py_None; | |
566 | return _resultobj; | |
567 | } | |
568 | ||
569 | #define wxsLSEditorPlugin_OnFindPrevious(_swigobj) (_swigobj->OnFindPrevious()) | |
570 | static PyObject *_wrap_wxsLSEditorPlugin_OnFindPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
571 | PyObject * _resultobj; | |
572 | wxsLSEditorPlugin * _arg0; | |
573 | PyObject * _argo0 = 0; | |
574 | char *_kwnames[] = { "self", NULL }; | |
575 | ||
576 | self = self; | |
577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnFindPrevious",_kwnames,&_argo0)) | |
578 | return NULL; | |
579 | if (_argo0) { | |
580 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
581 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnFindPrevious. Expected _wxsLSEditorPlugin_p."); | |
583 | return NULL; | |
584 | } | |
585 | } | |
586 | { | |
587 | wxPy_BEGIN_ALLOW_THREADS; | |
588 | wxsLSEditorPlugin_OnFindPrevious(_arg0); | |
589 | ||
590 | wxPy_END_ALLOW_THREADS; | |
591 | } Py_INCREF(Py_None); | |
592 | _resultobj = Py_None; | |
593 | return _resultobj; | |
594 | } | |
595 | ||
596 | #define wxsLSEditorPlugin_OnReplace(_swigobj) (_swigobj->OnReplace()) | |
597 | static PyObject *_wrap_wxsLSEditorPlugin_OnReplace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
598 | PyObject * _resultobj; | |
599 | wxsLSEditorPlugin * _arg0; | |
600 | PyObject * _argo0 = 0; | |
601 | char *_kwnames[] = { "self", NULL }; | |
602 | ||
603 | self = self; | |
604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnReplace",_kwnames,&_argo0)) | |
605 | return NULL; | |
606 | if (_argo0) { | |
607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnReplace. Expected _wxsLSEditorPlugin_p."); | |
610 | return NULL; | |
611 | } | |
612 | } | |
613 | { | |
614 | wxPy_BEGIN_ALLOW_THREADS; | |
615 | wxsLSEditorPlugin_OnReplace(_arg0); | |
616 | ||
617 | wxPy_END_ALLOW_THREADS; | |
618 | } Py_INCREF(Py_None); | |
619 | _resultobj = Py_None; | |
620 | return _resultobj; | |
621 | } | |
622 | ||
623 | #define wxsLSEditorPlugin_OnToggleBookmark(_swigobj) (_swigobj->OnToggleBookmark()) | |
624 | static PyObject *_wrap_wxsLSEditorPlugin_OnToggleBookmark(PyObject *self, PyObject *args, PyObject *kwargs) { | |
625 | PyObject * _resultobj; | |
626 | wxsLSEditorPlugin * _arg0; | |
627 | PyObject * _argo0 = 0; | |
628 | char *_kwnames[] = { "self", NULL }; | |
629 | ||
630 | self = self; | |
631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnToggleBookmark",_kwnames,&_argo0)) | |
632 | return NULL; | |
633 | if (_argo0) { | |
634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnToggleBookmark. Expected _wxsLSEditorPlugin_p."); | |
637 | return NULL; | |
638 | } | |
639 | } | |
640 | { | |
641 | wxPy_BEGIN_ALLOW_THREADS; | |
642 | wxsLSEditorPlugin_OnToggleBookmark(_arg0); | |
643 | ||
644 | wxPy_END_ALLOW_THREADS; | |
645 | } Py_INCREF(Py_None); | |
646 | _resultobj = Py_None; | |
647 | return _resultobj; | |
648 | } | |
649 | ||
650 | #define wxsLSEditorPlugin_OnNextBookmark(_swigobj) (_swigobj->OnNextBookmark()) | |
651 | static PyObject *_wrap_wxsLSEditorPlugin_OnNextBookmark(PyObject *self, PyObject *args, PyObject *kwargs) { | |
652 | PyObject * _resultobj; | |
653 | wxsLSEditorPlugin * _arg0; | |
654 | PyObject * _argo0 = 0; | |
655 | char *_kwnames[] = { "self", NULL }; | |
656 | ||
657 | self = self; | |
658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnNextBookmark",_kwnames,&_argo0)) | |
659 | return NULL; | |
660 | if (_argo0) { | |
661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnNextBookmark. Expected _wxsLSEditorPlugin_p."); | |
664 | return NULL; | |
665 | } | |
666 | } | |
667 | { | |
668 | wxPy_BEGIN_ALLOW_THREADS; | |
669 | wxsLSEditorPlugin_OnNextBookmark(_arg0); | |
670 | ||
671 | wxPy_END_ALLOW_THREADS; | |
672 | } Py_INCREF(Py_None); | |
673 | _resultobj = Py_None; | |
674 | return _resultobj; | |
675 | } | |
676 | ||
677 | #define wxsLSEditorPlugin_OnPreviousBookmark(_swigobj) (_swigobj->OnPreviousBookmark()) | |
678 | static PyObject *_wrap_wxsLSEditorPlugin_OnPreviousBookmark(PyObject *self, PyObject *args, PyObject *kwargs) { | |
679 | PyObject * _resultobj; | |
680 | wxsLSEditorPlugin * _arg0; | |
681 | PyObject * _argo0 = 0; | |
682 | char *_kwnames[] = { "self", NULL }; | |
683 | ||
684 | self = self; | |
685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnPreviousBookmark",_kwnames,&_argo0)) | |
686 | return NULL; | |
687 | if (_argo0) { | |
688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnPreviousBookmark. Expected _wxsLSEditorPlugin_p."); | |
691 | return NULL; | |
692 | } | |
693 | } | |
694 | { | |
695 | wxPy_BEGIN_ALLOW_THREADS; | |
696 | wxsLSEditorPlugin_OnPreviousBookmark(_arg0); | |
697 | ||
698 | wxPy_END_ALLOW_THREADS; | |
699 | } Py_INCREF(Py_None); | |
700 | _resultobj = Py_None; | |
701 | return _resultobj; | |
702 | } | |
703 | ||
704 | #define wxsLSEditorPlugin_OnShowBookmarks(_swigobj) (_swigobj->OnShowBookmarks()) | |
705 | static PyObject *_wrap_wxsLSEditorPlugin_OnShowBookmarks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
706 | PyObject * _resultobj; | |
707 | wxsLSEditorPlugin * _arg0; | |
708 | PyObject * _argo0 = 0; | |
709 | char *_kwnames[] = { "self", NULL }; | |
710 | ||
711 | self = self; | |
712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnShowBookmarks",_kwnames,&_argo0)) | |
713 | return NULL; | |
714 | if (_argo0) { | |
715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_OnShowBookmarks. Expected _wxsLSEditorPlugin_p."); | |
718 | return NULL; | |
719 | } | |
720 | } | |
721 | { | |
722 | wxPy_BEGIN_ALLOW_THREADS; | |
723 | wxsLSEditorPlugin_OnShowBookmarks(_arg0); | |
724 | ||
725 | wxPy_END_ALLOW_THREADS; | |
726 | } Py_INCREF(Py_None); | |
727 | _resultobj = Py_None; | |
728 | return _resultobj; | |
729 | } | |
730 | ||
731 | #define wxsLSEditorPlugin_SetCheckpoint(_swigobj) (_swigobj->SetCheckpoint()) | |
732 | static PyObject *_wrap_wxsLSEditorPlugin_SetCheckpoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
733 | PyObject * _resultobj; | |
734 | wxsLSEditorPlugin * _arg0; | |
735 | PyObject * _argo0 = 0; | |
736 | char *_kwnames[] = { "self", NULL }; | |
737 | ||
738 | self = self; | |
739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_SetCheckpoint",_kwnames,&_argo0)) | |
740 | return NULL; | |
741 | if (_argo0) { | |
742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_SetCheckpoint. Expected _wxsLSEditorPlugin_p."); | |
745 | return NULL; | |
746 | } | |
747 | } | |
748 | { | |
749 | wxPy_BEGIN_ALLOW_THREADS; | |
750 | wxsLSEditorPlugin_SetCheckpoint(_arg0); | |
751 | ||
752 | wxPy_END_ALLOW_THREADS; | |
753 | } Py_INCREF(Py_None); | |
754 | _resultobj = Py_None; | |
755 | return _resultobj; | |
756 | } | |
757 | ||
758 | #define wxsLSEditorPlugin_CheckpointModified(_swigobj) (_swigobj->CheckpointModified()) | |
759 | static PyObject *_wrap_wxsLSEditorPlugin_CheckpointModified(PyObject *self, PyObject *args, PyObject *kwargs) { | |
760 | PyObject * _resultobj; | |
761 | bool _result; | |
762 | wxsLSEditorPlugin * _arg0; | |
763 | PyObject * _argo0 = 0; | |
764 | char *_kwnames[] = { "self", NULL }; | |
765 | ||
766 | self = self; | |
767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CheckpointModified",_kwnames,&_argo0)) | |
768 | return NULL; | |
769 | if (_argo0) { | |
770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_CheckpointModified. Expected _wxsLSEditorPlugin_p."); | |
773 | return NULL; | |
774 | } | |
775 | } | |
776 | { | |
777 | wxPy_BEGIN_ALLOW_THREADS; | |
778 | _result = (bool )wxsLSEditorPlugin_CheckpointModified(_arg0); | |
779 | ||
780 | wxPy_END_ALLOW_THREADS; | |
781 | } _resultobj = Py_BuildValue("i",_result); | |
782 | return _resultobj; | |
783 | } | |
784 | ||
785 | #define wxsLSEditorPlugin_CanCopy(_swigobj) (_swigobj->CanCopy()) | |
786 | static PyObject *_wrap_wxsLSEditorPlugin_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
787 | PyObject * _resultobj; | |
788 | bool _result; | |
789 | wxsLSEditorPlugin * _arg0; | |
790 | PyObject * _argo0 = 0; | |
791 | char *_kwnames[] = { "self", NULL }; | |
792 | ||
793 | self = self; | |
794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanCopy",_kwnames,&_argo0)) | |
795 | return NULL; | |
796 | if (_argo0) { | |
797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_CanCopy. Expected _wxsLSEditorPlugin_p."); | |
800 | return NULL; | |
801 | } | |
802 | } | |
803 | { | |
804 | wxPy_BEGIN_ALLOW_THREADS; | |
805 | _result = (bool )wxsLSEditorPlugin_CanCopy(_arg0); | |
806 | ||
807 | wxPy_END_ALLOW_THREADS; | |
808 | } _resultobj = Py_BuildValue("i",_result); | |
809 | return _resultobj; | |
810 | } | |
811 | ||
812 | #define wxsLSEditorPlugin_CanCut(_swigobj) (_swigobj->CanCut()) | |
813 | static PyObject *_wrap_wxsLSEditorPlugin_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
814 | PyObject * _resultobj; | |
815 | bool _result; | |
816 | wxsLSEditorPlugin * _arg0; | |
817 | PyObject * _argo0 = 0; | |
818 | char *_kwnames[] = { "self", NULL }; | |
819 | ||
820 | self = self; | |
821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanCut",_kwnames,&_argo0)) | |
822 | return NULL; | |
823 | if (_argo0) { | |
824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_CanCut. Expected _wxsLSEditorPlugin_p."); | |
827 | return NULL; | |
828 | } | |
829 | } | |
830 | { | |
831 | wxPy_BEGIN_ALLOW_THREADS; | |
832 | _result = (bool )wxsLSEditorPlugin_CanCut(_arg0); | |
833 | ||
834 | wxPy_END_ALLOW_THREADS; | |
835 | } _resultobj = Py_BuildValue("i",_result); | |
836 | return _resultobj; | |
837 | } | |
838 | ||
839 | #define wxsLSEditorPlugin_CanPaste(_swigobj) (_swigobj->CanPaste()) | |
840 | static PyObject *_wrap_wxsLSEditorPlugin_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
841 | PyObject * _resultobj; | |
842 | bool _result; | |
843 | wxsLSEditorPlugin * _arg0; | |
844 | PyObject * _argo0 = 0; | |
845 | char *_kwnames[] = { "self", NULL }; | |
846 | ||
847 | self = self; | |
848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanPaste",_kwnames,&_argo0)) | |
849 | return NULL; | |
850 | if (_argo0) { | |
851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_CanPaste. Expected _wxsLSEditorPlugin_p."); | |
854 | return NULL; | |
855 | } | |
856 | } | |
857 | { | |
858 | wxPy_BEGIN_ALLOW_THREADS; | |
859 | _result = (bool )wxsLSEditorPlugin_CanPaste(_arg0); | |
860 | ||
861 | wxPy_END_ALLOW_THREADS; | |
862 | } _resultobj = Py_BuildValue("i",_result); | |
863 | return _resultobj; | |
864 | } | |
865 | ||
866 | #define wxsLSEditorPlugin_CanUndo(_swigobj) (_swigobj->CanUndo()) | |
867 | static PyObject *_wrap_wxsLSEditorPlugin_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
868 | PyObject * _resultobj; | |
869 | bool _result; | |
870 | wxsLSEditorPlugin * _arg0; | |
871 | PyObject * _argo0 = 0; | |
872 | char *_kwnames[] = { "self", NULL }; | |
873 | ||
874 | self = self; | |
875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanUndo",_kwnames,&_argo0)) | |
876 | return NULL; | |
877 | if (_argo0) { | |
878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_CanUndo. Expected _wxsLSEditorPlugin_p."); | |
881 | return NULL; | |
882 | } | |
883 | } | |
884 | { | |
885 | wxPy_BEGIN_ALLOW_THREADS; | |
886 | _result = (bool )wxsLSEditorPlugin_CanUndo(_arg0); | |
887 | ||
888 | wxPy_END_ALLOW_THREADS; | |
889 | } _resultobj = Py_BuildValue("i",_result); | |
890 | return _resultobj; | |
891 | } | |
892 | ||
893 | #define wxsLSEditorPlugin_CanRedo(_swigobj) (_swigobj->CanRedo()) | |
894 | static PyObject *_wrap_wxsLSEditorPlugin_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
895 | PyObject * _resultobj; | |
896 | bool _result; | |
897 | wxsLSEditorPlugin * _arg0; | |
898 | PyObject * _argo0 = 0; | |
899 | char *_kwnames[] = { "self", NULL }; | |
900 | ||
901 | self = self; | |
902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanRedo",_kwnames,&_argo0)) | |
903 | return NULL; | |
904 | if (_argo0) { | |
905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_CanRedo. Expected _wxsLSEditorPlugin_p."); | |
908 | return NULL; | |
909 | } | |
910 | } | |
911 | { | |
912 | wxPy_BEGIN_ALLOW_THREADS; | |
913 | _result = (bool )wxsLSEditorPlugin_CanRedo(_arg0); | |
914 | ||
915 | wxPy_END_ALLOW_THREADS; | |
916 | } _resultobj = Py_BuildValue("i",_result); | |
917 | return _resultobj; | |
918 | } | |
919 | ||
920 | #define wxsLSEditorPlugin_GetName(_swigobj) (_swigobj->GetName()) | |
921 | static PyObject *_wrap_wxsLSEditorPlugin_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
922 | PyObject * _resultobj; | |
923 | string * _result; | |
924 | wxsLSEditorPlugin * _arg0; | |
925 | PyObject * _argo0 = 0; | |
926 | char *_kwnames[] = { "self", NULL }; | |
927 | char _ptemp[128]; | |
928 | ||
929 | self = self; | |
930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_GetName",_kwnames,&_argo0)) | |
931 | return NULL; | |
932 | if (_argo0) { | |
933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_GetName. Expected _wxsLSEditorPlugin_p."); | |
936 | return NULL; | |
937 | } | |
938 | } | |
939 | { | |
940 | wxPy_BEGIN_ALLOW_THREADS; | |
941 | _result = new string (wxsLSEditorPlugin_GetName(_arg0)); | |
942 | ||
943 | wxPy_END_ALLOW_THREADS; | |
944 | } SWIG_MakePtr(_ptemp, (void *) _result,"_string_p"); | |
945 | _resultobj = Py_BuildValue("s",_ptemp); | |
946 | return _resultobj; | |
947 | } | |
948 | ||
949 | #define wxsLSEditorPlugin_IsModified(_swigobj) (_swigobj->IsModified()) | |
950 | static PyObject *_wrap_wxsLSEditorPlugin_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) { | |
951 | PyObject * _resultobj; | |
952 | bool _result; | |
953 | wxsLSEditorPlugin * _arg0; | |
954 | PyObject * _argo0 = 0; | |
955 | char *_kwnames[] = { "self", NULL }; | |
956 | ||
957 | self = self; | |
958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_IsModified",_kwnames,&_argo0)) | |
959 | return NULL; | |
960 | if (_argo0) { | |
961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_IsModified. Expected _wxsLSEditorPlugin_p."); | |
964 | return NULL; | |
965 | } | |
966 | } | |
967 | { | |
968 | wxPy_BEGIN_ALLOW_THREADS; | |
969 | _result = (bool )wxsLSEditorPlugin_IsModified(_arg0); | |
970 | ||
971 | wxPy_END_ALLOW_THREADS; | |
972 | } _resultobj = Py_BuildValue("i",_result); | |
973 | return _resultobj; | |
974 | } | |
975 | ||
976 | #define wxsLSEditorPlugin_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
977 | static PyObject *_wrap_wxsLSEditorPlugin_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
978 | PyObject * _resultobj; | |
979 | wxWindow * _result; | |
980 | wxsLSEditorPlugin * _arg0; | |
981 | PyObject * _argo0 = 0; | |
982 | char *_kwnames[] = { "self", NULL }; | |
983 | char _ptemp[128]; | |
984 | ||
985 | self = self; | |
986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_GetWindow",_kwnames,&_argo0)) | |
987 | return NULL; | |
988 | if (_argo0) { | |
989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_GetWindow. Expected _wxsLSEditorPlugin_p."); | |
992 | return NULL; | |
993 | } | |
994 | } | |
995 | { | |
996 | wxPy_BEGIN_ALLOW_THREADS; | |
997 | _result = (wxWindow *)wxsLSEditorPlugin_GetWindow(_arg0); | |
998 | ||
999 | wxPy_END_ALLOW_THREADS; | |
1000 | } if (_result) { | |
1001 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1002 | _resultobj = Py_BuildValue("s",_ptemp); | |
1003 | } else { | |
1004 | Py_INCREF(Py_None); | |
1005 | _resultobj = Py_None; | |
1006 | } | |
1007 | return _resultobj; | |
1008 | } | |
1009 | ||
1010 | #define wxsLSEditorPlugin_SetFileName(_swigobj,_swigarg0) (_swigobj->SetFileName(_swigarg0)) | |
1011 | static PyObject *_wrap_wxsLSEditorPlugin_SetFileName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1012 | PyObject * _resultobj; | |
1013 | wxsLSEditorPlugin * _arg0; | |
1014 | char * _arg1; | |
1015 | PyObject * _argo0 = 0; | |
1016 | char *_kwnames[] = { "self","fname", NULL }; | |
1017 | ||
1018 | self = self; | |
1019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxsLSEditorPlugin_SetFileName",_kwnames,&_argo0,&_arg1)) | |
1020 | return NULL; | |
1021 | if (_argo0) { | |
1022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_SetFileName. Expected _wxsLSEditorPlugin_p."); | |
1025 | return NULL; | |
1026 | } | |
1027 | } | |
1028 | { | |
1029 | wxPy_BEGIN_ALLOW_THREADS; | |
1030 | wxsLSEditorPlugin_SetFileName(_arg0,_arg1); | |
1031 | ||
1032 | wxPy_END_ALLOW_THREADS; | |
1033 | } Py_INCREF(Py_None); | |
1034 | _resultobj = Py_None; | |
1035 | return _resultobj; | |
1036 | } | |
1037 | ||
1038 | #define wxsLSEditorPlugin_HoldCursor(_swigobj,_swigarg0) (_swigobj->HoldCursor(_swigarg0)) | |
1039 | static PyObject *_wrap_wxsLSEditorPlugin_HoldCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1040 | PyObject * _resultobj; | |
1041 | wxsLSEditorPlugin * _arg0; | |
1042 | bool _arg1; | |
1043 | PyObject * _argo0 = 0; | |
1044 | int tempbool1; | |
1045 | char *_kwnames[] = { "self","hold", NULL }; | |
1046 | ||
1047 | self = self; | |
1048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxsLSEditorPlugin_HoldCursor",_kwnames,&_argo0,&tempbool1)) | |
1049 | return NULL; | |
1050 | if (_argo0) { | |
1051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_HoldCursor. Expected _wxsLSEditorPlugin_p."); | |
1054 | return NULL; | |
1055 | } | |
1056 | } | |
1057 | _arg1 = (bool ) tempbool1; | |
1058 | { | |
1059 | wxPy_BEGIN_ALLOW_THREADS; | |
1060 | wxsLSEditorPlugin_HoldCursor(_arg0,_arg1); | |
1061 | ||
1062 | wxPy_END_ALLOW_THREADS; | |
1063 | } Py_INCREF(Py_None); | |
1064 | _resultobj = Py_None; | |
1065 | return _resultobj; | |
1066 | } | |
1067 | ||
1068 | #define wxsLSEditorPlugin_FindWordAtCursor(_swigobj) (_swigobj->FindWordAtCursor()) | |
1069 | static PyObject *_wrap_wxsLSEditorPlugin_FindWordAtCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1070 | PyObject * _resultobj; | |
1071 | string * _result; | |
1072 | wxsLSEditorPlugin * _arg0; | |
1073 | PyObject * _argo0 = 0; | |
1074 | char *_kwnames[] = { "self", NULL }; | |
1075 | char _ptemp[128]; | |
1076 | ||
1077 | self = self; | |
1078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_FindWordAtCursor",_kwnames,&_argo0)) | |
1079 | return NULL; | |
1080 | if (_argo0) { | |
1081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_FindWordAtCursor. Expected _wxsLSEditorPlugin_p."); | |
1084 | return NULL; | |
1085 | } | |
1086 | } | |
1087 | { | |
1088 | wxPy_BEGIN_ALLOW_THREADS; | |
1089 | _result = new string (wxsLSEditorPlugin_FindWordAtCursor(_arg0)); | |
1090 | ||
1091 | wxPy_END_ALLOW_THREADS; | |
1092 | } SWIG_MakePtr(_ptemp, (void *) _result,"_string_p"); | |
1093 | _resultobj = Py_BuildValue("s",_ptemp); | |
1094 | return _resultobj; | |
1095 | } | |
1096 | ||
1097 | #define wxsLSEditorPlugin_GetCursorPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCursorPos(_swigarg0,_swigarg1)) | |
1098 | static PyObject *_wrap_wxsLSEditorPlugin_GetCursorPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1099 | PyObject * _resultobj; | |
1100 | wxsLSEditorPlugin * _arg0; | |
1101 | int * _arg1; | |
1102 | int * _arg2; | |
1103 | PyObject * _argo0 = 0; | |
1104 | PyObject * _argo1 = 0; | |
1105 | PyObject * _argo2 = 0; | |
1106 | char *_kwnames[] = { "self","line","column", NULL }; | |
1107 | ||
1108 | self = self; | |
1109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxsLSEditorPlugin_GetCursorPos",_kwnames,&_argo0,&_argo1,&_argo2)) | |
1110 | return NULL; | |
1111 | if (_argo0) { | |
1112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_GetCursorPos. Expected _wxsLSEditorPlugin_p."); | |
1115 | return NULL; | |
1116 | } | |
1117 | } | |
1118 | if (_argo1) { | |
1119 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1120 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
1121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxsLSEditorPlugin_GetCursorPos. Expected _int_p."); | |
1122 | return NULL; | |
1123 | } | |
1124 | } | |
1125 | if (_argo2) { | |
1126 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1127 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
1128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxsLSEditorPlugin_GetCursorPos. Expected _int_p."); | |
1129 | return NULL; | |
1130 | } | |
1131 | } | |
1132 | { | |
1133 | wxPy_BEGIN_ALLOW_THREADS; | |
1134 | wxsLSEditorPlugin_GetCursorPos(_arg0,_arg1,_arg2); | |
1135 | ||
1136 | wxPy_END_ALLOW_THREADS; | |
1137 | } Py_INCREF(Py_None); | |
1138 | _resultobj = Py_None; | |
1139 | return _resultobj; | |
1140 | } | |
1141 | ||
1142 | #define wxsLSEditorPlugin_SetCursorPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursorPos(_swigarg0,_swigarg1)) | |
1143 | static PyObject *_wrap_wxsLSEditorPlugin_SetCursorPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1144 | PyObject * _resultobj; | |
1145 | wxsLSEditorPlugin * _arg0; | |
1146 | int _arg1; | |
1147 | int _arg2; | |
1148 | PyObject * _argo0 = 0; | |
1149 | char *_kwnames[] = { "self","line","column", NULL }; | |
1150 | ||
1151 | self = self; | |
1152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxsLSEditorPlugin_SetCursorPos",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1153 | return NULL; | |
1154 | if (_argo0) { | |
1155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_SetCursorPos. Expected _wxsLSEditorPlugin_p."); | |
1158 | return NULL; | |
1159 | } | |
1160 | } | |
1161 | { | |
1162 | wxPy_BEGIN_ALLOW_THREADS; | |
1163 | wxsLSEditorPlugin_SetCursorPos(_arg0,_arg1,_arg2); | |
1164 | ||
1165 | wxPy_END_ALLOW_THREADS; | |
1166 | } Py_INCREF(Py_None); | |
1167 | _resultobj = Py_None; | |
1168 | return _resultobj; | |
1169 | } | |
1170 | ||
1171 | #define wxsLSEditorPlugin_GetPagePos(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPagePos(_swigarg0,_swigarg1)) | |
1172 | static PyObject *_wrap_wxsLSEditorPlugin_GetPagePos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1173 | PyObject * _resultobj; | |
1174 | wxsLSEditorPlugin * _arg0; | |
1175 | int * _arg1; | |
1176 | int * _arg2; | |
1177 | PyObject * _argo0 = 0; | |
1178 | PyObject * _argo1 = 0; | |
1179 | PyObject * _argo2 = 0; | |
1180 | char *_kwnames[] = { "self","line","column", NULL }; | |
1181 | ||
1182 | self = self; | |
1183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxsLSEditorPlugin_GetPagePos",_kwnames,&_argo0,&_argo1,&_argo2)) | |
1184 | return NULL; | |
1185 | if (_argo0) { | |
1186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_GetPagePos. Expected _wxsLSEditorPlugin_p."); | |
1189 | return NULL; | |
1190 | } | |
1191 | } | |
1192 | if (_argo1) { | |
1193 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1194 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
1195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxsLSEditorPlugin_GetPagePos. Expected _int_p."); | |
1196 | return NULL; | |
1197 | } | |
1198 | } | |
1199 | if (_argo2) { | |
1200 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1201 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
1202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxsLSEditorPlugin_GetPagePos. Expected _int_p."); | |
1203 | return NULL; | |
1204 | } | |
1205 | } | |
1206 | { | |
1207 | wxPy_BEGIN_ALLOW_THREADS; | |
1208 | wxsLSEditorPlugin_GetPagePos(_arg0,_arg1,_arg2); | |
1209 | ||
1210 | wxPy_END_ALLOW_THREADS; | |
1211 | } Py_INCREF(Py_None); | |
1212 | _resultobj = Py_None; | |
1213 | return _resultobj; | |
1214 | } | |
1215 | ||
1216 | #define wxsLSEditorPlugin_GetText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1217 | static PyObject *_wrap_wxsLSEditorPlugin_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1218 | PyObject * _resultobj; | |
1219 | wxsLSEditorPlugin * _arg0; | |
1220 | int _arg1; | |
1221 | int _arg2; | |
1222 | int _arg3; | |
1223 | int _arg4; | |
1224 | char ** _arg5; | |
1225 | size_t * _arg6; | |
1226 | PyObject * _argo0 = 0; | |
1227 | PyObject * _argo5 = 0; | |
1228 | PyObject * _argo6 = 0; | |
1229 | char *_kwnames[] = { "self","fromLine","fromColumn","tillLine","tillColumn","ppBuf","length", NULL }; | |
1230 | ||
1231 | self = self; | |
1232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiiOO:wxsLSEditorPlugin_GetText",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_argo6)) | |
1233 | return NULL; | |
1234 | if (_argo0) { | |
1235 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1236 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_GetText. Expected _wxsLSEditorPlugin_p."); | |
1238 | return NULL; | |
1239 | } | |
1240 | } | |
1241 | if (_argo5) { | |
1242 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
1243 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_char_pp")) { | |
1244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxsLSEditorPlugin_GetText. Expected _char_pp."); | |
1245 | return NULL; | |
1246 | } | |
1247 | } | |
1248 | if (_argo6) { | |
1249 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
1250 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_size_t_p")) { | |
1251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxsLSEditorPlugin_GetText. Expected _size_t_p."); | |
1252 | return NULL; | |
1253 | } | |
1254 | } | |
1255 | { | |
1256 | wxPy_BEGIN_ALLOW_THREADS; | |
1257 | wxsLSEditorPlugin_GetText(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1258 | ||
1259 | wxPy_END_ALLOW_THREADS; | |
1260 | } Py_INCREF(Py_None); | |
1261 | _resultobj = Py_None; | |
1262 | return _resultobj; | |
1263 | } | |
1264 | ||
1265 | #define wxsLSEditorPlugin_InsertText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertText(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1266 | static PyObject *_wrap_wxsLSEditorPlugin_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1267 | PyObject * _resultobj; | |
1268 | wxsLSEditorPlugin * _arg0; | |
1269 | int _arg1; | |
1270 | int _arg2; | |
1271 | char * _arg3; | |
1272 | size_t _arg4; | |
1273 | PyObject * _argo0 = 0; | |
1274 | char *_kwnames[] = { "self","line","column","text","lenght", NULL }; | |
1275 | ||
1276 | self = self; | |
1277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiisi:wxsLSEditorPlugin_InsertText",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1278 | return NULL; | |
1279 | if (_argo0) { | |
1280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_InsertText. Expected _wxsLSEditorPlugin_p."); | |
1283 | return NULL; | |
1284 | } | |
1285 | } | |
1286 | { | |
1287 | wxPy_BEGIN_ALLOW_THREADS; | |
1288 | wxsLSEditorPlugin_InsertText(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1289 | ||
1290 | wxPy_END_ALLOW_THREADS; | |
1291 | } Py_INCREF(Py_None); | |
1292 | _resultobj = Py_None; | |
1293 | return _resultobj; | |
1294 | } | |
1295 | ||
1296 | #define wxsLSEditorPlugin_DeleteText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DeleteText(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1297 | static PyObject *_wrap_wxsLSEditorPlugin_DeleteText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1298 | PyObject * _resultobj; | |
1299 | wxsLSEditorPlugin * _arg0; | |
1300 | int _arg1; | |
1301 | int _arg2; | |
1302 | int _arg3; | |
1303 | int _arg4; | |
1304 | PyObject * _argo0 = 0; | |
1305 | char *_kwnames[] = { "self","fromLine","fromColumn","tillLine","tillColumn", NULL }; | |
1306 | ||
1307 | self = self; | |
1308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxsLSEditorPlugin_DeleteText",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1309 | return NULL; | |
1310 | if (_argo0) { | |
1311 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1312 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_DeleteText. Expected _wxsLSEditorPlugin_p."); | |
1314 | return NULL; | |
1315 | } | |
1316 | } | |
1317 | { | |
1318 | wxPy_BEGIN_ALLOW_THREADS; | |
1319 | wxsLSEditorPlugin_DeleteText(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1320 | ||
1321 | wxPy_END_ALLOW_THREADS; | |
1322 | } Py_INCREF(Py_None); | |
1323 | _resultobj = Py_None; | |
1324 | return _resultobj; | |
1325 | } | |
1326 | ||
1327 | #define wxsLSEditorPlugin_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1328 | static PyObject *_wrap_wxsLSEditorPlugin_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1329 | PyObject * _resultobj; | |
1330 | wxsLSEditorPlugin * _arg0; | |
1331 | int _arg1; | |
1332 | int _arg2; | |
1333 | int * _arg3; | |
1334 | int * _arg4; | |
1335 | PyObject * _argo0 = 0; | |
1336 | int temp; | |
1337 | PyObject * _obj3 = 0; | |
1338 | int temp0; | |
1339 | PyObject * _obj4 = 0; | |
1340 | char *_kwnames[] = { "self","line","column","x","y", NULL }; | |
1341 | ||
1342 | self = self; | |
1343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxsLSEditorPlugin_PositionToXY",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) | |
1344 | return NULL; | |
1345 | if (_argo0) { | |
1346 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1347 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_PositionToXY. Expected _wxsLSEditorPlugin_p."); | |
1349 | return NULL; | |
1350 | } | |
1351 | } | |
1352 | { | |
1353 | temp = (int) PyInt_AsLong(_obj3); | |
1354 | _arg3 = &temp; | |
1355 | } | |
1356 | { | |
1357 | temp0 = (int) PyInt_AsLong(_obj4); | |
1358 | _arg4 = &temp0; | |
1359 | } | |
1360 | { | |
1361 | wxPy_BEGIN_ALLOW_THREADS; | |
1362 | wxsLSEditorPlugin_PositionToXY(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1363 | ||
1364 | wxPy_END_ALLOW_THREADS; | |
1365 | } Py_INCREF(Py_None); | |
1366 | _resultobj = Py_None; | |
1367 | { | |
1368 | PyObject *o; | |
1369 | o = PyInt_FromLong((long) (*_arg3)); | |
1370 | _resultobj = t_output_helper(_resultobj, o); | |
1371 | } | |
1372 | { | |
1373 | PyObject *o; | |
1374 | o = PyInt_FromLong((long) (*_arg4)); | |
1375 | _resultobj = t_output_helper(_resultobj, o); | |
1376 | } | |
1377 | return _resultobj; | |
1378 | } | |
1379 | ||
1380 | #define wxsLSEditorPlugin_GetSelectionRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetSelectionRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1381 | static PyObject *_wrap_wxsLSEditorPlugin_GetSelectionRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1382 | PyObject * _resultobj; | |
1383 | wxsLSEditorPlugin * _arg0; | |
1384 | int * _arg1; | |
1385 | int * _arg2; | |
1386 | int * _arg3; | |
1387 | int * _arg4; | |
1388 | PyObject * _argo0 = 0; | |
1389 | PyObject * _argo1 = 0; | |
1390 | PyObject * _argo2 = 0; | |
1391 | PyObject * _argo3 = 0; | |
1392 | PyObject * _argo4 = 0; | |
1393 | char *_kwnames[] = { "self","fromLine","fromColumn","tillLine","tillColumn", NULL }; | |
1394 | ||
1395 | self = self; | |
1396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxsLSEditorPlugin_GetSelectionRange",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4)) | |
1397 | return NULL; | |
1398 | if (_argo0) { | |
1399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_GetSelectionRange. Expected _wxsLSEditorPlugin_p."); | |
1402 | return NULL; | |
1403 | } | |
1404 | } | |
1405 | if (_argo1) { | |
1406 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1407 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) { | |
1408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxsLSEditorPlugin_GetSelectionRange. Expected _int_p."); | |
1409 | return NULL; | |
1410 | } | |
1411 | } | |
1412 | if (_argo2) { | |
1413 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1414 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_int_p")) { | |
1415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxsLSEditorPlugin_GetSelectionRange. Expected _int_p."); | |
1416 | return NULL; | |
1417 | } | |
1418 | } | |
1419 | if (_argo3) { | |
1420 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1421 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) { | |
1422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxsLSEditorPlugin_GetSelectionRange. Expected _int_p."); | |
1423 | return NULL; | |
1424 | } | |
1425 | } | |
1426 | if (_argo4) { | |
1427 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
1428 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) { | |
1429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxsLSEditorPlugin_GetSelectionRange. Expected _int_p."); | |
1430 | return NULL; | |
1431 | } | |
1432 | } | |
1433 | { | |
1434 | wxPy_BEGIN_ALLOW_THREADS; | |
1435 | wxsLSEditorPlugin_GetSelectionRange(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1436 | ||
1437 | wxPy_END_ALLOW_THREADS; | |
1438 | } Py_INCREF(Py_None); | |
1439 | _resultobj = Py_None; | |
1440 | return _resultobj; | |
1441 | } | |
1442 | ||
1443 | #define wxsLSEditorPlugin_GetCharacterSize(_swigobj) (_swigobj->GetCharacterSize()) | |
1444 | static PyObject *_wrap_wxsLSEditorPlugin_GetCharacterSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1445 | PyObject * _resultobj; | |
1446 | wxSize * _result; | |
1447 | wxsLSEditorPlugin * _arg0; | |
1448 | PyObject * _argo0 = 0; | |
1449 | char *_kwnames[] = { "self", NULL }; | |
1450 | char _ptemp[128]; | |
1451 | ||
1452 | self = self; | |
1453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_GetCharacterSize",_kwnames,&_argo0)) | |
1454 | return NULL; | |
1455 | if (_argo0) { | |
1456 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1457 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_GetCharacterSize. Expected _wxsLSEditorPlugin_p."); | |
1459 | return NULL; | |
1460 | } | |
1461 | } | |
1462 | { | |
1463 | wxPy_BEGIN_ALLOW_THREADS; | |
1464 | _result = new wxSize (wxsLSEditorPlugin_GetCharacterSize(_arg0)); | |
1465 | ||
1466 | wxPy_END_ALLOW_THREADS; | |
1467 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1468 | _resultobj = Py_BuildValue("s",_ptemp); | |
1469 | return _resultobj; | |
1470 | } | |
1471 | ||
1472 | #define wxsLSEditorPlugin_IsUnixText(_swigobj) (_swigobj->IsUnixText()) | |
1473 | static PyObject *_wrap_wxsLSEditorPlugin_IsUnixText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1474 | PyObject * _resultobj; | |
1475 | bool _result; | |
1476 | wxsLSEditorPlugin * _arg0; | |
1477 | PyObject * _argo0 = 0; | |
1478 | char *_kwnames[] = { "self", NULL }; | |
1479 | ||
1480 | self = self; | |
1481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_IsUnixText",_kwnames,&_argo0)) | |
1482 | return NULL; | |
1483 | if (_argo0) { | |
1484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxsLSEditorPlugin_p")) { | |
1486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxsLSEditorPlugin_IsUnixText. Expected _wxsLSEditorPlugin_p."); | |
1487 | return NULL; | |
1488 | } | |
1489 | } | |
1490 | { | |
1491 | wxPy_BEGIN_ALLOW_THREADS; | |
1492 | _result = (bool )wxsLSEditorPlugin_IsUnixText(_arg0); | |
1493 | ||
1494 | wxPy_END_ALLOW_THREADS; | |
1495 | } _resultobj = Py_BuildValue("i",_result); | |
1496 | return _resultobj; | |
1497 | } | |
1498 | ||
1499 | static PyMethodDef lseditorcMethods[] = { | |
1500 | { "wxsLSEditorPlugin_IsUnixText", (PyCFunction) _wrap_wxsLSEditorPlugin_IsUnixText, METH_VARARGS | METH_KEYWORDS }, | |
1501 | { "wxsLSEditorPlugin_GetCharacterSize", (PyCFunction) _wrap_wxsLSEditorPlugin_GetCharacterSize, METH_VARARGS | METH_KEYWORDS }, | |
1502 | { "wxsLSEditorPlugin_GetSelectionRange", (PyCFunction) _wrap_wxsLSEditorPlugin_GetSelectionRange, METH_VARARGS | METH_KEYWORDS }, | |
1503 | { "wxsLSEditorPlugin_PositionToXY", (PyCFunction) _wrap_wxsLSEditorPlugin_PositionToXY, METH_VARARGS | METH_KEYWORDS }, | |
1504 | { "wxsLSEditorPlugin_DeleteText", (PyCFunction) _wrap_wxsLSEditorPlugin_DeleteText, METH_VARARGS | METH_KEYWORDS }, | |
1505 | { "wxsLSEditorPlugin_InsertText", (PyCFunction) _wrap_wxsLSEditorPlugin_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
1506 | { "wxsLSEditorPlugin_GetText", (PyCFunction) _wrap_wxsLSEditorPlugin_GetText, METH_VARARGS | METH_KEYWORDS }, | |
1507 | { "wxsLSEditorPlugin_GetPagePos", (PyCFunction) _wrap_wxsLSEditorPlugin_GetPagePos, METH_VARARGS | METH_KEYWORDS }, | |
1508 | { "wxsLSEditorPlugin_SetCursorPos", (PyCFunction) _wrap_wxsLSEditorPlugin_SetCursorPos, METH_VARARGS | METH_KEYWORDS }, | |
1509 | { "wxsLSEditorPlugin_GetCursorPos", (PyCFunction) _wrap_wxsLSEditorPlugin_GetCursorPos, METH_VARARGS | METH_KEYWORDS }, | |
1510 | { "wxsLSEditorPlugin_FindWordAtCursor", (PyCFunction) _wrap_wxsLSEditorPlugin_FindWordAtCursor, METH_VARARGS | METH_KEYWORDS }, | |
1511 | { "wxsLSEditorPlugin_HoldCursor", (PyCFunction) _wrap_wxsLSEditorPlugin_HoldCursor, METH_VARARGS | METH_KEYWORDS }, | |
1512 | { "wxsLSEditorPlugin_SetFileName", (PyCFunction) _wrap_wxsLSEditorPlugin_SetFileName, METH_VARARGS | METH_KEYWORDS }, | |
1513 | { "wxsLSEditorPlugin_GetWindow", (PyCFunction) _wrap_wxsLSEditorPlugin_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
1514 | { "wxsLSEditorPlugin_IsModified", (PyCFunction) _wrap_wxsLSEditorPlugin_IsModified, METH_VARARGS | METH_KEYWORDS }, | |
1515 | { "wxsLSEditorPlugin_GetName", (PyCFunction) _wrap_wxsLSEditorPlugin_GetName, METH_VARARGS | METH_KEYWORDS }, | |
1516 | { "wxsLSEditorPlugin_CanRedo", (PyCFunction) _wrap_wxsLSEditorPlugin_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
1517 | { "wxsLSEditorPlugin_CanUndo", (PyCFunction) _wrap_wxsLSEditorPlugin_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
1518 | { "wxsLSEditorPlugin_CanPaste", (PyCFunction) _wrap_wxsLSEditorPlugin_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
1519 | { "wxsLSEditorPlugin_CanCut", (PyCFunction) _wrap_wxsLSEditorPlugin_CanCut, METH_VARARGS | METH_KEYWORDS }, | |
1520 | { "wxsLSEditorPlugin_CanCopy", (PyCFunction) _wrap_wxsLSEditorPlugin_CanCopy, METH_VARARGS | METH_KEYWORDS }, | |
1521 | { "wxsLSEditorPlugin_CheckpointModified", (PyCFunction) _wrap_wxsLSEditorPlugin_CheckpointModified, METH_VARARGS | METH_KEYWORDS }, | |
1522 | { "wxsLSEditorPlugin_SetCheckpoint", (PyCFunction) _wrap_wxsLSEditorPlugin_SetCheckpoint, METH_VARARGS | METH_KEYWORDS }, | |
1523 | { "wxsLSEditorPlugin_OnShowBookmarks", (PyCFunction) _wrap_wxsLSEditorPlugin_OnShowBookmarks, METH_VARARGS | METH_KEYWORDS }, | |
1524 | { "wxsLSEditorPlugin_OnPreviousBookmark", (PyCFunction) _wrap_wxsLSEditorPlugin_OnPreviousBookmark, METH_VARARGS | METH_KEYWORDS }, | |
1525 | { "wxsLSEditorPlugin_OnNextBookmark", (PyCFunction) _wrap_wxsLSEditorPlugin_OnNextBookmark, METH_VARARGS | METH_KEYWORDS }, | |
1526 | { "wxsLSEditorPlugin_OnToggleBookmark", (PyCFunction) _wrap_wxsLSEditorPlugin_OnToggleBookmark, METH_VARARGS | METH_KEYWORDS }, | |
1527 | { "wxsLSEditorPlugin_OnReplace", (PyCFunction) _wrap_wxsLSEditorPlugin_OnReplace, METH_VARARGS | METH_KEYWORDS }, | |
1528 | { "wxsLSEditorPlugin_OnFindPrevious", (PyCFunction) _wrap_wxsLSEditorPlugin_OnFindPrevious, METH_VARARGS | METH_KEYWORDS }, | |
1529 | { "wxsLSEditorPlugin_OnFindNext", (PyCFunction) _wrap_wxsLSEditorPlugin_OnFindNext, METH_VARARGS | METH_KEYWORDS }, | |
1530 | { "wxsLSEditorPlugin_OnFind", (PyCFunction) _wrap_wxsLSEditorPlugin_OnFind, METH_VARARGS | METH_KEYWORDS }, | |
1531 | { "wxsLSEditorPlugin_OnProperties", (PyCFunction) _wrap_wxsLSEditorPlugin_OnProperties, METH_VARARGS | METH_KEYWORDS }, | |
1532 | { "wxsLSEditorPlugin_OnGotoLine", (PyCFunction) _wrap_wxsLSEditorPlugin_OnGotoLine, METH_VARARGS | METH_KEYWORDS }, | |
1533 | { "wxsLSEditorPlugin_SelectAll", (PyCFunction) _wrap_wxsLSEditorPlugin_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
1534 | { "wxsLSEditorPlugin_OnRedo", (PyCFunction) _wrap_wxsLSEditorPlugin_OnRedo, METH_VARARGS | METH_KEYWORDS }, | |
1535 | { "wxsLSEditorPlugin_OnUndo", (PyCFunction) _wrap_wxsLSEditorPlugin_OnUndo, METH_VARARGS | METH_KEYWORDS }, | |
1536 | { "wxsLSEditorPlugin_OnDelete", (PyCFunction) _wrap_wxsLSEditorPlugin_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
1537 | { "wxsLSEditorPlugin_OnPaste", (PyCFunction) _wrap_wxsLSEditorPlugin_OnPaste, METH_VARARGS | METH_KEYWORDS }, | |
1538 | { "wxsLSEditorPlugin_OnCut", (PyCFunction) _wrap_wxsLSEditorPlugin_OnCut, METH_VARARGS | METH_KEYWORDS }, | |
1539 | { "wxsLSEditorPlugin_OnCopy", (PyCFunction) _wrap_wxsLSEditorPlugin_OnCopy, METH_VARARGS | METH_KEYWORDS }, | |
1540 | { "wxsLSEditorPlugin_OnSave", (PyCFunction) _wrap_wxsLSEditorPlugin_OnSave, METH_VARARGS | METH_KEYWORDS }, | |
1541 | { "wxsLSEditorPlugin_OnOpen", (PyCFunction) _wrap_wxsLSEditorPlugin_OnOpen, METH_VARARGS | METH_KEYWORDS }, | |
1542 | { "wxsLSEditorPlugin_Create", (PyCFunction) _wrap_wxsLSEditorPlugin_Create, METH_VARARGS | METH_KEYWORDS }, | |
1543 | { "delete_wxsLSEditorPlugin", (PyCFunction) _wrap_delete_wxsLSEditorPlugin, METH_VARARGS | METH_KEYWORDS }, | |
1544 | { "new_wxsLSEditorPlugin", (PyCFunction) _wrap_new_wxsLSEditorPlugin, METH_VARARGS | METH_KEYWORDS }, | |
1545 | { NULL, NULL } | |
1546 | }; | |
1547 | #ifdef __cplusplus | |
1548 | } | |
1549 | #endif | |
1550 | /* | |
1551 | * This table is used by the pointer type-checker | |
1552 | */ | |
1553 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
1554 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
1555 | { "_wxEvent","_class_wxEvent",0}, | |
1556 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
1557 | { "_signed_long","_long",0}, | |
1558 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
1559 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
1560 | { "_wxBMPHandler","_class_wxBMPHandler",0}, | |
1561 | { "_wxImage","_class_wxImage",0}, | |
1562 | { "_wxPrintQuality","_int",0}, | |
1563 | { "_wxPrintQuality","_signed_int",0}, | |
1564 | { "_wxPrintQuality","_unsigned_int",0}, | |
1565 | { "_wxPrintQuality","_wxWindowID",0}, | |
1566 | { "_wxPrintQuality","_uint",0}, | |
1567 | { "_wxPrintQuality","_EBool",0}, | |
1568 | { "_wxPrintQuality","_size_t",0}, | |
1569 | { "_wxFontData","_class_wxFontData",0}, | |
1570 | { "___wxPyCleanup","_class___wxPyCleanup",0}, | |
1571 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
1572 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
1573 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
1574 | { "_wxsLSEditorPlugin","_class_wxsLSEditorPlugin",0}, | |
1575 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
1576 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
1577 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
1578 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
1579 | { "_wxCursor","_class_wxCursor",0}, | |
1580 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
1581 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
1582 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, | |
1583 | { "_wxMask","_class_wxMask",0}, | |
1584 | { "_wxToolTip","_class_wxToolTip",0}, | |
1585 | { "_wxGrid","_class_wxGrid",0}, | |
1586 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
1587 | { "_class_wxColourData","_wxColourData",0}, | |
1588 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
1589 | { "_wxPrinter","_class_wxPrinter",0}, | |
1590 | { "_wxPen","_class_wxPen",0}, | |
1591 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
1592 | { "_byte","_unsigned_char",0}, | |
1593 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
1594 | { "_wxChoice","_class_wxChoice",0}, | |
1595 | { "_wxSlider","_class_wxSlider",0}, | |
1596 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
1597 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
1598 | { "_long","_wxDash",0}, | |
1599 | { "_long","_unsigned_long",0}, | |
1600 | { "_long","_signed_long",0}, | |
1601 | { "_wxImageList","_class_wxImageList",0}, | |
1602 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
1603 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
1604 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
1605 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
1606 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
1607 | { "_class_wxGauge","_wxGauge",0}, | |
1608 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
1609 | { "_wxDC","_class_wxDC",0}, | |
1610 | { "_wxListEvent","_class_wxListEvent",0}, | |
1611 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
1612 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
1613 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
1614 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
1615 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
1616 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
1617 | { "_size_t","_wxPrintQuality",0}, | |
1618 | { "_size_t","_unsigned_int",0}, | |
1619 | { "_size_t","_int",0}, | |
1620 | { "_size_t","_wxWindowID",0}, | |
1621 | { "_size_t","_uint",0}, | |
1622 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
1623 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
1624 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
1625 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
1626 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
1627 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
1628 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
1629 | { "_wxPanel","_class_wxPanel",0}, | |
1630 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
1631 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
1632 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
1633 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
1634 | { "_class_wxMask","_wxMask",0}, | |
1635 | { "_class_wxToolTip","_wxToolTip",0}, | |
1636 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
1637 | { "_class_wxGrid","_wxGrid",0}, | |
1638 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
1639 | { "_wxColour","_class_wxColour",0}, | |
1640 | { "_class_wxDialog","_wxDialog",0}, | |
1641 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
1642 | { "_class_wxPrinter","_wxPrinter",0}, | |
1643 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
1644 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
1645 | { "_wxToolBar","_class_wxToolBar",0}, | |
1646 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
1647 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
1648 | { "_wxBrush","_class_wxBrush",0}, | |
1649 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
1650 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
1651 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
1652 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
1653 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
1654 | { "_uint","_wxPrintQuality",0}, | |
1655 | { "_uint","_size_t",0}, | |
1656 | { "_uint","_unsigned_int",0}, | |
1657 | { "_uint","_int",0}, | |
1658 | { "_uint","_wxWindowID",0}, | |
1659 | { "_class_wxEvent","_wxEvent",0}, | |
1660 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
1661 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
1662 | { "_wxGridEvent","_class_wxGridEvent",0}, | |
1663 | { "_wxRect","_class_wxRect",0}, | |
1664 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
1665 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
1666 | { "_class_wxImage","_wxImage",0}, | |
1667 | { "_wxPoint","_class_wxPoint",0}, | |
1668 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
1669 | { "_class_wxButton","_wxButton",0}, | |
1670 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
1671 | { "_class_wxFontData","_wxFontData",0}, | |
1672 | { "_class___wxPyCleanup","___wxPyCleanup",0}, | |
1673 | { "_wxBitmap","_class_wxBitmap",0}, | |
1674 | { "_wxPrintDialog","_class_wxPrintDialog",0}, | |
1675 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
1676 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
1677 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
1678 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
1679 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
1680 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
1681 | { "_wxPrintData","_class_wxPrintData",0}, | |
1682 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
1683 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
1684 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
1685 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
1686 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
1687 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
1688 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
1689 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
1690 | { "_wxListItem","_class_wxListItem",0}, | |
1691 | { "_class_wxToolBar","_wxToolBar",0}, | |
1692 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
1693 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
1694 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
1695 | { "_EBool","_wxPrintQuality",0}, | |
1696 | { "_EBool","_signed_int",0}, | |
1697 | { "_EBool","_int",0}, | |
1698 | { "_EBool","_wxWindowID",0}, | |
1699 | { "_class_wxRegion","_wxRegion",0}, | |
1700 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
1701 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
1702 | { "_wxStaticText","_class_wxStaticText",0}, | |
1703 | { "_wxFont","_class_wxFont",0}, | |
1704 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
1705 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
1706 | { "_wxNotebook","_class_wxNotebook",0}, | |
1707 | { "_unsigned_long","_wxDash",0}, | |
1708 | { "_unsigned_long","_long",0}, | |
1709 | { "_class_wxRect","_wxRect",0}, | |
1710 | { "_class_wxDC","_wxDC",0}, | |
1711 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
1712 | { "_wxPyApp","_class_wxPyApp",0}, | |
1713 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
1714 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
1715 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
1716 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
1717 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
1718 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
1719 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
1720 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
1721 | { "_class_wxPanel","_wxPanel",0}, | |
1722 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
1723 | { "_wxComboBox","_class_wxComboBox",0}, | |
1724 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
1725 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
1726 | { "_signed_int","_wxPrintQuality",0}, | |
1727 | { "_signed_int","_EBool",0}, | |
1728 | { "_signed_int","_wxWindowID",0}, | |
1729 | { "_signed_int","_int",0}, | |
1730 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
1731 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
1732 | { "_wxMenu","_class_wxMenu",0}, | |
1733 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
1734 | { "_wxListBox","_class_wxListBox",0}, | |
1735 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
1736 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
1737 | { "_WXTYPE","_short",0}, | |
1738 | { "_WXTYPE","_signed_short",0}, | |
1739 | { "_WXTYPE","_unsigned_short",0}, | |
1740 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
1741 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
1742 | { "_class_wxBrush","_wxBrush",0}, | |
1743 | { "_unsigned_short","_WXTYPE",0}, | |
1744 | { "_unsigned_short","_short",0}, | |
1745 | { "_class_wxWindow","_wxWindow",0}, | |
1746 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
1747 | { "_class_wxStaticText","_wxStaticText",0}, | |
1748 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
1749 | { "_class_wxFont","_wxFont",0}, | |
1750 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
1751 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
1752 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
1753 | { "_wxClientDC","_class_wxClientDC",0}, | |
1754 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
1755 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
1756 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
1757 | { "_class_wxPoint","_wxPoint",0}, | |
1758 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
1759 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
1760 | { "_wxGridCell","_class_wxGridCell",0}, | |
1761 | { "_signed_short","_WXTYPE",0}, | |
1762 | { "_signed_short","_short",0}, | |
1763 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
1764 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
1765 | { "_class_wxsLSEditorPlugin","_wxsLSEditorPlugin",0}, | |
1766 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
1767 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
1768 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
1769 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
1770 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
1771 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
1772 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
1773 | { "_class_wxCursor","_wxCursor",0}, | |
1774 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
1775 | { "_class_wxImageHandler","_wxImageHandler",0}, | |
1776 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
1777 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
1778 | { "_unsigned_char","_byte",0}, | |
1779 | { "_class_wxMenu","_wxMenu",0}, | |
1780 | { "_wxControl","_class_wxControl",0}, | |
1781 | { "_class_wxListBox","_wxListBox",0}, | |
1782 | { "_unsigned_int","_wxPrintQuality",0}, | |
1783 | { "_unsigned_int","_size_t",0}, | |
1784 | { "_unsigned_int","_uint",0}, | |
1785 | { "_unsigned_int","_wxWindowID",0}, | |
1786 | { "_unsigned_int","_int",0}, | |
1787 | { "_wxIcon","_class_wxIcon",0}, | |
1788 | { "_wxDialog","_class_wxDialog",0}, | |
1789 | { "_class_wxListItem","_wxListItem",0}, | |
1790 | { "_class_wxPen","_wxPen",0}, | |
1791 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
1792 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
1793 | { "_short","_WXTYPE",0}, | |
1794 | { "_short","_unsigned_short",0}, | |
1795 | { "_short","_signed_short",0}, | |
1796 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
1797 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
1798 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
1799 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
1800 | { "_class_wxChoice","_wxChoice",0}, | |
1801 | { "_class_wxSlider","_wxSlider",0}, | |
1802 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
1803 | { "_class_wxImageList","_wxImageList",0}, | |
1804 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
1805 | { "_wxFrame","_class_wxFrame",0}, | |
1806 | { "_class_wxNotebook","_wxNotebook",0}, | |
1807 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
1808 | { "_wxWindowID","_wxPrintQuality",0}, | |
1809 | { "_wxWindowID","_size_t",0}, | |
1810 | { "_wxWindowID","_EBool",0}, | |
1811 | { "_wxWindowID","_uint",0}, | |
1812 | { "_wxWindowID","_int",0}, | |
1813 | { "_wxWindowID","_signed_int",0}, | |
1814 | { "_wxWindowID","_unsigned_int",0}, | |
1815 | { "_int","_wxPrintQuality",0}, | |
1816 | { "_int","_size_t",0}, | |
1817 | { "_int","_EBool",0}, | |
1818 | { "_int","_uint",0}, | |
1819 | { "_int","_wxWindowID",0}, | |
1820 | { "_int","_unsigned_int",0}, | |
1821 | { "_int","_signed_int",0}, | |
1822 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
1823 | { "_class_wxListEvent","_wxListEvent",0}, | |
1824 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
1825 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
1826 | { "_wxButton","_class_wxButton",0}, | |
1827 | { "_class_wxPyApp","_wxPyApp",0}, | |
1828 | { "_wxSize","_class_wxSize",0}, | |
1829 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
1830 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
1831 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
1832 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
1833 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
1834 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
1835 | { "_class_wxComboBox","_wxComboBox",0}, | |
1836 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
1837 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
1838 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
1839 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
1840 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
1841 | { "_class_wxControl","_wxControl",0}, | |
1842 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
1843 | { "_class_wxIcon","_wxIcon",0}, | |
1844 | { "_class_wxColour","_wxColour",0}, | |
1845 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
1846 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
1847 | { "_wxPalette","_class_wxPalette",0}, | |
1848 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
1849 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
1850 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
1851 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
1852 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
1853 | { "_wxRegion","_class_wxRegion",0}, | |
1854 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
1855 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
1856 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
1857 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
1858 | { "_wxGauge","_class_wxGauge",0}, | |
1859 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
1860 | { "_class_wxGridEvent","_wxGridEvent",0}, | |
1861 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
1862 | { "_class_wxClientDC","_wxClientDC",0}, | |
1863 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
1864 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
1865 | { "_class_wxGridCell","_wxGridCell",0}, | |
1866 | { "_class_wxSize","_wxSize",0}, | |
1867 | { "_class_wxBitmap","_wxBitmap",0}, | |
1868 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
1869 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
1870 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
1871 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
1872 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
1873 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
1874 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
1875 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
1876 | { "_class_wxPrintData","_wxPrintData",0}, | |
1877 | { "_wxDash","_unsigned_long",0}, | |
1878 | { "_wxDash","_long",0}, | |
1879 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
1880 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
1881 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
1882 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
1883 | { "_wxColourData","_class_wxColourData",0}, | |
1884 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
1885 | { "_class_wxPalette","_wxPalette",0}, | |
1886 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
1887 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
1888 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
1889 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
1890 | { "_wxWindow","_class_wxWindow",0}, | |
1891 | { "_class_wxFrame","_wxFrame",0}, | |
1892 | {0,0,0}}; | |
1893 | ||
1894 | static PyObject *SWIG_globals; | |
1895 | #ifdef __cplusplus | |
1896 | extern "C" | |
1897 | #endif | |
1898 | SWIGEXPORT(void) initlseditorc() { | |
1899 | PyObject *m, *d; | |
1900 | SWIG_globals = SWIG_newvarlink(); | |
1901 | m = Py_InitModule("lseditorc", lseditorcMethods); | |
1902 | d = PyModule_GetDict(m); | |
1903 | ||
1904 | ||
1905 | wxClassInfo::CleanUpClasses(); | |
1906 | wxClassInfo::InitializeClasses(); | |
1907 | ||
1908 | { | |
1909 | int i; | |
1910 | for (i = 0; _swig_mapping[i].n1; i++) | |
1911 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
1912 | } | |
1913 | } |