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