]>
Commit | Line | Data |
---|---|---|
1 | /* ---------------------------------------------------------------------------- | |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.20 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
48 | ||
49 | ||
50 | /*********************************************************************** | |
51 | * common.swg for wxPython | |
52 | * | |
53 | * Include only the function prototypes and such from SWIG's common.swg, | |
54 | * but not the runtime functions themselves. This helps keep the | |
55 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
56 | * anyway. | |
57 | * | |
58 | ************************************************************************/ | |
59 | ||
60 | #include <string.h> | |
61 | ||
62 | #if defined(_WIN32) || defined(__WIN32__) | |
63 | # if defined(_MSC_VER) | |
64 | # if defined(STATIC_LINKED) | |
65 | # define SWIGEXPORT(a) a | |
66 | # define SWIGIMPORT(a) extern a | |
67 | # else | |
68 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # endif | |
71 | # else | |
72 | # if defined(__BORLANDC__) | |
73 | # define SWIGEXPORT(a) a _export | |
74 | # define SWIGIMPORT(a) a _export | |
75 | # else | |
76 | # define SWIGEXPORT(a) a | |
77 | # define SWIGIMPORT(a) a | |
78 | # endif | |
79 | # endif | |
80 | #else | |
81 | # define SWIGEXPORT(a) a | |
82 | # define SWIGIMPORT(a) a | |
83 | #endif | |
84 | ||
85 | #ifdef SWIG_GLOBAL | |
86 | #define SWIGRUNTIME(a) SWIGEXPORT(a) | |
87 | #else | |
88 | #define SWIGRUNTIME(a) static a | |
89 | #endif | |
90 | ||
91 | ||
92 | #ifdef __cplusplus | |
93 | extern "C" { | |
94 | #endif | |
95 | ||
96 | typedef void *(*swig_converter_func)(void *); | |
97 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
98 | ||
99 | typedef struct swig_type_info { | |
100 | const char *name; | |
101 | swig_converter_func converter; | |
102 | const char *str; | |
103 | void *clientdata; | |
104 | swig_dycast_func dcast; | |
105 | struct swig_type_info *next; | |
106 | struct swig_type_info *prev; | |
107 | } swig_type_info; | |
108 | ||
109 | ||
110 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
112 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
114 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
116 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
117 | ||
118 | ||
119 | #ifdef __cplusplus | |
120 | } | |
121 | ||
122 | #endif | |
123 | ||
124 | /*********************************************************************** | |
125 | * pyrun.swg for wxPython | |
126 | * | |
127 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
128 | * but not the runtime functions themselves. This helps keep the | |
129 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
130 | * anyway. | |
131 | * | |
132 | ************************************************************************/ | |
133 | ||
134 | ||
135 | #include "Python.h" | |
136 | ||
137 | #ifdef __cplusplus | |
138 | extern "C" { | |
139 | #endif | |
140 | ||
141 | #define SWIG_PY_INT 1 | |
142 | #define SWIG_PY_FLOAT 2 | |
143 | #define SWIG_PY_STRING 3 | |
144 | #define SWIG_PY_POINTER 4 | |
145 | #define SWIG_PY_BINARY 5 | |
146 | ||
147 | /* Flags for pointer conversion */ | |
148 | ||
149 | #define SWIG_POINTER_EXCEPTION 0x1 | |
150 | #define SWIG_POINTER_DISOWN 0x2 | |
151 | ||
152 | /* Exception handling in wrappers */ | |
153 | #define SWIG_fail goto fail | |
154 | ||
155 | /* Constant information structure */ | |
156 | typedef struct swig_const_info { | |
157 | int type; | |
158 | char *name; | |
159 | long lvalue; | |
160 | double dvalue; | |
161 | void *pvalue; | |
162 | swig_type_info **ptype; | |
163 | } swig_const_info; | |
164 | ||
165 | ||
166 | ||
167 | /* Common SWIG API */ | |
168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
170 | #define SWIG_NewPointerObj(p, type, flags) \ | |
171 | SWIG_Python_NewPointerObj(p, type, flags) | |
172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
174 | ||
175 | /* Python-specific SWIG API */ | |
176 | #define SWIG_newvarlink() \ | |
177 | SWIG_Python_newvarlink() | |
178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
182 | #define SWIG_PackData(c, ptr, sz) \ | |
183 | SWIG_Python_PackData(c, ptr, sz) | |
184 | #define SWIG_UnpackData(c, ptr, sz) \ | |
185 | SWIG_Python_UnpackData(c, ptr, sz) | |
186 | #define SWIG_NewPackedObj(ptr, sz, type) \ | |
187 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
188 | #define SWIG_InstallConstants(d, constants) \ | |
189 | SWIG_Python_InstallConstants(d, constants) | |
190 | ||
191 | ||
192 | SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); | |
193 | SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
194 | SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
195 | ||
196 | SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void); | |
197 | SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
198 | SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
199 | SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int); | |
200 | SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int); | |
201 | SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
202 | SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
203 | ||
204 | ||
205 | /* Contract support */ | |
206 | ||
207 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
208 | ||
209 | ||
210 | #ifdef __cplusplus | |
211 | } | |
212 | #endif | |
213 | ||
214 | ||
215 | ||
216 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
217 | ||
218 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] | |
219 | #define SWIGTYPE_p_wxPreviewFrame swig_types[1] | |
220 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] | |
221 | #define SWIGTYPE_p_wxPyPanel swig_types[3] | |
222 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
223 | #define SWIGTYPE_p_wxPrintData swig_types[5] | |
224 | #define SWIGTYPE_p_wxFontData swig_types[6] | |
225 | #define SWIGTYPE_p_wxEvent swig_types[7] | |
226 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] | |
227 | #define SWIGTYPE_p_wxIconBundle swig_types[9] | |
228 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10] | |
229 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[11] | |
230 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[12] | |
231 | #define SWIGTYPE_p_wxFont swig_types[13] | |
232 | #define SWIGTYPE_p_wxSplitterEvent swig_types[14] | |
233 | #define SWIGTYPE_p_wxRegion swig_types[15] | |
234 | #define SWIGTYPE_p_wxFindReplaceData swig_types[16] | |
235 | #define SWIGTYPE_p_int swig_types[17] | |
236 | #define SWIGTYPE_p_wxSize swig_types[18] | |
237 | #define SWIGTYPE_p_wxDC swig_types[19] | |
238 | #define SWIGTYPE_p_wxIcon swig_types[20] | |
239 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[21] | |
240 | #define SWIGTYPE_p_wxColourData swig_types[22] | |
241 | #define SWIGTYPE_p_wxNotifyEvent swig_types[23] | |
242 | #define SWIGTYPE_p_wxPyWindow swig_types[24] | |
243 | #define SWIGTYPE_p_wxSplashScreen swig_types[25] | |
244 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26] | |
245 | #define SWIGTYPE_p_wxProgressDialog swig_types[27] | |
246 | #define SWIGTYPE_p_wxMessageDialog swig_types[28] | |
247 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[29] | |
248 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30] | |
249 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31] | |
250 | #define SWIGTYPE_p_wxFileDialog swig_types[32] | |
251 | #define SWIGTYPE_p_wxPrinter swig_types[33] | |
252 | #define SWIGTYPE_p_wxArrayInt swig_types[34] | |
253 | #define SWIGTYPE_p_wxEvtHandler swig_types[35] | |
254 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36] | |
255 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37] | |
256 | #define SWIGTYPE_p_wxPyVListBox swig_types[38] | |
257 | #define SWIGTYPE_p_wxRect swig_types[39] | |
258 | #define SWIGTYPE_p_wxMiniFrame swig_types[40] | |
259 | #define SWIGTYPE_p_wxFrame swig_types[41] | |
260 | #define SWIGTYPE_p_wxPyPrintout swig_types[42] | |
261 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43] | |
262 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[44] | |
263 | #define SWIGTYPE_p_wxStatusBar swig_types[45] | |
264 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[46] | |
265 | #define SWIGTYPE_p_wxPoint swig_types[47] | |
266 | #define SWIGTYPE_p_wxObject swig_types[48] | |
267 | #define SWIGTYPE_p_unsigned_long swig_types[49] | |
268 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[50] | |
269 | #define SWIGTYPE_p_wxTipWindow swig_types[51] | |
270 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[52] | |
271 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[53] | |
272 | #define SWIGTYPE_p_wxSplitterWindow swig_types[54] | |
273 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55] | |
274 | #define SWIGTYPE_p_wxPopupWindow swig_types[56] | |
275 | #define SWIGTYPE_p_wxSashWindow swig_types[57] | |
276 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[58] | |
277 | #define SWIGTYPE_p_wxWindow swig_types[59] | |
278 | #define SWIGTYPE_p_wxScrolledWindow swig_types[60] | |
279 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[61] | |
280 | #define SWIGTYPE_p_wxMenuBar swig_types[62] | |
281 | #define SWIGTYPE_p_wxPrintPreview swig_types[63] | |
282 | #define SWIGTYPE_p_wxSashEvent swig_types[64] | |
283 | #define SWIGTYPE_p_wxString swig_types[65] | |
284 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[66] | |
285 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[67] | |
286 | #define SWIGTYPE_p_wxFontDialog swig_types[68] | |
287 | #define SWIGTYPE_p_wxDirDialog swig_types[69] | |
288 | #define SWIGTYPE_p_wxColourDialog swig_types[70] | |
289 | #define SWIGTYPE_p_wxDialog swig_types[71] | |
290 | #define SWIGTYPE_p_wxPanel swig_types[72] | |
291 | #define SWIGTYPE_p_wxPrintDialog swig_types[73] | |
292 | #define SWIGTYPE_p_wxBitmap swig_types[74] | |
293 | #define SWIGTYPE_p_wxCommandEvent swig_types[75] | |
294 | #define SWIGTYPE_p_wxPrintQuality swig_types[76] | |
295 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[77] | |
296 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78] | |
297 | #define SWIGTYPE_p_wxColour swig_types[79] | |
298 | #define SWIGTYPE_p_wxToolBar swig_types[80] | |
299 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[81] | |
300 | #define SWIGTYPE_p_wxPrintDialogData swig_types[82] | |
301 | static swig_type_info *swig_types[84]; | |
302 | ||
303 | /* -------- TYPES TABLE (END) -------- */ | |
304 | ||
305 | ||
306 | /*----------------------------------------------- | |
307 | @(target):= _windows.so | |
308 | ------------------------------------------------*/ | |
309 | #define SWIG_init init_windows | |
310 | ||
311 | #define SWIG_name "_windows" | |
312 | ||
313 | #include "wx/wxPython/wxPython.h" | |
314 | #include "wx/wxPython/pyclasses.h" | |
315 | ||
316 | DECLARE_DEF_STRING(PanelNameStr); | |
317 | DECLARE_DEF_STRING(EmptyString); | |
318 | ||
319 | ||
320 | ||
321 | ||
322 | ||
323 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
324 | PyObject* o2; | |
325 | PyObject* o3; | |
326 | ||
327 | if (!target) { | |
328 | target = o; | |
329 | } else if (target == Py_None) { | |
330 | Py_DECREF(Py_None); | |
331 | target = o; | |
332 | } else { | |
333 | if (!PyTuple_Check(target)) { | |
334 | o2 = target; | |
335 | target = PyTuple_New(1); | |
336 | PyTuple_SetItem(target, 0, o2); | |
337 | } | |
338 | o3 = PyTuple_New(1); | |
339 | PyTuple_SetItem(o3, 0, o); | |
340 | ||
341 | o2 = target; | |
342 | target = PySequence_Concat(o2, o3); | |
343 | Py_DECREF(o2); | |
344 | Py_DECREF(o3); | |
345 | } | |
346 | return target; | |
347 | } | |
348 | ||
349 | ||
350 | // Put some wx default wxChar* values into wxStrings. | |
351 | DECLARE_DEF_STRING(FrameNameStr); | |
352 | DECLARE_DEF_STRING(DialogNameStr); | |
353 | DECLARE_DEF_STRING(StatusLineNameStr); | |
354 | DECLARE_DEF_STRING(ToolBarNameStr); | |
355 | ||
356 | bool wxDialog_IsModalShowing(wxDialog *self){ | |
357 | ||
358 | ||
359 | ||
360 | return self->IsModalShowing(); | |
361 | ||
362 | } | |
363 | ||
364 | ||
365 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ | |
366 | wxRect r; | |
367 | self->GetFieldRect(i, r); | |
368 | return r; | |
369 | } | |
370 | ||
371 | static const wxChar* wxSplitterNameStr = wxT("splitter"); | |
372 | DECLARE_DEF_STRING(SplitterNameStr); | |
373 | ||
374 | ||
375 | static const wxChar* wxSashNameStr = wxT("sashWindow"); | |
376 | DECLARE_DEF_STRING(SashNameStr); | |
377 | static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow"); | |
378 | DECLARE_DEF_STRING(SashLayoutNameStr); | |
379 | ||
380 | ||
381 | #include <wx/popupwin.h> | |
382 | ||
383 | ||
384 | class wxPopupWindow : public wxWindow { | |
385 | public: | |
386 | wxPopupWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); } | |
387 | wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError); } | |
388 | }; | |
389 | ||
390 | class wxPyPopupTransientWindow : public wxPopupWindow | |
391 | { | |
392 | public: | |
393 | wxPyPopupTransientWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); } | |
394 | wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError); } | |
395 | }; | |
396 | ||
397 | ||
398 | #include <wx/tipwin.h> | |
399 | ||
400 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ | |
401 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
402 | } | |
403 | ||
404 | #include <wx/tipwin.h> | |
405 | ||
406 | ||
407 | #include <wx/vscroll.h> | |
408 | ||
409 | ||
410 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
411 | { | |
412 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
413 | public: | |
414 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
415 | ||
416 | wxPyVScrolledWindow(wxWindow *parent, | |
417 | wxWindowID id = wxID_ANY, | |
418 | const wxPoint& pos = wxDefaultPosition, | |
419 | const wxSize& size = wxDefaultSize, | |
420 | long style = 0, | |
421 | const wxString& name = wxPyPanelNameStr) | |
422 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
423 | {} | |
424 | ||
425 | // Overridable virtuals | |
426 | ||
427 | // this function must be overridden in the derived class and it should | |
428 | // return the height of the given line in pixels | |
429 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
430 | ||
431 | ||
432 | // this function doesn't have to be overridden but it may be useful to do | |
433 | // it if calculating the lines heights is a relatively expensive operation | |
434 | // as it gives the user code a possibility to calculate several of them at | |
435 | // once | |
436 | // | |
437 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
438 | // shouldn't rely on the latter being called for all lines in the interval | |
439 | // specified here. It is also possible that OnGetLineHeight() will be | |
440 | // called for the lines outside of this interval, so this is really just a | |
441 | // hint, not a promise. | |
442 | // | |
443 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
444 | // usual | |
445 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
446 | ||
447 | ||
448 | // when the number of lines changes, we try to estimate the total height | |
449 | // of all lines which is a rather expensive operation in terms of lines | |
450 | // access, so if the user code may estimate the average height | |
451 | // better/faster than we do, it should override this function to implement | |
452 | // its own logic | |
453 | // | |
454 | // this function should return the best guess for the total height it may | |
455 | // make | |
456 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
457 | ||
458 | ||
459 | // Also expose some other interesting protected methods | |
460 | ||
461 | ||
462 | // find the index of the line we need to show at the top of the window such | |
463 | // that the last (fully or partially) visible line is the given one | |
464 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) | |
465 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } | |
466 | ||
467 | // get the total height of the lines between lineMin (inclusive) and | |
468 | // lineMax (exclusive) | |
469 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
470 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
471 | ||
472 | ||
473 | PYPRIVATE; | |
474 | }; | |
475 | ||
476 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
477 | ||
478 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
479 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
480 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
481 | ||
482 | ||
483 | #include <wx/vlbox.h> | |
484 | DECLARE_DEF_STRING(VListBoxNameStr); | |
485 | ||
486 | ||
487 | class wxPyVListBox : public wxVListBox | |
488 | { | |
489 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
490 | public: | |
491 | wxPyVListBox() : wxVListBox() {} | |
492 | ||
493 | wxPyVListBox(wxWindow *parent, | |
494 | wxWindowID id = wxID_ANY, | |
495 | const wxPoint& pos = wxDefaultPosition, | |
496 | const wxSize& size = wxDefaultSize, | |
497 | long style = 0, | |
498 | const wxString& name = wxPyVListBoxNameStr) | |
499 | : wxVListBox(parent, id, pos, size, style, name) | |
500 | {} | |
501 | ||
502 | // Overridable virtuals | |
503 | ||
504 | // the derived class must implement this function to actually draw the item | |
505 | // with the given index on the provided DC | |
506 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
507 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
508 | ||
509 | ||
510 | // the derived class must implement this method to return the height of the | |
511 | // specified item | |
512 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
513 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
514 | ||
515 | ||
516 | // this method may be used to draw separators between the lines; note that | |
517 | // the rectangle may be modified, typically to deflate it a bit before | |
518 | // passing to OnDrawItem() | |
519 | // | |
520 | // the base class version doesn't do anything | |
521 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
522 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
523 | ||
524 | ||
525 | // this method is used to draw the items background and, maybe, a border | |
526 | // around it | |
527 | // | |
528 | // the base class version implements a reasonable default behaviour which | |
529 | // consists in drawing the selected item with the standard background | |
530 | // colour and drawing a border around the item if it is either selected or | |
531 | // current | |
532 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
533 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
534 | ||
535 | ||
536 | PYPRIVATE; | |
537 | }; | |
538 | ||
539 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
540 | ||
541 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
542 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
543 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
544 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
545 | ||
546 | ||
547 | ||
548 | #include <wx/htmllbox.h> | |
549 | ||
550 | ||
551 | class wxPyHtmlListBox : public wxHtmlListBox | |
552 | { | |
553 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
554 | public: | |
555 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
556 | ||
557 | wxPyHtmlListBox(wxWindow *parent, | |
558 | wxWindowID id = wxID_ANY, | |
559 | const wxPoint& pos = wxDefaultPosition, | |
560 | const wxSize& size = wxDefaultSize, | |
561 | long style = 0, | |
562 | const wxString& name = wxPyVListBoxNameStr) | |
563 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
564 | {} | |
565 | ||
566 | // Overridable virtuals | |
567 | ||
568 | // this method must be implemented in the derived class and should return | |
569 | // the body (i.e. without <html>) of the HTML for the given item | |
570 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
571 | ||
572 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
573 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
574 | ||
575 | // TODO: | |
576 | // // this method allows to customize the selection appearance: it may be used | |
577 | // // to specify the colour of the text which normally has the given colour | |
578 | // // colFg when it is inside the selection | |
579 | // // | |
580 | // // by default, the original colour is not used at all and all text has the | |
581 | // // same (default for this system) colour inside selection | |
582 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
583 | ||
584 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
585 | // // background colour -- this is even more rarely used as you can change it | |
586 | // // globally using SetSelectionBackground() | |
587 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
588 | ||
589 | ||
590 | PYPRIVATE; | |
591 | }; | |
592 | ||
593 | ||
594 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
595 | ||
596 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
597 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
598 | ||
599 | ||
600 | ||
601 | ||
602 | ||
603 | #ifdef __WXMAC__ | |
604 | // implement dummy classes and such for wxMac | |
605 | ||
606 | class wxTaskBarIcon : public wxEvtHandler | |
607 | { | |
608 | public: | |
609 | wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); } | |
610 | }; | |
611 | ||
612 | ||
613 | class wxTaskBarIconEvent : public wxEvent | |
614 | { | |
615 | public: | |
616 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
617 | { PyErr_SetNone(PyExc_NotImplementedError); } | |
618 | virtual wxEvent* Clone() const { return NULL; } | |
619 | }; | |
620 | ||
621 | enum { | |
622 | wxEVT_TASKBAR_MOVE = 0, | |
623 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
624 | wxEVT_TASKBAR_LEFT_UP = 0, | |
625 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
626 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
627 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
628 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
629 | }; | |
630 | #endif | |
631 | ||
632 | ||
633 | ||
634 | DECLARE_DEF_STRING(FileSelectorPromptStr); | |
635 | DECLARE_DEF_STRING(DirSelectorPromptStr); | |
636 | DECLARE_DEF_STRING(DirDialogNameStr); | |
637 | DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr); | |
638 | DECLARE_DEF_STRING(GetTextFromUserPromptStr); | |
639 | DECLARE_DEF_STRING(MessageBoxCaptionStr); | |
640 | ||
641 | ||
642 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ | |
643 | wxArrayString arr; | |
644 | self->GetFilenames(arr); | |
645 | return wxArrayString2PyList_helper(arr); | |
646 | } | |
647 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
648 | wxArrayString arr; | |
649 | self->GetPaths(arr); | |
650 | return wxArrayString2PyList_helper(arr); | |
651 | } | |
652 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
653 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
654 | } | |
655 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
656 | return new wxSingleChoiceDialog(parent, message, caption, | |
657 | choices, choices_array, NULL, style, pos); | |
658 | } | |
659 | ||
660 | #include <wx/mdi.h> | |
661 | ||
662 | // C++ version of Python aware wxWindow | |
663 | class wxPyWindow : public wxWindow | |
664 | { | |
665 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
666 | public: | |
667 | wxPyWindow() : wxWindow() {} | |
668 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
669 | const wxPoint& pos = wxDefaultPosition, | |
670 | const wxSize& size = wxDefaultSize, | |
671 | long style = 0, | |
672 | const wxString& name = wxPyPanelNameStr) | |
673 | : wxWindow(parent, id, pos, size, style, name) {} | |
674 | ||
675 | ||
676 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
677 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
678 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
679 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
680 | ||
681 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
682 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
683 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
684 | ||
685 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
686 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
687 | ||
688 | DEC_PYCALLBACK__(InitDialog); | |
689 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
690 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
691 | DEC_PYCALLBACK_BOOL_(Validate); | |
692 | ||
693 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
694 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
695 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
696 | ||
697 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
698 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
699 | ||
700 | PYPRIVATE; | |
701 | }; | |
702 | ||
703 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
704 | ||
705 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
706 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
707 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
708 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
709 | ||
710 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
711 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
712 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
713 | ||
714 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
715 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
716 | ||
717 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
718 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
719 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
720 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
721 | ||
722 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
723 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
724 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
725 | ||
726 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
727 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
728 | ||
729 | ||
730 | // C++ version of Python aware wxPanel | |
731 | class wxPyPanel : public wxPanel | |
732 | { | |
733 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
734 | public: | |
735 | wxPyPanel() : wxPanel() {} | |
736 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
737 | const wxPoint& pos = wxDefaultPosition, | |
738 | const wxSize& size = wxDefaultSize, | |
739 | long style = 0, | |
740 | const wxString& name = wxPyPanelNameStr) | |
741 | : wxPanel(parent, id, pos, size, style, name) {} | |
742 | ||
743 | ||
744 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
745 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
746 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
747 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
748 | ||
749 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
750 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
751 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
752 | ||
753 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
754 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
755 | ||
756 | DEC_PYCALLBACK__(InitDialog); | |
757 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
758 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
759 | DEC_PYCALLBACK_BOOL_(Validate); | |
760 | ||
761 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
762 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
763 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
764 | ||
765 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
766 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
767 | ||
768 | PYPRIVATE; | |
769 | }; | |
770 | ||
771 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
772 | ||
773 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
774 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
775 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
776 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
777 | ||
778 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
779 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
780 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
781 | ||
782 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
783 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
784 | ||
785 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
786 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
787 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
788 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
789 | ||
790 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
791 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
792 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
793 | ||
794 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
795 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
796 | ||
797 | ||
798 | ||
799 | #include "wx/wxPython/printfw.h" | |
800 | ||
801 | static const wxChar* wxPrintoutTitleStr = wxT("Printout"); | |
802 | DECLARE_DEF_STRING(PrintoutTitleStr); | |
803 | static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas"); | |
804 | DECLARE_DEF_STRING(PreviewCanvasNameStr); | |
805 | ||
806 | ||
807 | ||
808 | ||
809 | ||
810 | // Since this one would be tough and ugly to do with the Macros... | |
811 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
812 | bool hadErr = False; | |
813 | bool found; | |
814 | ||
815 | wxPyBeginBlockThreads(); | |
816 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
817 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
818 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
819 | PyObject* val; | |
820 | ||
821 | val = PyTuple_GetItem(result, 0); | |
822 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
823 | else hadErr = True; | |
824 | ||
825 | val = PyTuple_GetItem(result, 1); | |
826 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
827 | else hadErr = True; | |
828 | ||
829 | val = PyTuple_GetItem(result, 2); | |
830 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
831 | else hadErr = True; | |
832 | ||
833 | val = PyTuple_GetItem(result, 3); | |
834 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
835 | else hadErr = True; | |
836 | } | |
837 | else | |
838 | hadErr = True; | |
839 | ||
840 | if (hadErr) { | |
841 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
842 | PyErr_Print(); | |
843 | } | |
844 | Py_DECREF(result); | |
845 | } | |
846 | wxPyEndBlockThreads(); | |
847 | if (! found) | |
848 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
849 | } | |
850 | ||
851 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
852 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
853 | } | |
854 | ||
855 | ||
856 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
857 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
858 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
859 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
860 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
861 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
862 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
863 | ||
864 | ||
865 | ||
866 | ||
867 | ||
868 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
869 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
870 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
871 | ||
872 | ||
873 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
874 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
875 | bool rval=False; \ | |
876 | bool found; \ | |
877 | wxPyBeginBlockThreads(); \ | |
878 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
879 | PyObject* win = wxPyMake_wxObject(a); \ | |
880 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
881 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
882 | Py_DECREF(win); \ | |
883 | Py_DECREF(dc); \ | |
884 | } \ | |
885 | wxPyEndBlockThreads(); \ | |
886 | if (! found) \ | |
887 | rval = PCLASS::CBNAME(a, b); \ | |
888 | return rval; \ | |
889 | } \ | |
890 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
891 | return PCLASS::CBNAME(a, b); \ | |
892 | } | |
893 | ||
894 | ||
895 | ||
896 | ||
897 | class wxPyPrintPreview : public wxPrintPreview | |
898 | { | |
899 | DECLARE_CLASS(wxPyPrintPreview) | |
900 | public: | |
901 | wxPyPrintPreview(wxPyPrintout* printout, | |
902 | wxPyPrintout* printoutForPrinting, | |
903 | wxPrintData* data=NULL) | |
904 | : wxPrintPreview(printout, printoutForPrinting, data) | |
905 | {} | |
906 | ||
907 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
908 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
909 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
910 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
911 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
912 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
913 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
914 | ||
915 | PYPRIVATE; | |
916 | }; | |
917 | ||
918 | // Stupid renamed classes... Fix this in 2.5... | |
919 | #if defined(__WXMSW__) | |
920 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
921 | #elif defined(__WXMAC__) | |
922 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
923 | #else | |
924 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
925 | #endif | |
926 | ||
927 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
928 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
929 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
930 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
931 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
932 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
933 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
934 | ||
935 | ||
936 | class wxPyPreviewFrame : public wxPreviewFrame | |
937 | { | |
938 | DECLARE_CLASS(wxPyPreviewFrame); | |
939 | public: | |
940 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
941 | const wxString& title, | |
942 | const wxPoint& pos = wxDefaultPosition, | |
943 | const wxSize& size = wxDefaultSize, | |
944 | long style = wxDEFAULT_FRAME_STYLE, | |
945 | const wxString& name = wxPyFrameNameStr) | |
946 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
947 | {} | |
948 | ||
949 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
950 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
951 | ||
952 | DEC_PYCALLBACK_VOID_(Initialize); | |
953 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
954 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
955 | ||
956 | PYPRIVATE; | |
957 | }; | |
958 | ||
959 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
960 | ||
961 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
962 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
963 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
964 | ||
965 | ||
966 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
967 | { | |
968 | DECLARE_CLASS(wxPyPreviewControlBar); | |
969 | public: | |
970 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
971 | long buttons, | |
972 | wxWindow *parent, | |
973 | const wxPoint& pos = wxDefaultPosition, | |
974 | const wxSize& size = wxDefaultSize, | |
975 | long style = 0, | |
976 | const wxString& name = wxPyPanelNameStr) | |
977 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
978 | {} | |
979 | ||
980 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
981 | ||
982 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
983 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
984 | ||
985 | PYPRIVATE; | |
986 | }; | |
987 | ||
988 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
989 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
990 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
991 | ||
992 | #ifdef __cplusplus | |
993 | extern "C" { | |
994 | #endif | |
995 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
996 | PyObject *resultobj; | |
997 | wxWindow *arg1 = (wxWindow *) 0 ; | |
998 | int arg2 = (int) (int)-1 ; | |
999 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1000 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1001 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1002 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1003 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1004 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1005 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1006 | wxPanel *result; | |
1007 | wxPoint temp3 ; | |
1008 | wxSize temp4 ; | |
1009 | bool temp6 = False ; | |
1010 | PyObject * obj0 = 0 ; | |
1011 | PyObject * obj2 = 0 ; | |
1012 | PyObject * obj3 = 0 ; | |
1013 | PyObject * obj5 = 0 ; | |
1014 | char *kwnames[] = { | |
1015 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1016 | }; | |
1017 | ||
1018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
1019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1020 | if (obj2) { | |
1021 | { | |
1022 | arg3 = &temp3; | |
1023 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1024 | } | |
1025 | } | |
1026 | if (obj3) { | |
1027 | { | |
1028 | arg4 = &temp4; | |
1029 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1030 | } | |
1031 | } | |
1032 | if (obj5) { | |
1033 | { | |
1034 | arg6 = wxString_in_helper(obj5); | |
1035 | if (arg6 == NULL) SWIG_fail; | |
1036 | temp6 = True; | |
1037 | } | |
1038 | } | |
1039 | { | |
1040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1041 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1042 | ||
1043 | wxPyEndAllowThreads(__tstate); | |
1044 | if (PyErr_Occurred()) SWIG_fail; | |
1045 | } | |
1046 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1); | |
1047 | { | |
1048 | if (temp6) | |
1049 | delete arg6; | |
1050 | } | |
1051 | return resultobj; | |
1052 | fail: | |
1053 | { | |
1054 | if (temp6) | |
1055 | delete arg6; | |
1056 | } | |
1057 | return NULL; | |
1058 | } | |
1059 | ||
1060 | ||
1061 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1062 | PyObject *resultobj; | |
1063 | wxPanel *result; | |
1064 | char *kwnames[] = { | |
1065 | NULL | |
1066 | }; | |
1067 | ||
1068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1069 | { | |
1070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1071 | result = (wxPanel *)new wxPanel(); | |
1072 | ||
1073 | wxPyEndAllowThreads(__tstate); | |
1074 | if (PyErr_Occurred()) SWIG_fail; | |
1075 | } | |
1076 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1); | |
1077 | return resultobj; | |
1078 | fail: | |
1079 | return NULL; | |
1080 | } | |
1081 | ||
1082 | ||
1083 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1084 | PyObject *resultobj; | |
1085 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1086 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1087 | int arg3 ; | |
1088 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1089 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1090 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1091 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1092 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1093 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1094 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1095 | bool result; | |
1096 | wxPoint temp4 ; | |
1097 | wxSize temp5 ; | |
1098 | bool temp7 = False ; | |
1099 | PyObject * obj0 = 0 ; | |
1100 | PyObject * obj1 = 0 ; | |
1101 | PyObject * obj3 = 0 ; | |
1102 | PyObject * obj4 = 0 ; | |
1103 | PyObject * obj6 = 0 ; | |
1104 | char *kwnames[] = { | |
1105 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1106 | }; | |
1107 | ||
1108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
1109 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1110 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1111 | if (obj3) { | |
1112 | { | |
1113 | arg4 = &temp4; | |
1114 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1115 | } | |
1116 | } | |
1117 | if (obj4) { | |
1118 | { | |
1119 | arg5 = &temp5; | |
1120 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1121 | } | |
1122 | } | |
1123 | if (obj6) { | |
1124 | { | |
1125 | arg7 = wxString_in_helper(obj6); | |
1126 | if (arg7 == NULL) SWIG_fail; | |
1127 | temp7 = True; | |
1128 | } | |
1129 | } | |
1130 | { | |
1131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1132 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1133 | ||
1134 | wxPyEndAllowThreads(__tstate); | |
1135 | if (PyErr_Occurred()) SWIG_fail; | |
1136 | } | |
1137 | resultobj = PyInt_FromLong((long)result); | |
1138 | { | |
1139 | if (temp7) | |
1140 | delete arg7; | |
1141 | } | |
1142 | return resultobj; | |
1143 | fail: | |
1144 | { | |
1145 | if (temp7) | |
1146 | delete arg7; | |
1147 | } | |
1148 | return NULL; | |
1149 | } | |
1150 | ||
1151 | ||
1152 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1153 | PyObject *resultobj; | |
1154 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1155 | PyObject * obj0 = 0 ; | |
1156 | char *kwnames[] = { | |
1157 | (char *) "self", NULL | |
1158 | }; | |
1159 | ||
1160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
1161 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1162 | { | |
1163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1164 | (arg1)->InitDialog(); | |
1165 | ||
1166 | wxPyEndAllowThreads(__tstate); | |
1167 | if (PyErr_Occurred()) SWIG_fail; | |
1168 | } | |
1169 | Py_INCREF(Py_None); resultobj = Py_None; | |
1170 | return resultobj; | |
1171 | fail: | |
1172 | return NULL; | |
1173 | } | |
1174 | ||
1175 | ||
1176 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { | |
1177 | PyObject *obj; | |
1178 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1179 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1180 | Py_INCREF(obj); | |
1181 | return Py_BuildValue((char *)""); | |
1182 | } | |
1183 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1184 | PyObject *resultobj; | |
1185 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1186 | int arg2 = (int) (int)-1 ; | |
1187 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1188 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1189 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1190 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1191 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1192 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1193 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1194 | wxScrolledWindow *result; | |
1195 | wxPoint temp3 ; | |
1196 | wxSize temp4 ; | |
1197 | bool temp6 = False ; | |
1198 | PyObject * obj0 = 0 ; | |
1199 | PyObject * obj2 = 0 ; | |
1200 | PyObject * obj3 = 0 ; | |
1201 | PyObject * obj5 = 0 ; | |
1202 | char *kwnames[] = { | |
1203 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1204 | }; | |
1205 | ||
1206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
1207 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1208 | if (obj2) { | |
1209 | { | |
1210 | arg3 = &temp3; | |
1211 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1212 | } | |
1213 | } | |
1214 | if (obj3) { | |
1215 | { | |
1216 | arg4 = &temp4; | |
1217 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1218 | } | |
1219 | } | |
1220 | if (obj5) { | |
1221 | { | |
1222 | arg6 = wxString_in_helper(obj5); | |
1223 | if (arg6 == NULL) SWIG_fail; | |
1224 | temp6 = True; | |
1225 | } | |
1226 | } | |
1227 | { | |
1228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1229 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1230 | ||
1231 | wxPyEndAllowThreads(__tstate); | |
1232 | if (PyErr_Occurred()) SWIG_fail; | |
1233 | } | |
1234 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1); | |
1235 | { | |
1236 | if (temp6) | |
1237 | delete arg6; | |
1238 | } | |
1239 | return resultobj; | |
1240 | fail: | |
1241 | { | |
1242 | if (temp6) | |
1243 | delete arg6; | |
1244 | } | |
1245 | return NULL; | |
1246 | } | |
1247 | ||
1248 | ||
1249 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1250 | PyObject *resultobj; | |
1251 | wxScrolledWindow *result; | |
1252 | char *kwnames[] = { | |
1253 | NULL | |
1254 | }; | |
1255 | ||
1256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1257 | { | |
1258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1259 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1260 | ||
1261 | wxPyEndAllowThreads(__tstate); | |
1262 | if (PyErr_Occurred()) SWIG_fail; | |
1263 | } | |
1264 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1); | |
1265 | return resultobj; | |
1266 | fail: | |
1267 | return NULL; | |
1268 | } | |
1269 | ||
1270 | ||
1271 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1272 | PyObject *resultobj; | |
1273 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1274 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1275 | int arg3 = (int) (int)-1 ; | |
1276 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1277 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1278 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1279 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1280 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1281 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1282 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1283 | bool result; | |
1284 | wxPoint temp4 ; | |
1285 | wxSize temp5 ; | |
1286 | bool temp7 = False ; | |
1287 | PyObject * obj0 = 0 ; | |
1288 | PyObject * obj1 = 0 ; | |
1289 | PyObject * obj3 = 0 ; | |
1290 | PyObject * obj4 = 0 ; | |
1291 | PyObject * obj6 = 0 ; | |
1292 | char *kwnames[] = { | |
1293 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1294 | }; | |
1295 | ||
1296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
1297 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1298 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1299 | if (obj3) { | |
1300 | { | |
1301 | arg4 = &temp4; | |
1302 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1303 | } | |
1304 | } | |
1305 | if (obj4) { | |
1306 | { | |
1307 | arg5 = &temp5; | |
1308 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1309 | } | |
1310 | } | |
1311 | if (obj6) { | |
1312 | { | |
1313 | arg7 = wxString_in_helper(obj6); | |
1314 | if (arg7 == NULL) SWIG_fail; | |
1315 | temp7 = True; | |
1316 | } | |
1317 | } | |
1318 | { | |
1319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1320 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1321 | ||
1322 | wxPyEndAllowThreads(__tstate); | |
1323 | if (PyErr_Occurred()) SWIG_fail; | |
1324 | } | |
1325 | resultobj = PyInt_FromLong((long)result); | |
1326 | { | |
1327 | if (temp7) | |
1328 | delete arg7; | |
1329 | } | |
1330 | return resultobj; | |
1331 | fail: | |
1332 | { | |
1333 | if (temp7) | |
1334 | delete arg7; | |
1335 | } | |
1336 | return NULL; | |
1337 | } | |
1338 | ||
1339 | ||
1340 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1341 | PyObject *resultobj; | |
1342 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1343 | int arg2 ; | |
1344 | int arg3 ; | |
1345 | int arg4 ; | |
1346 | int arg5 ; | |
1347 | int arg6 = (int) 0 ; | |
1348 | int arg7 = (int) 0 ; | |
1349 | bool arg8 = (bool) False ; | |
1350 | PyObject * obj0 = 0 ; | |
1351 | PyObject * obj7 = 0 ; | |
1352 | char *kwnames[] = { | |
1353 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1354 | }; | |
1355 | ||
1356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail; | |
1357 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1358 | if (obj7) { | |
1359 | arg8 = PyInt_AsLong(obj7) ? true : false; | |
1360 | if (PyErr_Occurred()) SWIG_fail; | |
1361 | } | |
1362 | { | |
1363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1364 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1365 | ||
1366 | wxPyEndAllowThreads(__tstate); | |
1367 | if (PyErr_Occurred()) SWIG_fail; | |
1368 | } | |
1369 | Py_INCREF(Py_None); resultobj = Py_None; | |
1370 | return resultobj; | |
1371 | fail: | |
1372 | return NULL; | |
1373 | } | |
1374 | ||
1375 | ||
1376 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1377 | PyObject *resultobj; | |
1378 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1379 | int arg2 ; | |
1380 | int arg3 ; | |
1381 | PyObject * obj0 = 0 ; | |
1382 | char *kwnames[] = { | |
1383 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1384 | }; | |
1385 | ||
1386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1387 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1388 | { | |
1389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1390 | (arg1)->Scroll(arg2,arg3); | |
1391 | ||
1392 | wxPyEndAllowThreads(__tstate); | |
1393 | if (PyErr_Occurred()) SWIG_fail; | |
1394 | } | |
1395 | Py_INCREF(Py_None); resultobj = Py_None; | |
1396 | return resultobj; | |
1397 | fail: | |
1398 | return NULL; | |
1399 | } | |
1400 | ||
1401 | ||
1402 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1403 | PyObject *resultobj; | |
1404 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1405 | int arg2 ; | |
1406 | int result; | |
1407 | PyObject * obj0 = 0 ; | |
1408 | char *kwnames[] = { | |
1409 | (char *) "self",(char *) "orient", NULL | |
1410 | }; | |
1411 | ||
1412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail; | |
1413 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1414 | { | |
1415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1416 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1417 | ||
1418 | wxPyEndAllowThreads(__tstate); | |
1419 | if (PyErr_Occurred()) SWIG_fail; | |
1420 | } | |
1421 | resultobj = PyInt_FromLong((long)result); | |
1422 | return resultobj; | |
1423 | fail: | |
1424 | return NULL; | |
1425 | } | |
1426 | ||
1427 | ||
1428 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1429 | PyObject *resultobj; | |
1430 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1431 | int arg2 ; | |
1432 | int arg3 ; | |
1433 | PyObject * obj0 = 0 ; | |
1434 | char *kwnames[] = { | |
1435 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1436 | }; | |
1437 | ||
1438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1439 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1440 | { | |
1441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1442 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1443 | ||
1444 | wxPyEndAllowThreads(__tstate); | |
1445 | if (PyErr_Occurred()) SWIG_fail; | |
1446 | } | |
1447 | Py_INCREF(Py_None); resultobj = Py_None; | |
1448 | return resultobj; | |
1449 | fail: | |
1450 | return NULL; | |
1451 | } | |
1452 | ||
1453 | ||
1454 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1455 | PyObject *resultobj; | |
1456 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1457 | int arg2 ; | |
1458 | int arg3 ; | |
1459 | PyObject * obj0 = 0 ; | |
1460 | char *kwnames[] = { | |
1461 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1462 | }; | |
1463 | ||
1464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1465 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1466 | { | |
1467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1468 | (arg1)->SetScrollRate(arg2,arg3); | |
1469 | ||
1470 | wxPyEndAllowThreads(__tstate); | |
1471 | if (PyErr_Occurred()) SWIG_fail; | |
1472 | } | |
1473 | Py_INCREF(Py_None); resultobj = Py_None; | |
1474 | return resultobj; | |
1475 | fail: | |
1476 | return NULL; | |
1477 | } | |
1478 | ||
1479 | ||
1480 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1481 | PyObject *resultobj; | |
1482 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1483 | int *arg2 = (int *) 0 ; | |
1484 | int *arg3 = (int *) 0 ; | |
1485 | int temp2 ; | |
1486 | int temp3 ; | |
1487 | PyObject * obj0 = 0 ; | |
1488 | char *kwnames[] = { | |
1489 | (char *) "self", NULL | |
1490 | }; | |
1491 | ||
1492 | arg2 = &temp2; | |
1493 | arg3 = &temp3; | |
1494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
1495 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1496 | { | |
1497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1498 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1499 | ||
1500 | wxPyEndAllowThreads(__tstate); | |
1501 | if (PyErr_Occurred()) SWIG_fail; | |
1502 | } | |
1503 | Py_INCREF(Py_None); resultobj = Py_None; | |
1504 | { | |
1505 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1506 | resultobj = t_output_helper(resultobj,o); | |
1507 | } | |
1508 | { | |
1509 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1510 | resultobj = t_output_helper(resultobj,o); | |
1511 | } | |
1512 | return resultobj; | |
1513 | fail: | |
1514 | return NULL; | |
1515 | } | |
1516 | ||
1517 | ||
1518 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1519 | PyObject *resultobj; | |
1520 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1521 | bool arg2 ; | |
1522 | bool arg3 ; | |
1523 | PyObject * obj0 = 0 ; | |
1524 | PyObject * obj1 = 0 ; | |
1525 | PyObject * obj2 = 0 ; | |
1526 | char *kwnames[] = { | |
1527 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1528 | }; | |
1529 | ||
1530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1531 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1532 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
1533 | if (PyErr_Occurred()) SWIG_fail; | |
1534 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
1535 | if (PyErr_Occurred()) SWIG_fail; | |
1536 | { | |
1537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1538 | (arg1)->EnableScrolling(arg2,arg3); | |
1539 | ||
1540 | wxPyEndAllowThreads(__tstate); | |
1541 | if (PyErr_Occurred()) SWIG_fail; | |
1542 | } | |
1543 | Py_INCREF(Py_None); resultobj = Py_None; | |
1544 | return resultobj; | |
1545 | fail: | |
1546 | return NULL; | |
1547 | } | |
1548 | ||
1549 | ||
1550 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1551 | PyObject *resultobj; | |
1552 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1553 | int *arg2 = (int *) 0 ; | |
1554 | int *arg3 = (int *) 0 ; | |
1555 | int temp2 ; | |
1556 | int temp3 ; | |
1557 | PyObject * obj0 = 0 ; | |
1558 | char *kwnames[] = { | |
1559 | (char *) "self", NULL | |
1560 | }; | |
1561 | ||
1562 | arg2 = &temp2; | |
1563 | arg3 = &temp3; | |
1564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
1565 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1566 | { | |
1567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1568 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1569 | ||
1570 | wxPyEndAllowThreads(__tstate); | |
1571 | if (PyErr_Occurred()) SWIG_fail; | |
1572 | } | |
1573 | Py_INCREF(Py_None); resultobj = Py_None; | |
1574 | { | |
1575 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1576 | resultobj = t_output_helper(resultobj,o); | |
1577 | } | |
1578 | { | |
1579 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1580 | resultobj = t_output_helper(resultobj,o); | |
1581 | } | |
1582 | return resultobj; | |
1583 | fail: | |
1584 | return NULL; | |
1585 | } | |
1586 | ||
1587 | ||
1588 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1589 | PyObject *resultobj; | |
1590 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1591 | double arg2 ; | |
1592 | double arg3 ; | |
1593 | PyObject * obj0 = 0 ; | |
1594 | char *kwnames[] = { | |
1595 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1596 | }; | |
1597 | ||
1598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1599 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1600 | { | |
1601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1602 | (arg1)->SetScale(arg2,arg3); | |
1603 | ||
1604 | wxPyEndAllowThreads(__tstate); | |
1605 | if (PyErr_Occurred()) SWIG_fail; | |
1606 | } | |
1607 | Py_INCREF(Py_None); resultobj = Py_None; | |
1608 | return resultobj; | |
1609 | fail: | |
1610 | return NULL; | |
1611 | } | |
1612 | ||
1613 | ||
1614 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1615 | PyObject *resultobj; | |
1616 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1617 | double result; | |
1618 | PyObject * obj0 = 0 ; | |
1619 | char *kwnames[] = { | |
1620 | (char *) "self", NULL | |
1621 | }; | |
1622 | ||
1623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
1624 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1625 | { | |
1626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1627 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
1628 | ||
1629 | wxPyEndAllowThreads(__tstate); | |
1630 | if (PyErr_Occurred()) SWIG_fail; | |
1631 | } | |
1632 | resultobj = PyFloat_FromDouble(result); | |
1633 | return resultobj; | |
1634 | fail: | |
1635 | return NULL; | |
1636 | } | |
1637 | ||
1638 | ||
1639 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1640 | PyObject *resultobj; | |
1641 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1642 | double result; | |
1643 | PyObject * obj0 = 0 ; | |
1644 | char *kwnames[] = { | |
1645 | (char *) "self", NULL | |
1646 | }; | |
1647 | ||
1648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
1649 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1650 | { | |
1651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1652 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
1653 | ||
1654 | wxPyEndAllowThreads(__tstate); | |
1655 | if (PyErr_Occurred()) SWIG_fail; | |
1656 | } | |
1657 | resultobj = PyFloat_FromDouble(result); | |
1658 | return resultobj; | |
1659 | fail: | |
1660 | return NULL; | |
1661 | } | |
1662 | ||
1663 | ||
1664 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
1665 | PyObject *resultobj; | |
1666 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1667 | wxPoint *arg2 = 0 ; | |
1668 | wxPoint result; | |
1669 | wxPoint temp2 ; | |
1670 | PyObject * obj0 = 0 ; | |
1671 | PyObject * obj1 = 0 ; | |
1672 | ||
1673 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; | |
1674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1675 | { | |
1676 | arg2 = &temp2; | |
1677 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1678 | } | |
1679 | { | |
1680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1681 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); | |
1682 | ||
1683 | wxPyEndAllowThreads(__tstate); | |
1684 | if (PyErr_Occurred()) SWIG_fail; | |
1685 | } | |
1686 | { | |
1687 | wxPoint * resultptr; | |
1688 | resultptr = new wxPoint((wxPoint &) result); | |
1689 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
1690 | } | |
1691 | return resultobj; | |
1692 | fail: | |
1693 | return NULL; | |
1694 | } | |
1695 | ||
1696 | ||
1697 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
1698 | PyObject *resultobj; | |
1699 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1700 | int arg2 ; | |
1701 | int arg3 ; | |
1702 | int *arg4 = (int *) 0 ; | |
1703 | int *arg5 = (int *) 0 ; | |
1704 | int temp4 ; | |
1705 | int temp5 ; | |
1706 | PyObject * obj0 = 0 ; | |
1707 | ||
1708 | arg4 = &temp4; | |
1709 | arg5 = &temp5; | |
1710 | if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail; | |
1711 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1712 | { | |
1713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1714 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); | |
1715 | ||
1716 | wxPyEndAllowThreads(__tstate); | |
1717 | if (PyErr_Occurred()) SWIG_fail; | |
1718 | } | |
1719 | Py_INCREF(Py_None); resultobj = Py_None; | |
1720 | { | |
1721 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
1722 | resultobj = t_output_helper(resultobj,o); | |
1723 | } | |
1724 | { | |
1725 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
1726 | resultobj = t_output_helper(resultobj,o); | |
1727 | } | |
1728 | return resultobj; | |
1729 | fail: | |
1730 | return NULL; | |
1731 | } | |
1732 | ||
1733 | ||
1734 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
1735 | int argc; | |
1736 | PyObject *argv[4]; | |
1737 | int ii; | |
1738 | ||
1739 | argc = PyObject_Length(args); | |
1740 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
1741 | argv[ii] = PyTuple_GetItem(args,ii); | |
1742 | } | |
1743 | if (argc == 2) { | |
1744 | int _v; | |
1745 | { | |
1746 | void *ptr; | |
1747 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1748 | _v = 0; | |
1749 | PyErr_Clear(); | |
1750 | } else { | |
1751 | _v = 1; | |
1752 | } | |
1753 | } | |
1754 | if (_v) { | |
1755 | { | |
1756 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
1757 | } | |
1758 | if (_v) { | |
1759 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); | |
1760 | } | |
1761 | } | |
1762 | } | |
1763 | if (argc == 3) { | |
1764 | int _v; | |
1765 | { | |
1766 | void *ptr; | |
1767 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1768 | _v = 0; | |
1769 | PyErr_Clear(); | |
1770 | } else { | |
1771 | _v = 1; | |
1772 | } | |
1773 | } | |
1774 | if (_v) { | |
1775 | { | |
1776 | _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; | |
1777 | } | |
1778 | if (_v) { | |
1779 | { | |
1780 | _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; | |
1781 | } | |
1782 | if (_v) { | |
1783 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); | |
1784 | } | |
1785 | } | |
1786 | } | |
1787 | } | |
1788 | ||
1789 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
1790 | return NULL; | |
1791 | } | |
1792 | ||
1793 | ||
1794 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
1795 | PyObject *resultobj; | |
1796 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1797 | wxPoint *arg2 = 0 ; | |
1798 | wxPoint result; | |
1799 | wxPoint temp2 ; | |
1800 | PyObject * obj0 = 0 ; | |
1801 | PyObject * obj1 = 0 ; | |
1802 | ||
1803 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; | |
1804 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1805 | { | |
1806 | arg2 = &temp2; | |
1807 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1808 | } | |
1809 | { | |
1810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1811 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); | |
1812 | ||
1813 | wxPyEndAllowThreads(__tstate); | |
1814 | if (PyErr_Occurred()) SWIG_fail; | |
1815 | } | |
1816 | { | |
1817 | wxPoint * resultptr; | |
1818 | resultptr = new wxPoint((wxPoint &) result); | |
1819 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
1820 | } | |
1821 | return resultobj; | |
1822 | fail: | |
1823 | return NULL; | |
1824 | } | |
1825 | ||
1826 | ||
1827 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
1828 | PyObject *resultobj; | |
1829 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1830 | int arg2 ; | |
1831 | int arg3 ; | |
1832 | int *arg4 = (int *) 0 ; | |
1833 | int *arg5 = (int *) 0 ; | |
1834 | int temp4 ; | |
1835 | int temp5 ; | |
1836 | PyObject * obj0 = 0 ; | |
1837 | ||
1838 | arg4 = &temp4; | |
1839 | arg5 = &temp5; | |
1840 | if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail; | |
1841 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1842 | { | |
1843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1844 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); | |
1845 | ||
1846 | wxPyEndAllowThreads(__tstate); | |
1847 | if (PyErr_Occurred()) SWIG_fail; | |
1848 | } | |
1849 | Py_INCREF(Py_None); resultobj = Py_None; | |
1850 | { | |
1851 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
1852 | resultobj = t_output_helper(resultobj,o); | |
1853 | } | |
1854 | { | |
1855 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
1856 | resultobj = t_output_helper(resultobj,o); | |
1857 | } | |
1858 | return resultobj; | |
1859 | fail: | |
1860 | return NULL; | |
1861 | } | |
1862 | ||
1863 | ||
1864 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
1865 | int argc; | |
1866 | PyObject *argv[4]; | |
1867 | int ii; | |
1868 | ||
1869 | argc = PyObject_Length(args); | |
1870 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
1871 | argv[ii] = PyTuple_GetItem(args,ii); | |
1872 | } | |
1873 | if (argc == 2) { | |
1874 | int _v; | |
1875 | { | |
1876 | void *ptr; | |
1877 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1878 | _v = 0; | |
1879 | PyErr_Clear(); | |
1880 | } else { | |
1881 | _v = 1; | |
1882 | } | |
1883 | } | |
1884 | if (_v) { | |
1885 | { | |
1886 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
1887 | } | |
1888 | if (_v) { | |
1889 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); | |
1890 | } | |
1891 | } | |
1892 | } | |
1893 | if (argc == 3) { | |
1894 | int _v; | |
1895 | { | |
1896 | void *ptr; | |
1897 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1898 | _v = 0; | |
1899 | PyErr_Clear(); | |
1900 | } else { | |
1901 | _v = 1; | |
1902 | } | |
1903 | } | |
1904 | if (_v) { | |
1905 | { | |
1906 | _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; | |
1907 | } | |
1908 | if (_v) { | |
1909 | { | |
1910 | _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; | |
1911 | } | |
1912 | if (_v) { | |
1913 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); | |
1914 | } | |
1915 | } | |
1916 | } | |
1917 | } | |
1918 | ||
1919 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
1920 | return NULL; | |
1921 | } | |
1922 | ||
1923 | ||
1924 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1925 | PyObject *resultobj; | |
1926 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1927 | PyObject * obj0 = 0 ; | |
1928 | char *kwnames[] = { | |
1929 | (char *) "self", NULL | |
1930 | }; | |
1931 | ||
1932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
1933 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1934 | { | |
1935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1936 | (arg1)->AdjustScrollbars(); | |
1937 | ||
1938 | wxPyEndAllowThreads(__tstate); | |
1939 | if (PyErr_Occurred()) SWIG_fail; | |
1940 | } | |
1941 | Py_INCREF(Py_None); resultobj = Py_None; | |
1942 | return resultobj; | |
1943 | fail: | |
1944 | return NULL; | |
1945 | } | |
1946 | ||
1947 | ||
1948 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1949 | PyObject *resultobj; | |
1950 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1951 | wxScrollWinEvent *arg2 = 0 ; | |
1952 | int result; | |
1953 | PyObject * obj0 = 0 ; | |
1954 | PyObject * obj1 = 0 ; | |
1955 | char *kwnames[] = { | |
1956 | (char *) "self",(char *) "event", NULL | |
1957 | }; | |
1958 | ||
1959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
1960 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1961 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1962 | if (arg2 == NULL) { | |
1963 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
1964 | } | |
1965 | { | |
1966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1967 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
1968 | ||
1969 | wxPyEndAllowThreads(__tstate); | |
1970 | if (PyErr_Occurred()) SWIG_fail; | |
1971 | } | |
1972 | resultobj = PyInt_FromLong((long)result); | |
1973 | return resultobj; | |
1974 | fail: | |
1975 | return NULL; | |
1976 | } | |
1977 | ||
1978 | ||
1979 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1980 | PyObject *resultobj; | |
1981 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1982 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1983 | PyObject * obj0 = 0 ; | |
1984 | PyObject * obj1 = 0 ; | |
1985 | char *kwnames[] = { | |
1986 | (char *) "self",(char *) "target", NULL | |
1987 | }; | |
1988 | ||
1989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
1990 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1991 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1992 | { | |
1993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1994 | (arg1)->SetTargetWindow(arg2); | |
1995 | ||
1996 | wxPyEndAllowThreads(__tstate); | |
1997 | if (PyErr_Occurred()) SWIG_fail; | |
1998 | } | |
1999 | Py_INCREF(Py_None); resultobj = Py_None; | |
2000 | return resultobj; | |
2001 | fail: | |
2002 | return NULL; | |
2003 | } | |
2004 | ||
2005 | ||
2006 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2007 | PyObject *resultobj; | |
2008 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2009 | wxWindow *result; | |
2010 | PyObject * obj0 = 0 ; | |
2011 | char *kwnames[] = { | |
2012 | (char *) "self", NULL | |
2013 | }; | |
2014 | ||
2015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
2016 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2017 | { | |
2018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2019 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2020 | ||
2021 | wxPyEndAllowThreads(__tstate); | |
2022 | if (PyErr_Occurred()) SWIG_fail; | |
2023 | } | |
2024 | { | |
2025 | resultobj = wxPyMake_wxObject(result); | |
2026 | } | |
2027 | return resultobj; | |
2028 | fail: | |
2029 | return NULL; | |
2030 | } | |
2031 | ||
2032 | ||
2033 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2034 | PyObject *resultobj; | |
2035 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2036 | wxRect *arg2 = 0 ; | |
2037 | wxRect temp2 ; | |
2038 | PyObject * obj0 = 0 ; | |
2039 | PyObject * obj1 = 0 ; | |
2040 | char *kwnames[] = { | |
2041 | (char *) "self",(char *) "rect", NULL | |
2042 | }; | |
2043 | ||
2044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
2045 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2046 | { | |
2047 | arg2 = &temp2; | |
2048 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
2049 | } | |
2050 | { | |
2051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2052 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
2053 | ||
2054 | wxPyEndAllowThreads(__tstate); | |
2055 | if (PyErr_Occurred()) SWIG_fail; | |
2056 | } | |
2057 | Py_INCREF(Py_None); resultobj = Py_None; | |
2058 | return resultobj; | |
2059 | fail: | |
2060 | return NULL; | |
2061 | } | |
2062 | ||
2063 | ||
2064 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2065 | PyObject *resultobj; | |
2066 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2067 | wxRect result; | |
2068 | PyObject * obj0 = 0 ; | |
2069 | char *kwnames[] = { | |
2070 | (char *) "self", NULL | |
2071 | }; | |
2072 | ||
2073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
2074 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2075 | { | |
2076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2077 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
2078 | ||
2079 | wxPyEndAllowThreads(__tstate); | |
2080 | if (PyErr_Occurred()) SWIG_fail; | |
2081 | } | |
2082 | { | |
2083 | wxRect * resultptr; | |
2084 | resultptr = new wxRect((wxRect &) result); | |
2085 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
2086 | } | |
2087 | return resultobj; | |
2088 | fail: | |
2089 | return NULL; | |
2090 | } | |
2091 | ||
2092 | ||
2093 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2094 | PyObject *obj; | |
2095 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2096 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2097 | Py_INCREF(obj); | |
2098 | return Py_BuildValue((char *)""); | |
2099 | } | |
2100 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2101 | PyObject *resultobj; | |
2102 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2103 | bool arg2 = (bool) True ; | |
2104 | PyObject * obj0 = 0 ; | |
2105 | PyObject * obj1 = 0 ; | |
2106 | char *kwnames[] = { | |
2107 | (char *) "self",(char *) "maximize", NULL | |
2108 | }; | |
2109 | ||
2110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2111 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2112 | if (obj1) { | |
2113 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2114 | if (PyErr_Occurred()) SWIG_fail; | |
2115 | } | |
2116 | { | |
2117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2118 | (arg1)->Maximize(arg2); | |
2119 | ||
2120 | wxPyEndAllowThreads(__tstate); | |
2121 | if (PyErr_Occurred()) SWIG_fail; | |
2122 | } | |
2123 | Py_INCREF(Py_None); resultobj = Py_None; | |
2124 | return resultobj; | |
2125 | fail: | |
2126 | return NULL; | |
2127 | } | |
2128 | ||
2129 | ||
2130 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2131 | PyObject *resultobj; | |
2132 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2133 | PyObject * obj0 = 0 ; | |
2134 | char *kwnames[] = { | |
2135 | (char *) "self", NULL | |
2136 | }; | |
2137 | ||
2138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
2139 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2140 | { | |
2141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2142 | (arg1)->Restore(); | |
2143 | ||
2144 | wxPyEndAllowThreads(__tstate); | |
2145 | if (PyErr_Occurred()) SWIG_fail; | |
2146 | } | |
2147 | Py_INCREF(Py_None); resultobj = Py_None; | |
2148 | return resultobj; | |
2149 | fail: | |
2150 | return NULL; | |
2151 | } | |
2152 | ||
2153 | ||
2154 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2155 | PyObject *resultobj; | |
2156 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2157 | bool arg2 = (bool) True ; | |
2158 | PyObject * obj0 = 0 ; | |
2159 | PyObject * obj1 = 0 ; | |
2160 | char *kwnames[] = { | |
2161 | (char *) "self",(char *) "iconize", NULL | |
2162 | }; | |
2163 | ||
2164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
2165 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2166 | if (obj1) { | |
2167 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2168 | if (PyErr_Occurred()) SWIG_fail; | |
2169 | } | |
2170 | { | |
2171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2172 | (arg1)->Iconize(arg2); | |
2173 | ||
2174 | wxPyEndAllowThreads(__tstate); | |
2175 | if (PyErr_Occurred()) SWIG_fail; | |
2176 | } | |
2177 | Py_INCREF(Py_None); resultobj = Py_None; | |
2178 | return resultobj; | |
2179 | fail: | |
2180 | return NULL; | |
2181 | } | |
2182 | ||
2183 | ||
2184 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2185 | PyObject *resultobj; | |
2186 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2187 | bool result; | |
2188 | PyObject * obj0 = 0 ; | |
2189 | char *kwnames[] = { | |
2190 | (char *) "self", NULL | |
2191 | }; | |
2192 | ||
2193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
2194 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2195 | { | |
2196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2197 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2198 | ||
2199 | wxPyEndAllowThreads(__tstate); | |
2200 | if (PyErr_Occurred()) SWIG_fail; | |
2201 | } | |
2202 | resultobj = PyInt_FromLong((long)result); | |
2203 | return resultobj; | |
2204 | fail: | |
2205 | return NULL; | |
2206 | } | |
2207 | ||
2208 | ||
2209 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2210 | PyObject *resultobj; | |
2211 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2212 | bool result; | |
2213 | PyObject * obj0 = 0 ; | |
2214 | char *kwnames[] = { | |
2215 | (char *) "self", NULL | |
2216 | }; | |
2217 | ||
2218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
2219 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2220 | { | |
2221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2222 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2223 | ||
2224 | wxPyEndAllowThreads(__tstate); | |
2225 | if (PyErr_Occurred()) SWIG_fail; | |
2226 | } | |
2227 | resultobj = PyInt_FromLong((long)result); | |
2228 | return resultobj; | |
2229 | fail: | |
2230 | return NULL; | |
2231 | } | |
2232 | ||
2233 | ||
2234 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2235 | PyObject *resultobj; | |
2236 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2237 | wxIcon result; | |
2238 | PyObject * obj0 = 0 ; | |
2239 | char *kwnames[] = { | |
2240 | (char *) "self", NULL | |
2241 | }; | |
2242 | ||
2243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
2244 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2245 | { | |
2246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2247 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2248 | ||
2249 | wxPyEndAllowThreads(__tstate); | |
2250 | if (PyErr_Occurred()) SWIG_fail; | |
2251 | } | |
2252 | { | |
2253 | wxIcon * resultptr; | |
2254 | resultptr = new wxIcon((wxIcon &) result); | |
2255 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1); | |
2256 | } | |
2257 | return resultobj; | |
2258 | fail: | |
2259 | return NULL; | |
2260 | } | |
2261 | ||
2262 | ||
2263 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2264 | PyObject *resultobj; | |
2265 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2266 | wxIcon *arg2 = 0 ; | |
2267 | PyObject * obj0 = 0 ; | |
2268 | PyObject * obj1 = 0 ; | |
2269 | char *kwnames[] = { | |
2270 | (char *) "self",(char *) "icon", NULL | |
2271 | }; | |
2272 | ||
2273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
2274 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2275 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2276 | if (arg2 == NULL) { | |
2277 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2278 | } | |
2279 | { | |
2280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2281 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2282 | ||
2283 | wxPyEndAllowThreads(__tstate); | |
2284 | if (PyErr_Occurred()) SWIG_fail; | |
2285 | } | |
2286 | Py_INCREF(Py_None); resultobj = Py_None; | |
2287 | return resultobj; | |
2288 | fail: | |
2289 | return NULL; | |
2290 | } | |
2291 | ||
2292 | ||
2293 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2294 | PyObject *resultobj; | |
2295 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2296 | wxIconBundle *arg2 = 0 ; | |
2297 | PyObject * obj0 = 0 ; | |
2298 | PyObject * obj1 = 0 ; | |
2299 | char *kwnames[] = { | |
2300 | (char *) "self",(char *) "icons", NULL | |
2301 | }; | |
2302 | ||
2303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
2304 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2305 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2306 | if (arg2 == NULL) { | |
2307 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2308 | } | |
2309 | { | |
2310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2311 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2312 | ||
2313 | wxPyEndAllowThreads(__tstate); | |
2314 | if (PyErr_Occurred()) SWIG_fail; | |
2315 | } | |
2316 | Py_INCREF(Py_None); resultobj = Py_None; | |
2317 | return resultobj; | |
2318 | fail: | |
2319 | return NULL; | |
2320 | } | |
2321 | ||
2322 | ||
2323 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2324 | PyObject *resultobj; | |
2325 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2326 | bool arg2 ; | |
2327 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2328 | bool result; | |
2329 | PyObject * obj0 = 0 ; | |
2330 | PyObject * obj1 = 0 ; | |
2331 | char *kwnames[] = { | |
2332 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2333 | }; | |
2334 | ||
2335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
2336 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2337 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2338 | if (PyErr_Occurred()) SWIG_fail; | |
2339 | { | |
2340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2341 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2342 | ||
2343 | wxPyEndAllowThreads(__tstate); | |
2344 | if (PyErr_Occurred()) SWIG_fail; | |
2345 | } | |
2346 | resultobj = PyInt_FromLong((long)result); | |
2347 | return resultobj; | |
2348 | fail: | |
2349 | return NULL; | |
2350 | } | |
2351 | ||
2352 | ||
2353 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2354 | PyObject *resultobj; | |
2355 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2356 | bool result; | |
2357 | PyObject * obj0 = 0 ; | |
2358 | char *kwnames[] = { | |
2359 | (char *) "self", NULL | |
2360 | }; | |
2361 | ||
2362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
2363 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2364 | { | |
2365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2366 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2367 | ||
2368 | wxPyEndAllowThreads(__tstate); | |
2369 | if (PyErr_Occurred()) SWIG_fail; | |
2370 | } | |
2371 | resultobj = PyInt_FromLong((long)result); | |
2372 | return resultobj; | |
2373 | fail: | |
2374 | return NULL; | |
2375 | } | |
2376 | ||
2377 | ||
2378 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2379 | PyObject *resultobj; | |
2380 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2381 | wxString *arg2 = 0 ; | |
2382 | bool temp2 = False ; | |
2383 | PyObject * obj0 = 0 ; | |
2384 | PyObject * obj1 = 0 ; | |
2385 | char *kwnames[] = { | |
2386 | (char *) "self",(char *) "title", NULL | |
2387 | }; | |
2388 | ||
2389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2390 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2391 | { | |
2392 | arg2 = wxString_in_helper(obj1); | |
2393 | if (arg2 == NULL) SWIG_fail; | |
2394 | temp2 = True; | |
2395 | } | |
2396 | { | |
2397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2398 | (arg1)->SetTitle((wxString const &)*arg2); | |
2399 | ||
2400 | wxPyEndAllowThreads(__tstate); | |
2401 | if (PyErr_Occurred()) SWIG_fail; | |
2402 | } | |
2403 | Py_INCREF(Py_None); resultobj = Py_None; | |
2404 | { | |
2405 | if (temp2) | |
2406 | delete arg2; | |
2407 | } | |
2408 | return resultobj; | |
2409 | fail: | |
2410 | { | |
2411 | if (temp2) | |
2412 | delete arg2; | |
2413 | } | |
2414 | return NULL; | |
2415 | } | |
2416 | ||
2417 | ||
2418 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2419 | PyObject *resultobj; | |
2420 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2421 | wxString result; | |
2422 | PyObject * obj0 = 0 ; | |
2423 | char *kwnames[] = { | |
2424 | (char *) "self", NULL | |
2425 | }; | |
2426 | ||
2427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
2428 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2429 | { | |
2430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2431 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2432 | ||
2433 | wxPyEndAllowThreads(__tstate); | |
2434 | if (PyErr_Occurred()) SWIG_fail; | |
2435 | } | |
2436 | { | |
2437 | #if wxUSE_UNICODE | |
2438 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2439 | #else | |
2440 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2441 | #endif | |
2442 | } | |
2443 | return resultobj; | |
2444 | fail: | |
2445 | return NULL; | |
2446 | } | |
2447 | ||
2448 | ||
2449 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2450 | PyObject *resultobj; | |
2451 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2452 | wxRegion *arg2 = 0 ; | |
2453 | bool result; | |
2454 | PyObject * obj0 = 0 ; | |
2455 | PyObject * obj1 = 0 ; | |
2456 | char *kwnames[] = { | |
2457 | (char *) "self",(char *) "region", NULL | |
2458 | }; | |
2459 | ||
2460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
2461 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2462 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2463 | if (arg2 == NULL) { | |
2464 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2465 | } | |
2466 | { | |
2467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2468 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2469 | ||
2470 | wxPyEndAllowThreads(__tstate); | |
2471 | if (PyErr_Occurred()) SWIG_fail; | |
2472 | } | |
2473 | resultobj = PyInt_FromLong((long)result); | |
2474 | return resultobj; | |
2475 | fail: | |
2476 | return NULL; | |
2477 | } | |
2478 | ||
2479 | ||
2480 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2481 | PyObject *obj; | |
2482 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2483 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2484 | Py_INCREF(obj); | |
2485 | return Py_BuildValue((char *)""); | |
2486 | } | |
2487 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2488 | PyObject *resultobj; | |
2489 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2490 | int arg2 ; | |
2491 | wxString *arg3 = 0 ; | |
2492 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2493 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2494 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2495 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2496 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2497 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2498 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2499 | wxFrame *result; | |
2500 | bool temp3 = False ; | |
2501 | wxPoint temp4 ; | |
2502 | wxSize temp5 ; | |
2503 | bool temp7 = False ; | |
2504 | PyObject * obj0 = 0 ; | |
2505 | PyObject * obj2 = 0 ; | |
2506 | PyObject * obj3 = 0 ; | |
2507 | PyObject * obj4 = 0 ; | |
2508 | PyObject * obj6 = 0 ; | |
2509 | char *kwnames[] = { | |
2510 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2511 | }; | |
2512 | ||
2513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
2514 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2515 | { | |
2516 | arg3 = wxString_in_helper(obj2); | |
2517 | if (arg3 == NULL) SWIG_fail; | |
2518 | temp3 = True; | |
2519 | } | |
2520 | if (obj3) { | |
2521 | { | |
2522 | arg4 = &temp4; | |
2523 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2524 | } | |
2525 | } | |
2526 | if (obj4) { | |
2527 | { | |
2528 | arg5 = &temp5; | |
2529 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2530 | } | |
2531 | } | |
2532 | if (obj6) { | |
2533 | { | |
2534 | arg7 = wxString_in_helper(obj6); | |
2535 | if (arg7 == NULL) SWIG_fail; | |
2536 | temp7 = True; | |
2537 | } | |
2538 | } | |
2539 | { | |
2540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2541 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2542 | ||
2543 | wxPyEndAllowThreads(__tstate); | |
2544 | if (PyErr_Occurred()) SWIG_fail; | |
2545 | } | |
2546 | { | |
2547 | resultobj = wxPyMake_wxObject(result); | |
2548 | } | |
2549 | { | |
2550 | if (temp3) | |
2551 | delete arg3; | |
2552 | } | |
2553 | { | |
2554 | if (temp7) | |
2555 | delete arg7; | |
2556 | } | |
2557 | return resultobj; | |
2558 | fail: | |
2559 | { | |
2560 | if (temp3) | |
2561 | delete arg3; | |
2562 | } | |
2563 | { | |
2564 | if (temp7) | |
2565 | delete arg7; | |
2566 | } | |
2567 | return NULL; | |
2568 | } | |
2569 | ||
2570 | ||
2571 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2572 | PyObject *resultobj; | |
2573 | wxFrame *result; | |
2574 | char *kwnames[] = { | |
2575 | NULL | |
2576 | }; | |
2577 | ||
2578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
2579 | { | |
2580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2581 | result = (wxFrame *)new wxFrame(); | |
2582 | ||
2583 | wxPyEndAllowThreads(__tstate); | |
2584 | if (PyErr_Occurred()) SWIG_fail; | |
2585 | } | |
2586 | { | |
2587 | resultobj = wxPyMake_wxObject(result); | |
2588 | } | |
2589 | return resultobj; | |
2590 | fail: | |
2591 | return NULL; | |
2592 | } | |
2593 | ||
2594 | ||
2595 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2596 | PyObject *resultobj; | |
2597 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2598 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2599 | int arg3 ; | |
2600 | wxString *arg4 = 0 ; | |
2601 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
2602 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
2603 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
2604 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
2605 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
2606 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
2607 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
2608 | bool result; | |
2609 | bool temp4 = False ; | |
2610 | wxPoint temp5 ; | |
2611 | wxSize temp6 ; | |
2612 | bool temp8 = False ; | |
2613 | PyObject * obj0 = 0 ; | |
2614 | PyObject * obj1 = 0 ; | |
2615 | PyObject * obj3 = 0 ; | |
2616 | PyObject * obj4 = 0 ; | |
2617 | PyObject * obj5 = 0 ; | |
2618 | PyObject * obj7 = 0 ; | |
2619 | char *kwnames[] = { | |
2620 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2621 | }; | |
2622 | ||
2623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
2624 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2625 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2626 | { | |
2627 | arg4 = wxString_in_helper(obj3); | |
2628 | if (arg4 == NULL) SWIG_fail; | |
2629 | temp4 = True; | |
2630 | } | |
2631 | if (obj4) { | |
2632 | { | |
2633 | arg5 = &temp5; | |
2634 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
2635 | } | |
2636 | } | |
2637 | if (obj5) { | |
2638 | { | |
2639 | arg6 = &temp6; | |
2640 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
2641 | } | |
2642 | } | |
2643 | if (obj7) { | |
2644 | { | |
2645 | arg8 = wxString_in_helper(obj7); | |
2646 | if (arg8 == NULL) SWIG_fail; | |
2647 | temp8 = True; | |
2648 | } | |
2649 | } | |
2650 | { | |
2651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2652 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
2653 | ||
2654 | wxPyEndAllowThreads(__tstate); | |
2655 | if (PyErr_Occurred()) SWIG_fail; | |
2656 | } | |
2657 | resultobj = PyInt_FromLong((long)result); | |
2658 | { | |
2659 | if (temp4) | |
2660 | delete arg4; | |
2661 | } | |
2662 | { | |
2663 | if (temp8) | |
2664 | delete arg8; | |
2665 | } | |
2666 | return resultobj; | |
2667 | fail: | |
2668 | { | |
2669 | if (temp4) | |
2670 | delete arg4; | |
2671 | } | |
2672 | { | |
2673 | if (temp8) | |
2674 | delete arg8; | |
2675 | } | |
2676 | return NULL; | |
2677 | } | |
2678 | ||
2679 | ||
2680 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2681 | PyObject *resultobj; | |
2682 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2683 | wxPoint result; | |
2684 | PyObject * obj0 = 0 ; | |
2685 | char *kwnames[] = { | |
2686 | (char *) "self", NULL | |
2687 | }; | |
2688 | ||
2689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
2690 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2691 | { | |
2692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2693 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
2694 | ||
2695 | wxPyEndAllowThreads(__tstate); | |
2696 | if (PyErr_Occurred()) SWIG_fail; | |
2697 | } | |
2698 | { | |
2699 | wxPoint * resultptr; | |
2700 | resultptr = new wxPoint((wxPoint &) result); | |
2701 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
2702 | } | |
2703 | return resultobj; | |
2704 | fail: | |
2705 | return NULL; | |
2706 | } | |
2707 | ||
2708 | ||
2709 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2710 | PyObject *resultobj; | |
2711 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2712 | PyObject * obj0 = 0 ; | |
2713 | char *kwnames[] = { | |
2714 | (char *) "self", NULL | |
2715 | }; | |
2716 | ||
2717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
2718 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2719 | { | |
2720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2721 | (arg1)->SendSizeEvent(); | |
2722 | ||
2723 | wxPyEndAllowThreads(__tstate); | |
2724 | if (PyErr_Occurred()) SWIG_fail; | |
2725 | } | |
2726 | Py_INCREF(Py_None); resultobj = Py_None; | |
2727 | return resultobj; | |
2728 | fail: | |
2729 | return NULL; | |
2730 | } | |
2731 | ||
2732 | ||
2733 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2734 | PyObject *resultobj; | |
2735 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2736 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
2737 | PyObject * obj0 = 0 ; | |
2738 | PyObject * obj1 = 0 ; | |
2739 | char *kwnames[] = { | |
2740 | (char *) "self",(char *) "menubar", NULL | |
2741 | }; | |
2742 | ||
2743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
2744 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2745 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2746 | { | |
2747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2748 | (arg1)->SetMenuBar(arg2); | |
2749 | ||
2750 | wxPyEndAllowThreads(__tstate); | |
2751 | if (PyErr_Occurred()) SWIG_fail; | |
2752 | } | |
2753 | Py_INCREF(Py_None); resultobj = Py_None; | |
2754 | return resultobj; | |
2755 | fail: | |
2756 | return NULL; | |
2757 | } | |
2758 | ||
2759 | ||
2760 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2761 | PyObject *resultobj; | |
2762 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2763 | wxMenuBar *result; | |
2764 | PyObject * obj0 = 0 ; | |
2765 | char *kwnames[] = { | |
2766 | (char *) "self", NULL | |
2767 | }; | |
2768 | ||
2769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
2770 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2771 | { | |
2772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2773 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
2774 | ||
2775 | wxPyEndAllowThreads(__tstate); | |
2776 | if (PyErr_Occurred()) SWIG_fail; | |
2777 | } | |
2778 | { | |
2779 | resultobj = wxPyMake_wxObject(result); | |
2780 | } | |
2781 | return resultobj; | |
2782 | fail: | |
2783 | return NULL; | |
2784 | } | |
2785 | ||
2786 | ||
2787 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2788 | PyObject *resultobj; | |
2789 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2790 | int arg2 ; | |
2791 | bool result; | |
2792 | PyObject * obj0 = 0 ; | |
2793 | char *kwnames[] = { | |
2794 | (char *) "self",(char *) "winid", NULL | |
2795 | }; | |
2796 | ||
2797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail; | |
2798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2799 | { | |
2800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2801 | result = (bool)(arg1)->ProcessCommand(arg2); | |
2802 | ||
2803 | wxPyEndAllowThreads(__tstate); | |
2804 | if (PyErr_Occurred()) SWIG_fail; | |
2805 | } | |
2806 | resultobj = PyInt_FromLong((long)result); | |
2807 | return resultobj; | |
2808 | fail: | |
2809 | return NULL; | |
2810 | } | |
2811 | ||
2812 | ||
2813 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2814 | PyObject *resultobj; | |
2815 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2816 | int arg2 = (int) 1 ; | |
2817 | long arg3 = (long) wxST_SIZEGRIP ; | |
2818 | int arg4 = (int) 0 ; | |
2819 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
2820 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
2821 | wxStatusBar *result; | |
2822 | bool temp5 = False ; | |
2823 | PyObject * obj0 = 0 ; | |
2824 | PyObject * obj4 = 0 ; | |
2825 | char *kwnames[] = { | |
2826 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
2827 | }; | |
2828 | ||
2829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail; | |
2830 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2831 | if (obj4) { | |
2832 | { | |
2833 | arg5 = wxString_in_helper(obj4); | |
2834 | if (arg5 == NULL) SWIG_fail; | |
2835 | temp5 = True; | |
2836 | } | |
2837 | } | |
2838 | { | |
2839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2840 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
2841 | ||
2842 | wxPyEndAllowThreads(__tstate); | |
2843 | if (PyErr_Occurred()) SWIG_fail; | |
2844 | } | |
2845 | { | |
2846 | resultobj = wxPyMake_wxObject(result); | |
2847 | } | |
2848 | { | |
2849 | if (temp5) | |
2850 | delete arg5; | |
2851 | } | |
2852 | return resultobj; | |
2853 | fail: | |
2854 | { | |
2855 | if (temp5) | |
2856 | delete arg5; | |
2857 | } | |
2858 | return NULL; | |
2859 | } | |
2860 | ||
2861 | ||
2862 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2863 | PyObject *resultobj; | |
2864 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2865 | wxStatusBar *result; | |
2866 | PyObject * obj0 = 0 ; | |
2867 | char *kwnames[] = { | |
2868 | (char *) "self", NULL | |
2869 | }; | |
2870 | ||
2871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
2872 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2873 | { | |
2874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2875 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
2876 | ||
2877 | wxPyEndAllowThreads(__tstate); | |
2878 | if (PyErr_Occurred()) SWIG_fail; | |
2879 | } | |
2880 | { | |
2881 | resultobj = wxPyMake_wxObject(result); | |
2882 | } | |
2883 | return resultobj; | |
2884 | fail: | |
2885 | return NULL; | |
2886 | } | |
2887 | ||
2888 | ||
2889 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2890 | PyObject *resultobj; | |
2891 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2892 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
2893 | PyObject * obj0 = 0 ; | |
2894 | PyObject * obj1 = 0 ; | |
2895 | char *kwnames[] = { | |
2896 | (char *) "self",(char *) "statBar", NULL | |
2897 | }; | |
2898 | ||
2899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
2900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2901 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2902 | { | |
2903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2904 | (arg1)->SetStatusBar(arg2); | |
2905 | ||
2906 | wxPyEndAllowThreads(__tstate); | |
2907 | if (PyErr_Occurred()) SWIG_fail; | |
2908 | } | |
2909 | Py_INCREF(Py_None); resultobj = Py_None; | |
2910 | return resultobj; | |
2911 | fail: | |
2912 | return NULL; | |
2913 | } | |
2914 | ||
2915 | ||
2916 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2917 | PyObject *resultobj; | |
2918 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2919 | wxString *arg2 = 0 ; | |
2920 | int arg3 = (int) 0 ; | |
2921 | bool temp2 = False ; | |
2922 | PyObject * obj0 = 0 ; | |
2923 | PyObject * obj1 = 0 ; | |
2924 | char *kwnames[] = { | |
2925 | (char *) "self",(char *) "text",(char *) "number", NULL | |
2926 | }; | |
2927 | ||
2928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
2929 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2930 | { | |
2931 | arg2 = wxString_in_helper(obj1); | |
2932 | if (arg2 == NULL) SWIG_fail; | |
2933 | temp2 = True; | |
2934 | } | |
2935 | { | |
2936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2937 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
2938 | ||
2939 | wxPyEndAllowThreads(__tstate); | |
2940 | if (PyErr_Occurred()) SWIG_fail; | |
2941 | } | |
2942 | Py_INCREF(Py_None); resultobj = Py_None; | |
2943 | { | |
2944 | if (temp2) | |
2945 | delete arg2; | |
2946 | } | |
2947 | return resultobj; | |
2948 | fail: | |
2949 | { | |
2950 | if (temp2) | |
2951 | delete arg2; | |
2952 | } | |
2953 | return NULL; | |
2954 | } | |
2955 | ||
2956 | ||
2957 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2958 | PyObject *resultobj; | |
2959 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2960 | int arg2 ; | |
2961 | int *arg3 = (int *) 0 ; | |
2962 | PyObject * obj0 = 0 ; | |
2963 | PyObject * obj1 = 0 ; | |
2964 | char *kwnames[] = { | |
2965 | (char *) "self",(char *) "widths", NULL | |
2966 | }; | |
2967 | ||
2968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
2969 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2970 | { | |
2971 | arg2 = PyList_Size(obj1); | |
2972 | arg3 = int_LIST_helper(obj1); | |
2973 | if (arg3 == NULL) SWIG_fail; | |
2974 | } | |
2975 | { | |
2976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2977 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
2978 | ||
2979 | wxPyEndAllowThreads(__tstate); | |
2980 | if (PyErr_Occurred()) SWIG_fail; | |
2981 | } | |
2982 | Py_INCREF(Py_None); resultobj = Py_None; | |
2983 | { | |
2984 | if (arg3) delete [] arg3; | |
2985 | } | |
2986 | return resultobj; | |
2987 | fail: | |
2988 | { | |
2989 | if (arg3) delete [] arg3; | |
2990 | } | |
2991 | return NULL; | |
2992 | } | |
2993 | ||
2994 | ||
2995 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2996 | PyObject *resultobj; | |
2997 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2998 | wxString *arg2 = 0 ; | |
2999 | int arg3 = (int) 0 ; | |
3000 | bool temp2 = False ; | |
3001 | PyObject * obj0 = 0 ; | |
3002 | PyObject * obj1 = 0 ; | |
3003 | char *kwnames[] = { | |
3004 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3005 | }; | |
3006 | ||
3007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
3008 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3009 | { | |
3010 | arg2 = wxString_in_helper(obj1); | |
3011 | if (arg2 == NULL) SWIG_fail; | |
3012 | temp2 = True; | |
3013 | } | |
3014 | { | |
3015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3016 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3017 | ||
3018 | wxPyEndAllowThreads(__tstate); | |
3019 | if (PyErr_Occurred()) SWIG_fail; | |
3020 | } | |
3021 | Py_INCREF(Py_None); resultobj = Py_None; | |
3022 | { | |
3023 | if (temp2) | |
3024 | delete arg2; | |
3025 | } | |
3026 | return resultobj; | |
3027 | fail: | |
3028 | { | |
3029 | if (temp2) | |
3030 | delete arg2; | |
3031 | } | |
3032 | return NULL; | |
3033 | } | |
3034 | ||
3035 | ||
3036 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3037 | PyObject *resultobj; | |
3038 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3039 | int arg2 = (int) 0 ; | |
3040 | PyObject * obj0 = 0 ; | |
3041 | char *kwnames[] = { | |
3042 | (char *) "self",(char *) "number", NULL | |
3043 | }; | |
3044 | ||
3045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail; | |
3046 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3047 | { | |
3048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3049 | (arg1)->PopStatusText(arg2); | |
3050 | ||
3051 | wxPyEndAllowThreads(__tstate); | |
3052 | if (PyErr_Occurred()) SWIG_fail; | |
3053 | } | |
3054 | Py_INCREF(Py_None); resultobj = Py_None; | |
3055 | return resultobj; | |
3056 | fail: | |
3057 | return NULL; | |
3058 | } | |
3059 | ||
3060 | ||
3061 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3062 | PyObject *resultobj; | |
3063 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3064 | int arg2 ; | |
3065 | PyObject * obj0 = 0 ; | |
3066 | char *kwnames[] = { | |
3067 | (char *) "self",(char *) "n", NULL | |
3068 | }; | |
3069 | ||
3070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail; | |
3071 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3072 | { | |
3073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3074 | (arg1)->SetStatusBarPane(arg2); | |
3075 | ||
3076 | wxPyEndAllowThreads(__tstate); | |
3077 | if (PyErr_Occurred()) SWIG_fail; | |
3078 | } | |
3079 | Py_INCREF(Py_None); resultobj = Py_None; | |
3080 | return resultobj; | |
3081 | fail: | |
3082 | return NULL; | |
3083 | } | |
3084 | ||
3085 | ||
3086 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3087 | PyObject *resultobj; | |
3088 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3089 | int result; | |
3090 | PyObject * obj0 = 0 ; | |
3091 | char *kwnames[] = { | |
3092 | (char *) "self", NULL | |
3093 | }; | |
3094 | ||
3095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
3096 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3097 | { | |
3098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3099 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3100 | ||
3101 | wxPyEndAllowThreads(__tstate); | |
3102 | if (PyErr_Occurred()) SWIG_fail; | |
3103 | } | |
3104 | resultobj = PyInt_FromLong((long)result); | |
3105 | return resultobj; | |
3106 | fail: | |
3107 | return NULL; | |
3108 | } | |
3109 | ||
3110 | ||
3111 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3112 | PyObject *resultobj; | |
3113 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3114 | long arg2 = (long) -1 ; | |
3115 | int arg3 = (int) -1 ; | |
3116 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; | |
3117 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3118 | wxToolBar *result; | |
3119 | bool temp4 = False ; | |
3120 | PyObject * obj0 = 0 ; | |
3121 | PyObject * obj3 = 0 ; | |
3122 | char *kwnames[] = { | |
3123 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3124 | }; | |
3125 | ||
3126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
3127 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3128 | if (obj3) { | |
3129 | { | |
3130 | arg4 = wxString_in_helper(obj3); | |
3131 | if (arg4 == NULL) SWIG_fail; | |
3132 | temp4 = True; | |
3133 | } | |
3134 | } | |
3135 | { | |
3136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3137 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3138 | ||
3139 | wxPyEndAllowThreads(__tstate); | |
3140 | if (PyErr_Occurred()) SWIG_fail; | |
3141 | } | |
3142 | { | |
3143 | resultobj = wxPyMake_wxObject(result); | |
3144 | } | |
3145 | { | |
3146 | if (temp4) | |
3147 | delete arg4; | |
3148 | } | |
3149 | return resultobj; | |
3150 | fail: | |
3151 | { | |
3152 | if (temp4) | |
3153 | delete arg4; | |
3154 | } | |
3155 | return NULL; | |
3156 | } | |
3157 | ||
3158 | ||
3159 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3160 | PyObject *resultobj; | |
3161 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3162 | wxToolBar *result; | |
3163 | PyObject * obj0 = 0 ; | |
3164 | char *kwnames[] = { | |
3165 | (char *) "self", NULL | |
3166 | }; | |
3167 | ||
3168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
3169 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3170 | { | |
3171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3172 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3173 | ||
3174 | wxPyEndAllowThreads(__tstate); | |
3175 | if (PyErr_Occurred()) SWIG_fail; | |
3176 | } | |
3177 | { | |
3178 | resultobj = wxPyMake_wxObject(result); | |
3179 | } | |
3180 | return resultobj; | |
3181 | fail: | |
3182 | return NULL; | |
3183 | } | |
3184 | ||
3185 | ||
3186 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3187 | PyObject *resultobj; | |
3188 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3189 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3190 | PyObject * obj0 = 0 ; | |
3191 | PyObject * obj1 = 0 ; | |
3192 | char *kwnames[] = { | |
3193 | (char *) "self",(char *) "toolbar", NULL | |
3194 | }; | |
3195 | ||
3196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
3197 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3198 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3199 | { | |
3200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3201 | (arg1)->SetToolBar(arg2); | |
3202 | ||
3203 | wxPyEndAllowThreads(__tstate); | |
3204 | if (PyErr_Occurred()) SWIG_fail; | |
3205 | } | |
3206 | Py_INCREF(Py_None); resultobj = Py_None; | |
3207 | return resultobj; | |
3208 | fail: | |
3209 | return NULL; | |
3210 | } | |
3211 | ||
3212 | ||
3213 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3214 | PyObject *resultobj; | |
3215 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3216 | wxString *arg2 = 0 ; | |
3217 | bool arg3 ; | |
3218 | bool temp2 = False ; | |
3219 | PyObject * obj0 = 0 ; | |
3220 | PyObject * obj1 = 0 ; | |
3221 | PyObject * obj2 = 0 ; | |
3222 | char *kwnames[] = { | |
3223 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3224 | }; | |
3225 | ||
3226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3227 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3228 | { | |
3229 | arg2 = wxString_in_helper(obj1); | |
3230 | if (arg2 == NULL) SWIG_fail; | |
3231 | temp2 = True; | |
3232 | } | |
3233 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
3234 | if (PyErr_Occurred()) SWIG_fail; | |
3235 | { | |
3236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3237 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3238 | ||
3239 | wxPyEndAllowThreads(__tstate); | |
3240 | if (PyErr_Occurred()) SWIG_fail; | |
3241 | } | |
3242 | Py_INCREF(Py_None); resultobj = Py_None; | |
3243 | { | |
3244 | if (temp2) | |
3245 | delete arg2; | |
3246 | } | |
3247 | return resultobj; | |
3248 | fail: | |
3249 | { | |
3250 | if (temp2) | |
3251 | delete arg2; | |
3252 | } | |
3253 | return NULL; | |
3254 | } | |
3255 | ||
3256 | ||
3257 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3258 | PyObject *resultobj; | |
3259 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3260 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3261 | PyObject * obj0 = 0 ; | |
3262 | PyObject * obj1 = 0 ; | |
3263 | char *kwnames[] = { | |
3264 | (char *) "self",(char *) "menu", NULL | |
3265 | }; | |
3266 | ||
3267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
3268 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3269 | if (obj1) { | |
3270 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3271 | } | |
3272 | { | |
3273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3274 | (arg1)->DoMenuUpdates(arg2); | |
3275 | ||
3276 | wxPyEndAllowThreads(__tstate); | |
3277 | if (PyErr_Occurred()) SWIG_fail; | |
3278 | } | |
3279 | Py_INCREF(Py_None); resultobj = Py_None; | |
3280 | return resultobj; | |
3281 | fail: | |
3282 | return NULL; | |
3283 | } | |
3284 | ||
3285 | ||
3286 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3287 | PyObject *obj; | |
3288 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3289 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3290 | Py_INCREF(obj); | |
3291 | return Py_BuildValue((char *)""); | |
3292 | } | |
3293 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3294 | PyObject *resultobj; | |
3295 | wxWindow *arg1 = (wxWindow *) 0 ; | |
3296 | int arg2 ; | |
3297 | wxString *arg3 = 0 ; | |
3298 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3299 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3300 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3301 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3302 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3303 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3304 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3305 | wxDialog *result; | |
3306 | bool temp3 = False ; | |
3307 | wxPoint temp4 ; | |
3308 | wxSize temp5 ; | |
3309 | bool temp7 = False ; | |
3310 | PyObject * obj0 = 0 ; | |
3311 | PyObject * obj2 = 0 ; | |
3312 | PyObject * obj3 = 0 ; | |
3313 | PyObject * obj4 = 0 ; | |
3314 | PyObject * obj6 = 0 ; | |
3315 | char *kwnames[] = { | |
3316 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3317 | }; | |
3318 | ||
3319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
3320 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3321 | { | |
3322 | arg3 = wxString_in_helper(obj2); | |
3323 | if (arg3 == NULL) SWIG_fail; | |
3324 | temp3 = True; | |
3325 | } | |
3326 | if (obj3) { | |
3327 | { | |
3328 | arg4 = &temp4; | |
3329 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3330 | } | |
3331 | } | |
3332 | if (obj4) { | |
3333 | { | |
3334 | arg5 = &temp5; | |
3335 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3336 | } | |
3337 | } | |
3338 | if (obj6) { | |
3339 | { | |
3340 | arg7 = wxString_in_helper(obj6); | |
3341 | if (arg7 == NULL) SWIG_fail; | |
3342 | temp7 = True; | |
3343 | } | |
3344 | } | |
3345 | { | |
3346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3347 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3348 | ||
3349 | wxPyEndAllowThreads(__tstate); | |
3350 | if (PyErr_Occurred()) SWIG_fail; | |
3351 | } | |
3352 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1); | |
3353 | { | |
3354 | if (temp3) | |
3355 | delete arg3; | |
3356 | } | |
3357 | { | |
3358 | if (temp7) | |
3359 | delete arg7; | |
3360 | } | |
3361 | return resultobj; | |
3362 | fail: | |
3363 | { | |
3364 | if (temp3) | |
3365 | delete arg3; | |
3366 | } | |
3367 | { | |
3368 | if (temp7) | |
3369 | delete arg7; | |
3370 | } | |
3371 | return NULL; | |
3372 | } | |
3373 | ||
3374 | ||
3375 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3376 | PyObject *resultobj; | |
3377 | wxDialog *result; | |
3378 | char *kwnames[] = { | |
3379 | NULL | |
3380 | }; | |
3381 | ||
3382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3383 | { | |
3384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3385 | result = (wxDialog *)new wxDialog(); | |
3386 | ||
3387 | wxPyEndAllowThreads(__tstate); | |
3388 | if (PyErr_Occurred()) SWIG_fail; | |
3389 | } | |
3390 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1); | |
3391 | return resultobj; | |
3392 | fail: | |
3393 | return NULL; | |
3394 | } | |
3395 | ||
3396 | ||
3397 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3398 | PyObject *resultobj; | |
3399 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3400 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3401 | int arg3 ; | |
3402 | wxString *arg4 = 0 ; | |
3403 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3404 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3405 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3406 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3407 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3408 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3409 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3410 | bool result; | |
3411 | bool temp4 = False ; | |
3412 | wxPoint temp5 ; | |
3413 | wxSize temp6 ; | |
3414 | bool temp8 = False ; | |
3415 | PyObject * obj0 = 0 ; | |
3416 | PyObject * obj1 = 0 ; | |
3417 | PyObject * obj3 = 0 ; | |
3418 | PyObject * obj4 = 0 ; | |
3419 | PyObject * obj5 = 0 ; | |
3420 | PyObject * obj7 = 0 ; | |
3421 | char *kwnames[] = { | |
3422 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3423 | }; | |
3424 | ||
3425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
3426 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3427 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3428 | { | |
3429 | arg4 = wxString_in_helper(obj3); | |
3430 | if (arg4 == NULL) SWIG_fail; | |
3431 | temp4 = True; | |
3432 | } | |
3433 | if (obj4) { | |
3434 | { | |
3435 | arg5 = &temp5; | |
3436 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3437 | } | |
3438 | } | |
3439 | if (obj5) { | |
3440 | { | |
3441 | arg6 = &temp6; | |
3442 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3443 | } | |
3444 | } | |
3445 | if (obj7) { | |
3446 | { | |
3447 | arg8 = wxString_in_helper(obj7); | |
3448 | if (arg8 == NULL) SWIG_fail; | |
3449 | temp8 = True; | |
3450 | } | |
3451 | } | |
3452 | { | |
3453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3454 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3455 | ||
3456 | wxPyEndAllowThreads(__tstate); | |
3457 | if (PyErr_Occurred()) SWIG_fail; | |
3458 | } | |
3459 | resultobj = PyInt_FromLong((long)result); | |
3460 | { | |
3461 | if (temp4) | |
3462 | delete arg4; | |
3463 | } | |
3464 | { | |
3465 | if (temp8) | |
3466 | delete arg8; | |
3467 | } | |
3468 | return resultobj; | |
3469 | fail: | |
3470 | { | |
3471 | if (temp4) | |
3472 | delete arg4; | |
3473 | } | |
3474 | { | |
3475 | if (temp8) | |
3476 | delete arg8; | |
3477 | } | |
3478 | return NULL; | |
3479 | } | |
3480 | ||
3481 | ||
3482 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3483 | PyObject *resultobj; | |
3484 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3485 | int arg2 ; | |
3486 | PyObject * obj0 = 0 ; | |
3487 | char *kwnames[] = { | |
3488 | (char *) "self",(char *) "returnCode", NULL | |
3489 | }; | |
3490 | ||
3491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail; | |
3492 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3493 | { | |
3494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3495 | (arg1)->SetReturnCode(arg2); | |
3496 | ||
3497 | wxPyEndAllowThreads(__tstate); | |
3498 | if (PyErr_Occurred()) SWIG_fail; | |
3499 | } | |
3500 | Py_INCREF(Py_None); resultobj = Py_None; | |
3501 | return resultobj; | |
3502 | fail: | |
3503 | return NULL; | |
3504 | } | |
3505 | ||
3506 | ||
3507 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3508 | PyObject *resultobj; | |
3509 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3510 | int result; | |
3511 | PyObject * obj0 = 0 ; | |
3512 | char *kwnames[] = { | |
3513 | (char *) "self", NULL | |
3514 | }; | |
3515 | ||
3516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
3517 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3518 | { | |
3519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3520 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
3521 | ||
3522 | wxPyEndAllowThreads(__tstate); | |
3523 | if (PyErr_Occurred()) SWIG_fail; | |
3524 | } | |
3525 | resultobj = PyInt_FromLong((long)result); | |
3526 | return resultobj; | |
3527 | fail: | |
3528 | return NULL; | |
3529 | } | |
3530 | ||
3531 | ||
3532 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3533 | PyObject *resultobj; | |
3534 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3535 | wxString *arg2 = 0 ; | |
3536 | wxSizer *result; | |
3537 | bool temp2 = False ; | |
3538 | PyObject * obj0 = 0 ; | |
3539 | PyObject * obj1 = 0 ; | |
3540 | char *kwnames[] = { | |
3541 | (char *) "self",(char *) "message", NULL | |
3542 | }; | |
3543 | ||
3544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
3545 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3546 | { | |
3547 | arg2 = wxString_in_helper(obj1); | |
3548 | if (arg2 == NULL) SWIG_fail; | |
3549 | temp2 = True; | |
3550 | } | |
3551 | { | |
3552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3553 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
3554 | ||
3555 | wxPyEndAllowThreads(__tstate); | |
3556 | if (PyErr_Occurred()) SWIG_fail; | |
3557 | } | |
3558 | { | |
3559 | resultobj = wxPyMake_wxSizer(result); | |
3560 | } | |
3561 | { | |
3562 | if (temp2) | |
3563 | delete arg2; | |
3564 | } | |
3565 | return resultobj; | |
3566 | fail: | |
3567 | { | |
3568 | if (temp2) | |
3569 | delete arg2; | |
3570 | } | |
3571 | return NULL; | |
3572 | } | |
3573 | ||
3574 | ||
3575 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3576 | PyObject *resultobj; | |
3577 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3578 | long arg2 ; | |
3579 | wxSizer *result; | |
3580 | PyObject * obj0 = 0 ; | |
3581 | char *kwnames[] = { | |
3582 | (char *) "self",(char *) "flags", NULL | |
3583 | }; | |
3584 | ||
3585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail; | |
3586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3587 | { | |
3588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3589 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
3590 | ||
3591 | wxPyEndAllowThreads(__tstate); | |
3592 | if (PyErr_Occurred()) SWIG_fail; | |
3593 | } | |
3594 | { | |
3595 | resultobj = wxPyMake_wxSizer(result); | |
3596 | } | |
3597 | return resultobj; | |
3598 | fail: | |
3599 | return NULL; | |
3600 | } | |
3601 | ||
3602 | ||
3603 | static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3604 | PyObject *resultobj; | |
3605 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3606 | bool arg2 ; | |
3607 | PyObject * obj0 = 0 ; | |
3608 | PyObject * obj1 = 0 ; | |
3609 | char *kwnames[] = { | |
3610 | (char *) "self",(char *) "flag", NULL | |
3611 | }; | |
3612 | ||
3613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail; | |
3614 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3615 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3616 | if (PyErr_Occurred()) SWIG_fail; | |
3617 | { | |
3618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3619 | (arg1)->SetModal(arg2); | |
3620 | ||
3621 | wxPyEndAllowThreads(__tstate); | |
3622 | if (PyErr_Occurred()) SWIG_fail; | |
3623 | } | |
3624 | Py_INCREF(Py_None); resultobj = Py_None; | |
3625 | return resultobj; | |
3626 | fail: | |
3627 | return NULL; | |
3628 | } | |
3629 | ||
3630 | ||
3631 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3632 | PyObject *resultobj; | |
3633 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3634 | bool result; | |
3635 | PyObject * obj0 = 0 ; | |
3636 | char *kwnames[] = { | |
3637 | (char *) "self", NULL | |
3638 | }; | |
3639 | ||
3640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
3641 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3642 | { | |
3643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3644 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
3645 | ||
3646 | wxPyEndAllowThreads(__tstate); | |
3647 | if (PyErr_Occurred()) SWIG_fail; | |
3648 | } | |
3649 | resultobj = PyInt_FromLong((long)result); | |
3650 | return resultobj; | |
3651 | fail: | |
3652 | return NULL; | |
3653 | } | |
3654 | ||
3655 | ||
3656 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3657 | PyObject *resultobj; | |
3658 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3659 | int result; | |
3660 | PyObject * obj0 = 0 ; | |
3661 | char *kwnames[] = { | |
3662 | (char *) "self", NULL | |
3663 | }; | |
3664 | ||
3665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
3666 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3667 | { | |
3668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3669 | result = (int)(arg1)->ShowModal(); | |
3670 | ||
3671 | wxPyEndAllowThreads(__tstate); | |
3672 | if (PyErr_Occurred()) SWIG_fail; | |
3673 | } | |
3674 | resultobj = PyInt_FromLong((long)result); | |
3675 | return resultobj; | |
3676 | fail: | |
3677 | return NULL; | |
3678 | } | |
3679 | ||
3680 | ||
3681 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3682 | PyObject *resultobj; | |
3683 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3684 | int arg2 ; | |
3685 | PyObject * obj0 = 0 ; | |
3686 | char *kwnames[] = { | |
3687 | (char *) "self",(char *) "retCode", NULL | |
3688 | }; | |
3689 | ||
3690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail; | |
3691 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3692 | { | |
3693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3694 | (arg1)->EndModal(arg2); | |
3695 | ||
3696 | wxPyEndAllowThreads(__tstate); | |
3697 | if (PyErr_Occurred()) SWIG_fail; | |
3698 | } | |
3699 | Py_INCREF(Py_None); resultobj = Py_None; | |
3700 | return resultobj; | |
3701 | fail: | |
3702 | return NULL; | |
3703 | } | |
3704 | ||
3705 | ||
3706 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3707 | PyObject *resultobj; | |
3708 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3709 | bool result; | |
3710 | PyObject * obj0 = 0 ; | |
3711 | char *kwnames[] = { | |
3712 | (char *) "self", NULL | |
3713 | }; | |
3714 | ||
3715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
3716 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3717 | { | |
3718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3719 | result = (bool)wxDialog_IsModalShowing(arg1); | |
3720 | ||
3721 | wxPyEndAllowThreads(__tstate); | |
3722 | if (PyErr_Occurred()) SWIG_fail; | |
3723 | } | |
3724 | resultobj = PyInt_FromLong((long)result); | |
3725 | return resultobj; | |
3726 | fail: | |
3727 | return NULL; | |
3728 | } | |
3729 | ||
3730 | ||
3731 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
3732 | PyObject *obj; | |
3733 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3734 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
3735 | Py_INCREF(obj); | |
3736 | return Py_BuildValue((char *)""); | |
3737 | } | |
3738 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3739 | PyObject *resultobj; | |
3740 | wxWindow *arg1 = (wxWindow *) 0 ; | |
3741 | int arg2 ; | |
3742 | wxString *arg3 = 0 ; | |
3743 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3744 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3745 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3746 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3747 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
3748 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
3749 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3750 | wxMiniFrame *result; | |
3751 | bool temp3 = False ; | |
3752 | wxPoint temp4 ; | |
3753 | wxSize temp5 ; | |
3754 | bool temp7 = False ; | |
3755 | PyObject * obj0 = 0 ; | |
3756 | PyObject * obj2 = 0 ; | |
3757 | PyObject * obj3 = 0 ; | |
3758 | PyObject * obj4 = 0 ; | |
3759 | PyObject * obj6 = 0 ; | |
3760 | char *kwnames[] = { | |
3761 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3762 | }; | |
3763 | ||
3764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
3765 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3766 | { | |
3767 | arg3 = wxString_in_helper(obj2); | |
3768 | if (arg3 == NULL) SWIG_fail; | |
3769 | temp3 = True; | |
3770 | } | |
3771 | if (obj3) { | |
3772 | { | |
3773 | arg4 = &temp4; | |
3774 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3775 | } | |
3776 | } | |
3777 | if (obj4) { | |
3778 | { | |
3779 | arg5 = &temp5; | |
3780 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3781 | } | |
3782 | } | |
3783 | if (obj6) { | |
3784 | { | |
3785 | arg7 = wxString_in_helper(obj6); | |
3786 | if (arg7 == NULL) SWIG_fail; | |
3787 | temp7 = True; | |
3788 | } | |
3789 | } | |
3790 | { | |
3791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3792 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3793 | ||
3794 | wxPyEndAllowThreads(__tstate); | |
3795 | if (PyErr_Occurred()) SWIG_fail; | |
3796 | } | |
3797 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1); | |
3798 | { | |
3799 | if (temp3) | |
3800 | delete arg3; | |
3801 | } | |
3802 | { | |
3803 | if (temp7) | |
3804 | delete arg7; | |
3805 | } | |
3806 | return resultobj; | |
3807 | fail: | |
3808 | { | |
3809 | if (temp3) | |
3810 | delete arg3; | |
3811 | } | |
3812 | { | |
3813 | if (temp7) | |
3814 | delete arg7; | |
3815 | } | |
3816 | return NULL; | |
3817 | } | |
3818 | ||
3819 | ||
3820 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3821 | PyObject *resultobj; | |
3822 | wxMiniFrame *result; | |
3823 | char *kwnames[] = { | |
3824 | NULL | |
3825 | }; | |
3826 | ||
3827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
3828 | { | |
3829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3830 | result = (wxMiniFrame *)new wxMiniFrame(); | |
3831 | ||
3832 | wxPyEndAllowThreads(__tstate); | |
3833 | if (PyErr_Occurred()) SWIG_fail; | |
3834 | } | |
3835 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1); | |
3836 | return resultobj; | |
3837 | fail: | |
3838 | return NULL; | |
3839 | } | |
3840 | ||
3841 | ||
3842 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3843 | PyObject *resultobj; | |
3844 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
3845 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3846 | int arg3 ; | |
3847 | wxString *arg4 = 0 ; | |
3848 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3849 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3850 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3851 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3852 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3853 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3854 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3855 | bool result; | |
3856 | bool temp4 = False ; | |
3857 | wxPoint temp5 ; | |
3858 | wxSize temp6 ; | |
3859 | bool temp8 = False ; | |
3860 | PyObject * obj0 = 0 ; | |
3861 | PyObject * obj1 = 0 ; | |
3862 | PyObject * obj3 = 0 ; | |
3863 | PyObject * obj4 = 0 ; | |
3864 | PyObject * obj5 = 0 ; | |
3865 | PyObject * obj7 = 0 ; | |
3866 | char *kwnames[] = { | |
3867 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3868 | }; | |
3869 | ||
3870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
3871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3872 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3873 | { | |
3874 | arg4 = wxString_in_helper(obj3); | |
3875 | if (arg4 == NULL) SWIG_fail; | |
3876 | temp4 = True; | |
3877 | } | |
3878 | if (obj4) { | |
3879 | { | |
3880 | arg5 = &temp5; | |
3881 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3882 | } | |
3883 | } | |
3884 | if (obj5) { | |
3885 | { | |
3886 | arg6 = &temp6; | |
3887 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3888 | } | |
3889 | } | |
3890 | if (obj7) { | |
3891 | { | |
3892 | arg8 = wxString_in_helper(obj7); | |
3893 | if (arg8 == NULL) SWIG_fail; | |
3894 | temp8 = True; | |
3895 | } | |
3896 | } | |
3897 | { | |
3898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3899 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3900 | ||
3901 | wxPyEndAllowThreads(__tstate); | |
3902 | if (PyErr_Occurred()) SWIG_fail; | |
3903 | } | |
3904 | resultobj = PyInt_FromLong((long)result); | |
3905 | { | |
3906 | if (temp4) | |
3907 | delete arg4; | |
3908 | } | |
3909 | { | |
3910 | if (temp8) | |
3911 | delete arg8; | |
3912 | } | |
3913 | return resultobj; | |
3914 | fail: | |
3915 | { | |
3916 | if (temp4) | |
3917 | delete arg4; | |
3918 | } | |
3919 | { | |
3920 | if (temp8) | |
3921 | delete arg8; | |
3922 | } | |
3923 | return NULL; | |
3924 | } | |
3925 | ||
3926 | ||
3927 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
3928 | PyObject *obj; | |
3929 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3930 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
3931 | Py_INCREF(obj); | |
3932 | return Py_BuildValue((char *)""); | |
3933 | } | |
3934 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3935 | PyObject *resultobj; | |
3936 | wxBitmap *arg1 = 0 ; | |
3937 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3938 | int arg3 ; | |
3939 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3940 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3941 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3942 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3943 | long arg6 = (long) wxNO_BORDER ; | |
3944 | wxSplashScreenWindow *result; | |
3945 | wxPoint temp4 ; | |
3946 | wxSize temp5 ; | |
3947 | PyObject * obj0 = 0 ; | |
3948 | PyObject * obj1 = 0 ; | |
3949 | PyObject * obj3 = 0 ; | |
3950 | PyObject * obj4 = 0 ; | |
3951 | char *kwnames[] = { | |
3952 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3953 | }; | |
3954 | ||
3955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail; | |
3956 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3957 | if (arg1 == NULL) { | |
3958 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3959 | } | |
3960 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3961 | if (obj3) { | |
3962 | { | |
3963 | arg4 = &temp4; | |
3964 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3965 | } | |
3966 | } | |
3967 | if (obj4) { | |
3968 | { | |
3969 | arg5 = &temp5; | |
3970 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3971 | } | |
3972 | } | |
3973 | { | |
3974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3975 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
3976 | ||
3977 | wxPyEndAllowThreads(__tstate); | |
3978 | if (PyErr_Occurred()) SWIG_fail; | |
3979 | } | |
3980 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1); | |
3981 | return resultobj; | |
3982 | fail: | |
3983 | return NULL; | |
3984 | } | |
3985 | ||
3986 | ||
3987 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3988 | PyObject *resultobj; | |
3989 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
3990 | wxBitmap *arg2 = 0 ; | |
3991 | PyObject * obj0 = 0 ; | |
3992 | PyObject * obj1 = 0 ; | |
3993 | char *kwnames[] = { | |
3994 | (char *) "self",(char *) "bitmap", NULL | |
3995 | }; | |
3996 | ||
3997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
3998 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3999 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4000 | if (arg2 == NULL) { | |
4001 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4002 | } | |
4003 | { | |
4004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4005 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4006 | ||
4007 | wxPyEndAllowThreads(__tstate); | |
4008 | if (PyErr_Occurred()) SWIG_fail; | |
4009 | } | |
4010 | Py_INCREF(Py_None); resultobj = Py_None; | |
4011 | return resultobj; | |
4012 | fail: | |
4013 | return NULL; | |
4014 | } | |
4015 | ||
4016 | ||
4017 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4018 | PyObject *resultobj; | |
4019 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4020 | wxBitmap *result; | |
4021 | PyObject * obj0 = 0 ; | |
4022 | char *kwnames[] = { | |
4023 | (char *) "self", NULL | |
4024 | }; | |
4025 | ||
4026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
4027 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4028 | { | |
4029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4030 | { | |
4031 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4032 | result = (wxBitmap *) &_result_ref; | |
4033 | } | |
4034 | ||
4035 | wxPyEndAllowThreads(__tstate); | |
4036 | if (PyErr_Occurred()) SWIG_fail; | |
4037 | } | |
4038 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0); | |
4039 | return resultobj; | |
4040 | fail: | |
4041 | return NULL; | |
4042 | } | |
4043 | ||
4044 | ||
4045 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4046 | PyObject *obj; | |
4047 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4048 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4049 | Py_INCREF(obj); | |
4050 | return Py_BuildValue((char *)""); | |
4051 | } | |
4052 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4053 | PyObject *resultobj; | |
4054 | wxBitmap *arg1 = 0 ; | |
4055 | long arg2 ; | |
4056 | int arg3 ; | |
4057 | wxWindow *arg4 = (wxWindow *) 0 ; | |
4058 | int arg5 ; | |
4059 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
4060 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4061 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4062 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4063 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4064 | wxSplashScreen *result; | |
4065 | wxPoint temp6 ; | |
4066 | wxSize temp7 ; | |
4067 | PyObject * obj0 = 0 ; | |
4068 | PyObject * obj3 = 0 ; | |
4069 | PyObject * obj5 = 0 ; | |
4070 | PyObject * obj6 = 0 ; | |
4071 | char *kwnames[] = { | |
4072 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4073 | }; | |
4074 | ||
4075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail; | |
4076 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4077 | if (arg1 == NULL) { | |
4078 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4079 | } | |
4080 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4081 | if (obj5) { | |
4082 | { | |
4083 | arg6 = &temp6; | |
4084 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4085 | } | |
4086 | } | |
4087 | if (obj6) { | |
4088 | { | |
4089 | arg7 = &temp7; | |
4090 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4091 | } | |
4092 | } | |
4093 | { | |
4094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4095 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4096 | ||
4097 | wxPyEndAllowThreads(__tstate); | |
4098 | if (PyErr_Occurred()) SWIG_fail; | |
4099 | } | |
4100 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1); | |
4101 | return resultobj; | |
4102 | fail: | |
4103 | return NULL; | |
4104 | } | |
4105 | ||
4106 | ||
4107 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4108 | PyObject *resultobj; | |
4109 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4110 | long result; | |
4111 | PyObject * obj0 = 0 ; | |
4112 | char *kwnames[] = { | |
4113 | (char *) "self", NULL | |
4114 | }; | |
4115 | ||
4116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
4117 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4118 | { | |
4119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4120 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4121 | ||
4122 | wxPyEndAllowThreads(__tstate); | |
4123 | if (PyErr_Occurred()) SWIG_fail; | |
4124 | } | |
4125 | resultobj = PyInt_FromLong((long)result); | |
4126 | return resultobj; | |
4127 | fail: | |
4128 | return NULL; | |
4129 | } | |
4130 | ||
4131 | ||
4132 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4133 | PyObject *resultobj; | |
4134 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4135 | wxSplashScreenWindow *result; | |
4136 | PyObject * obj0 = 0 ; | |
4137 | char *kwnames[] = { | |
4138 | (char *) "self", NULL | |
4139 | }; | |
4140 | ||
4141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
4142 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4143 | { | |
4144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4145 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4146 | ||
4147 | wxPyEndAllowThreads(__tstate); | |
4148 | if (PyErr_Occurred()) SWIG_fail; | |
4149 | } | |
4150 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0); | |
4151 | return resultobj; | |
4152 | fail: | |
4153 | return NULL; | |
4154 | } | |
4155 | ||
4156 | ||
4157 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4158 | PyObject *resultobj; | |
4159 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4160 | int result; | |
4161 | PyObject * obj0 = 0 ; | |
4162 | char *kwnames[] = { | |
4163 | (char *) "self", NULL | |
4164 | }; | |
4165 | ||
4166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
4167 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4168 | { | |
4169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4170 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4171 | ||
4172 | wxPyEndAllowThreads(__tstate); | |
4173 | if (PyErr_Occurred()) SWIG_fail; | |
4174 | } | |
4175 | resultobj = PyInt_FromLong((long)result); | |
4176 | return resultobj; | |
4177 | fail: | |
4178 | return NULL; | |
4179 | } | |
4180 | ||
4181 | ||
4182 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4183 | PyObject *obj; | |
4184 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4185 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4186 | Py_INCREF(obj); | |
4187 | return Py_BuildValue((char *)""); | |
4188 | } | |
4189 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4190 | PyObject *resultobj; | |
4191 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4192 | int arg2 = (int) -1 ; | |
4193 | long arg3 = (long) wxST_SIZEGRIP ; | |
4194 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
4195 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4196 | wxStatusBar *result; | |
4197 | bool temp4 = False ; | |
4198 | PyObject * obj0 = 0 ; | |
4199 | PyObject * obj3 = 0 ; | |
4200 | char *kwnames[] = { | |
4201 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4202 | }; | |
4203 | ||
4204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
4205 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4206 | if (obj3) { | |
4207 | { | |
4208 | arg4 = wxString_in_helper(obj3); | |
4209 | if (arg4 == NULL) SWIG_fail; | |
4210 | temp4 = True; | |
4211 | } | |
4212 | } | |
4213 | { | |
4214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4215 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4216 | ||
4217 | wxPyEndAllowThreads(__tstate); | |
4218 | if (PyErr_Occurred()) SWIG_fail; | |
4219 | } | |
4220 | { | |
4221 | resultobj = wxPyMake_wxObject(result); | |
4222 | } | |
4223 | { | |
4224 | if (temp4) | |
4225 | delete arg4; | |
4226 | } | |
4227 | return resultobj; | |
4228 | fail: | |
4229 | { | |
4230 | if (temp4) | |
4231 | delete arg4; | |
4232 | } | |
4233 | return NULL; | |
4234 | } | |
4235 | ||
4236 | ||
4237 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4238 | PyObject *resultobj; | |
4239 | wxStatusBar *result; | |
4240 | char *kwnames[] = { | |
4241 | NULL | |
4242 | }; | |
4243 | ||
4244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4245 | { | |
4246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4247 | result = (wxStatusBar *)new wxStatusBar(); | |
4248 | ||
4249 | wxPyEndAllowThreads(__tstate); | |
4250 | if (PyErr_Occurred()) SWIG_fail; | |
4251 | } | |
4252 | { | |
4253 | resultobj = wxPyMake_wxObject(result); | |
4254 | } | |
4255 | return resultobj; | |
4256 | fail: | |
4257 | return NULL; | |
4258 | } | |
4259 | ||
4260 | ||
4261 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4262 | PyObject *resultobj; | |
4263 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4264 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4265 | int arg3 ; | |
4266 | long arg4 = (long) wxST_SIZEGRIP ; | |
4267 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4268 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4269 | bool result; | |
4270 | bool temp5 = False ; | |
4271 | PyObject * obj0 = 0 ; | |
4272 | PyObject * obj1 = 0 ; | |
4273 | PyObject * obj4 = 0 ; | |
4274 | char *kwnames[] = { | |
4275 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4276 | }; | |
4277 | ||
4278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
4279 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4280 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4281 | if (obj4) { | |
4282 | { | |
4283 | arg5 = wxString_in_helper(obj4); | |
4284 | if (arg5 == NULL) SWIG_fail; | |
4285 | temp5 = True; | |
4286 | } | |
4287 | } | |
4288 | { | |
4289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4290 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4291 | ||
4292 | wxPyEndAllowThreads(__tstate); | |
4293 | if (PyErr_Occurred()) SWIG_fail; | |
4294 | } | |
4295 | resultobj = PyInt_FromLong((long)result); | |
4296 | { | |
4297 | if (temp5) | |
4298 | delete arg5; | |
4299 | } | |
4300 | return resultobj; | |
4301 | fail: | |
4302 | { | |
4303 | if (temp5) | |
4304 | delete arg5; | |
4305 | } | |
4306 | return NULL; | |
4307 | } | |
4308 | ||
4309 | ||
4310 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4311 | PyObject *resultobj; | |
4312 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4313 | int arg2 = (int) 1 ; | |
4314 | PyObject * obj0 = 0 ; | |
4315 | char *kwnames[] = { | |
4316 | (char *) "self",(char *) "number", NULL | |
4317 | }; | |
4318 | ||
4319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail; | |
4320 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4321 | { | |
4322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4323 | (arg1)->SetFieldsCount(arg2); | |
4324 | ||
4325 | wxPyEndAllowThreads(__tstate); | |
4326 | if (PyErr_Occurred()) SWIG_fail; | |
4327 | } | |
4328 | Py_INCREF(Py_None); resultobj = Py_None; | |
4329 | return resultobj; | |
4330 | fail: | |
4331 | return NULL; | |
4332 | } | |
4333 | ||
4334 | ||
4335 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4336 | PyObject *resultobj; | |
4337 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4338 | int result; | |
4339 | PyObject * obj0 = 0 ; | |
4340 | char *kwnames[] = { | |
4341 | (char *) "self", NULL | |
4342 | }; | |
4343 | ||
4344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
4345 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4346 | { | |
4347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4348 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
4349 | ||
4350 | wxPyEndAllowThreads(__tstate); | |
4351 | if (PyErr_Occurred()) SWIG_fail; | |
4352 | } | |
4353 | resultobj = PyInt_FromLong((long)result); | |
4354 | return resultobj; | |
4355 | fail: | |
4356 | return NULL; | |
4357 | } | |
4358 | ||
4359 | ||
4360 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4361 | PyObject *resultobj; | |
4362 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4363 | wxString *arg2 = 0 ; | |
4364 | int arg3 = (int) 0 ; | |
4365 | bool temp2 = False ; | |
4366 | PyObject * obj0 = 0 ; | |
4367 | PyObject * obj1 = 0 ; | |
4368 | char *kwnames[] = { | |
4369 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4370 | }; | |
4371 | ||
4372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
4373 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4374 | { | |
4375 | arg2 = wxString_in_helper(obj1); | |
4376 | if (arg2 == NULL) SWIG_fail; | |
4377 | temp2 = True; | |
4378 | } | |
4379 | { | |
4380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4381 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
4382 | ||
4383 | wxPyEndAllowThreads(__tstate); | |
4384 | if (PyErr_Occurred()) SWIG_fail; | |
4385 | } | |
4386 | Py_INCREF(Py_None); resultobj = Py_None; | |
4387 | { | |
4388 | if (temp2) | |
4389 | delete arg2; | |
4390 | } | |
4391 | return resultobj; | |
4392 | fail: | |
4393 | { | |
4394 | if (temp2) | |
4395 | delete arg2; | |
4396 | } | |
4397 | return NULL; | |
4398 | } | |
4399 | ||
4400 | ||
4401 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4402 | PyObject *resultobj; | |
4403 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4404 | int arg2 = (int) 0 ; | |
4405 | wxString result; | |
4406 | PyObject * obj0 = 0 ; | |
4407 | char *kwnames[] = { | |
4408 | (char *) "self",(char *) "number", NULL | |
4409 | }; | |
4410 | ||
4411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail; | |
4412 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4413 | { | |
4414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4415 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
4416 | ||
4417 | wxPyEndAllowThreads(__tstate); | |
4418 | if (PyErr_Occurred()) SWIG_fail; | |
4419 | } | |
4420 | { | |
4421 | #if wxUSE_UNICODE | |
4422 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4423 | #else | |
4424 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4425 | #endif | |
4426 | } | |
4427 | return resultobj; | |
4428 | fail: | |
4429 | return NULL; | |
4430 | } | |
4431 | ||
4432 | ||
4433 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4434 | PyObject *resultobj; | |
4435 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4436 | wxString *arg2 = 0 ; | |
4437 | int arg3 = (int) 0 ; | |
4438 | bool temp2 = False ; | |
4439 | PyObject * obj0 = 0 ; | |
4440 | PyObject * obj1 = 0 ; | |
4441 | char *kwnames[] = { | |
4442 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4443 | }; | |
4444 | ||
4445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
4446 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4447 | { | |
4448 | arg2 = wxString_in_helper(obj1); | |
4449 | if (arg2 == NULL) SWIG_fail; | |
4450 | temp2 = True; | |
4451 | } | |
4452 | { | |
4453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4454 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
4455 | ||
4456 | wxPyEndAllowThreads(__tstate); | |
4457 | if (PyErr_Occurred()) SWIG_fail; | |
4458 | } | |
4459 | Py_INCREF(Py_None); resultobj = Py_None; | |
4460 | { | |
4461 | if (temp2) | |
4462 | delete arg2; | |
4463 | } | |
4464 | return resultobj; | |
4465 | fail: | |
4466 | { | |
4467 | if (temp2) | |
4468 | delete arg2; | |
4469 | } | |
4470 | return NULL; | |
4471 | } | |
4472 | ||
4473 | ||
4474 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4475 | PyObject *resultobj; | |
4476 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4477 | int arg2 = (int) 0 ; | |
4478 | PyObject * obj0 = 0 ; | |
4479 | char *kwnames[] = { | |
4480 | (char *) "self",(char *) "number", NULL | |
4481 | }; | |
4482 | ||
4483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail; | |
4484 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4485 | { | |
4486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4487 | (arg1)->PopStatusText(arg2); | |
4488 | ||
4489 | wxPyEndAllowThreads(__tstate); | |
4490 | if (PyErr_Occurred()) SWIG_fail; | |
4491 | } | |
4492 | Py_INCREF(Py_None); resultobj = Py_None; | |
4493 | return resultobj; | |
4494 | fail: | |
4495 | return NULL; | |
4496 | } | |
4497 | ||
4498 | ||
4499 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4500 | PyObject *resultobj; | |
4501 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4502 | int arg2 ; | |
4503 | int *arg3 = (int *) 0 ; | |
4504 | PyObject * obj0 = 0 ; | |
4505 | PyObject * obj1 = 0 ; | |
4506 | char *kwnames[] = { | |
4507 | (char *) "self",(char *) "widths", NULL | |
4508 | }; | |
4509 | ||
4510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
4511 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4512 | { | |
4513 | arg2 = PyList_Size(obj1); | |
4514 | arg3 = int_LIST_helper(obj1); | |
4515 | if (arg3 == NULL) SWIG_fail; | |
4516 | } | |
4517 | { | |
4518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4519 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
4520 | ||
4521 | wxPyEndAllowThreads(__tstate); | |
4522 | if (PyErr_Occurred()) SWIG_fail; | |
4523 | } | |
4524 | Py_INCREF(Py_None); resultobj = Py_None; | |
4525 | { | |
4526 | if (arg3) delete [] arg3; | |
4527 | } | |
4528 | return resultobj; | |
4529 | fail: | |
4530 | { | |
4531 | if (arg3) delete [] arg3; | |
4532 | } | |
4533 | return NULL; | |
4534 | } | |
4535 | ||
4536 | ||
4537 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4538 | PyObject *resultobj; | |
4539 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4540 | int arg2 ; | |
4541 | wxRect result; | |
4542 | PyObject * obj0 = 0 ; | |
4543 | char *kwnames[] = { | |
4544 | (char *) "self",(char *) "i", NULL | |
4545 | }; | |
4546 | ||
4547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail; | |
4548 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4549 | { | |
4550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4551 | result = wxStatusBar_GetFieldRect(arg1,arg2); | |
4552 | ||
4553 | wxPyEndAllowThreads(__tstate); | |
4554 | if (PyErr_Occurred()) SWIG_fail; | |
4555 | } | |
4556 | { | |
4557 | wxRect * resultptr; | |
4558 | resultptr = new wxRect((wxRect &) result); | |
4559 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
4560 | } | |
4561 | return resultobj; | |
4562 | fail: | |
4563 | return NULL; | |
4564 | } | |
4565 | ||
4566 | ||
4567 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4568 | PyObject *resultobj; | |
4569 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4570 | int arg2 ; | |
4571 | PyObject * obj0 = 0 ; | |
4572 | char *kwnames[] = { | |
4573 | (char *) "self",(char *) "height", NULL | |
4574 | }; | |
4575 | ||
4576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail; | |
4577 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4578 | { | |
4579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4580 | (arg1)->SetMinHeight(arg2); | |
4581 | ||
4582 | wxPyEndAllowThreads(__tstate); | |
4583 | if (PyErr_Occurred()) SWIG_fail; | |
4584 | } | |
4585 | Py_INCREF(Py_None); resultobj = Py_None; | |
4586 | return resultobj; | |
4587 | fail: | |
4588 | return NULL; | |
4589 | } | |
4590 | ||
4591 | ||
4592 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4593 | PyObject *resultobj; | |
4594 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4595 | int result; | |
4596 | PyObject * obj0 = 0 ; | |
4597 | char *kwnames[] = { | |
4598 | (char *) "self", NULL | |
4599 | }; | |
4600 | ||
4601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
4602 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4603 | { | |
4604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4605 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
4606 | ||
4607 | wxPyEndAllowThreads(__tstate); | |
4608 | if (PyErr_Occurred()) SWIG_fail; | |
4609 | } | |
4610 | resultobj = PyInt_FromLong((long)result); | |
4611 | return resultobj; | |
4612 | fail: | |
4613 | return NULL; | |
4614 | } | |
4615 | ||
4616 | ||
4617 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4618 | PyObject *resultobj; | |
4619 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4620 | int result; | |
4621 | PyObject * obj0 = 0 ; | |
4622 | char *kwnames[] = { | |
4623 | (char *) "self", NULL | |
4624 | }; | |
4625 | ||
4626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
4627 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4628 | { | |
4629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4630 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
4631 | ||
4632 | wxPyEndAllowThreads(__tstate); | |
4633 | if (PyErr_Occurred()) SWIG_fail; | |
4634 | } | |
4635 | resultobj = PyInt_FromLong((long)result); | |
4636 | return resultobj; | |
4637 | fail: | |
4638 | return NULL; | |
4639 | } | |
4640 | ||
4641 | ||
4642 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
4643 | PyObject *obj; | |
4644 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4645 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
4646 | Py_INCREF(obj); | |
4647 | return Py_BuildValue((char *)""); | |
4648 | } | |
4649 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4650 | PyObject *resultobj; | |
4651 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4652 | int arg2 ; | |
4653 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
4654 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
4655 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
4656 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
4657 | long arg5 = (long) wxSP_3D ; | |
4658 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
4659 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
4660 | wxSplitterWindow *result; | |
4661 | wxPoint temp3 ; | |
4662 | wxSize temp4 ; | |
4663 | bool temp6 = False ; | |
4664 | PyObject * obj0 = 0 ; | |
4665 | PyObject * obj2 = 0 ; | |
4666 | PyObject * obj3 = 0 ; | |
4667 | PyObject * obj5 = 0 ; | |
4668 | char *kwnames[] = { | |
4669 | (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL | |
4670 | }; | |
4671 | ||
4672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
4673 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4674 | if (obj2) { | |
4675 | { | |
4676 | arg3 = &temp3; | |
4677 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
4678 | } | |
4679 | } | |
4680 | if (obj3) { | |
4681 | { | |
4682 | arg4 = &temp4; | |
4683 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
4684 | } | |
4685 | } | |
4686 | if (obj5) { | |
4687 | { | |
4688 | arg6 = wxString_in_helper(obj5); | |
4689 | if (arg6 == NULL) SWIG_fail; | |
4690 | temp6 = True; | |
4691 | } | |
4692 | } | |
4693 | { | |
4694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4695 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
4696 | ||
4697 | wxPyEndAllowThreads(__tstate); | |
4698 | if (PyErr_Occurred()) SWIG_fail; | |
4699 | } | |
4700 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1); | |
4701 | { | |
4702 | if (temp6) | |
4703 | delete arg6; | |
4704 | } | |
4705 | return resultobj; | |
4706 | fail: | |
4707 | { | |
4708 | if (temp6) | |
4709 | delete arg6; | |
4710 | } | |
4711 | return NULL; | |
4712 | } | |
4713 | ||
4714 | ||
4715 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4716 | PyObject *resultobj; | |
4717 | wxSplitterWindow *result; | |
4718 | char *kwnames[] = { | |
4719 | NULL | |
4720 | }; | |
4721 | ||
4722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
4723 | { | |
4724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4725 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
4726 | ||
4727 | wxPyEndAllowThreads(__tstate); | |
4728 | if (PyErr_Occurred()) SWIG_fail; | |
4729 | } | |
4730 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1); | |
4731 | return resultobj; | |
4732 | fail: | |
4733 | return NULL; | |
4734 | } | |
4735 | ||
4736 | ||
4737 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4738 | PyObject *resultobj; | |
4739 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
4740 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4741 | int arg3 ; | |
4742 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4743 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4744 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4745 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4746 | long arg6 = (long) wxSP_3D ; | |
4747 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
4748 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4749 | bool result; | |
4750 | wxPoint temp4 ; | |
4751 | wxSize temp5 ; | |
4752 | bool temp7 = False ; | |
4753 | PyObject * obj0 = 0 ; | |
4754 | PyObject * obj1 = 0 ; | |
4755 | PyObject * obj3 = 0 ; | |
4756 | PyObject * obj4 = 0 ; | |
4757 | PyObject * obj6 = 0 ; | |
4758 | char *kwnames[] = { | |
4759 | (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL | |
4760 | }; | |
4761 | ||
4762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
4763 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4764 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4765 | if (obj3) { | |
4766 | { | |
4767 | arg4 = &temp4; | |
4768 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4769 | } | |
4770 | } | |
4771 | if (obj4) { | |
4772 | { | |
4773 | arg5 = &temp5; | |
4774 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4775 | } | |
4776 | } | |
4777 | if (obj6) { | |
4778 | { | |
4779 | arg7 = wxString_in_helper(obj6); | |
4780 | if (arg7 == NULL) SWIG_fail; | |
4781 | temp7 = True; | |
4782 | } | |
4783 | } | |
4784 | { | |
4785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4786 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4787 | ||
4788 | wxPyEndAllowThreads(__tstate); | |
4789 | if (PyErr_Occurred()) SWIG_fail; | |
4790 | } | |
4791 | resultobj = PyInt_FromLong((long)result); | |
4792 | { | |
4793 | if (temp7) | |
4794 | delete arg7; | |
4795 | } | |
4796 | return resultobj; | |
4797 | fail: | |
4798 | { | |
4799 | if (temp7) | |
4800 | delete arg7; | |
4801 | } | |
4802 | return NULL; | |
4803 | } | |
4804 | ||
4805 | ||
4806 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4807 | PyObject *resultobj; | |
4808 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
4809 | wxWindow *result; | |
4810 | PyObject * obj0 = 0 ; | |
4811 | char *kwnames[] = { | |
4812 | (char *) "self", NULL | |
4813 | }; | |
4814 | ||
4815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
4816 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4817 | { | |
4818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4819 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
4820 | ||
4821 | wxPyEndAllowThreads(__tstate); | |
4822 | if (PyErr_Occurred()) SWIG_fail; | |
4823 | } | |
4824 | { | |
4825 | resultobj = wxPyMake_wxObject(result); | |
4826 | } | |
4827 | return resultobj; | |
4828 | fail: | |
4829 | return NULL; | |
4830 | } | |
4831 | ||
4832 | ||
4833 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4834 | PyObject *resultobj; | |
4835 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
4836 | wxWindow *result; | |
4837 | PyObject * obj0 = 0 ; | |
4838 | char *kwnames[] = { | |
4839 | (char *) "self", NULL | |
4840 | }; | |
4841 | ||
4842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
4843 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4844 | { | |
4845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4846 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
4847 | ||
4848 | wxPyEndAllowThreads(__tstate); | |
4849 | if (PyErr_Occurred()) SWIG_fail; | |
4850 | } | |
4851 | { | |
4852 | resultobj = wxPyMake_wxObject(result); | |
4853 | } | |
4854 | return resultobj; | |
4855 | fail: | |
4856 | return NULL; | |
4857 | } | |
4858 | ||
4859 | ||
4860 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4861 | PyObject *resultobj; | |
4862 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
4863 | int arg2 ; | |
4864 | PyObject * obj0 = 0 ; | |
4865 | char *kwnames[] = { | |
4866 | (char *) "self",(char *) "mode", NULL | |
4867 | }; | |
4868 | ||
4869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail; | |
4870 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4871 | { | |
4872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4873 | (arg1)->SetSplitMode(arg2); | |
4874 | ||
4875 | wxPyEndAllowThreads(__tstate); | |
4876 | if (PyErr_Occurred()) SWIG_fail; | |
4877 | } | |
4878 | Py_INCREF(Py_None); resultobj = Py_None; | |
4879 | return resultobj; | |
4880 | fail: | |
4881 | return NULL; | |
4882 | } | |
4883 | ||
4884 | ||
4885 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4886 | PyObject *resultobj; | |
4887 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
4888 | int result; | |
4889 | PyObject * obj0 = 0 ; | |
4890 | char *kwnames[] = { | |
4891 | (char *) "self", NULL | |
4892 | }; | |
4893 | ||
4894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
4895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4896 | { | |
4897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4898 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
4899 | ||
4900 | wxPyEndAllowThreads(__tstate); | |
4901 | if (PyErr_Occurred()) SWIG_fail; | |
4902 | } | |
4903 | resultobj = PyInt_FromLong((long)result); | |
4904 | return resultobj; | |
4905 | fail: | |
4906 | return NULL; | |
4907 | } | |
4908 | ||
4909 | ||
4910 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4911 | PyObject *resultobj; | |
4912 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
4913 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4914 | PyObject * obj0 = 0 ; | |
4915 | PyObject * obj1 = 0 ; | |
4916 | char *kwnames[] = { | |
4917 | (char *) "self",(char *) "window", NULL | |
4918 | }; | |
4919 | ||
4920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
4921 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4922 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4923 | { | |
4924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4925 | (arg1)->Initialize(arg2); | |
4926 | ||
4927 | wxPyEndAllowThreads(__tstate); | |
4928 | if (PyErr_Occurred()) SWIG_fail; | |
4929 | } | |
4930 | Py_INCREF(Py_None); resultobj = Py_None; | |
4931 | return resultobj; | |
4932 | fail: | |
4933 | return NULL; | |
4934 | } | |
4935 | ||
4936 | ||
4937 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4938 | PyObject *resultobj; | |
4939 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
4940 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4941 | wxWindow *arg3 = (wxWindow *) 0 ; | |
4942 | int arg4 = (int) 0 ; | |
4943 | bool result; | |
4944 | PyObject * obj0 = 0 ; | |
4945 | PyObject * obj1 = 0 ; | |
4946 | PyObject * obj2 = 0 ; | |
4947 | char *kwnames[] = { | |
4948 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
4949 | }; | |
4950 | ||
4951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
4952 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4953 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4954 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4955 | { | |
4956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4957 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
4958 | ||
4959 | wxPyEndAllowThreads(__tstate); | |
4960 | if (PyErr_Occurred()) SWIG_fail; | |
4961 | } | |
4962 | resultobj = PyInt_FromLong((long)result); | |
4963 | return resultobj; | |
4964 | fail: | |
4965 | return NULL; | |
4966 | } | |
4967 | ||
4968 | ||
4969 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4970 | PyObject *resultobj; | |
4971 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
4972 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4973 | wxWindow *arg3 = (wxWindow *) 0 ; | |
4974 | int arg4 = (int) 0 ; | |
4975 | bool result; | |
4976 | PyObject * obj0 = 0 ; | |
4977 | PyObject * obj1 = 0 ; | |
4978 | PyObject * obj2 = 0 ; | |
4979 | char *kwnames[] = { | |
4980 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
4981 | }; | |
4982 | ||
4983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
4984 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4985 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4986 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4987 | { | |
4988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4989 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
4990 | ||
4991 | wxPyEndAllowThreads(__tstate); | |
4992 | if (PyErr_Occurred()) SWIG_fail; | |
4993 | } | |
4994 | resultobj = PyInt_FromLong((long)result); | |
4995 | return resultobj; | |
4996 | fail: | |
4997 | return NULL; | |
4998 | } | |
4999 | ||
5000 | ||
5001 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5002 | PyObject *resultobj; | |
5003 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5004 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5005 | bool result; | |
5006 | PyObject * obj0 = 0 ; | |
5007 | PyObject * obj1 = 0 ; | |
5008 | char *kwnames[] = { | |
5009 | (char *) "self",(char *) "toRemove", NULL | |
5010 | }; | |
5011 | ||
5012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
5013 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5014 | if (obj1) { | |
5015 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5016 | } | |
5017 | { | |
5018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5019 | result = (bool)(arg1)->Unsplit(arg2); | |
5020 | ||
5021 | wxPyEndAllowThreads(__tstate); | |
5022 | if (PyErr_Occurred()) SWIG_fail; | |
5023 | } | |
5024 | resultobj = PyInt_FromLong((long)result); | |
5025 | return resultobj; | |
5026 | fail: | |
5027 | return NULL; | |
5028 | } | |
5029 | ||
5030 | ||
5031 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5032 | PyObject *resultobj; | |
5033 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5034 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5035 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5036 | bool result; | |
5037 | PyObject * obj0 = 0 ; | |
5038 | PyObject * obj1 = 0 ; | |
5039 | PyObject * obj2 = 0 ; | |
5040 | char *kwnames[] = { | |
5041 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5042 | }; | |
5043 | ||
5044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5045 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5046 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5047 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5048 | { | |
5049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5050 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5051 | ||
5052 | wxPyEndAllowThreads(__tstate); | |
5053 | if (PyErr_Occurred()) SWIG_fail; | |
5054 | } | |
5055 | resultobj = PyInt_FromLong((long)result); | |
5056 | return resultobj; | |
5057 | fail: | |
5058 | return NULL; | |
5059 | } | |
5060 | ||
5061 | ||
5062 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5063 | PyObject *resultobj; | |
5064 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5065 | bool result; | |
5066 | PyObject * obj0 = 0 ; | |
5067 | char *kwnames[] = { | |
5068 | (char *) "self", NULL | |
5069 | }; | |
5070 | ||
5071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
5072 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5073 | { | |
5074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5075 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5076 | ||
5077 | wxPyEndAllowThreads(__tstate); | |
5078 | if (PyErr_Occurred()) SWIG_fail; | |
5079 | } | |
5080 | resultobj = PyInt_FromLong((long)result); | |
5081 | return resultobj; | |
5082 | fail: | |
5083 | return NULL; | |
5084 | } | |
5085 | ||
5086 | ||
5087 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5088 | PyObject *resultobj; | |
5089 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5090 | int arg2 ; | |
5091 | PyObject * obj0 = 0 ; | |
5092 | char *kwnames[] = { | |
5093 | (char *) "self",(char *) "width", NULL | |
5094 | }; | |
5095 | ||
5096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail; | |
5097 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5098 | { | |
5099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5100 | (arg1)->SetSashSize(arg2); | |
5101 | ||
5102 | wxPyEndAllowThreads(__tstate); | |
5103 | if (PyErr_Occurred()) SWIG_fail; | |
5104 | } | |
5105 | Py_INCREF(Py_None); resultobj = Py_None; | |
5106 | return resultobj; | |
5107 | fail: | |
5108 | return NULL; | |
5109 | } | |
5110 | ||
5111 | ||
5112 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5113 | PyObject *resultobj; | |
5114 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5115 | int arg2 ; | |
5116 | PyObject * obj0 = 0 ; | |
5117 | char *kwnames[] = { | |
5118 | (char *) "self",(char *) "width", NULL | |
5119 | }; | |
5120 | ||
5121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail; | |
5122 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5123 | { | |
5124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5125 | (arg1)->SetBorderSize(arg2); | |
5126 | ||
5127 | wxPyEndAllowThreads(__tstate); | |
5128 | if (PyErr_Occurred()) SWIG_fail; | |
5129 | } | |
5130 | Py_INCREF(Py_None); resultobj = Py_None; | |
5131 | return resultobj; | |
5132 | fail: | |
5133 | return NULL; | |
5134 | } | |
5135 | ||
5136 | ||
5137 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5138 | PyObject *resultobj; | |
5139 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5140 | int result; | |
5141 | PyObject * obj0 = 0 ; | |
5142 | char *kwnames[] = { | |
5143 | (char *) "self", NULL | |
5144 | }; | |
5145 | ||
5146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
5147 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5148 | { | |
5149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5150 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5151 | ||
5152 | wxPyEndAllowThreads(__tstate); | |
5153 | if (PyErr_Occurred()) SWIG_fail; | |
5154 | } | |
5155 | resultobj = PyInt_FromLong((long)result); | |
5156 | return resultobj; | |
5157 | fail: | |
5158 | return NULL; | |
5159 | } | |
5160 | ||
5161 | ||
5162 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5163 | PyObject *resultobj; | |
5164 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5165 | int result; | |
5166 | PyObject * obj0 = 0 ; | |
5167 | char *kwnames[] = { | |
5168 | (char *) "self", NULL | |
5169 | }; | |
5170 | ||
5171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
5172 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5173 | { | |
5174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5175 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5176 | ||
5177 | wxPyEndAllowThreads(__tstate); | |
5178 | if (PyErr_Occurred()) SWIG_fail; | |
5179 | } | |
5180 | resultobj = PyInt_FromLong((long)result); | |
5181 | return resultobj; | |
5182 | fail: | |
5183 | return NULL; | |
5184 | } | |
5185 | ||
5186 | ||
5187 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5188 | PyObject *resultobj; | |
5189 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5190 | int arg2 ; | |
5191 | bool arg3 = (bool) True ; | |
5192 | PyObject * obj0 = 0 ; | |
5193 | PyObject * obj2 = 0 ; | |
5194 | char *kwnames[] = { | |
5195 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
5196 | }; | |
5197 | ||
5198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
5199 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5200 | if (obj2) { | |
5201 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
5202 | if (PyErr_Occurred()) SWIG_fail; | |
5203 | } | |
5204 | { | |
5205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5206 | (arg1)->SetSashPosition(arg2,arg3); | |
5207 | ||
5208 | wxPyEndAllowThreads(__tstate); | |
5209 | if (PyErr_Occurred()) SWIG_fail; | |
5210 | } | |
5211 | Py_INCREF(Py_None); resultobj = Py_None; | |
5212 | return resultobj; | |
5213 | fail: | |
5214 | return NULL; | |
5215 | } | |
5216 | ||
5217 | ||
5218 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5219 | PyObject *resultobj; | |
5220 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5221 | int result; | |
5222 | PyObject * obj0 = 0 ; | |
5223 | char *kwnames[] = { | |
5224 | (char *) "self", NULL | |
5225 | }; | |
5226 | ||
5227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
5228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5229 | { | |
5230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5231 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
5232 | ||
5233 | wxPyEndAllowThreads(__tstate); | |
5234 | if (PyErr_Occurred()) SWIG_fail; | |
5235 | } | |
5236 | resultobj = PyInt_FromLong((long)result); | |
5237 | return resultobj; | |
5238 | fail: | |
5239 | return NULL; | |
5240 | } | |
5241 | ||
5242 | ||
5243 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5244 | PyObject *resultobj; | |
5245 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5246 | int arg2 ; | |
5247 | PyObject * obj0 = 0 ; | |
5248 | char *kwnames[] = { | |
5249 | (char *) "self",(char *) "min", NULL | |
5250 | }; | |
5251 | ||
5252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail; | |
5253 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5254 | { | |
5255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5256 | (arg1)->SetMinimumPaneSize(arg2); | |
5257 | ||
5258 | wxPyEndAllowThreads(__tstate); | |
5259 | if (PyErr_Occurred()) SWIG_fail; | |
5260 | } | |
5261 | Py_INCREF(Py_None); resultobj = Py_None; | |
5262 | return resultobj; | |
5263 | fail: | |
5264 | return NULL; | |
5265 | } | |
5266 | ||
5267 | ||
5268 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5269 | PyObject *resultobj; | |
5270 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5271 | int result; | |
5272 | PyObject * obj0 = 0 ; | |
5273 | char *kwnames[] = { | |
5274 | (char *) "self", NULL | |
5275 | }; | |
5276 | ||
5277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
5278 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5279 | { | |
5280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5281 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
5282 | ||
5283 | wxPyEndAllowThreads(__tstate); | |
5284 | if (PyErr_Occurred()) SWIG_fail; | |
5285 | } | |
5286 | resultobj = PyInt_FromLong((long)result); | |
5287 | return resultobj; | |
5288 | fail: | |
5289 | return NULL; | |
5290 | } | |
5291 | ||
5292 | ||
5293 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5294 | PyObject *resultobj; | |
5295 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5296 | int arg2 ; | |
5297 | int arg3 ; | |
5298 | int arg4 = (int) 5 ; | |
5299 | bool result; | |
5300 | PyObject * obj0 = 0 ; | |
5301 | char *kwnames[] = { | |
5302 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
5303 | }; | |
5304 | ||
5305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
5306 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5307 | { | |
5308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5309 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
5310 | ||
5311 | wxPyEndAllowThreads(__tstate); | |
5312 | if (PyErr_Occurred()) SWIG_fail; | |
5313 | } | |
5314 | resultobj = PyInt_FromLong((long)result); | |
5315 | return resultobj; | |
5316 | fail: | |
5317 | return NULL; | |
5318 | } | |
5319 | ||
5320 | ||
5321 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5322 | PyObject *resultobj; | |
5323 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5324 | PyObject * obj0 = 0 ; | |
5325 | char *kwnames[] = { | |
5326 | (char *) "self", NULL | |
5327 | }; | |
5328 | ||
5329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
5330 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5331 | { | |
5332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5333 | (arg1)->SizeWindows(); | |
5334 | ||
5335 | wxPyEndAllowThreads(__tstate); | |
5336 | if (PyErr_Occurred()) SWIG_fail; | |
5337 | } | |
5338 | Py_INCREF(Py_None); resultobj = Py_None; | |
5339 | return resultobj; | |
5340 | fail: | |
5341 | return NULL; | |
5342 | } | |
5343 | ||
5344 | ||
5345 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5346 | PyObject *resultobj; | |
5347 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5348 | bool arg2 ; | |
5349 | PyObject * obj0 = 0 ; | |
5350 | PyObject * obj1 = 0 ; | |
5351 | char *kwnames[] = { | |
5352 | (char *) "self",(char *) "needUpdating", NULL | |
5353 | }; | |
5354 | ||
5355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
5356 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5357 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
5358 | if (PyErr_Occurred()) SWIG_fail; | |
5359 | { | |
5360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5361 | (arg1)->SetNeedUpdating(arg2); | |
5362 | ||
5363 | wxPyEndAllowThreads(__tstate); | |
5364 | if (PyErr_Occurred()) SWIG_fail; | |
5365 | } | |
5366 | Py_INCREF(Py_None); resultobj = Py_None; | |
5367 | return resultobj; | |
5368 | fail: | |
5369 | return NULL; | |
5370 | } | |
5371 | ||
5372 | ||
5373 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5374 | PyObject *resultobj; | |
5375 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5376 | bool result; | |
5377 | PyObject * obj0 = 0 ; | |
5378 | char *kwnames[] = { | |
5379 | (char *) "self", NULL | |
5380 | }; | |
5381 | ||
5382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
5383 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5384 | { | |
5385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5386 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
5387 | ||
5388 | wxPyEndAllowThreads(__tstate); | |
5389 | if (PyErr_Occurred()) SWIG_fail; | |
5390 | } | |
5391 | resultobj = PyInt_FromLong((long)result); | |
5392 | return resultobj; | |
5393 | fail: | |
5394 | return NULL; | |
5395 | } | |
5396 | ||
5397 | ||
5398 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
5399 | PyObject *obj; | |
5400 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5401 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
5402 | Py_INCREF(obj); | |
5403 | return Py_BuildValue((char *)""); | |
5404 | } | |
5405 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5406 | PyObject *resultobj; | |
5407 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5408 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
5409 | wxSplitterEvent *result; | |
5410 | PyObject * obj1 = 0 ; | |
5411 | char *kwnames[] = { | |
5412 | (char *) "type",(char *) "splitter", NULL | |
5413 | }; | |
5414 | ||
5415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail; | |
5416 | if (obj1) { | |
5417 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5418 | } | |
5419 | { | |
5420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5421 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
5422 | ||
5423 | wxPyEndAllowThreads(__tstate); | |
5424 | if (PyErr_Occurred()) SWIG_fail; | |
5425 | } | |
5426 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1); | |
5427 | return resultobj; | |
5428 | fail: | |
5429 | return NULL; | |
5430 | } | |
5431 | ||
5432 | ||
5433 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5434 | PyObject *resultobj; | |
5435 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5436 | int arg2 ; | |
5437 | PyObject * obj0 = 0 ; | |
5438 | char *kwnames[] = { | |
5439 | (char *) "self",(char *) "pos", NULL | |
5440 | }; | |
5441 | ||
5442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail; | |
5443 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5444 | { | |
5445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5446 | (arg1)->SetSashPosition(arg2); | |
5447 | ||
5448 | wxPyEndAllowThreads(__tstate); | |
5449 | if (PyErr_Occurred()) SWIG_fail; | |
5450 | } | |
5451 | Py_INCREF(Py_None); resultobj = Py_None; | |
5452 | return resultobj; | |
5453 | fail: | |
5454 | return NULL; | |
5455 | } | |
5456 | ||
5457 | ||
5458 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5459 | PyObject *resultobj; | |
5460 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5461 | int result; | |
5462 | PyObject * obj0 = 0 ; | |
5463 | char *kwnames[] = { | |
5464 | (char *) "self", NULL | |
5465 | }; | |
5466 | ||
5467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
5468 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5469 | { | |
5470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5471 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
5472 | ||
5473 | wxPyEndAllowThreads(__tstate); | |
5474 | if (PyErr_Occurred()) SWIG_fail; | |
5475 | } | |
5476 | resultobj = PyInt_FromLong((long)result); | |
5477 | return resultobj; | |
5478 | fail: | |
5479 | return NULL; | |
5480 | } | |
5481 | ||
5482 | ||
5483 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5484 | PyObject *resultobj; | |
5485 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5486 | wxWindow *result; | |
5487 | PyObject * obj0 = 0 ; | |
5488 | char *kwnames[] = { | |
5489 | (char *) "self", NULL | |
5490 | }; | |
5491 | ||
5492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
5493 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5494 | { | |
5495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5496 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
5497 | ||
5498 | wxPyEndAllowThreads(__tstate); | |
5499 | if (PyErr_Occurred()) SWIG_fail; | |
5500 | } | |
5501 | { | |
5502 | resultobj = wxPyMake_wxObject(result); | |
5503 | } | |
5504 | return resultobj; | |
5505 | fail: | |
5506 | return NULL; | |
5507 | } | |
5508 | ||
5509 | ||
5510 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5511 | PyObject *resultobj; | |
5512 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5513 | int result; | |
5514 | PyObject * obj0 = 0 ; | |
5515 | char *kwnames[] = { | |
5516 | (char *) "self", NULL | |
5517 | }; | |
5518 | ||
5519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
5520 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5521 | { | |
5522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5523 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
5524 | ||
5525 | wxPyEndAllowThreads(__tstate); | |
5526 | if (PyErr_Occurred()) SWIG_fail; | |
5527 | } | |
5528 | resultobj = PyInt_FromLong((long)result); | |
5529 | return resultobj; | |
5530 | fail: | |
5531 | return NULL; | |
5532 | } | |
5533 | ||
5534 | ||
5535 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5536 | PyObject *resultobj; | |
5537 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5538 | int result; | |
5539 | PyObject * obj0 = 0 ; | |
5540 | char *kwnames[] = { | |
5541 | (char *) "self", NULL | |
5542 | }; | |
5543 | ||
5544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
5545 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5546 | { | |
5547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5548 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
5549 | ||
5550 | wxPyEndAllowThreads(__tstate); | |
5551 | if (PyErr_Occurred()) SWIG_fail; | |
5552 | } | |
5553 | resultobj = PyInt_FromLong((long)result); | |
5554 | return resultobj; | |
5555 | fail: | |
5556 | return NULL; | |
5557 | } | |
5558 | ||
5559 | ||
5560 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
5561 | PyObject *obj; | |
5562 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5563 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
5564 | Py_INCREF(obj); | |
5565 | return Py_BuildValue((char *)""); | |
5566 | } | |
5567 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5568 | PyObject *resultobj; | |
5569 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5570 | int arg2 ; | |
5571 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5572 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5573 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5574 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5575 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
5576 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
5577 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5578 | wxSashWindow *result; | |
5579 | wxPoint temp3 ; | |
5580 | wxSize temp4 ; | |
5581 | bool temp6 = False ; | |
5582 | PyObject * obj0 = 0 ; | |
5583 | PyObject * obj2 = 0 ; | |
5584 | PyObject * obj3 = 0 ; | |
5585 | PyObject * obj5 = 0 ; | |
5586 | char *kwnames[] = { | |
5587 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5588 | }; | |
5589 | ||
5590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
5591 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5592 | if (obj2) { | |
5593 | { | |
5594 | arg3 = &temp3; | |
5595 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5596 | } | |
5597 | } | |
5598 | if (obj3) { | |
5599 | { | |
5600 | arg4 = &temp4; | |
5601 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5602 | } | |
5603 | } | |
5604 | if (obj5) { | |
5605 | { | |
5606 | arg6 = wxString_in_helper(obj5); | |
5607 | if (arg6 == NULL) SWIG_fail; | |
5608 | temp6 = True; | |
5609 | } | |
5610 | } | |
5611 | { | |
5612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5613 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5614 | ||
5615 | wxPyEndAllowThreads(__tstate); | |
5616 | if (PyErr_Occurred()) SWIG_fail; | |
5617 | } | |
5618 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1); | |
5619 | { | |
5620 | if (temp6) | |
5621 | delete arg6; | |
5622 | } | |
5623 | return resultobj; | |
5624 | fail: | |
5625 | { | |
5626 | if (temp6) | |
5627 | delete arg6; | |
5628 | } | |
5629 | return NULL; | |
5630 | } | |
5631 | ||
5632 | ||
5633 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5634 | PyObject *resultobj; | |
5635 | wxSashWindow *result; | |
5636 | char *kwnames[] = { | |
5637 | NULL | |
5638 | }; | |
5639 | ||
5640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
5641 | { | |
5642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5643 | result = (wxSashWindow *)new wxSashWindow(); | |
5644 | ||
5645 | wxPyEndAllowThreads(__tstate); | |
5646 | if (PyErr_Occurred()) SWIG_fail; | |
5647 | } | |
5648 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1); | |
5649 | return resultobj; | |
5650 | fail: | |
5651 | return NULL; | |
5652 | } | |
5653 | ||
5654 | ||
5655 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5656 | PyObject *resultobj; | |
5657 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5658 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5659 | int arg3 ; | |
5660 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5661 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5662 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5663 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5664 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
5665 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
5666 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5667 | bool result; | |
5668 | wxPoint temp4 ; | |
5669 | wxSize temp5 ; | |
5670 | bool temp7 = False ; | |
5671 | PyObject * obj0 = 0 ; | |
5672 | PyObject * obj1 = 0 ; | |
5673 | PyObject * obj3 = 0 ; | |
5674 | PyObject * obj4 = 0 ; | |
5675 | PyObject * obj6 = 0 ; | |
5676 | char *kwnames[] = { | |
5677 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5678 | }; | |
5679 | ||
5680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
5681 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5682 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5683 | if (obj3) { | |
5684 | { | |
5685 | arg4 = &temp4; | |
5686 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5687 | } | |
5688 | } | |
5689 | if (obj4) { | |
5690 | { | |
5691 | arg5 = &temp5; | |
5692 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5693 | } | |
5694 | } | |
5695 | if (obj6) { | |
5696 | { | |
5697 | arg7 = wxString_in_helper(obj6); | |
5698 | if (arg7 == NULL) SWIG_fail; | |
5699 | temp7 = True; | |
5700 | } | |
5701 | } | |
5702 | { | |
5703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5704 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5705 | ||
5706 | wxPyEndAllowThreads(__tstate); | |
5707 | if (PyErr_Occurred()) SWIG_fail; | |
5708 | } | |
5709 | resultobj = PyInt_FromLong((long)result); | |
5710 | { | |
5711 | if (temp7) | |
5712 | delete arg7; | |
5713 | } | |
5714 | return resultobj; | |
5715 | fail: | |
5716 | { | |
5717 | if (temp7) | |
5718 | delete arg7; | |
5719 | } | |
5720 | return NULL; | |
5721 | } | |
5722 | ||
5723 | ||
5724 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5725 | PyObject *resultobj; | |
5726 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5727 | int arg2 ; | |
5728 | bool arg3 ; | |
5729 | PyObject * obj0 = 0 ; | |
5730 | PyObject * obj2 = 0 ; | |
5731 | char *kwnames[] = { | |
5732 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
5733 | }; | |
5734 | ||
5735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
5736 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5737 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
5738 | if (PyErr_Occurred()) SWIG_fail; | |
5739 | { | |
5740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5741 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
5742 | ||
5743 | wxPyEndAllowThreads(__tstate); | |
5744 | if (PyErr_Occurred()) SWIG_fail; | |
5745 | } | |
5746 | Py_INCREF(Py_None); resultobj = Py_None; | |
5747 | return resultobj; | |
5748 | fail: | |
5749 | return NULL; | |
5750 | } | |
5751 | ||
5752 | ||
5753 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5754 | PyObject *resultobj; | |
5755 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5756 | int arg2 ; | |
5757 | bool result; | |
5758 | PyObject * obj0 = 0 ; | |
5759 | char *kwnames[] = { | |
5760 | (char *) "self",(char *) "edge", NULL | |
5761 | }; | |
5762 | ||
5763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail; | |
5764 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5765 | { | |
5766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5767 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
5768 | ||
5769 | wxPyEndAllowThreads(__tstate); | |
5770 | if (PyErr_Occurred()) SWIG_fail; | |
5771 | } | |
5772 | resultobj = PyInt_FromLong((long)result); | |
5773 | return resultobj; | |
5774 | fail: | |
5775 | return NULL; | |
5776 | } | |
5777 | ||
5778 | ||
5779 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5780 | PyObject *resultobj; | |
5781 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5782 | int arg2 ; | |
5783 | bool arg3 ; | |
5784 | PyObject * obj0 = 0 ; | |
5785 | PyObject * obj2 = 0 ; | |
5786 | char *kwnames[] = { | |
5787 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
5788 | }; | |
5789 | ||
5790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
5791 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5792 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
5793 | if (PyErr_Occurred()) SWIG_fail; | |
5794 | { | |
5795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5796 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
5797 | ||
5798 | wxPyEndAllowThreads(__tstate); | |
5799 | if (PyErr_Occurred()) SWIG_fail; | |
5800 | } | |
5801 | Py_INCREF(Py_None); resultobj = Py_None; | |
5802 | return resultobj; | |
5803 | fail: | |
5804 | return NULL; | |
5805 | } | |
5806 | ||
5807 | ||
5808 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5809 | PyObject *resultobj; | |
5810 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5811 | int arg2 ; | |
5812 | bool result; | |
5813 | PyObject * obj0 = 0 ; | |
5814 | char *kwnames[] = { | |
5815 | (char *) "self",(char *) "edge", NULL | |
5816 | }; | |
5817 | ||
5818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail; | |
5819 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5820 | { | |
5821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5822 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
5823 | ||
5824 | wxPyEndAllowThreads(__tstate); | |
5825 | if (PyErr_Occurred()) SWIG_fail; | |
5826 | } | |
5827 | resultobj = PyInt_FromLong((long)result); | |
5828 | return resultobj; | |
5829 | fail: | |
5830 | return NULL; | |
5831 | } | |
5832 | ||
5833 | ||
5834 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5835 | PyObject *resultobj; | |
5836 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5837 | int arg2 ; | |
5838 | int result; | |
5839 | PyObject * obj0 = 0 ; | |
5840 | char *kwnames[] = { | |
5841 | (char *) "self",(char *) "edge", NULL | |
5842 | }; | |
5843 | ||
5844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail; | |
5845 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5846 | { | |
5847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5848 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
5849 | ||
5850 | wxPyEndAllowThreads(__tstate); | |
5851 | if (PyErr_Occurred()) SWIG_fail; | |
5852 | } | |
5853 | resultobj = PyInt_FromLong((long)result); | |
5854 | return resultobj; | |
5855 | fail: | |
5856 | return NULL; | |
5857 | } | |
5858 | ||
5859 | ||
5860 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5861 | PyObject *resultobj; | |
5862 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5863 | int arg2 ; | |
5864 | PyObject * obj0 = 0 ; | |
5865 | char *kwnames[] = { | |
5866 | (char *) "self",(char *) "width", NULL | |
5867 | }; | |
5868 | ||
5869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail; | |
5870 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5871 | { | |
5872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5873 | (arg1)->SetDefaultBorderSize(arg2); | |
5874 | ||
5875 | wxPyEndAllowThreads(__tstate); | |
5876 | if (PyErr_Occurred()) SWIG_fail; | |
5877 | } | |
5878 | Py_INCREF(Py_None); resultobj = Py_None; | |
5879 | return resultobj; | |
5880 | fail: | |
5881 | return NULL; | |
5882 | } | |
5883 | ||
5884 | ||
5885 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5886 | PyObject *resultobj; | |
5887 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5888 | int result; | |
5889 | PyObject * obj0 = 0 ; | |
5890 | char *kwnames[] = { | |
5891 | (char *) "self", NULL | |
5892 | }; | |
5893 | ||
5894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
5895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5896 | { | |
5897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5898 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
5899 | ||
5900 | wxPyEndAllowThreads(__tstate); | |
5901 | if (PyErr_Occurred()) SWIG_fail; | |
5902 | } | |
5903 | resultobj = PyInt_FromLong((long)result); | |
5904 | return resultobj; | |
5905 | fail: | |
5906 | return NULL; | |
5907 | } | |
5908 | ||
5909 | ||
5910 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5911 | PyObject *resultobj; | |
5912 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5913 | int arg2 ; | |
5914 | PyObject * obj0 = 0 ; | |
5915 | char *kwnames[] = { | |
5916 | (char *) "self",(char *) "width", NULL | |
5917 | }; | |
5918 | ||
5919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail; | |
5920 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5921 | { | |
5922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5923 | (arg1)->SetExtraBorderSize(arg2); | |
5924 | ||
5925 | wxPyEndAllowThreads(__tstate); | |
5926 | if (PyErr_Occurred()) SWIG_fail; | |
5927 | } | |
5928 | Py_INCREF(Py_None); resultobj = Py_None; | |
5929 | return resultobj; | |
5930 | fail: | |
5931 | return NULL; | |
5932 | } | |
5933 | ||
5934 | ||
5935 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5936 | PyObject *resultobj; | |
5937 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5938 | int result; | |
5939 | PyObject * obj0 = 0 ; | |
5940 | char *kwnames[] = { | |
5941 | (char *) "self", NULL | |
5942 | }; | |
5943 | ||
5944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
5945 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5946 | { | |
5947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5948 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
5949 | ||
5950 | wxPyEndAllowThreads(__tstate); | |
5951 | if (PyErr_Occurred()) SWIG_fail; | |
5952 | } | |
5953 | resultobj = PyInt_FromLong((long)result); | |
5954 | return resultobj; | |
5955 | fail: | |
5956 | return NULL; | |
5957 | } | |
5958 | ||
5959 | ||
5960 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5961 | PyObject *resultobj; | |
5962 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5963 | int arg2 ; | |
5964 | PyObject * obj0 = 0 ; | |
5965 | char *kwnames[] = { | |
5966 | (char *) "self",(char *) "min", NULL | |
5967 | }; | |
5968 | ||
5969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail; | |
5970 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5971 | { | |
5972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5973 | (arg1)->SetMinimumSizeX(arg2); | |
5974 | ||
5975 | wxPyEndAllowThreads(__tstate); | |
5976 | if (PyErr_Occurred()) SWIG_fail; | |
5977 | } | |
5978 | Py_INCREF(Py_None); resultobj = Py_None; | |
5979 | return resultobj; | |
5980 | fail: | |
5981 | return NULL; | |
5982 | } | |
5983 | ||
5984 | ||
5985 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5986 | PyObject *resultobj; | |
5987 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
5988 | int arg2 ; | |
5989 | PyObject * obj0 = 0 ; | |
5990 | char *kwnames[] = { | |
5991 | (char *) "self",(char *) "min", NULL | |
5992 | }; | |
5993 | ||
5994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail; | |
5995 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5996 | { | |
5997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5998 | (arg1)->SetMinimumSizeY(arg2); | |
5999 | ||
6000 | wxPyEndAllowThreads(__tstate); | |
6001 | if (PyErr_Occurred()) SWIG_fail; | |
6002 | } | |
6003 | Py_INCREF(Py_None); resultobj = Py_None; | |
6004 | return resultobj; | |
6005 | fail: | |
6006 | return NULL; | |
6007 | } | |
6008 | ||
6009 | ||
6010 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6011 | PyObject *resultobj; | |
6012 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6013 | int result; | |
6014 | PyObject * obj0 = 0 ; | |
6015 | char *kwnames[] = { | |
6016 | (char *) "self", NULL | |
6017 | }; | |
6018 | ||
6019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
6020 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6021 | { | |
6022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6023 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6024 | ||
6025 | wxPyEndAllowThreads(__tstate); | |
6026 | if (PyErr_Occurred()) SWIG_fail; | |
6027 | } | |
6028 | resultobj = PyInt_FromLong((long)result); | |
6029 | return resultobj; | |
6030 | fail: | |
6031 | return NULL; | |
6032 | } | |
6033 | ||
6034 | ||
6035 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6036 | PyObject *resultobj; | |
6037 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6038 | int result; | |
6039 | PyObject * obj0 = 0 ; | |
6040 | char *kwnames[] = { | |
6041 | (char *) "self", NULL | |
6042 | }; | |
6043 | ||
6044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
6045 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6046 | { | |
6047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6048 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
6049 | ||
6050 | wxPyEndAllowThreads(__tstate); | |
6051 | if (PyErr_Occurred()) SWIG_fail; | |
6052 | } | |
6053 | resultobj = PyInt_FromLong((long)result); | |
6054 | return resultobj; | |
6055 | fail: | |
6056 | return NULL; | |
6057 | } | |
6058 | ||
6059 | ||
6060 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6061 | PyObject *resultobj; | |
6062 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6063 | int arg2 ; | |
6064 | PyObject * obj0 = 0 ; | |
6065 | char *kwnames[] = { | |
6066 | (char *) "self",(char *) "max", NULL | |
6067 | }; | |
6068 | ||
6069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail; | |
6070 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6071 | { | |
6072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6073 | (arg1)->SetMaximumSizeX(arg2); | |
6074 | ||
6075 | wxPyEndAllowThreads(__tstate); | |
6076 | if (PyErr_Occurred()) SWIG_fail; | |
6077 | } | |
6078 | Py_INCREF(Py_None); resultobj = Py_None; | |
6079 | return resultobj; | |
6080 | fail: | |
6081 | return NULL; | |
6082 | } | |
6083 | ||
6084 | ||
6085 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6086 | PyObject *resultobj; | |
6087 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6088 | int arg2 ; | |
6089 | PyObject * obj0 = 0 ; | |
6090 | char *kwnames[] = { | |
6091 | (char *) "self",(char *) "max", NULL | |
6092 | }; | |
6093 | ||
6094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail; | |
6095 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6096 | { | |
6097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6098 | (arg1)->SetMaximumSizeY(arg2); | |
6099 | ||
6100 | wxPyEndAllowThreads(__tstate); | |
6101 | if (PyErr_Occurred()) SWIG_fail; | |
6102 | } | |
6103 | Py_INCREF(Py_None); resultobj = Py_None; | |
6104 | return resultobj; | |
6105 | fail: | |
6106 | return NULL; | |
6107 | } | |
6108 | ||
6109 | ||
6110 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6111 | PyObject *resultobj; | |
6112 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6113 | int result; | |
6114 | PyObject * obj0 = 0 ; | |
6115 | char *kwnames[] = { | |
6116 | (char *) "self", NULL | |
6117 | }; | |
6118 | ||
6119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
6120 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6121 | { | |
6122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6123 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
6124 | ||
6125 | wxPyEndAllowThreads(__tstate); | |
6126 | if (PyErr_Occurred()) SWIG_fail; | |
6127 | } | |
6128 | resultobj = PyInt_FromLong((long)result); | |
6129 | return resultobj; | |
6130 | fail: | |
6131 | return NULL; | |
6132 | } | |
6133 | ||
6134 | ||
6135 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6136 | PyObject *resultobj; | |
6137 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6138 | int result; | |
6139 | PyObject * obj0 = 0 ; | |
6140 | char *kwnames[] = { | |
6141 | (char *) "self", NULL | |
6142 | }; | |
6143 | ||
6144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
6145 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6146 | { | |
6147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6148 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
6149 | ||
6150 | wxPyEndAllowThreads(__tstate); | |
6151 | if (PyErr_Occurred()) SWIG_fail; | |
6152 | } | |
6153 | resultobj = PyInt_FromLong((long)result); | |
6154 | return resultobj; | |
6155 | fail: | |
6156 | return NULL; | |
6157 | } | |
6158 | ||
6159 | ||
6160 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6161 | PyObject *resultobj; | |
6162 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6163 | int arg2 ; | |
6164 | int arg3 ; | |
6165 | int arg4 = (int) 2 ; | |
6166 | int result; | |
6167 | PyObject * obj0 = 0 ; | |
6168 | char *kwnames[] = { | |
6169 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6170 | }; | |
6171 | ||
6172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
6173 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6174 | { | |
6175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6176 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6177 | ||
6178 | wxPyEndAllowThreads(__tstate); | |
6179 | if (PyErr_Occurred()) SWIG_fail; | |
6180 | } | |
6181 | resultobj = PyInt_FromLong((long)result); | |
6182 | return resultobj; | |
6183 | fail: | |
6184 | return NULL; | |
6185 | } | |
6186 | ||
6187 | ||
6188 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6189 | PyObject *resultobj; | |
6190 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6191 | PyObject * obj0 = 0 ; | |
6192 | char *kwnames[] = { | |
6193 | (char *) "self", NULL | |
6194 | }; | |
6195 | ||
6196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
6197 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6198 | { | |
6199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6200 | (arg1)->SizeWindows(); | |
6201 | ||
6202 | wxPyEndAllowThreads(__tstate); | |
6203 | if (PyErr_Occurred()) SWIG_fail; | |
6204 | } | |
6205 | Py_INCREF(Py_None); resultobj = Py_None; | |
6206 | return resultobj; | |
6207 | fail: | |
6208 | return NULL; | |
6209 | } | |
6210 | ||
6211 | ||
6212 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
6213 | PyObject *obj; | |
6214 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6215 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
6216 | Py_INCREF(obj); | |
6217 | return Py_BuildValue((char *)""); | |
6218 | } | |
6219 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6220 | PyObject *resultobj; | |
6221 | int arg1 = (int) 0 ; | |
6222 | int arg2 = (int) wxSASH_NONE ; | |
6223 | wxSashEvent *result; | |
6224 | char *kwnames[] = { | |
6225 | (char *) "id",(char *) "edge", NULL | |
6226 | }; | |
6227 | ||
6228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail; | |
6229 | { | |
6230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6231 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
6232 | ||
6233 | wxPyEndAllowThreads(__tstate); | |
6234 | if (PyErr_Occurred()) SWIG_fail; | |
6235 | } | |
6236 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1); | |
6237 | return resultobj; | |
6238 | fail: | |
6239 | return NULL; | |
6240 | } | |
6241 | ||
6242 | ||
6243 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6244 | PyObject *resultobj; | |
6245 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6246 | int arg2 ; | |
6247 | PyObject * obj0 = 0 ; | |
6248 | char *kwnames[] = { | |
6249 | (char *) "self",(char *) "edge", NULL | |
6250 | }; | |
6251 | ||
6252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail; | |
6253 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6254 | { | |
6255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6256 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
6257 | ||
6258 | wxPyEndAllowThreads(__tstate); | |
6259 | if (PyErr_Occurred()) SWIG_fail; | |
6260 | } | |
6261 | Py_INCREF(Py_None); resultobj = Py_None; | |
6262 | return resultobj; | |
6263 | fail: | |
6264 | return NULL; | |
6265 | } | |
6266 | ||
6267 | ||
6268 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6269 | PyObject *resultobj; | |
6270 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6271 | int result; | |
6272 | PyObject * obj0 = 0 ; | |
6273 | char *kwnames[] = { | |
6274 | (char *) "self", NULL | |
6275 | }; | |
6276 | ||
6277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
6278 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6279 | { | |
6280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6281 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
6282 | ||
6283 | wxPyEndAllowThreads(__tstate); | |
6284 | if (PyErr_Occurred()) SWIG_fail; | |
6285 | } | |
6286 | resultobj = PyInt_FromLong((long)result); | |
6287 | return resultobj; | |
6288 | fail: | |
6289 | return NULL; | |
6290 | } | |
6291 | ||
6292 | ||
6293 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6294 | PyObject *resultobj; | |
6295 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6296 | wxRect *arg2 = 0 ; | |
6297 | wxRect temp2 ; | |
6298 | PyObject * obj0 = 0 ; | |
6299 | PyObject * obj1 = 0 ; | |
6300 | char *kwnames[] = { | |
6301 | (char *) "self",(char *) "rect", NULL | |
6302 | }; | |
6303 | ||
6304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
6305 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6306 | { | |
6307 | arg2 = &temp2; | |
6308 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
6309 | } | |
6310 | { | |
6311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6312 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
6313 | ||
6314 | wxPyEndAllowThreads(__tstate); | |
6315 | if (PyErr_Occurred()) SWIG_fail; | |
6316 | } | |
6317 | Py_INCREF(Py_None); resultobj = Py_None; | |
6318 | return resultobj; | |
6319 | fail: | |
6320 | return NULL; | |
6321 | } | |
6322 | ||
6323 | ||
6324 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6325 | PyObject *resultobj; | |
6326 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6327 | wxRect result; | |
6328 | PyObject * obj0 = 0 ; | |
6329 | char *kwnames[] = { | |
6330 | (char *) "self", NULL | |
6331 | }; | |
6332 | ||
6333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
6334 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6335 | { | |
6336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6337 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
6338 | ||
6339 | wxPyEndAllowThreads(__tstate); | |
6340 | if (PyErr_Occurred()) SWIG_fail; | |
6341 | } | |
6342 | { | |
6343 | wxRect * resultptr; | |
6344 | resultptr = new wxRect((wxRect &) result); | |
6345 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
6346 | } | |
6347 | return resultobj; | |
6348 | fail: | |
6349 | return NULL; | |
6350 | } | |
6351 | ||
6352 | ||
6353 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6354 | PyObject *resultobj; | |
6355 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6356 | int arg2 ; | |
6357 | PyObject * obj0 = 0 ; | |
6358 | char *kwnames[] = { | |
6359 | (char *) "self",(char *) "status", NULL | |
6360 | }; | |
6361 | ||
6362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail; | |
6363 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6364 | { | |
6365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6366 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
6367 | ||
6368 | wxPyEndAllowThreads(__tstate); | |
6369 | if (PyErr_Occurred()) SWIG_fail; | |
6370 | } | |
6371 | Py_INCREF(Py_None); resultobj = Py_None; | |
6372 | return resultobj; | |
6373 | fail: | |
6374 | return NULL; | |
6375 | } | |
6376 | ||
6377 | ||
6378 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6379 | PyObject *resultobj; | |
6380 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6381 | int result; | |
6382 | PyObject * obj0 = 0 ; | |
6383 | char *kwnames[] = { | |
6384 | (char *) "self", NULL | |
6385 | }; | |
6386 | ||
6387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
6388 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6389 | { | |
6390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6391 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
6392 | ||
6393 | wxPyEndAllowThreads(__tstate); | |
6394 | if (PyErr_Occurred()) SWIG_fail; | |
6395 | } | |
6396 | resultobj = PyInt_FromLong((long)result); | |
6397 | return resultobj; | |
6398 | fail: | |
6399 | return NULL; | |
6400 | } | |
6401 | ||
6402 | ||
6403 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
6404 | PyObject *obj; | |
6405 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6406 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
6407 | Py_INCREF(obj); | |
6408 | return Py_BuildValue((char *)""); | |
6409 | } | |
6410 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6411 | PyObject *resultobj; | |
6412 | int arg1 = (int) 0 ; | |
6413 | wxQueryLayoutInfoEvent *result; | |
6414 | char *kwnames[] = { | |
6415 | (char *) "id", NULL | |
6416 | }; | |
6417 | ||
6418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail; | |
6419 | { | |
6420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6421 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
6422 | ||
6423 | wxPyEndAllowThreads(__tstate); | |
6424 | if (PyErr_Occurred()) SWIG_fail; | |
6425 | } | |
6426 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
6427 | return resultobj; | |
6428 | fail: | |
6429 | return NULL; | |
6430 | } | |
6431 | ||
6432 | ||
6433 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6434 | PyObject *resultobj; | |
6435 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6436 | int arg2 ; | |
6437 | PyObject * obj0 = 0 ; | |
6438 | char *kwnames[] = { | |
6439 | (char *) "self",(char *) "length", NULL | |
6440 | }; | |
6441 | ||
6442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail; | |
6443 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6444 | { | |
6445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6446 | (arg1)->SetRequestedLength(arg2); | |
6447 | ||
6448 | wxPyEndAllowThreads(__tstate); | |
6449 | if (PyErr_Occurred()) SWIG_fail; | |
6450 | } | |
6451 | Py_INCREF(Py_None); resultobj = Py_None; | |
6452 | return resultobj; | |
6453 | fail: | |
6454 | return NULL; | |
6455 | } | |
6456 | ||
6457 | ||
6458 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6459 | PyObject *resultobj; | |
6460 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6461 | int result; | |
6462 | PyObject * obj0 = 0 ; | |
6463 | char *kwnames[] = { | |
6464 | (char *) "self", NULL | |
6465 | }; | |
6466 | ||
6467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
6468 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6469 | { | |
6470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6471 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
6472 | ||
6473 | wxPyEndAllowThreads(__tstate); | |
6474 | if (PyErr_Occurred()) SWIG_fail; | |
6475 | } | |
6476 | resultobj = PyInt_FromLong((long)result); | |
6477 | return resultobj; | |
6478 | fail: | |
6479 | return NULL; | |
6480 | } | |
6481 | ||
6482 | ||
6483 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6484 | PyObject *resultobj; | |
6485 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6486 | int arg2 ; | |
6487 | PyObject * obj0 = 0 ; | |
6488 | char *kwnames[] = { | |
6489 | (char *) "self",(char *) "flags", NULL | |
6490 | }; | |
6491 | ||
6492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail; | |
6493 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6494 | { | |
6495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6496 | (arg1)->SetFlags(arg2); | |
6497 | ||
6498 | wxPyEndAllowThreads(__tstate); | |
6499 | if (PyErr_Occurred()) SWIG_fail; | |
6500 | } | |
6501 | Py_INCREF(Py_None); resultobj = Py_None; | |
6502 | return resultobj; | |
6503 | fail: | |
6504 | return NULL; | |
6505 | } | |
6506 | ||
6507 | ||
6508 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6509 | PyObject *resultobj; | |
6510 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6511 | int result; | |
6512 | PyObject * obj0 = 0 ; | |
6513 | char *kwnames[] = { | |
6514 | (char *) "self", NULL | |
6515 | }; | |
6516 | ||
6517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
6518 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6519 | { | |
6520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6521 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
6522 | ||
6523 | wxPyEndAllowThreads(__tstate); | |
6524 | if (PyErr_Occurred()) SWIG_fail; | |
6525 | } | |
6526 | resultobj = PyInt_FromLong((long)result); | |
6527 | return resultobj; | |
6528 | fail: | |
6529 | return NULL; | |
6530 | } | |
6531 | ||
6532 | ||
6533 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6534 | PyObject *resultobj; | |
6535 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6536 | wxSize *arg2 = 0 ; | |
6537 | wxSize temp2 ; | |
6538 | PyObject * obj0 = 0 ; | |
6539 | PyObject * obj1 = 0 ; | |
6540 | char *kwnames[] = { | |
6541 | (char *) "self",(char *) "size", NULL | |
6542 | }; | |
6543 | ||
6544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
6545 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6546 | { | |
6547 | arg2 = &temp2; | |
6548 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
6549 | } | |
6550 | { | |
6551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6552 | (arg1)->SetSize((wxSize const &)*arg2); | |
6553 | ||
6554 | wxPyEndAllowThreads(__tstate); | |
6555 | if (PyErr_Occurred()) SWIG_fail; | |
6556 | } | |
6557 | Py_INCREF(Py_None); resultobj = Py_None; | |
6558 | return resultobj; | |
6559 | fail: | |
6560 | return NULL; | |
6561 | } | |
6562 | ||
6563 | ||
6564 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6565 | PyObject *resultobj; | |
6566 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6567 | wxSize result; | |
6568 | PyObject * obj0 = 0 ; | |
6569 | char *kwnames[] = { | |
6570 | (char *) "self", NULL | |
6571 | }; | |
6572 | ||
6573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
6574 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6575 | { | |
6576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6577 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
6578 | ||
6579 | wxPyEndAllowThreads(__tstate); | |
6580 | if (PyErr_Occurred()) SWIG_fail; | |
6581 | } | |
6582 | { | |
6583 | wxSize * resultptr; | |
6584 | resultptr = new wxSize((wxSize &) result); | |
6585 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
6586 | } | |
6587 | return resultobj; | |
6588 | fail: | |
6589 | return NULL; | |
6590 | } | |
6591 | ||
6592 | ||
6593 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6594 | PyObject *resultobj; | |
6595 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6596 | int arg2 ; | |
6597 | PyObject * obj0 = 0 ; | |
6598 | char *kwnames[] = { | |
6599 | (char *) "self",(char *) "orient", NULL | |
6600 | }; | |
6601 | ||
6602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail; | |
6603 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6604 | { | |
6605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6606 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
6607 | ||
6608 | wxPyEndAllowThreads(__tstate); | |
6609 | if (PyErr_Occurred()) SWIG_fail; | |
6610 | } | |
6611 | Py_INCREF(Py_None); resultobj = Py_None; | |
6612 | return resultobj; | |
6613 | fail: | |
6614 | return NULL; | |
6615 | } | |
6616 | ||
6617 | ||
6618 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6619 | PyObject *resultobj; | |
6620 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6621 | int result; | |
6622 | PyObject * obj0 = 0 ; | |
6623 | char *kwnames[] = { | |
6624 | (char *) "self", NULL | |
6625 | }; | |
6626 | ||
6627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
6628 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6629 | { | |
6630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6631 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
6632 | ||
6633 | wxPyEndAllowThreads(__tstate); | |
6634 | if (PyErr_Occurred()) SWIG_fail; | |
6635 | } | |
6636 | resultobj = PyInt_FromLong((long)result); | |
6637 | return resultobj; | |
6638 | fail: | |
6639 | return NULL; | |
6640 | } | |
6641 | ||
6642 | ||
6643 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6644 | PyObject *resultobj; | |
6645 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6646 | int arg2 ; | |
6647 | PyObject * obj0 = 0 ; | |
6648 | char *kwnames[] = { | |
6649 | (char *) "self",(char *) "align", NULL | |
6650 | }; | |
6651 | ||
6652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail; | |
6653 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6654 | { | |
6655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6656 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
6657 | ||
6658 | wxPyEndAllowThreads(__tstate); | |
6659 | if (PyErr_Occurred()) SWIG_fail; | |
6660 | } | |
6661 | Py_INCREF(Py_None); resultobj = Py_None; | |
6662 | return resultobj; | |
6663 | fail: | |
6664 | return NULL; | |
6665 | } | |
6666 | ||
6667 | ||
6668 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6669 | PyObject *resultobj; | |
6670 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6671 | int result; | |
6672 | PyObject * obj0 = 0 ; | |
6673 | char *kwnames[] = { | |
6674 | (char *) "self", NULL | |
6675 | }; | |
6676 | ||
6677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
6678 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6679 | { | |
6680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6681 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
6682 | ||
6683 | wxPyEndAllowThreads(__tstate); | |
6684 | if (PyErr_Occurred()) SWIG_fail; | |
6685 | } | |
6686 | resultobj = PyInt_FromLong((long)result); | |
6687 | return resultobj; | |
6688 | fail: | |
6689 | return NULL; | |
6690 | } | |
6691 | ||
6692 | ||
6693 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
6694 | PyObject *obj; | |
6695 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6696 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
6697 | Py_INCREF(obj); | |
6698 | return Py_BuildValue((char *)""); | |
6699 | } | |
6700 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6701 | PyObject *resultobj; | |
6702 | int arg1 = (int) 0 ; | |
6703 | wxCalculateLayoutEvent *result; | |
6704 | char *kwnames[] = { | |
6705 | (char *) "id", NULL | |
6706 | }; | |
6707 | ||
6708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail; | |
6709 | { | |
6710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6711 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
6712 | ||
6713 | wxPyEndAllowThreads(__tstate); | |
6714 | if (PyErr_Occurred()) SWIG_fail; | |
6715 | } | |
6716 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
6717 | return resultobj; | |
6718 | fail: | |
6719 | return NULL; | |
6720 | } | |
6721 | ||
6722 | ||
6723 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6724 | PyObject *resultobj; | |
6725 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
6726 | int arg2 ; | |
6727 | PyObject * obj0 = 0 ; | |
6728 | char *kwnames[] = { | |
6729 | (char *) "self",(char *) "flags", NULL | |
6730 | }; | |
6731 | ||
6732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail; | |
6733 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6734 | { | |
6735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6736 | (arg1)->SetFlags(arg2); | |
6737 | ||
6738 | wxPyEndAllowThreads(__tstate); | |
6739 | if (PyErr_Occurred()) SWIG_fail; | |
6740 | } | |
6741 | Py_INCREF(Py_None); resultobj = Py_None; | |
6742 | return resultobj; | |
6743 | fail: | |
6744 | return NULL; | |
6745 | } | |
6746 | ||
6747 | ||
6748 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6749 | PyObject *resultobj; | |
6750 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
6751 | int result; | |
6752 | PyObject * obj0 = 0 ; | |
6753 | char *kwnames[] = { | |
6754 | (char *) "self", NULL | |
6755 | }; | |
6756 | ||
6757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
6758 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6759 | { | |
6760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6761 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
6762 | ||
6763 | wxPyEndAllowThreads(__tstate); | |
6764 | if (PyErr_Occurred()) SWIG_fail; | |
6765 | } | |
6766 | resultobj = PyInt_FromLong((long)result); | |
6767 | return resultobj; | |
6768 | fail: | |
6769 | return NULL; | |
6770 | } | |
6771 | ||
6772 | ||
6773 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6774 | PyObject *resultobj; | |
6775 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
6776 | wxRect *arg2 = 0 ; | |
6777 | wxRect temp2 ; | |
6778 | PyObject * obj0 = 0 ; | |
6779 | PyObject * obj1 = 0 ; | |
6780 | char *kwnames[] = { | |
6781 | (char *) "self",(char *) "rect", NULL | |
6782 | }; | |
6783 | ||
6784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
6785 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6786 | { | |
6787 | arg2 = &temp2; | |
6788 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
6789 | } | |
6790 | { | |
6791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6792 | (arg1)->SetRect((wxRect const &)*arg2); | |
6793 | ||
6794 | wxPyEndAllowThreads(__tstate); | |
6795 | if (PyErr_Occurred()) SWIG_fail; | |
6796 | } | |
6797 | Py_INCREF(Py_None); resultobj = Py_None; | |
6798 | return resultobj; | |
6799 | fail: | |
6800 | return NULL; | |
6801 | } | |
6802 | ||
6803 | ||
6804 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6805 | PyObject *resultobj; | |
6806 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
6807 | wxRect result; | |
6808 | PyObject * obj0 = 0 ; | |
6809 | char *kwnames[] = { | |
6810 | (char *) "self", NULL | |
6811 | }; | |
6812 | ||
6813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
6814 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6815 | { | |
6816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6817 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
6818 | ||
6819 | wxPyEndAllowThreads(__tstate); | |
6820 | if (PyErr_Occurred()) SWIG_fail; | |
6821 | } | |
6822 | { | |
6823 | wxRect * resultptr; | |
6824 | resultptr = new wxRect((wxRect &) result); | |
6825 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
6826 | } | |
6827 | return resultobj; | |
6828 | fail: | |
6829 | return NULL; | |
6830 | } | |
6831 | ||
6832 | ||
6833 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
6834 | PyObject *obj; | |
6835 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6836 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
6837 | Py_INCREF(obj); | |
6838 | return Py_BuildValue((char *)""); | |
6839 | } | |
6840 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6841 | PyObject *resultobj; | |
6842 | wxWindow *arg1 = (wxWindow *) 0 ; | |
6843 | int arg2 ; | |
6844 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
6845 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6846 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6847 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6848 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6849 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
6850 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6851 | wxSashLayoutWindow *result; | |
6852 | wxPoint temp3 ; | |
6853 | wxSize temp4 ; | |
6854 | bool temp6 = False ; | |
6855 | PyObject * obj0 = 0 ; | |
6856 | PyObject * obj2 = 0 ; | |
6857 | PyObject * obj3 = 0 ; | |
6858 | PyObject * obj5 = 0 ; | |
6859 | char *kwnames[] = { | |
6860 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6861 | }; | |
6862 | ||
6863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
6864 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6865 | if (obj2) { | |
6866 | { | |
6867 | arg3 = &temp3; | |
6868 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6869 | } | |
6870 | } | |
6871 | if (obj3) { | |
6872 | { | |
6873 | arg4 = &temp4; | |
6874 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6875 | } | |
6876 | } | |
6877 | if (obj5) { | |
6878 | { | |
6879 | arg6 = wxString_in_helper(obj5); | |
6880 | if (arg6 == NULL) SWIG_fail; | |
6881 | temp6 = True; | |
6882 | } | |
6883 | } | |
6884 | { | |
6885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6886 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6887 | ||
6888 | wxPyEndAllowThreads(__tstate); | |
6889 | if (PyErr_Occurred()) SWIG_fail; | |
6890 | } | |
6891 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1); | |
6892 | { | |
6893 | if (temp6) | |
6894 | delete arg6; | |
6895 | } | |
6896 | return resultobj; | |
6897 | fail: | |
6898 | { | |
6899 | if (temp6) | |
6900 | delete arg6; | |
6901 | } | |
6902 | return NULL; | |
6903 | } | |
6904 | ||
6905 | ||
6906 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6907 | PyObject *resultobj; | |
6908 | wxSashLayoutWindow *result; | |
6909 | char *kwnames[] = { | |
6910 | NULL | |
6911 | }; | |
6912 | ||
6913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
6914 | { | |
6915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6916 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
6917 | ||
6918 | wxPyEndAllowThreads(__tstate); | |
6919 | if (PyErr_Occurred()) SWIG_fail; | |
6920 | } | |
6921 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1); | |
6922 | return resultobj; | |
6923 | fail: | |
6924 | return NULL; | |
6925 | } | |
6926 | ||
6927 | ||
6928 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6929 | PyObject *resultobj; | |
6930 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
6931 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6932 | int arg3 ; | |
6933 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
6934 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6935 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6936 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6937 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6938 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
6939 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6940 | bool result; | |
6941 | wxPoint temp4 ; | |
6942 | wxSize temp5 ; | |
6943 | bool temp7 = False ; | |
6944 | PyObject * obj0 = 0 ; | |
6945 | PyObject * obj1 = 0 ; | |
6946 | PyObject * obj3 = 0 ; | |
6947 | PyObject * obj4 = 0 ; | |
6948 | PyObject * obj6 = 0 ; | |
6949 | char *kwnames[] = { | |
6950 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6951 | }; | |
6952 | ||
6953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
6954 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6955 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6956 | if (obj3) { | |
6957 | { | |
6958 | arg4 = &temp4; | |
6959 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6960 | } | |
6961 | } | |
6962 | if (obj4) { | |
6963 | { | |
6964 | arg5 = &temp5; | |
6965 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6966 | } | |
6967 | } | |
6968 | if (obj6) { | |
6969 | { | |
6970 | arg7 = wxString_in_helper(obj6); | |
6971 | if (arg7 == NULL) SWIG_fail; | |
6972 | temp7 = True; | |
6973 | } | |
6974 | } | |
6975 | { | |
6976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6977 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6978 | ||
6979 | wxPyEndAllowThreads(__tstate); | |
6980 | if (PyErr_Occurred()) SWIG_fail; | |
6981 | } | |
6982 | resultobj = PyInt_FromLong((long)result); | |
6983 | { | |
6984 | if (temp7) | |
6985 | delete arg7; | |
6986 | } | |
6987 | return resultobj; | |
6988 | fail: | |
6989 | { | |
6990 | if (temp7) | |
6991 | delete arg7; | |
6992 | } | |
6993 | return NULL; | |
6994 | } | |
6995 | ||
6996 | ||
6997 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6998 | PyObject *resultobj; | |
6999 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7000 | int result; | |
7001 | PyObject * obj0 = 0 ; | |
7002 | char *kwnames[] = { | |
7003 | (char *) "self", NULL | |
7004 | }; | |
7005 | ||
7006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
7007 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7008 | { | |
7009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7010 | result = (int)(arg1)->GetAlignment(); | |
7011 | ||
7012 | wxPyEndAllowThreads(__tstate); | |
7013 | if (PyErr_Occurred()) SWIG_fail; | |
7014 | } | |
7015 | resultobj = PyInt_FromLong((long)result); | |
7016 | return resultobj; | |
7017 | fail: | |
7018 | return NULL; | |
7019 | } | |
7020 | ||
7021 | ||
7022 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7023 | PyObject *resultobj; | |
7024 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7025 | int result; | |
7026 | PyObject * obj0 = 0 ; | |
7027 | char *kwnames[] = { | |
7028 | (char *) "self", NULL | |
7029 | }; | |
7030 | ||
7031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
7032 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7033 | { | |
7034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7035 | result = (int)(arg1)->GetOrientation(); | |
7036 | ||
7037 | wxPyEndAllowThreads(__tstate); | |
7038 | if (PyErr_Occurred()) SWIG_fail; | |
7039 | } | |
7040 | resultobj = PyInt_FromLong((long)result); | |
7041 | return resultobj; | |
7042 | fail: | |
7043 | return NULL; | |
7044 | } | |
7045 | ||
7046 | ||
7047 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7048 | PyObject *resultobj; | |
7049 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7050 | int arg2 ; | |
7051 | PyObject * obj0 = 0 ; | |
7052 | char *kwnames[] = { | |
7053 | (char *) "self",(char *) "alignment", NULL | |
7054 | }; | |
7055 | ||
7056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail; | |
7057 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7058 | { | |
7059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7060 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7061 | ||
7062 | wxPyEndAllowThreads(__tstate); | |
7063 | if (PyErr_Occurred()) SWIG_fail; | |
7064 | } | |
7065 | Py_INCREF(Py_None); resultobj = Py_None; | |
7066 | return resultobj; | |
7067 | fail: | |
7068 | return NULL; | |
7069 | } | |
7070 | ||
7071 | ||
7072 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7073 | PyObject *resultobj; | |
7074 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7075 | wxSize *arg2 = 0 ; | |
7076 | wxSize temp2 ; | |
7077 | PyObject * obj0 = 0 ; | |
7078 | PyObject * obj1 = 0 ; | |
7079 | char *kwnames[] = { | |
7080 | (char *) "self",(char *) "size", NULL | |
7081 | }; | |
7082 | ||
7083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
7084 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7085 | { | |
7086 | arg2 = &temp2; | |
7087 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7088 | } | |
7089 | { | |
7090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7091 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
7092 | ||
7093 | wxPyEndAllowThreads(__tstate); | |
7094 | if (PyErr_Occurred()) SWIG_fail; | |
7095 | } | |
7096 | Py_INCREF(Py_None); resultobj = Py_None; | |
7097 | return resultobj; | |
7098 | fail: | |
7099 | return NULL; | |
7100 | } | |
7101 | ||
7102 | ||
7103 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7104 | PyObject *resultobj; | |
7105 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7106 | int arg2 ; | |
7107 | PyObject * obj0 = 0 ; | |
7108 | char *kwnames[] = { | |
7109 | (char *) "self",(char *) "orientation", NULL | |
7110 | }; | |
7111 | ||
7112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail; | |
7113 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7114 | { | |
7115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7116 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7117 | ||
7118 | wxPyEndAllowThreads(__tstate); | |
7119 | if (PyErr_Occurred()) SWIG_fail; | |
7120 | } | |
7121 | Py_INCREF(Py_None); resultobj = Py_None; | |
7122 | return resultobj; | |
7123 | fail: | |
7124 | return NULL; | |
7125 | } | |
7126 | ||
7127 | ||
7128 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
7129 | PyObject *obj; | |
7130 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7131 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
7132 | Py_INCREF(obj); | |
7133 | return Py_BuildValue((char *)""); | |
7134 | } | |
7135 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7136 | PyObject *resultobj; | |
7137 | wxLayoutAlgorithm *result; | |
7138 | char *kwnames[] = { | |
7139 | NULL | |
7140 | }; | |
7141 | ||
7142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
7143 | { | |
7144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7145 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
7146 | ||
7147 | wxPyEndAllowThreads(__tstate); | |
7148 | if (PyErr_Occurred()) SWIG_fail; | |
7149 | } | |
7150 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
7151 | return resultobj; | |
7152 | fail: | |
7153 | return NULL; | |
7154 | } | |
7155 | ||
7156 | ||
7157 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7158 | PyObject *resultobj; | |
7159 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
7160 | PyObject * obj0 = 0 ; | |
7161 | char *kwnames[] = { | |
7162 | (char *) "self", NULL | |
7163 | }; | |
7164 | ||
7165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
7166 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7167 | { | |
7168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7169 | delete arg1; | |
7170 | ||
7171 | wxPyEndAllowThreads(__tstate); | |
7172 | if (PyErr_Occurred()) SWIG_fail; | |
7173 | } | |
7174 | Py_INCREF(Py_None); resultobj = Py_None; | |
7175 | return resultobj; | |
7176 | fail: | |
7177 | return NULL; | |
7178 | } | |
7179 | ||
7180 | ||
7181 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7182 | PyObject *resultobj; | |
7183 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
7184 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
7185 | wxRect *arg3 = (wxRect *) NULL ; | |
7186 | bool result; | |
7187 | PyObject * obj0 = 0 ; | |
7188 | PyObject * obj1 = 0 ; | |
7189 | PyObject * obj2 = 0 ; | |
7190 | char *kwnames[] = { | |
7191 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
7192 | }; | |
7193 | ||
7194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7195 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7196 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7197 | if (obj2) { | |
7198 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7199 | } | |
7200 | { | |
7201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7202 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
7203 | ||
7204 | wxPyEndAllowThreads(__tstate); | |
7205 | if (PyErr_Occurred()) SWIG_fail; | |
7206 | } | |
7207 | resultobj = PyInt_FromLong((long)result); | |
7208 | return resultobj; | |
7209 | fail: | |
7210 | return NULL; | |
7211 | } | |
7212 | ||
7213 | ||
7214 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7215 | PyObject *resultobj; | |
7216 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
7217 | wxFrame *arg2 = (wxFrame *) 0 ; | |
7218 | wxWindow *arg3 = (wxWindow *) NULL ; | |
7219 | bool result; | |
7220 | PyObject * obj0 = 0 ; | |
7221 | PyObject * obj1 = 0 ; | |
7222 | PyObject * obj2 = 0 ; | |
7223 | char *kwnames[] = { | |
7224 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
7225 | }; | |
7226 | ||
7227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7229 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7230 | if (obj2) { | |
7231 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7232 | } | |
7233 | { | |
7234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7235 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
7236 | ||
7237 | wxPyEndAllowThreads(__tstate); | |
7238 | if (PyErr_Occurred()) SWIG_fail; | |
7239 | } | |
7240 | resultobj = PyInt_FromLong((long)result); | |
7241 | return resultobj; | |
7242 | fail: | |
7243 | return NULL; | |
7244 | } | |
7245 | ||
7246 | ||
7247 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7248 | PyObject *resultobj; | |
7249 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
7250 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7251 | wxWindow *arg3 = (wxWindow *) NULL ; | |
7252 | bool result; | |
7253 | PyObject * obj0 = 0 ; | |
7254 | PyObject * obj1 = 0 ; | |
7255 | PyObject * obj2 = 0 ; | |
7256 | char *kwnames[] = { | |
7257 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
7258 | }; | |
7259 | ||
7260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7261 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7262 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7263 | if (obj2) { | |
7264 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7265 | } | |
7266 | { | |
7267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7268 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
7269 | ||
7270 | wxPyEndAllowThreads(__tstate); | |
7271 | if (PyErr_Occurred()) SWIG_fail; | |
7272 | } | |
7273 | resultobj = PyInt_FromLong((long)result); | |
7274 | return resultobj; | |
7275 | fail: | |
7276 | return NULL; | |
7277 | } | |
7278 | ||
7279 | ||
7280 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
7281 | PyObject *obj; | |
7282 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7283 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
7284 | Py_INCREF(obj); | |
7285 | return Py_BuildValue((char *)""); | |
7286 | } | |
7287 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7288 | PyObject *resultobj; | |
7289 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7290 | int arg2 = (int) wxBORDER_NONE ; | |
7291 | wxPopupWindow *result; | |
7292 | PyObject * obj0 = 0 ; | |
7293 | char *kwnames[] = { | |
7294 | (char *) "parent",(char *) "flags", NULL | |
7295 | }; | |
7296 | ||
7297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail; | |
7298 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7299 | { | |
7300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7301 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
7302 | ||
7303 | wxPyEndAllowThreads(__tstate); | |
7304 | if (PyErr_Occurred()) SWIG_fail; | |
7305 | } | |
7306 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1); | |
7307 | return resultobj; | |
7308 | fail: | |
7309 | return NULL; | |
7310 | } | |
7311 | ||
7312 | ||
7313 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7314 | PyObject *resultobj; | |
7315 | wxPopupWindow *result; | |
7316 | char *kwnames[] = { | |
7317 | NULL | |
7318 | }; | |
7319 | ||
7320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
7321 | { | |
7322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7323 | result = (wxPopupWindow *)new wxPopupWindow(); | |
7324 | ||
7325 | wxPyEndAllowThreads(__tstate); | |
7326 | if (PyErr_Occurred()) SWIG_fail; | |
7327 | } | |
7328 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1); | |
7329 | return resultobj; | |
7330 | fail: | |
7331 | return NULL; | |
7332 | } | |
7333 | ||
7334 | ||
7335 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
7336 | PyObject *obj; | |
7337 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7338 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
7339 | Py_INCREF(obj); | |
7340 | return Py_BuildValue((char *)""); | |
7341 | } | |
7342 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7343 | PyObject *resultobj; | |
7344 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7345 | int arg2 = (int) wxBORDER_NONE ; | |
7346 | wxPyPopupTransientWindow *result; | |
7347 | PyObject * obj0 = 0 ; | |
7348 | char *kwnames[] = { | |
7349 | (char *) "parent",(char *) "style", NULL | |
7350 | }; | |
7351 | ||
7352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail; | |
7353 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7354 | { | |
7355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7356 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
7357 | ||
7358 | wxPyEndAllowThreads(__tstate); | |
7359 | if (PyErr_Occurred()) SWIG_fail; | |
7360 | } | |
7361 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
7362 | return resultobj; | |
7363 | fail: | |
7364 | return NULL; | |
7365 | } | |
7366 | ||
7367 | ||
7368 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7369 | PyObject *resultobj; | |
7370 | wxPyPopupTransientWindow *result; | |
7371 | char *kwnames[] = { | |
7372 | NULL | |
7373 | }; | |
7374 | ||
7375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
7376 | { | |
7377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7378 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
7379 | ||
7380 | wxPyEndAllowThreads(__tstate); | |
7381 | if (PyErr_Occurred()) SWIG_fail; | |
7382 | } | |
7383 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
7384 | return resultobj; | |
7385 | fail: | |
7386 | return NULL; | |
7387 | } | |
7388 | ||
7389 | ||
7390 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
7391 | PyObject *obj; | |
7392 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7393 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
7394 | Py_INCREF(obj); | |
7395 | return Py_BuildValue((char *)""); | |
7396 | } | |
7397 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7398 | PyObject *resultobj; | |
7399 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7400 | wxString *arg2 = 0 ; | |
7401 | int arg3 = (int) 100 ; | |
7402 | wxRect *arg4 = (wxRect *) NULL ; | |
7403 | wxTipWindow *result; | |
7404 | bool temp2 = False ; | |
7405 | PyObject * obj0 = 0 ; | |
7406 | PyObject * obj1 = 0 ; | |
7407 | PyObject * obj3 = 0 ; | |
7408 | char *kwnames[] = { | |
7409 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
7410 | }; | |
7411 | ||
7412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail; | |
7413 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7414 | { | |
7415 | arg2 = wxString_in_helper(obj1); | |
7416 | if (arg2 == NULL) SWIG_fail; | |
7417 | temp2 = True; | |
7418 | } | |
7419 | if (obj3) { | |
7420 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7421 | } | |
7422 | { | |
7423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7424 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); | |
7425 | ||
7426 | wxPyEndAllowThreads(__tstate); | |
7427 | if (PyErr_Occurred()) SWIG_fail; | |
7428 | } | |
7429 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1); | |
7430 | { | |
7431 | if (temp2) | |
7432 | delete arg2; | |
7433 | } | |
7434 | return resultobj; | |
7435 | fail: | |
7436 | { | |
7437 | if (temp2) | |
7438 | delete arg2; | |
7439 | } | |
7440 | return NULL; | |
7441 | } | |
7442 | ||
7443 | ||
7444 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7445 | PyObject *resultobj; | |
7446 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
7447 | wxRect *arg2 = 0 ; | |
7448 | wxRect temp2 ; | |
7449 | PyObject * obj0 = 0 ; | |
7450 | PyObject * obj1 = 0 ; | |
7451 | char *kwnames[] = { | |
7452 | (char *) "self",(char *) "rectBound", NULL | |
7453 | }; | |
7454 | ||
7455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
7456 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7457 | { | |
7458 | arg2 = &temp2; | |
7459 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7460 | } | |
7461 | { | |
7462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7463 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
7464 | ||
7465 | wxPyEndAllowThreads(__tstate); | |
7466 | if (PyErr_Occurred()) SWIG_fail; | |
7467 | } | |
7468 | Py_INCREF(Py_None); resultobj = Py_None; | |
7469 | return resultobj; | |
7470 | fail: | |
7471 | return NULL; | |
7472 | } | |
7473 | ||
7474 | ||
7475 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7476 | PyObject *resultobj; | |
7477 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
7478 | PyObject * obj0 = 0 ; | |
7479 | char *kwnames[] = { | |
7480 | (char *) "self", NULL | |
7481 | }; | |
7482 | ||
7483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
7484 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7485 | { | |
7486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7487 | (arg1)->Close(); | |
7488 | ||
7489 | wxPyEndAllowThreads(__tstate); | |
7490 | if (PyErr_Occurred()) SWIG_fail; | |
7491 | } | |
7492 | Py_INCREF(Py_None); resultobj = Py_None; | |
7493 | return resultobj; | |
7494 | fail: | |
7495 | return NULL; | |
7496 | } | |
7497 | ||
7498 | ||
7499 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
7500 | PyObject *obj; | |
7501 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7502 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
7503 | Py_INCREF(obj); | |
7504 | return Py_BuildValue((char *)""); | |
7505 | } | |
7506 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7507 | PyObject *resultobj; | |
7508 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7509 | int arg2 = (int) wxID_ANY ; | |
7510 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
7511 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7512 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7513 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7514 | long arg5 = (long) 0 ; | |
7515 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
7516 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7517 | wxPyVScrolledWindow *result; | |
7518 | wxPoint temp3 ; | |
7519 | wxSize temp4 ; | |
7520 | bool temp6 = False ; | |
7521 | PyObject * obj0 = 0 ; | |
7522 | PyObject * obj2 = 0 ; | |
7523 | PyObject * obj3 = 0 ; | |
7524 | PyObject * obj5 = 0 ; | |
7525 | char *kwnames[] = { | |
7526 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7527 | }; | |
7528 | ||
7529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
7530 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7531 | if (obj2) { | |
7532 | { | |
7533 | arg3 = &temp3; | |
7534 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7535 | } | |
7536 | } | |
7537 | if (obj3) { | |
7538 | { | |
7539 | arg4 = &temp4; | |
7540 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7541 | } | |
7542 | } | |
7543 | if (obj5) { | |
7544 | { | |
7545 | arg6 = wxString_in_helper(obj5); | |
7546 | if (arg6 == NULL) SWIG_fail; | |
7547 | temp6 = True; | |
7548 | } | |
7549 | } | |
7550 | { | |
7551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7552 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7553 | ||
7554 | wxPyEndAllowThreads(__tstate); | |
7555 | if (PyErr_Occurred()) SWIG_fail; | |
7556 | } | |
7557 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
7558 | { | |
7559 | if (temp6) | |
7560 | delete arg6; | |
7561 | } | |
7562 | return resultobj; | |
7563 | fail: | |
7564 | { | |
7565 | if (temp6) | |
7566 | delete arg6; | |
7567 | } | |
7568 | return NULL; | |
7569 | } | |
7570 | ||
7571 | ||
7572 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7573 | PyObject *resultobj; | |
7574 | wxPyVScrolledWindow *result; | |
7575 | char *kwnames[] = { | |
7576 | NULL | |
7577 | }; | |
7578 | ||
7579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
7580 | { | |
7581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7582 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
7583 | ||
7584 | wxPyEndAllowThreads(__tstate); | |
7585 | if (PyErr_Occurred()) SWIG_fail; | |
7586 | } | |
7587 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
7588 | return resultobj; | |
7589 | fail: | |
7590 | return NULL; | |
7591 | } | |
7592 | ||
7593 | ||
7594 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7595 | PyObject *resultobj; | |
7596 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7597 | PyObject *arg2 = (PyObject *) 0 ; | |
7598 | PyObject *arg3 = (PyObject *) 0 ; | |
7599 | PyObject * obj0 = 0 ; | |
7600 | PyObject * obj1 = 0 ; | |
7601 | PyObject * obj2 = 0 ; | |
7602 | char *kwnames[] = { | |
7603 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
7604 | }; | |
7605 | ||
7606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7607 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7608 | arg2 = obj1; | |
7609 | arg3 = obj2; | |
7610 | { | |
7611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7612 | (arg1)->_setCallbackInfo(arg2,arg3); | |
7613 | ||
7614 | wxPyEndAllowThreads(__tstate); | |
7615 | if (PyErr_Occurred()) SWIG_fail; | |
7616 | } | |
7617 | Py_INCREF(Py_None); resultobj = Py_None; | |
7618 | return resultobj; | |
7619 | fail: | |
7620 | return NULL; | |
7621 | } | |
7622 | ||
7623 | ||
7624 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7625 | PyObject *resultobj; | |
7626 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7627 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7628 | int arg3 = (int) wxID_ANY ; | |
7629 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
7630 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7631 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7632 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7633 | long arg6 = (long) 0 ; | |
7634 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
7635 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7636 | bool result; | |
7637 | wxPoint temp4 ; | |
7638 | wxSize temp5 ; | |
7639 | bool temp7 = False ; | |
7640 | PyObject * obj0 = 0 ; | |
7641 | PyObject * obj1 = 0 ; | |
7642 | PyObject * obj3 = 0 ; | |
7643 | PyObject * obj4 = 0 ; | |
7644 | PyObject * obj6 = 0 ; | |
7645 | char *kwnames[] = { | |
7646 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7647 | }; | |
7648 | ||
7649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
7650 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7651 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7652 | if (obj3) { | |
7653 | { | |
7654 | arg4 = &temp4; | |
7655 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7656 | } | |
7657 | } | |
7658 | if (obj4) { | |
7659 | { | |
7660 | arg5 = &temp5; | |
7661 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7662 | } | |
7663 | } | |
7664 | if (obj6) { | |
7665 | { | |
7666 | arg7 = wxString_in_helper(obj6); | |
7667 | if (arg7 == NULL) SWIG_fail; | |
7668 | temp7 = True; | |
7669 | } | |
7670 | } | |
7671 | { | |
7672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7673 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7674 | ||
7675 | wxPyEndAllowThreads(__tstate); | |
7676 | if (PyErr_Occurred()) SWIG_fail; | |
7677 | } | |
7678 | resultobj = PyInt_FromLong((long)result); | |
7679 | { | |
7680 | if (temp7) | |
7681 | delete arg7; | |
7682 | } | |
7683 | return resultobj; | |
7684 | fail: | |
7685 | { | |
7686 | if (temp7) | |
7687 | delete arg7; | |
7688 | } | |
7689 | return NULL; | |
7690 | } | |
7691 | ||
7692 | ||
7693 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7694 | PyObject *resultobj; | |
7695 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7696 | size_t arg2 ; | |
7697 | PyObject * obj0 = 0 ; | |
7698 | PyObject * obj1 = 0 ; | |
7699 | char *kwnames[] = { | |
7700 | (char *) "self",(char *) "count", NULL | |
7701 | }; | |
7702 | ||
7703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
7704 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7705 | arg2 = (size_t) PyInt_AsLong(obj1); | |
7706 | if (PyErr_Occurred()) SWIG_fail; | |
7707 | { | |
7708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7709 | (arg1)->SetLineCount(arg2); | |
7710 | ||
7711 | wxPyEndAllowThreads(__tstate); | |
7712 | if (PyErr_Occurred()) SWIG_fail; | |
7713 | } | |
7714 | Py_INCREF(Py_None); resultobj = Py_None; | |
7715 | return resultobj; | |
7716 | fail: | |
7717 | return NULL; | |
7718 | } | |
7719 | ||
7720 | ||
7721 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7722 | PyObject *resultobj; | |
7723 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7724 | size_t arg2 ; | |
7725 | bool result; | |
7726 | PyObject * obj0 = 0 ; | |
7727 | PyObject * obj1 = 0 ; | |
7728 | char *kwnames[] = { | |
7729 | (char *) "self",(char *) "line", NULL | |
7730 | }; | |
7731 | ||
7732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
7733 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7734 | arg2 = (size_t) PyInt_AsLong(obj1); | |
7735 | if (PyErr_Occurred()) SWIG_fail; | |
7736 | { | |
7737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7738 | result = (bool)(arg1)->ScrollToLine(arg2); | |
7739 | ||
7740 | wxPyEndAllowThreads(__tstate); | |
7741 | if (PyErr_Occurred()) SWIG_fail; | |
7742 | } | |
7743 | resultobj = PyInt_FromLong((long)result); | |
7744 | return resultobj; | |
7745 | fail: | |
7746 | return NULL; | |
7747 | } | |
7748 | ||
7749 | ||
7750 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7751 | PyObject *resultobj; | |
7752 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7753 | int arg2 ; | |
7754 | bool result; | |
7755 | PyObject * obj0 = 0 ; | |
7756 | char *kwnames[] = { | |
7757 | (char *) "self",(char *) "lines", NULL | |
7758 | }; | |
7759 | ||
7760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail; | |
7761 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7762 | { | |
7763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7764 | result = (bool)(arg1)->ScrollLines(arg2); | |
7765 | ||
7766 | wxPyEndAllowThreads(__tstate); | |
7767 | if (PyErr_Occurred()) SWIG_fail; | |
7768 | } | |
7769 | resultobj = PyInt_FromLong((long)result); | |
7770 | return resultobj; | |
7771 | fail: | |
7772 | return NULL; | |
7773 | } | |
7774 | ||
7775 | ||
7776 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7777 | PyObject *resultobj; | |
7778 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7779 | int arg2 ; | |
7780 | bool result; | |
7781 | PyObject * obj0 = 0 ; | |
7782 | char *kwnames[] = { | |
7783 | (char *) "self",(char *) "pages", NULL | |
7784 | }; | |
7785 | ||
7786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail; | |
7787 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7788 | { | |
7789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7790 | result = (bool)(arg1)->ScrollPages(arg2); | |
7791 | ||
7792 | wxPyEndAllowThreads(__tstate); | |
7793 | if (PyErr_Occurred()) SWIG_fail; | |
7794 | } | |
7795 | resultobj = PyInt_FromLong((long)result); | |
7796 | return resultobj; | |
7797 | fail: | |
7798 | return NULL; | |
7799 | } | |
7800 | ||
7801 | ||
7802 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7803 | PyObject *resultobj; | |
7804 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7805 | size_t arg2 ; | |
7806 | PyObject * obj0 = 0 ; | |
7807 | PyObject * obj1 = 0 ; | |
7808 | char *kwnames[] = { | |
7809 | (char *) "self",(char *) "line", NULL | |
7810 | }; | |
7811 | ||
7812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
7813 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7814 | arg2 = (size_t) PyInt_AsLong(obj1); | |
7815 | if (PyErr_Occurred()) SWIG_fail; | |
7816 | { | |
7817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7818 | (arg1)->RefreshLine(arg2); | |
7819 | ||
7820 | wxPyEndAllowThreads(__tstate); | |
7821 | if (PyErr_Occurred()) SWIG_fail; | |
7822 | } | |
7823 | Py_INCREF(Py_None); resultobj = Py_None; | |
7824 | return resultobj; | |
7825 | fail: | |
7826 | return NULL; | |
7827 | } | |
7828 | ||
7829 | ||
7830 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7831 | PyObject *resultobj; | |
7832 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7833 | size_t arg2 ; | |
7834 | size_t arg3 ; | |
7835 | PyObject * obj0 = 0 ; | |
7836 | PyObject * obj1 = 0 ; | |
7837 | PyObject * obj2 = 0 ; | |
7838 | char *kwnames[] = { | |
7839 | (char *) "self",(char *) "from",(char *) "to", NULL | |
7840 | }; | |
7841 | ||
7842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7843 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7844 | arg2 = (size_t) PyInt_AsLong(obj1); | |
7845 | if (PyErr_Occurred()) SWIG_fail; | |
7846 | arg3 = (size_t) PyInt_AsLong(obj2); | |
7847 | if (PyErr_Occurred()) SWIG_fail; | |
7848 | { | |
7849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7850 | (arg1)->RefreshLines(arg2,arg3); | |
7851 | ||
7852 | wxPyEndAllowThreads(__tstate); | |
7853 | if (PyErr_Occurred()) SWIG_fail; | |
7854 | } | |
7855 | Py_INCREF(Py_None); resultobj = Py_None; | |
7856 | return resultobj; | |
7857 | fail: | |
7858 | return NULL; | |
7859 | } | |
7860 | ||
7861 | ||
7862 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7863 | PyObject *resultobj; | |
7864 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7865 | int arg2 ; | |
7866 | int arg3 ; | |
7867 | int result; | |
7868 | PyObject * obj0 = 0 ; | |
7869 | char *kwnames[] = { | |
7870 | (char *) "self",(char *) "x",(char *) "y", NULL | |
7871 | }; | |
7872 | ||
7873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
7874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7875 | { | |
7876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7877 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
7878 | ||
7879 | wxPyEndAllowThreads(__tstate); | |
7880 | if (PyErr_Occurred()) SWIG_fail; | |
7881 | } | |
7882 | resultobj = PyInt_FromLong((long)result); | |
7883 | return resultobj; | |
7884 | fail: | |
7885 | return NULL; | |
7886 | } | |
7887 | ||
7888 | ||
7889 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7890 | PyObject *resultobj; | |
7891 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7892 | wxPoint *arg2 = 0 ; | |
7893 | int result; | |
7894 | wxPoint temp2 ; | |
7895 | PyObject * obj0 = 0 ; | |
7896 | PyObject * obj1 = 0 ; | |
7897 | char *kwnames[] = { | |
7898 | (char *) "self",(char *) "pt", NULL | |
7899 | }; | |
7900 | ||
7901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
7902 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7903 | { | |
7904 | arg2 = &temp2; | |
7905 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7906 | } | |
7907 | { | |
7908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7909 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
7910 | ||
7911 | wxPyEndAllowThreads(__tstate); | |
7912 | if (PyErr_Occurred()) SWIG_fail; | |
7913 | } | |
7914 | resultobj = PyInt_FromLong((long)result); | |
7915 | return resultobj; | |
7916 | fail: | |
7917 | return NULL; | |
7918 | } | |
7919 | ||
7920 | ||
7921 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7922 | PyObject *resultobj; | |
7923 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7924 | PyObject * obj0 = 0 ; | |
7925 | char *kwnames[] = { | |
7926 | (char *) "self", NULL | |
7927 | }; | |
7928 | ||
7929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
7930 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7931 | { | |
7932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7933 | (arg1)->RefreshAll(); | |
7934 | ||
7935 | wxPyEndAllowThreads(__tstate); | |
7936 | if (PyErr_Occurred()) SWIG_fail; | |
7937 | } | |
7938 | Py_INCREF(Py_None); resultobj = Py_None; | |
7939 | return resultobj; | |
7940 | fail: | |
7941 | return NULL; | |
7942 | } | |
7943 | ||
7944 | ||
7945 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7946 | PyObject *resultobj; | |
7947 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7948 | size_t result; | |
7949 | PyObject * obj0 = 0 ; | |
7950 | char *kwnames[] = { | |
7951 | (char *) "self", NULL | |
7952 | }; | |
7953 | ||
7954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
7955 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7956 | { | |
7957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7958 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
7959 | ||
7960 | wxPyEndAllowThreads(__tstate); | |
7961 | if (PyErr_Occurred()) SWIG_fail; | |
7962 | } | |
7963 | resultobj = PyInt_FromLong((long)result); | |
7964 | return resultobj; | |
7965 | fail: | |
7966 | return NULL; | |
7967 | } | |
7968 | ||
7969 | ||
7970 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7971 | PyObject *resultobj; | |
7972 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7973 | size_t result; | |
7974 | PyObject * obj0 = 0 ; | |
7975 | char *kwnames[] = { | |
7976 | (char *) "self", NULL | |
7977 | }; | |
7978 | ||
7979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
7980 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7981 | { | |
7982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7983 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
7984 | ||
7985 | wxPyEndAllowThreads(__tstate); | |
7986 | if (PyErr_Occurred()) SWIG_fail; | |
7987 | } | |
7988 | resultobj = PyInt_FromLong((long)result); | |
7989 | return resultobj; | |
7990 | fail: | |
7991 | return NULL; | |
7992 | } | |
7993 | ||
7994 | ||
7995 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7996 | PyObject *resultobj; | |
7997 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
7998 | size_t result; | |
7999 | PyObject * obj0 = 0 ; | |
8000 | char *kwnames[] = { | |
8001 | (char *) "self", NULL | |
8002 | }; | |
8003 | ||
8004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
8005 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8006 | { | |
8007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8008 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
8009 | ||
8010 | wxPyEndAllowThreads(__tstate); | |
8011 | if (PyErr_Occurred()) SWIG_fail; | |
8012 | } | |
8013 | resultobj = PyInt_FromLong((long)result); | |
8014 | return resultobj; | |
8015 | fail: | |
8016 | return NULL; | |
8017 | } | |
8018 | ||
8019 | ||
8020 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8021 | PyObject *resultobj; | |
8022 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8023 | size_t arg2 ; | |
8024 | bool result; | |
8025 | PyObject * obj0 = 0 ; | |
8026 | PyObject * obj1 = 0 ; | |
8027 | char *kwnames[] = { | |
8028 | (char *) "self",(char *) "line", NULL | |
8029 | }; | |
8030 | ||
8031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
8032 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8033 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8034 | if (PyErr_Occurred()) SWIG_fail; | |
8035 | { | |
8036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8037 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
8038 | ||
8039 | wxPyEndAllowThreads(__tstate); | |
8040 | if (PyErr_Occurred()) SWIG_fail; | |
8041 | } | |
8042 | resultobj = PyInt_FromLong((long)result); | |
8043 | return resultobj; | |
8044 | fail: | |
8045 | return NULL; | |
8046 | } | |
8047 | ||
8048 | ||
8049 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
8050 | PyObject *obj; | |
8051 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8052 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
8053 | Py_INCREF(obj); | |
8054 | return Py_BuildValue((char *)""); | |
8055 | } | |
8056 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8057 | PyObject *resultobj; | |
8058 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8059 | int arg2 = (int) wxID_ANY ; | |
8060 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
8061 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8062 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8063 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8064 | long arg5 = (long) 0 ; | |
8065 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
8066 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8067 | wxPyVListBox *result; | |
8068 | wxPoint temp3 ; | |
8069 | wxSize temp4 ; | |
8070 | bool temp6 = False ; | |
8071 | PyObject * obj0 = 0 ; | |
8072 | PyObject * obj2 = 0 ; | |
8073 | PyObject * obj3 = 0 ; | |
8074 | PyObject * obj5 = 0 ; | |
8075 | char *kwnames[] = { | |
8076 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8077 | }; | |
8078 | ||
8079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
8080 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8081 | if (obj2) { | |
8082 | { | |
8083 | arg3 = &temp3; | |
8084 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8085 | } | |
8086 | } | |
8087 | if (obj3) { | |
8088 | { | |
8089 | arg4 = &temp4; | |
8090 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8091 | } | |
8092 | } | |
8093 | if (obj5) { | |
8094 | { | |
8095 | arg6 = wxString_in_helper(obj5); | |
8096 | if (arg6 == NULL) SWIG_fail; | |
8097 | temp6 = True; | |
8098 | } | |
8099 | } | |
8100 | { | |
8101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8102 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8103 | ||
8104 | wxPyEndAllowThreads(__tstate); | |
8105 | if (PyErr_Occurred()) SWIG_fail; | |
8106 | } | |
8107 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1); | |
8108 | { | |
8109 | if (temp6) | |
8110 | delete arg6; | |
8111 | } | |
8112 | return resultobj; | |
8113 | fail: | |
8114 | { | |
8115 | if (temp6) | |
8116 | delete arg6; | |
8117 | } | |
8118 | return NULL; | |
8119 | } | |
8120 | ||
8121 | ||
8122 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8123 | PyObject *resultobj; | |
8124 | wxPyVListBox *result; | |
8125 | char *kwnames[] = { | |
8126 | NULL | |
8127 | }; | |
8128 | ||
8129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
8130 | { | |
8131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8132 | result = (wxPyVListBox *)new wxPyVListBox(); | |
8133 | ||
8134 | wxPyEndAllowThreads(__tstate); | |
8135 | if (PyErr_Occurred()) SWIG_fail; | |
8136 | } | |
8137 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1); | |
8138 | return resultobj; | |
8139 | fail: | |
8140 | return NULL; | |
8141 | } | |
8142 | ||
8143 | ||
8144 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8145 | PyObject *resultobj; | |
8146 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8147 | PyObject *arg2 = (PyObject *) 0 ; | |
8148 | PyObject *arg3 = (PyObject *) 0 ; | |
8149 | PyObject * obj0 = 0 ; | |
8150 | PyObject * obj1 = 0 ; | |
8151 | PyObject * obj2 = 0 ; | |
8152 | char *kwnames[] = { | |
8153 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8154 | }; | |
8155 | ||
8156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8157 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8158 | arg2 = obj1; | |
8159 | arg3 = obj2; | |
8160 | { | |
8161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8162 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8163 | ||
8164 | wxPyEndAllowThreads(__tstate); | |
8165 | if (PyErr_Occurred()) SWIG_fail; | |
8166 | } | |
8167 | Py_INCREF(Py_None); resultobj = Py_None; | |
8168 | return resultobj; | |
8169 | fail: | |
8170 | return NULL; | |
8171 | } | |
8172 | ||
8173 | ||
8174 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8175 | PyObject *resultobj; | |
8176 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8177 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8178 | int arg3 = (int) wxID_ANY ; | |
8179 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
8180 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8181 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8182 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8183 | long arg6 = (long) 0 ; | |
8184 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
8185 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8186 | bool result; | |
8187 | wxPoint temp4 ; | |
8188 | wxSize temp5 ; | |
8189 | bool temp7 = False ; | |
8190 | PyObject * obj0 = 0 ; | |
8191 | PyObject * obj1 = 0 ; | |
8192 | PyObject * obj3 = 0 ; | |
8193 | PyObject * obj4 = 0 ; | |
8194 | PyObject * obj6 = 0 ; | |
8195 | char *kwnames[] = { | |
8196 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8197 | }; | |
8198 | ||
8199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
8200 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8201 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8202 | if (obj3) { | |
8203 | { | |
8204 | arg4 = &temp4; | |
8205 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8206 | } | |
8207 | } | |
8208 | if (obj4) { | |
8209 | { | |
8210 | arg5 = &temp5; | |
8211 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8212 | } | |
8213 | } | |
8214 | if (obj6) { | |
8215 | { | |
8216 | arg7 = wxString_in_helper(obj6); | |
8217 | if (arg7 == NULL) SWIG_fail; | |
8218 | temp7 = True; | |
8219 | } | |
8220 | } | |
8221 | { | |
8222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8223 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8224 | ||
8225 | wxPyEndAllowThreads(__tstate); | |
8226 | if (PyErr_Occurred()) SWIG_fail; | |
8227 | } | |
8228 | resultobj = PyInt_FromLong((long)result); | |
8229 | { | |
8230 | if (temp7) | |
8231 | delete arg7; | |
8232 | } | |
8233 | return resultobj; | |
8234 | fail: | |
8235 | { | |
8236 | if (temp7) | |
8237 | delete arg7; | |
8238 | } | |
8239 | return NULL; | |
8240 | } | |
8241 | ||
8242 | ||
8243 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8244 | PyObject *resultobj; | |
8245 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8246 | size_t result; | |
8247 | PyObject * obj0 = 0 ; | |
8248 | char *kwnames[] = { | |
8249 | (char *) "self", NULL | |
8250 | }; | |
8251 | ||
8252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
8253 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8254 | { | |
8255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8256 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
8257 | ||
8258 | wxPyEndAllowThreads(__tstate); | |
8259 | if (PyErr_Occurred()) SWIG_fail; | |
8260 | } | |
8261 | resultobj = PyInt_FromLong((long)result); | |
8262 | return resultobj; | |
8263 | fail: | |
8264 | return NULL; | |
8265 | } | |
8266 | ||
8267 | ||
8268 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8269 | PyObject *resultobj; | |
8270 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8271 | bool result; | |
8272 | PyObject * obj0 = 0 ; | |
8273 | char *kwnames[] = { | |
8274 | (char *) "self", NULL | |
8275 | }; | |
8276 | ||
8277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
8278 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8279 | { | |
8280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8281 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
8282 | ||
8283 | wxPyEndAllowThreads(__tstate); | |
8284 | if (PyErr_Occurred()) SWIG_fail; | |
8285 | } | |
8286 | resultobj = PyInt_FromLong((long)result); | |
8287 | return resultobj; | |
8288 | fail: | |
8289 | return NULL; | |
8290 | } | |
8291 | ||
8292 | ||
8293 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8294 | PyObject *resultobj; | |
8295 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8296 | int result; | |
8297 | PyObject * obj0 = 0 ; | |
8298 | char *kwnames[] = { | |
8299 | (char *) "self", NULL | |
8300 | }; | |
8301 | ||
8302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
8303 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8304 | { | |
8305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8306 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
8307 | ||
8308 | wxPyEndAllowThreads(__tstate); | |
8309 | if (PyErr_Occurred()) SWIG_fail; | |
8310 | } | |
8311 | resultobj = PyInt_FromLong((long)result); | |
8312 | return resultobj; | |
8313 | fail: | |
8314 | return NULL; | |
8315 | } | |
8316 | ||
8317 | ||
8318 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8319 | PyObject *resultobj; | |
8320 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8321 | size_t arg2 ; | |
8322 | bool result; | |
8323 | PyObject * obj0 = 0 ; | |
8324 | PyObject * obj1 = 0 ; | |
8325 | char *kwnames[] = { | |
8326 | (char *) "self",(char *) "item", NULL | |
8327 | }; | |
8328 | ||
8329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
8330 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8331 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8332 | if (PyErr_Occurred()) SWIG_fail; | |
8333 | { | |
8334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8335 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
8336 | ||
8337 | wxPyEndAllowThreads(__tstate); | |
8338 | if (PyErr_Occurred()) SWIG_fail; | |
8339 | } | |
8340 | resultobj = PyInt_FromLong((long)result); | |
8341 | return resultobj; | |
8342 | fail: | |
8343 | return NULL; | |
8344 | } | |
8345 | ||
8346 | ||
8347 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8348 | PyObject *resultobj; | |
8349 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8350 | size_t arg2 ; | |
8351 | bool result; | |
8352 | PyObject * obj0 = 0 ; | |
8353 | PyObject * obj1 = 0 ; | |
8354 | char *kwnames[] = { | |
8355 | (char *) "self",(char *) "item", NULL | |
8356 | }; | |
8357 | ||
8358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
8359 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8360 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8361 | if (PyErr_Occurred()) SWIG_fail; | |
8362 | { | |
8363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8364 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
8365 | ||
8366 | wxPyEndAllowThreads(__tstate); | |
8367 | if (PyErr_Occurred()) SWIG_fail; | |
8368 | } | |
8369 | resultobj = PyInt_FromLong((long)result); | |
8370 | return resultobj; | |
8371 | fail: | |
8372 | return NULL; | |
8373 | } | |
8374 | ||
8375 | ||
8376 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8377 | PyObject *resultobj; | |
8378 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8379 | size_t result; | |
8380 | PyObject * obj0 = 0 ; | |
8381 | char *kwnames[] = { | |
8382 | (char *) "self", NULL | |
8383 | }; | |
8384 | ||
8385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
8386 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8387 | { | |
8388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8389 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
8390 | ||
8391 | wxPyEndAllowThreads(__tstate); | |
8392 | if (PyErr_Occurred()) SWIG_fail; | |
8393 | } | |
8394 | resultobj = PyInt_FromLong((long)result); | |
8395 | return resultobj; | |
8396 | fail: | |
8397 | return NULL; | |
8398 | } | |
8399 | ||
8400 | ||
8401 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8402 | PyObject *resultobj; | |
8403 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8404 | unsigned long *arg2 = 0 ; | |
8405 | int result; | |
8406 | PyObject * obj0 = 0 ; | |
8407 | PyObject * obj1 = 0 ; | |
8408 | char *kwnames[] = { | |
8409 | (char *) "self",(char *) "cookie", NULL | |
8410 | }; | |
8411 | ||
8412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
8413 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8414 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8415 | if (arg2 == NULL) { | |
8416 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
8417 | } | |
8418 | { | |
8419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8420 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
8421 | ||
8422 | wxPyEndAllowThreads(__tstate); | |
8423 | if (PyErr_Occurred()) SWIG_fail; | |
8424 | } | |
8425 | resultobj = PyInt_FromLong((long)result); | |
8426 | return resultobj; | |
8427 | fail: | |
8428 | return NULL; | |
8429 | } | |
8430 | ||
8431 | ||
8432 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8433 | PyObject *resultobj; | |
8434 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8435 | unsigned long *arg2 = 0 ; | |
8436 | int result; | |
8437 | PyObject * obj0 = 0 ; | |
8438 | PyObject * obj1 = 0 ; | |
8439 | char *kwnames[] = { | |
8440 | (char *) "self",(char *) "cookie", NULL | |
8441 | }; | |
8442 | ||
8443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
8444 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8445 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8446 | if (arg2 == NULL) { | |
8447 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
8448 | } | |
8449 | { | |
8450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8451 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
8452 | ||
8453 | wxPyEndAllowThreads(__tstate); | |
8454 | if (PyErr_Occurred()) SWIG_fail; | |
8455 | } | |
8456 | resultobj = PyInt_FromLong((long)result); | |
8457 | return resultobj; | |
8458 | fail: | |
8459 | return NULL; | |
8460 | } | |
8461 | ||
8462 | ||
8463 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8464 | PyObject *resultobj; | |
8465 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8466 | wxPoint result; | |
8467 | PyObject * obj0 = 0 ; | |
8468 | char *kwnames[] = { | |
8469 | (char *) "self", NULL | |
8470 | }; | |
8471 | ||
8472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
8473 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8474 | { | |
8475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8476 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
8477 | ||
8478 | wxPyEndAllowThreads(__tstate); | |
8479 | if (PyErr_Occurred()) SWIG_fail; | |
8480 | } | |
8481 | { | |
8482 | wxPoint * resultptr; | |
8483 | resultptr = new wxPoint((wxPoint &) result); | |
8484 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
8485 | } | |
8486 | return resultobj; | |
8487 | fail: | |
8488 | return NULL; | |
8489 | } | |
8490 | ||
8491 | ||
8492 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8493 | PyObject *resultobj; | |
8494 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8495 | wxColour *result; | |
8496 | PyObject * obj0 = 0 ; | |
8497 | char *kwnames[] = { | |
8498 | (char *) "self", NULL | |
8499 | }; | |
8500 | ||
8501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
8502 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8503 | { | |
8504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8505 | { | |
8506 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
8507 | result = (wxColour *) &_result_ref; | |
8508 | } | |
8509 | ||
8510 | wxPyEndAllowThreads(__tstate); | |
8511 | if (PyErr_Occurred()) SWIG_fail; | |
8512 | } | |
8513 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
8514 | return resultobj; | |
8515 | fail: | |
8516 | return NULL; | |
8517 | } | |
8518 | ||
8519 | ||
8520 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8521 | PyObject *resultobj; | |
8522 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8523 | size_t arg2 ; | |
8524 | PyObject * obj0 = 0 ; | |
8525 | PyObject * obj1 = 0 ; | |
8526 | char *kwnames[] = { | |
8527 | (char *) "self",(char *) "count", NULL | |
8528 | }; | |
8529 | ||
8530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
8531 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8532 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8533 | if (PyErr_Occurred()) SWIG_fail; | |
8534 | { | |
8535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8536 | (arg1)->SetItemCount(arg2); | |
8537 | ||
8538 | wxPyEndAllowThreads(__tstate); | |
8539 | if (PyErr_Occurred()) SWIG_fail; | |
8540 | } | |
8541 | Py_INCREF(Py_None); resultobj = Py_None; | |
8542 | return resultobj; | |
8543 | fail: | |
8544 | return NULL; | |
8545 | } | |
8546 | ||
8547 | ||
8548 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8549 | PyObject *resultobj; | |
8550 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8551 | PyObject * obj0 = 0 ; | |
8552 | char *kwnames[] = { | |
8553 | (char *) "self", NULL | |
8554 | }; | |
8555 | ||
8556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
8557 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8558 | { | |
8559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8560 | (arg1)->Clear(); | |
8561 | ||
8562 | wxPyEndAllowThreads(__tstate); | |
8563 | if (PyErr_Occurred()) SWIG_fail; | |
8564 | } | |
8565 | Py_INCREF(Py_None); resultobj = Py_None; | |
8566 | return resultobj; | |
8567 | fail: | |
8568 | return NULL; | |
8569 | } | |
8570 | ||
8571 | ||
8572 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8573 | PyObject *resultobj; | |
8574 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8575 | int arg2 ; | |
8576 | PyObject * obj0 = 0 ; | |
8577 | char *kwnames[] = { | |
8578 | (char *) "self",(char *) "selection", NULL | |
8579 | }; | |
8580 | ||
8581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail; | |
8582 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8583 | { | |
8584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8585 | (arg1)->SetSelection(arg2); | |
8586 | ||
8587 | wxPyEndAllowThreads(__tstate); | |
8588 | if (PyErr_Occurred()) SWIG_fail; | |
8589 | } | |
8590 | Py_INCREF(Py_None); resultobj = Py_None; | |
8591 | return resultobj; | |
8592 | fail: | |
8593 | return NULL; | |
8594 | } | |
8595 | ||
8596 | ||
8597 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8598 | PyObject *resultobj; | |
8599 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8600 | size_t arg2 ; | |
8601 | bool arg3 = (bool) True ; | |
8602 | bool result; | |
8603 | PyObject * obj0 = 0 ; | |
8604 | PyObject * obj1 = 0 ; | |
8605 | PyObject * obj2 = 0 ; | |
8606 | char *kwnames[] = { | |
8607 | (char *) "self",(char *) "item",(char *) "select", NULL | |
8608 | }; | |
8609 | ||
8610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8611 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8612 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8613 | if (PyErr_Occurred()) SWIG_fail; | |
8614 | if (obj2) { | |
8615 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
8616 | if (PyErr_Occurred()) SWIG_fail; | |
8617 | } | |
8618 | { | |
8619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8620 | result = (bool)(arg1)->Select(arg2,arg3); | |
8621 | ||
8622 | wxPyEndAllowThreads(__tstate); | |
8623 | if (PyErr_Occurred()) SWIG_fail; | |
8624 | } | |
8625 | resultobj = PyInt_FromLong((long)result); | |
8626 | return resultobj; | |
8627 | fail: | |
8628 | return NULL; | |
8629 | } | |
8630 | ||
8631 | ||
8632 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8633 | PyObject *resultobj; | |
8634 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8635 | size_t arg2 ; | |
8636 | size_t arg3 ; | |
8637 | bool result; | |
8638 | PyObject * obj0 = 0 ; | |
8639 | PyObject * obj1 = 0 ; | |
8640 | PyObject * obj2 = 0 ; | |
8641 | char *kwnames[] = { | |
8642 | (char *) "self",(char *) "from",(char *) "to", NULL | |
8643 | }; | |
8644 | ||
8645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8646 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8647 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8648 | if (PyErr_Occurred()) SWIG_fail; | |
8649 | arg3 = (size_t) PyInt_AsLong(obj2); | |
8650 | if (PyErr_Occurred()) SWIG_fail; | |
8651 | { | |
8652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8653 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
8654 | ||
8655 | wxPyEndAllowThreads(__tstate); | |
8656 | if (PyErr_Occurred()) SWIG_fail; | |
8657 | } | |
8658 | resultobj = PyInt_FromLong((long)result); | |
8659 | return resultobj; | |
8660 | fail: | |
8661 | return NULL; | |
8662 | } | |
8663 | ||
8664 | ||
8665 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8666 | PyObject *resultobj; | |
8667 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8668 | size_t arg2 ; | |
8669 | PyObject * obj0 = 0 ; | |
8670 | PyObject * obj1 = 0 ; | |
8671 | char *kwnames[] = { | |
8672 | (char *) "self",(char *) "item", NULL | |
8673 | }; | |
8674 | ||
8675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
8676 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8677 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8678 | if (PyErr_Occurred()) SWIG_fail; | |
8679 | { | |
8680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8681 | (arg1)->Toggle(arg2); | |
8682 | ||
8683 | wxPyEndAllowThreads(__tstate); | |
8684 | if (PyErr_Occurred()) SWIG_fail; | |
8685 | } | |
8686 | Py_INCREF(Py_None); resultobj = Py_None; | |
8687 | return resultobj; | |
8688 | fail: | |
8689 | return NULL; | |
8690 | } | |
8691 | ||
8692 | ||
8693 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8694 | PyObject *resultobj; | |
8695 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8696 | bool result; | |
8697 | PyObject * obj0 = 0 ; | |
8698 | char *kwnames[] = { | |
8699 | (char *) "self", NULL | |
8700 | }; | |
8701 | ||
8702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
8703 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8704 | { | |
8705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8706 | result = (bool)(arg1)->SelectAll(); | |
8707 | ||
8708 | wxPyEndAllowThreads(__tstate); | |
8709 | if (PyErr_Occurred()) SWIG_fail; | |
8710 | } | |
8711 | resultobj = PyInt_FromLong((long)result); | |
8712 | return resultobj; | |
8713 | fail: | |
8714 | return NULL; | |
8715 | } | |
8716 | ||
8717 | ||
8718 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8719 | PyObject *resultobj; | |
8720 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8721 | bool result; | |
8722 | PyObject * obj0 = 0 ; | |
8723 | char *kwnames[] = { | |
8724 | (char *) "self", NULL | |
8725 | }; | |
8726 | ||
8727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
8728 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8729 | { | |
8730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8731 | result = (bool)(arg1)->DeselectAll(); | |
8732 | ||
8733 | wxPyEndAllowThreads(__tstate); | |
8734 | if (PyErr_Occurred()) SWIG_fail; | |
8735 | } | |
8736 | resultobj = PyInt_FromLong((long)result); | |
8737 | return resultobj; | |
8738 | fail: | |
8739 | return NULL; | |
8740 | } | |
8741 | ||
8742 | ||
8743 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8744 | PyObject *resultobj; | |
8745 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8746 | wxPoint *arg2 = 0 ; | |
8747 | wxPoint temp2 ; | |
8748 | PyObject * obj0 = 0 ; | |
8749 | PyObject * obj1 = 0 ; | |
8750 | char *kwnames[] = { | |
8751 | (char *) "self",(char *) "pt", NULL | |
8752 | }; | |
8753 | ||
8754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
8755 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8756 | { | |
8757 | arg2 = &temp2; | |
8758 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8759 | } | |
8760 | { | |
8761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8762 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
8763 | ||
8764 | wxPyEndAllowThreads(__tstate); | |
8765 | if (PyErr_Occurred()) SWIG_fail; | |
8766 | } | |
8767 | Py_INCREF(Py_None); resultobj = Py_None; | |
8768 | return resultobj; | |
8769 | fail: | |
8770 | return NULL; | |
8771 | } | |
8772 | ||
8773 | ||
8774 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8775 | PyObject *resultobj; | |
8776 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8777 | int arg2 ; | |
8778 | int arg3 ; | |
8779 | PyObject * obj0 = 0 ; | |
8780 | char *kwnames[] = { | |
8781 | (char *) "self",(char *) "x",(char *) "y", NULL | |
8782 | }; | |
8783 | ||
8784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
8785 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8786 | { | |
8787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8788 | (arg1)->SetMargins(arg2,arg3); | |
8789 | ||
8790 | wxPyEndAllowThreads(__tstate); | |
8791 | if (PyErr_Occurred()) SWIG_fail; | |
8792 | } | |
8793 | Py_INCREF(Py_None); resultobj = Py_None; | |
8794 | return resultobj; | |
8795 | fail: | |
8796 | return NULL; | |
8797 | } | |
8798 | ||
8799 | ||
8800 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8801 | PyObject *resultobj; | |
8802 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8803 | wxColour *arg2 = 0 ; | |
8804 | wxColour temp2 ; | |
8805 | PyObject * obj0 = 0 ; | |
8806 | PyObject * obj1 = 0 ; | |
8807 | char *kwnames[] = { | |
8808 | (char *) "self",(char *) "col", NULL | |
8809 | }; | |
8810 | ||
8811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
8812 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8813 | { | |
8814 | arg2 = &temp2; | |
8815 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8816 | } | |
8817 | { | |
8818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8819 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
8820 | ||
8821 | wxPyEndAllowThreads(__tstate); | |
8822 | if (PyErr_Occurred()) SWIG_fail; | |
8823 | } | |
8824 | Py_INCREF(Py_None); resultobj = Py_None; | |
8825 | return resultobj; | |
8826 | fail: | |
8827 | return NULL; | |
8828 | } | |
8829 | ||
8830 | ||
8831 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
8832 | PyObject *obj; | |
8833 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8834 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
8835 | Py_INCREF(obj); | |
8836 | return Py_BuildValue((char *)""); | |
8837 | } | |
8838 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8839 | PyObject *resultobj; | |
8840 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8841 | int arg2 = (int) wxID_ANY ; | |
8842 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
8843 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8844 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8845 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8846 | long arg5 = (long) 0 ; | |
8847 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
8848 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8849 | wxPyHtmlListBox *result; | |
8850 | wxPoint temp3 ; | |
8851 | wxSize temp4 ; | |
8852 | bool temp6 = False ; | |
8853 | PyObject * obj0 = 0 ; | |
8854 | PyObject * obj2 = 0 ; | |
8855 | PyObject * obj3 = 0 ; | |
8856 | PyObject * obj5 = 0 ; | |
8857 | char *kwnames[] = { | |
8858 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8859 | }; | |
8860 | ||
8861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
8862 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8863 | if (obj2) { | |
8864 | { | |
8865 | arg3 = &temp3; | |
8866 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8867 | } | |
8868 | } | |
8869 | if (obj3) { | |
8870 | { | |
8871 | arg4 = &temp4; | |
8872 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8873 | } | |
8874 | } | |
8875 | if (obj5) { | |
8876 | { | |
8877 | arg6 = wxString_in_helper(obj5); | |
8878 | if (arg6 == NULL) SWIG_fail; | |
8879 | temp6 = True; | |
8880 | } | |
8881 | } | |
8882 | { | |
8883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8884 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8885 | ||
8886 | wxPyEndAllowThreads(__tstate); | |
8887 | if (PyErr_Occurred()) SWIG_fail; | |
8888 | } | |
8889 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1); | |
8890 | { | |
8891 | if (temp6) | |
8892 | delete arg6; | |
8893 | } | |
8894 | return resultobj; | |
8895 | fail: | |
8896 | { | |
8897 | if (temp6) | |
8898 | delete arg6; | |
8899 | } | |
8900 | return NULL; | |
8901 | } | |
8902 | ||
8903 | ||
8904 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8905 | PyObject *resultobj; | |
8906 | wxPyHtmlListBox *result; | |
8907 | char *kwnames[] = { | |
8908 | NULL | |
8909 | }; | |
8910 | ||
8911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
8912 | { | |
8913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8914 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
8915 | ||
8916 | wxPyEndAllowThreads(__tstate); | |
8917 | if (PyErr_Occurred()) SWIG_fail; | |
8918 | } | |
8919 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1); | |
8920 | return resultobj; | |
8921 | fail: | |
8922 | return NULL; | |
8923 | } | |
8924 | ||
8925 | ||
8926 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8927 | PyObject *resultobj; | |
8928 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
8929 | PyObject *arg2 = (PyObject *) 0 ; | |
8930 | PyObject *arg3 = (PyObject *) 0 ; | |
8931 | PyObject * obj0 = 0 ; | |
8932 | PyObject * obj1 = 0 ; | |
8933 | PyObject * obj2 = 0 ; | |
8934 | char *kwnames[] = { | |
8935 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8936 | }; | |
8937 | ||
8938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8939 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8940 | arg2 = obj1; | |
8941 | arg3 = obj2; | |
8942 | { | |
8943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8944 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8945 | ||
8946 | wxPyEndAllowThreads(__tstate); | |
8947 | if (PyErr_Occurred()) SWIG_fail; | |
8948 | } | |
8949 | Py_INCREF(Py_None); resultobj = Py_None; | |
8950 | return resultobj; | |
8951 | fail: | |
8952 | return NULL; | |
8953 | } | |
8954 | ||
8955 | ||
8956 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8957 | PyObject *resultobj; | |
8958 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
8959 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8960 | int arg3 = (int) wxID_ANY ; | |
8961 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
8962 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8963 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8964 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8965 | long arg6 = (long) 0 ; | |
8966 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
8967 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8968 | bool result; | |
8969 | wxPoint temp4 ; | |
8970 | wxSize temp5 ; | |
8971 | bool temp7 = False ; | |
8972 | PyObject * obj0 = 0 ; | |
8973 | PyObject * obj1 = 0 ; | |
8974 | PyObject * obj3 = 0 ; | |
8975 | PyObject * obj4 = 0 ; | |
8976 | PyObject * obj6 = 0 ; | |
8977 | char *kwnames[] = { | |
8978 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8979 | }; | |
8980 | ||
8981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
8982 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8983 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8984 | if (obj3) { | |
8985 | { | |
8986 | arg4 = &temp4; | |
8987 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8988 | } | |
8989 | } | |
8990 | if (obj4) { | |
8991 | { | |
8992 | arg5 = &temp5; | |
8993 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8994 | } | |
8995 | } | |
8996 | if (obj6) { | |
8997 | { | |
8998 | arg7 = wxString_in_helper(obj6); | |
8999 | if (arg7 == NULL) SWIG_fail; | |
9000 | temp7 = True; | |
9001 | } | |
9002 | } | |
9003 | { | |
9004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9005 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9006 | ||
9007 | wxPyEndAllowThreads(__tstate); | |
9008 | if (PyErr_Occurred()) SWIG_fail; | |
9009 | } | |
9010 | resultobj = PyInt_FromLong((long)result); | |
9011 | { | |
9012 | if (temp7) | |
9013 | delete arg7; | |
9014 | } | |
9015 | return resultobj; | |
9016 | fail: | |
9017 | { | |
9018 | if (temp7) | |
9019 | delete arg7; | |
9020 | } | |
9021 | return NULL; | |
9022 | } | |
9023 | ||
9024 | ||
9025 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9026 | PyObject *resultobj; | |
9027 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
9028 | PyObject * obj0 = 0 ; | |
9029 | char *kwnames[] = { | |
9030 | (char *) "self", NULL | |
9031 | }; | |
9032 | ||
9033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
9034 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9035 | { | |
9036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9037 | (arg1)->RefreshAll(); | |
9038 | ||
9039 | wxPyEndAllowThreads(__tstate); | |
9040 | if (PyErr_Occurred()) SWIG_fail; | |
9041 | } | |
9042 | Py_INCREF(Py_None); resultobj = Py_None; | |
9043 | return resultobj; | |
9044 | fail: | |
9045 | return NULL; | |
9046 | } | |
9047 | ||
9048 | ||
9049 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9050 | PyObject *resultobj; | |
9051 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
9052 | size_t arg2 ; | |
9053 | PyObject * obj0 = 0 ; | |
9054 | PyObject * obj1 = 0 ; | |
9055 | char *kwnames[] = { | |
9056 | (char *) "self",(char *) "count", NULL | |
9057 | }; | |
9058 | ||
9059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
9060 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9061 | arg2 = (size_t) PyInt_AsLong(obj1); | |
9062 | if (PyErr_Occurred()) SWIG_fail; | |
9063 | { | |
9064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9065 | (arg1)->SetItemCount(arg2); | |
9066 | ||
9067 | wxPyEndAllowThreads(__tstate); | |
9068 | if (PyErr_Occurred()) SWIG_fail; | |
9069 | } | |
9070 | Py_INCREF(Py_None); resultobj = Py_None; | |
9071 | return resultobj; | |
9072 | fail: | |
9073 | return NULL; | |
9074 | } | |
9075 | ||
9076 | ||
9077 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
9078 | PyObject *obj; | |
9079 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9080 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
9081 | Py_INCREF(obj); | |
9082 | return Py_BuildValue((char *)""); | |
9083 | } | |
9084 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9085 | PyObject *resultobj; | |
9086 | wxTaskBarIcon *result; | |
9087 | char *kwnames[] = { | |
9088 | NULL | |
9089 | }; | |
9090 | ||
9091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
9092 | { | |
9093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9094 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
9095 | ||
9096 | wxPyEndAllowThreads(__tstate); | |
9097 | if (PyErr_Occurred()) SWIG_fail; | |
9098 | } | |
9099 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1); | |
9100 | return resultobj; | |
9101 | fail: | |
9102 | return NULL; | |
9103 | } | |
9104 | ||
9105 | ||
9106 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9107 | PyObject *resultobj; | |
9108 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
9109 | PyObject * obj0 = 0 ; | |
9110 | char *kwnames[] = { | |
9111 | (char *) "self", NULL | |
9112 | }; | |
9113 | ||
9114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
9115 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9116 | { | |
9117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9118 | delete arg1; | |
9119 | ||
9120 | wxPyEndAllowThreads(__tstate); | |
9121 | if (PyErr_Occurred()) SWIG_fail; | |
9122 | } | |
9123 | Py_INCREF(Py_None); resultobj = Py_None; | |
9124 | return resultobj; | |
9125 | fail: | |
9126 | return NULL; | |
9127 | } | |
9128 | ||
9129 | ||
9130 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
9131 | PyObject *obj; | |
9132 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9133 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
9134 | Py_INCREF(obj); | |
9135 | return Py_BuildValue((char *)""); | |
9136 | } | |
9137 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9138 | PyObject *resultobj; | |
9139 | wxEventType arg1 ; | |
9140 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
9141 | wxTaskBarIconEvent *result; | |
9142 | PyObject * obj1 = 0 ; | |
9143 | char *kwnames[] = { | |
9144 | (char *) "evtType",(char *) "tbIcon", NULL | |
9145 | }; | |
9146 | ||
9147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail; | |
9148 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9149 | { | |
9150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9151 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
9152 | ||
9153 | wxPyEndAllowThreads(__tstate); | |
9154 | if (PyErr_Occurred()) SWIG_fail; | |
9155 | } | |
9156 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
9157 | return resultobj; | |
9158 | fail: | |
9159 | return NULL; | |
9160 | } | |
9161 | ||
9162 | ||
9163 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
9164 | PyObject *obj; | |
9165 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9166 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
9167 | Py_INCREF(obj); | |
9168 | return Py_BuildValue((char *)""); | |
9169 | } | |
9170 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9171 | PyObject *resultobj; | |
9172 | wxColourData *result; | |
9173 | char *kwnames[] = { | |
9174 | NULL | |
9175 | }; | |
9176 | ||
9177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
9178 | { | |
9179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9180 | result = (wxColourData *)new wxColourData(); | |
9181 | ||
9182 | wxPyEndAllowThreads(__tstate); | |
9183 | if (PyErr_Occurred()) SWIG_fail; | |
9184 | } | |
9185 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1); | |
9186 | return resultobj; | |
9187 | fail: | |
9188 | return NULL; | |
9189 | } | |
9190 | ||
9191 | ||
9192 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9193 | PyObject *resultobj; | |
9194 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9195 | PyObject * obj0 = 0 ; | |
9196 | char *kwnames[] = { | |
9197 | (char *) "self", NULL | |
9198 | }; | |
9199 | ||
9200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
9201 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9202 | { | |
9203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9204 | delete arg1; | |
9205 | ||
9206 | wxPyEndAllowThreads(__tstate); | |
9207 | if (PyErr_Occurred()) SWIG_fail; | |
9208 | } | |
9209 | Py_INCREF(Py_None); resultobj = Py_None; | |
9210 | return resultobj; | |
9211 | fail: | |
9212 | return NULL; | |
9213 | } | |
9214 | ||
9215 | ||
9216 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9217 | PyObject *resultobj; | |
9218 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9219 | bool result; | |
9220 | PyObject * obj0 = 0 ; | |
9221 | char *kwnames[] = { | |
9222 | (char *) "self", NULL | |
9223 | }; | |
9224 | ||
9225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
9226 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9227 | { | |
9228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9229 | result = (bool)(arg1)->GetChooseFull(); | |
9230 | ||
9231 | wxPyEndAllowThreads(__tstate); | |
9232 | if (PyErr_Occurred()) SWIG_fail; | |
9233 | } | |
9234 | resultobj = PyInt_FromLong((long)result); | |
9235 | return resultobj; | |
9236 | fail: | |
9237 | return NULL; | |
9238 | } | |
9239 | ||
9240 | ||
9241 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9242 | PyObject *resultobj; | |
9243 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9244 | wxColour result; | |
9245 | PyObject * obj0 = 0 ; | |
9246 | char *kwnames[] = { | |
9247 | (char *) "self", NULL | |
9248 | }; | |
9249 | ||
9250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
9251 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9252 | { | |
9253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9254 | result = (arg1)->GetColour(); | |
9255 | ||
9256 | wxPyEndAllowThreads(__tstate); | |
9257 | if (PyErr_Occurred()) SWIG_fail; | |
9258 | } | |
9259 | { | |
9260 | wxColour * resultptr; | |
9261 | resultptr = new wxColour((wxColour &) result); | |
9262 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
9263 | } | |
9264 | return resultobj; | |
9265 | fail: | |
9266 | return NULL; | |
9267 | } | |
9268 | ||
9269 | ||
9270 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9271 | PyObject *resultobj; | |
9272 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9273 | int arg2 ; | |
9274 | wxColour result; | |
9275 | PyObject * obj0 = 0 ; | |
9276 | char *kwnames[] = { | |
9277 | (char *) "self",(char *) "i", NULL | |
9278 | }; | |
9279 | ||
9280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail; | |
9281 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9282 | { | |
9283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9284 | result = (arg1)->GetCustomColour(arg2); | |
9285 | ||
9286 | wxPyEndAllowThreads(__tstate); | |
9287 | if (PyErr_Occurred()) SWIG_fail; | |
9288 | } | |
9289 | { | |
9290 | wxColour * resultptr; | |
9291 | resultptr = new wxColour((wxColour &) result); | |
9292 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
9293 | } | |
9294 | return resultobj; | |
9295 | fail: | |
9296 | return NULL; | |
9297 | } | |
9298 | ||
9299 | ||
9300 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9301 | PyObject *resultobj; | |
9302 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9303 | int arg2 ; | |
9304 | PyObject * obj0 = 0 ; | |
9305 | char *kwnames[] = { | |
9306 | (char *) "self",(char *) "flag", NULL | |
9307 | }; | |
9308 | ||
9309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail; | |
9310 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9311 | { | |
9312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9313 | (arg1)->SetChooseFull(arg2); | |
9314 | ||
9315 | wxPyEndAllowThreads(__tstate); | |
9316 | if (PyErr_Occurred()) SWIG_fail; | |
9317 | } | |
9318 | Py_INCREF(Py_None); resultobj = Py_None; | |
9319 | return resultobj; | |
9320 | fail: | |
9321 | return NULL; | |
9322 | } | |
9323 | ||
9324 | ||
9325 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9326 | PyObject *resultobj; | |
9327 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9328 | wxColour *arg2 = 0 ; | |
9329 | wxColour temp2 ; | |
9330 | PyObject * obj0 = 0 ; | |
9331 | PyObject * obj1 = 0 ; | |
9332 | char *kwnames[] = { | |
9333 | (char *) "self",(char *) "colour", NULL | |
9334 | }; | |
9335 | ||
9336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
9337 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9338 | { | |
9339 | arg2 = &temp2; | |
9340 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
9341 | } | |
9342 | { | |
9343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9344 | (arg1)->SetColour((wxColour const &)*arg2); | |
9345 | ||
9346 | wxPyEndAllowThreads(__tstate); | |
9347 | if (PyErr_Occurred()) SWIG_fail; | |
9348 | } | |
9349 | Py_INCREF(Py_None); resultobj = Py_None; | |
9350 | return resultobj; | |
9351 | fail: | |
9352 | return NULL; | |
9353 | } | |
9354 | ||
9355 | ||
9356 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9357 | PyObject *resultobj; | |
9358 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9359 | int arg2 ; | |
9360 | wxColour *arg3 = 0 ; | |
9361 | wxColour temp3 ; | |
9362 | PyObject * obj0 = 0 ; | |
9363 | PyObject * obj2 = 0 ; | |
9364 | char *kwnames[] = { | |
9365 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
9366 | }; | |
9367 | ||
9368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
9369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9370 | { | |
9371 | arg3 = &temp3; | |
9372 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
9373 | } | |
9374 | { | |
9375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9376 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
9377 | ||
9378 | wxPyEndAllowThreads(__tstate); | |
9379 | if (PyErr_Occurred()) SWIG_fail; | |
9380 | } | |
9381 | Py_INCREF(Py_None); resultobj = Py_None; | |
9382 | return resultobj; | |
9383 | fail: | |
9384 | return NULL; | |
9385 | } | |
9386 | ||
9387 | ||
9388 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
9389 | PyObject *obj; | |
9390 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9391 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
9392 | Py_INCREF(obj); | |
9393 | return Py_BuildValue((char *)""); | |
9394 | } | |
9395 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9396 | PyObject *resultobj; | |
9397 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9398 | wxColourData *arg2 = (wxColourData *) NULL ; | |
9399 | wxColourDialog *result; | |
9400 | PyObject * obj0 = 0 ; | |
9401 | PyObject * obj1 = 0 ; | |
9402 | char *kwnames[] = { | |
9403 | (char *) "parent",(char *) "data", NULL | |
9404 | }; | |
9405 | ||
9406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
9407 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9408 | if (obj1) { | |
9409 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9410 | } | |
9411 | { | |
9412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9413 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
9414 | ||
9415 | wxPyEndAllowThreads(__tstate); | |
9416 | if (PyErr_Occurred()) SWIG_fail; | |
9417 | } | |
9418 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1); | |
9419 | return resultobj; | |
9420 | fail: | |
9421 | return NULL; | |
9422 | } | |
9423 | ||
9424 | ||
9425 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9426 | PyObject *resultobj; | |
9427 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
9428 | wxColourData *result; | |
9429 | PyObject * obj0 = 0 ; | |
9430 | char *kwnames[] = { | |
9431 | (char *) "self", NULL | |
9432 | }; | |
9433 | ||
9434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
9435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9436 | { | |
9437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9438 | { | |
9439 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
9440 | result = (wxColourData *) &_result_ref; | |
9441 | } | |
9442 | ||
9443 | wxPyEndAllowThreads(__tstate); | |
9444 | if (PyErr_Occurred()) SWIG_fail; | |
9445 | } | |
9446 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0); | |
9447 | return resultobj; | |
9448 | fail: | |
9449 | return NULL; | |
9450 | } | |
9451 | ||
9452 | ||
9453 | static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9454 | PyObject *resultobj; | |
9455 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
9456 | int result; | |
9457 | PyObject * obj0 = 0 ; | |
9458 | char *kwnames[] = { | |
9459 | (char *) "self", NULL | |
9460 | }; | |
9461 | ||
9462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail; | |
9463 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9464 | { | |
9465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9466 | result = (int)(arg1)->ShowModal(); | |
9467 | ||
9468 | wxPyEndAllowThreads(__tstate); | |
9469 | if (PyErr_Occurred()) SWIG_fail; | |
9470 | } | |
9471 | resultobj = PyInt_FromLong((long)result); | |
9472 | return resultobj; | |
9473 | fail: | |
9474 | return NULL; | |
9475 | } | |
9476 | ||
9477 | ||
9478 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { | |
9479 | PyObject *obj; | |
9480 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9481 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
9482 | Py_INCREF(obj); | |
9483 | return Py_BuildValue((char *)""); | |
9484 | } | |
9485 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9486 | PyObject *resultobj; | |
9487 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9488 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
9489 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
9490 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9491 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9492 | long arg4 = (long) 0 ; | |
9493 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
9494 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
9495 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
9496 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
9497 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
9498 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9499 | wxDirDialog *result; | |
9500 | bool temp2 = False ; | |
9501 | bool temp3 = False ; | |
9502 | wxPoint temp5 ; | |
9503 | wxSize temp6 ; | |
9504 | bool temp7 = False ; | |
9505 | PyObject * obj0 = 0 ; | |
9506 | PyObject * obj1 = 0 ; | |
9507 | PyObject * obj2 = 0 ; | |
9508 | PyObject * obj4 = 0 ; | |
9509 | PyObject * obj5 = 0 ; | |
9510 | PyObject * obj6 = 0 ; | |
9511 | char *kwnames[] = { | |
9512 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
9513 | }; | |
9514 | ||
9515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail; | |
9516 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9517 | if (obj1) { | |
9518 | { | |
9519 | arg2 = wxString_in_helper(obj1); | |
9520 | if (arg2 == NULL) SWIG_fail; | |
9521 | temp2 = True; | |
9522 | } | |
9523 | } | |
9524 | if (obj2) { | |
9525 | { | |
9526 | arg3 = wxString_in_helper(obj2); | |
9527 | if (arg3 == NULL) SWIG_fail; | |
9528 | temp3 = True; | |
9529 | } | |
9530 | } | |
9531 | if (obj4) { | |
9532 | { | |
9533 | arg5 = &temp5; | |
9534 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
9535 | } | |
9536 | } | |
9537 | if (obj5) { | |
9538 | { | |
9539 | arg6 = &temp6; | |
9540 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
9541 | } | |
9542 | } | |
9543 | if (obj6) { | |
9544 | { | |
9545 | arg7 = wxString_in_helper(obj6); | |
9546 | if (arg7 == NULL) SWIG_fail; | |
9547 | temp7 = True; | |
9548 | } | |
9549 | } | |
9550 | { | |
9551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9552 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
9553 | ||
9554 | wxPyEndAllowThreads(__tstate); | |
9555 | if (PyErr_Occurred()) SWIG_fail; | |
9556 | } | |
9557 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1); | |
9558 | { | |
9559 | if (temp2) | |
9560 | delete arg2; | |
9561 | } | |
9562 | { | |
9563 | if (temp3) | |
9564 | delete arg3; | |
9565 | } | |
9566 | { | |
9567 | if (temp7) | |
9568 | delete arg7; | |
9569 | } | |
9570 | return resultobj; | |
9571 | fail: | |
9572 | { | |
9573 | if (temp2) | |
9574 | delete arg2; | |
9575 | } | |
9576 | { | |
9577 | if (temp3) | |
9578 | delete arg3; | |
9579 | } | |
9580 | { | |
9581 | if (temp7) | |
9582 | delete arg7; | |
9583 | } | |
9584 | return NULL; | |
9585 | } | |
9586 | ||
9587 | ||
9588 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9589 | PyObject *resultobj; | |
9590 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
9591 | wxString result; | |
9592 | PyObject * obj0 = 0 ; | |
9593 | char *kwnames[] = { | |
9594 | (char *) "self", NULL | |
9595 | }; | |
9596 | ||
9597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
9598 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9599 | { | |
9600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9601 | result = (arg1)->GetPath(); | |
9602 | ||
9603 | wxPyEndAllowThreads(__tstate); | |
9604 | if (PyErr_Occurred()) SWIG_fail; | |
9605 | } | |
9606 | { | |
9607 | #if wxUSE_UNICODE | |
9608 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9609 | #else | |
9610 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9611 | #endif | |
9612 | } | |
9613 | return resultobj; | |
9614 | fail: | |
9615 | return NULL; | |
9616 | } | |
9617 | ||
9618 | ||
9619 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9620 | PyObject *resultobj; | |
9621 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
9622 | wxString result; | |
9623 | PyObject * obj0 = 0 ; | |
9624 | char *kwnames[] = { | |
9625 | (char *) "self", NULL | |
9626 | }; | |
9627 | ||
9628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
9629 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9630 | { | |
9631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9632 | result = (arg1)->GetMessage(); | |
9633 | ||
9634 | wxPyEndAllowThreads(__tstate); | |
9635 | if (PyErr_Occurred()) SWIG_fail; | |
9636 | } | |
9637 | { | |
9638 | #if wxUSE_UNICODE | |
9639 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
9640 | #else | |
9641 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
9642 | #endif | |
9643 | } | |
9644 | return resultobj; | |
9645 | fail: | |
9646 | return NULL; | |
9647 | } | |
9648 | ||
9649 | ||
9650 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9651 | PyObject *resultobj; | |
9652 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
9653 | long result; | |
9654 | PyObject * obj0 = 0 ; | |
9655 | char *kwnames[] = { | |
9656 | (char *) "self", NULL | |
9657 | }; | |
9658 | ||
9659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
9660 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9661 | { | |
9662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9663 | result = (long)(arg1)->GetStyle(); | |
9664 | ||
9665 | wxPyEndAllowThreads(__tstate); | |
9666 | if (PyErr_Occurred()) SWIG_fail; | |
9667 | } | |
9668 | resultobj = PyInt_FromLong((long)result); | |
9669 | return resultobj; | |
9670 | fail: | |
9671 | return NULL; | |
9672 | } | |
9673 | ||
9674 | ||
9675 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9676 | PyObject *resultobj; | |
9677 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
9678 | wxString *arg2 = 0 ; | |
9679 | bool temp2 = False ; | |
9680 | PyObject * obj0 = 0 ; | |
9681 | PyObject * obj1 = 0 ; | |
9682 | char *kwnames[] = { | |
9683 | (char *) "self",(char *) "message", NULL | |
9684 | }; | |
9685 | ||
9686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
9687 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9688 | { | |
9689 | arg2 = wxString_in_helper(obj1); | |
9690 | if (arg2 == NULL) SWIG_fail; | |
9691 | temp2 = True; | |
9692 | } | |
9693 | { | |
9694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9695 | (arg1)->SetMessage((wxString const &)*arg2); | |
9696 | ||
9697 | wxPyEndAllowThreads(__tstate); | |
9698 | if (PyErr_Occurred()) SWIG_fail; | |
9699 | } | |
9700 | Py_INCREF(Py_None); resultobj = Py_None; | |
9701 | { | |
9702 | if (temp2) | |
9703 | delete arg2; | |
9704 | } | |
9705 | return resultobj; | |
9706 | fail: | |
9707 | { | |
9708 | if (temp2) | |
9709 | delete arg2; | |
9710 | } | |
9711 | return NULL; | |
9712 | } | |
9713 | ||
9714 | ||
9715 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9716 | PyObject *resultobj; | |
9717 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
9718 | wxString *arg2 = 0 ; | |
9719 | bool temp2 = False ; | |
9720 | PyObject * obj0 = 0 ; | |
9721 | PyObject * obj1 = 0 ; | |
9722 | char *kwnames[] = { | |
9723 | (char *) "self",(char *) "path", NULL | |
9724 | }; | |
9725 | ||
9726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
9727 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9728 | { | |
9729 | arg2 = wxString_in_helper(obj1); | |
9730 | if (arg2 == NULL) SWIG_fail; | |
9731 | temp2 = True; | |
9732 | } | |
9733 | { | |
9734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9735 | (arg1)->SetPath((wxString const &)*arg2); | |
9736 | ||
9737 | wxPyEndAllowThreads(__tstate); | |
9738 | if (PyErr_Occurred()) SWIG_fail; | |
9739 | } | |
9740 | Py_INCREF(Py_None); resultobj = Py_None; | |
9741 | { | |
9742 | if (temp2) | |
9743 | delete arg2; | |
9744 | } | |
9745 | return resultobj; | |
9746 | fail: | |
9747 | { | |
9748 | if (temp2) | |
9749 | delete arg2; | |
9750 | } | |
9751 | return NULL; | |
9752 | } | |
9753 | ||
9754 | ||
9755 | static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9756 | PyObject *resultobj; | |
9757 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
9758 | int result; | |
9759 | PyObject * obj0 = 0 ; | |
9760 | char *kwnames[] = { | |
9761 | (char *) "self", NULL | |
9762 | }; | |
9763 | ||
9764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail; | |
9765 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9766 | { | |
9767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9768 | result = (int)(arg1)->ShowModal(); | |
9769 | ||
9770 | wxPyEndAllowThreads(__tstate); | |
9771 | if (PyErr_Occurred()) SWIG_fail; | |
9772 | } | |
9773 | resultobj = PyInt_FromLong((long)result); | |
9774 | return resultobj; | |
9775 | fail: | |
9776 | return NULL; | |
9777 | } | |
9778 | ||
9779 | ||
9780 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { | |
9781 | PyObject *obj; | |
9782 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9783 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
9784 | Py_INCREF(obj); | |
9785 | return Py_BuildValue((char *)""); | |
9786 | } | |
9787 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9788 | PyObject *resultobj; | |
9789 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9790 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
9791 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
9792 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9793 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9794 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
9795 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
9796 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
9797 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
9798 | long arg6 = (long) 0 ; | |
9799 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
9800 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
9801 | wxFileDialog *result; | |
9802 | bool temp2 = False ; | |
9803 | bool temp3 = False ; | |
9804 | bool temp4 = False ; | |
9805 | bool temp5 = False ; | |
9806 | wxPoint temp7 ; | |
9807 | PyObject * obj0 = 0 ; | |
9808 | PyObject * obj1 = 0 ; | |
9809 | PyObject * obj2 = 0 ; | |
9810 | PyObject * obj3 = 0 ; | |
9811 | PyObject * obj4 = 0 ; | |
9812 | PyObject * obj6 = 0 ; | |
9813 | char *kwnames[] = { | |
9814 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
9815 | }; | |
9816 | ||
9817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
9818 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9819 | if (obj1) { | |
9820 | { | |
9821 | arg2 = wxString_in_helper(obj1); | |
9822 | if (arg2 == NULL) SWIG_fail; | |
9823 | temp2 = True; | |
9824 | } | |
9825 | } | |
9826 | if (obj2) { | |
9827 | { | |
9828 | arg3 = wxString_in_helper(obj2); | |
9829 | if (arg3 == NULL) SWIG_fail; | |
9830 | temp3 = True; | |
9831 | } | |
9832 | } | |
9833 | if (obj3) { | |
9834 | { | |
9835 | arg4 = wxString_in_helper(obj3); | |
9836 | if (arg4 == NULL) SWIG_fail; | |
9837 | temp4 = True; | |
9838 | } | |
9839 | } | |
9840 | if (obj4) { | |
9841 | { | |
9842 | arg5 = wxString_in_helper(obj4); | |
9843 | if (arg5 == NULL) SWIG_fail; | |
9844 | temp5 = True; | |
9845 | } | |
9846 | } | |
9847 | if (obj6) { | |
9848 | { | |
9849 | arg7 = &temp7; | |
9850 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
9851 | } | |
9852 | } | |
9853 | { | |
9854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9855 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
9856 | ||
9857 | wxPyEndAllowThreads(__tstate); | |
9858 | if (PyErr_Occurred()) SWIG_fail; | |
9859 | } | |
9860 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1); | |
9861 | { | |
9862 | if (temp2) | |
9863 | delete arg2; | |
9864 | } | |
9865 | { | |
9866 | if (temp3) | |
9867 | delete arg3; | |
9868 | } | |
9869 | { | |
9870 | if (temp4) | |
9871 | delete arg4; | |
9872 | } | |
9873 | { | |
9874 | if (temp5) | |
9875 | delete arg5; | |
9876 | } | |
9877 | return resultobj; | |
9878 | fail: | |
9879 | { | |
9880 | if (temp2) | |
9881 | delete arg2; | |
9882 | } | |
9883 | { | |
9884 | if (temp3) | |
9885 | delete arg3; | |
9886 | } | |
9887 | { | |
9888 | if (temp4) | |
9889 | delete arg4; | |
9890 | } | |
9891 | { | |
9892 | if (temp5) | |
9893 | delete arg5; | |
9894 | } | |
9895 | return NULL; | |
9896 | } | |
9897 | ||
9898 | ||
9899 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9900 | PyObject *resultobj; | |
9901 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
9902 | wxString *arg2 = 0 ; | |
9903 | bool temp2 = False ; | |
9904 | PyObject * obj0 = 0 ; | |
9905 | PyObject * obj1 = 0 ; | |
9906 | char *kwnames[] = { | |
9907 | (char *) "self",(char *) "message", NULL | |
9908 | }; | |
9909 | ||
9910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
9911 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9912 | { | |
9913 | arg2 = wxString_in_helper(obj1); | |
9914 | if (arg2 == NULL) SWIG_fail; | |
9915 | temp2 = True; | |
9916 | } | |
9917 | { | |
9918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9919 | (arg1)->SetMessage((wxString const &)*arg2); | |
9920 | ||
9921 | wxPyEndAllowThreads(__tstate); | |
9922 | if (PyErr_Occurred()) SWIG_fail; | |
9923 | } | |
9924 | Py_INCREF(Py_None); resultobj = Py_None; | |
9925 | { | |
9926 | if (temp2) | |
9927 | delete arg2; | |
9928 | } | |
9929 | return resultobj; | |
9930 | fail: | |
9931 | { | |
9932 | if (temp2) | |
9933 | delete arg2; | |
9934 | } | |
9935 | return NULL; | |
9936 | } | |
9937 | ||
9938 | ||
9939 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9940 | PyObject *resultobj; | |
9941 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
9942 | wxString *arg2 = 0 ; | |
9943 | bool temp2 = False ; | |
9944 | PyObject * obj0 = 0 ; | |
9945 | PyObject * obj1 = 0 ; | |
9946 | char *kwnames[] = { | |
9947 | (char *) "self",(char *) "path", NULL | |
9948 | }; | |
9949 | ||
9950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
9951 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9952 | { | |
9953 | arg2 = wxString_in_helper(obj1); | |
9954 | if (arg2 == NULL) SWIG_fail; | |
9955 | temp2 = True; | |
9956 | } | |
9957 | { | |
9958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9959 | (arg1)->SetPath((wxString const &)*arg2); | |
9960 | ||
9961 | wxPyEndAllowThreads(__tstate); | |
9962 | if (PyErr_Occurred()) SWIG_fail; | |
9963 | } | |
9964 | Py_INCREF(Py_None); resultobj = Py_None; | |
9965 | { | |
9966 | if (temp2) | |
9967 | delete arg2; | |
9968 | } | |
9969 | return resultobj; | |
9970 | fail: | |
9971 | { | |
9972 | if (temp2) | |
9973 | delete arg2; | |
9974 | } | |
9975 | return NULL; | |
9976 | } | |
9977 | ||
9978 | ||
9979 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9980 | PyObject *resultobj; | |
9981 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
9982 | wxString *arg2 = 0 ; | |
9983 | bool temp2 = False ; | |
9984 | PyObject * obj0 = 0 ; | |
9985 | PyObject * obj1 = 0 ; | |
9986 | char *kwnames[] = { | |
9987 | (char *) "self",(char *) "dir", NULL | |
9988 | }; | |
9989 | ||
9990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
9991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9992 | { | |
9993 | arg2 = wxString_in_helper(obj1); | |
9994 | if (arg2 == NULL) SWIG_fail; | |
9995 | temp2 = True; | |
9996 | } | |
9997 | { | |
9998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9999 | (arg1)->SetDirectory((wxString const &)*arg2); | |
10000 | ||
10001 | wxPyEndAllowThreads(__tstate); | |
10002 | if (PyErr_Occurred()) SWIG_fail; | |
10003 | } | |
10004 | Py_INCREF(Py_None); resultobj = Py_None; | |
10005 | { | |
10006 | if (temp2) | |
10007 | delete arg2; | |
10008 | } | |
10009 | return resultobj; | |
10010 | fail: | |
10011 | { | |
10012 | if (temp2) | |
10013 | delete arg2; | |
10014 | } | |
10015 | return NULL; | |
10016 | } | |
10017 | ||
10018 | ||
10019 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10020 | PyObject *resultobj; | |
10021 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10022 | wxString *arg2 = 0 ; | |
10023 | bool temp2 = False ; | |
10024 | PyObject * obj0 = 0 ; | |
10025 | PyObject * obj1 = 0 ; | |
10026 | char *kwnames[] = { | |
10027 | (char *) "self",(char *) "name", NULL | |
10028 | }; | |
10029 | ||
10030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
10031 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10032 | { | |
10033 | arg2 = wxString_in_helper(obj1); | |
10034 | if (arg2 == NULL) SWIG_fail; | |
10035 | temp2 = True; | |
10036 | } | |
10037 | { | |
10038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10039 | (arg1)->SetFilename((wxString const &)*arg2); | |
10040 | ||
10041 | wxPyEndAllowThreads(__tstate); | |
10042 | if (PyErr_Occurred()) SWIG_fail; | |
10043 | } | |
10044 | Py_INCREF(Py_None); resultobj = Py_None; | |
10045 | { | |
10046 | if (temp2) | |
10047 | delete arg2; | |
10048 | } | |
10049 | return resultobj; | |
10050 | fail: | |
10051 | { | |
10052 | if (temp2) | |
10053 | delete arg2; | |
10054 | } | |
10055 | return NULL; | |
10056 | } | |
10057 | ||
10058 | ||
10059 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10060 | PyObject *resultobj; | |
10061 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10062 | wxString *arg2 = 0 ; | |
10063 | bool temp2 = False ; | |
10064 | PyObject * obj0 = 0 ; | |
10065 | PyObject * obj1 = 0 ; | |
10066 | char *kwnames[] = { | |
10067 | (char *) "self",(char *) "wildCard", NULL | |
10068 | }; | |
10069 | ||
10070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
10071 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10072 | { | |
10073 | arg2 = wxString_in_helper(obj1); | |
10074 | if (arg2 == NULL) SWIG_fail; | |
10075 | temp2 = True; | |
10076 | } | |
10077 | { | |
10078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10079 | (arg1)->SetWildcard((wxString const &)*arg2); | |
10080 | ||
10081 | wxPyEndAllowThreads(__tstate); | |
10082 | if (PyErr_Occurred()) SWIG_fail; | |
10083 | } | |
10084 | Py_INCREF(Py_None); resultobj = Py_None; | |
10085 | { | |
10086 | if (temp2) | |
10087 | delete arg2; | |
10088 | } | |
10089 | return resultobj; | |
10090 | fail: | |
10091 | { | |
10092 | if (temp2) | |
10093 | delete arg2; | |
10094 | } | |
10095 | return NULL; | |
10096 | } | |
10097 | ||
10098 | ||
10099 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10100 | PyObject *resultobj; | |
10101 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10102 | long arg2 ; | |
10103 | PyObject * obj0 = 0 ; | |
10104 | char *kwnames[] = { | |
10105 | (char *) "self",(char *) "style", NULL | |
10106 | }; | |
10107 | ||
10108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail; | |
10109 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10110 | { | |
10111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10112 | (arg1)->SetStyle(arg2); | |
10113 | ||
10114 | wxPyEndAllowThreads(__tstate); | |
10115 | if (PyErr_Occurred()) SWIG_fail; | |
10116 | } | |
10117 | Py_INCREF(Py_None); resultobj = Py_None; | |
10118 | return resultobj; | |
10119 | fail: | |
10120 | return NULL; | |
10121 | } | |
10122 | ||
10123 | ||
10124 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10125 | PyObject *resultobj; | |
10126 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10127 | int arg2 ; | |
10128 | PyObject * obj0 = 0 ; | |
10129 | char *kwnames[] = { | |
10130 | (char *) "self",(char *) "filterIndex", NULL | |
10131 | }; | |
10132 | ||
10133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail; | |
10134 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10135 | { | |
10136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10137 | (arg1)->SetFilterIndex(arg2); | |
10138 | ||
10139 | wxPyEndAllowThreads(__tstate); | |
10140 | if (PyErr_Occurred()) SWIG_fail; | |
10141 | } | |
10142 | Py_INCREF(Py_None); resultobj = Py_None; | |
10143 | return resultobj; | |
10144 | fail: | |
10145 | return NULL; | |
10146 | } | |
10147 | ||
10148 | ||
10149 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10150 | PyObject *resultobj; | |
10151 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10152 | wxString result; | |
10153 | PyObject * obj0 = 0 ; | |
10154 | char *kwnames[] = { | |
10155 | (char *) "self", NULL | |
10156 | }; | |
10157 | ||
10158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
10159 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10160 | { | |
10161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10162 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
10163 | ||
10164 | wxPyEndAllowThreads(__tstate); | |
10165 | if (PyErr_Occurred()) SWIG_fail; | |
10166 | } | |
10167 | { | |
10168 | #if wxUSE_UNICODE | |
10169 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10170 | #else | |
10171 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10172 | #endif | |
10173 | } | |
10174 | return resultobj; | |
10175 | fail: | |
10176 | return NULL; | |
10177 | } | |
10178 | ||
10179 | ||
10180 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10181 | PyObject *resultobj; | |
10182 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10183 | wxString result; | |
10184 | PyObject * obj0 = 0 ; | |
10185 | char *kwnames[] = { | |
10186 | (char *) "self", NULL | |
10187 | }; | |
10188 | ||
10189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
10190 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10191 | { | |
10192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10193 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
10194 | ||
10195 | wxPyEndAllowThreads(__tstate); | |
10196 | if (PyErr_Occurred()) SWIG_fail; | |
10197 | } | |
10198 | { | |
10199 | #if wxUSE_UNICODE | |
10200 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10201 | #else | |
10202 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10203 | #endif | |
10204 | } | |
10205 | return resultobj; | |
10206 | fail: | |
10207 | return NULL; | |
10208 | } | |
10209 | ||
10210 | ||
10211 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10212 | PyObject *resultobj; | |
10213 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10214 | wxString result; | |
10215 | PyObject * obj0 = 0 ; | |
10216 | char *kwnames[] = { | |
10217 | (char *) "self", NULL | |
10218 | }; | |
10219 | ||
10220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
10221 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10222 | { | |
10223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10224 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
10225 | ||
10226 | wxPyEndAllowThreads(__tstate); | |
10227 | if (PyErr_Occurred()) SWIG_fail; | |
10228 | } | |
10229 | { | |
10230 | #if wxUSE_UNICODE | |
10231 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10232 | #else | |
10233 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10234 | #endif | |
10235 | } | |
10236 | return resultobj; | |
10237 | fail: | |
10238 | return NULL; | |
10239 | } | |
10240 | ||
10241 | ||
10242 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10243 | PyObject *resultobj; | |
10244 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10245 | wxString result; | |
10246 | PyObject * obj0 = 0 ; | |
10247 | char *kwnames[] = { | |
10248 | (char *) "self", NULL | |
10249 | }; | |
10250 | ||
10251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
10252 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10253 | { | |
10254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10255 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
10256 | ||
10257 | wxPyEndAllowThreads(__tstate); | |
10258 | if (PyErr_Occurred()) SWIG_fail; | |
10259 | } | |
10260 | { | |
10261 | #if wxUSE_UNICODE | |
10262 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10263 | #else | |
10264 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10265 | #endif | |
10266 | } | |
10267 | return resultobj; | |
10268 | fail: | |
10269 | return NULL; | |
10270 | } | |
10271 | ||
10272 | ||
10273 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10274 | PyObject *resultobj; | |
10275 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10276 | wxString result; | |
10277 | PyObject * obj0 = 0 ; | |
10278 | char *kwnames[] = { | |
10279 | (char *) "self", NULL | |
10280 | }; | |
10281 | ||
10282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
10283 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10284 | { | |
10285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10286 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
10287 | ||
10288 | wxPyEndAllowThreads(__tstate); | |
10289 | if (PyErr_Occurred()) SWIG_fail; | |
10290 | } | |
10291 | { | |
10292 | #if wxUSE_UNICODE | |
10293 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10294 | #else | |
10295 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10296 | #endif | |
10297 | } | |
10298 | return resultobj; | |
10299 | fail: | |
10300 | return NULL; | |
10301 | } | |
10302 | ||
10303 | ||
10304 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10305 | PyObject *resultobj; | |
10306 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10307 | long result; | |
10308 | PyObject * obj0 = 0 ; | |
10309 | char *kwnames[] = { | |
10310 | (char *) "self", NULL | |
10311 | }; | |
10312 | ||
10313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
10314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10315 | { | |
10316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10317 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
10318 | ||
10319 | wxPyEndAllowThreads(__tstate); | |
10320 | if (PyErr_Occurred()) SWIG_fail; | |
10321 | } | |
10322 | resultobj = PyInt_FromLong((long)result); | |
10323 | return resultobj; | |
10324 | fail: | |
10325 | return NULL; | |
10326 | } | |
10327 | ||
10328 | ||
10329 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10330 | PyObject *resultobj; | |
10331 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10332 | int result; | |
10333 | PyObject * obj0 = 0 ; | |
10334 | char *kwnames[] = { | |
10335 | (char *) "self", NULL | |
10336 | }; | |
10337 | ||
10338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
10339 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10340 | { | |
10341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10342 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
10343 | ||
10344 | wxPyEndAllowThreads(__tstate); | |
10345 | if (PyErr_Occurred()) SWIG_fail; | |
10346 | } | |
10347 | resultobj = PyInt_FromLong((long)result); | |
10348 | return resultobj; | |
10349 | fail: | |
10350 | return NULL; | |
10351 | } | |
10352 | ||
10353 | ||
10354 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10355 | PyObject *resultobj; | |
10356 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10357 | PyObject *result; | |
10358 | PyObject * obj0 = 0 ; | |
10359 | char *kwnames[] = { | |
10360 | (char *) "self", NULL | |
10361 | }; | |
10362 | ||
10363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
10364 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10365 | { | |
10366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10367 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
10368 | ||
10369 | wxPyEndAllowThreads(__tstate); | |
10370 | if (PyErr_Occurred()) SWIG_fail; | |
10371 | } | |
10372 | resultobj = result; | |
10373 | return resultobj; | |
10374 | fail: | |
10375 | return NULL; | |
10376 | } | |
10377 | ||
10378 | ||
10379 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10380 | PyObject *resultobj; | |
10381 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10382 | PyObject *result; | |
10383 | PyObject * obj0 = 0 ; | |
10384 | char *kwnames[] = { | |
10385 | (char *) "self", NULL | |
10386 | }; | |
10387 | ||
10388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
10389 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10390 | { | |
10391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10392 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
10393 | ||
10394 | wxPyEndAllowThreads(__tstate); | |
10395 | if (PyErr_Occurred()) SWIG_fail; | |
10396 | } | |
10397 | resultobj = result; | |
10398 | return resultobj; | |
10399 | fail: | |
10400 | return NULL; | |
10401 | } | |
10402 | ||
10403 | ||
10404 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
10405 | PyObject *obj; | |
10406 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10407 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
10408 | Py_INCREF(obj); | |
10409 | return Py_BuildValue((char *)""); | |
10410 | } | |
10411 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10412 | PyObject *resultobj; | |
10413 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10414 | wxString *arg2 = 0 ; | |
10415 | wxString *arg3 = 0 ; | |
10416 | int arg4 ; | |
10417 | wxString *arg5 = (wxString *) 0 ; | |
10418 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
10419 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
10420 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
10421 | wxMultiChoiceDialog *result; | |
10422 | bool temp2 = False ; | |
10423 | bool temp3 = False ; | |
10424 | wxPoint temp7 ; | |
10425 | PyObject * obj0 = 0 ; | |
10426 | PyObject * obj1 = 0 ; | |
10427 | PyObject * obj2 = 0 ; | |
10428 | PyObject * obj4 = 0 ; | |
10429 | PyObject * obj6 = 0 ; | |
10430 | char *kwnames[] = { | |
10431 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
10432 | }; | |
10433 | ||
10434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail; | |
10435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10436 | { | |
10437 | arg2 = wxString_in_helper(obj1); | |
10438 | if (arg2 == NULL) SWIG_fail; | |
10439 | temp2 = True; | |
10440 | } | |
10441 | { | |
10442 | arg3 = wxString_in_helper(obj2); | |
10443 | if (arg3 == NULL) SWIG_fail; | |
10444 | temp3 = True; | |
10445 | } | |
10446 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10447 | if (obj6) { | |
10448 | { | |
10449 | arg7 = &temp7; | |
10450 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
10451 | } | |
10452 | } | |
10453 | { | |
10454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10455 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
10456 | ||
10457 | wxPyEndAllowThreads(__tstate); | |
10458 | if (PyErr_Occurred()) SWIG_fail; | |
10459 | } | |
10460 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
10461 | { | |
10462 | if (temp2) | |
10463 | delete arg2; | |
10464 | } | |
10465 | { | |
10466 | if (temp3) | |
10467 | delete arg3; | |
10468 | } | |
10469 | return resultobj; | |
10470 | fail: | |
10471 | { | |
10472 | if (temp2) | |
10473 | delete arg2; | |
10474 | } | |
10475 | { | |
10476 | if (temp3) | |
10477 | delete arg3; | |
10478 | } | |
10479 | return NULL; | |
10480 | } | |
10481 | ||
10482 | ||
10483 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10484 | PyObject *resultobj; | |
10485 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
10486 | wxArrayInt *arg2 = 0 ; | |
10487 | PyObject * obj0 = 0 ; | |
10488 | PyObject * obj1 = 0 ; | |
10489 | char *kwnames[] = { | |
10490 | (char *) "self",(char *) "selections", NULL | |
10491 | }; | |
10492 | ||
10493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
10494 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10495 | { | |
10496 | if (! PySequence_Check(obj1)) { | |
10497 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
10498 | SWIG_fail; | |
10499 | } | |
10500 | arg2 = new wxArrayInt; | |
10501 | int i, len=PySequence_Length(obj1); | |
10502 | for (i=0; i<len; i++) { | |
10503 | PyObject* item = PySequence_GetItem(obj1, i); | |
10504 | PyObject* number = PyNumber_Int(item); | |
10505 | arg2->Add(PyInt_AS_LONG(number)); | |
10506 | Py_DECREF(item); | |
10507 | Py_DECREF(number); | |
10508 | } | |
10509 | } | |
10510 | { | |
10511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10512 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
10513 | ||
10514 | wxPyEndAllowThreads(__tstate); | |
10515 | if (PyErr_Occurred()) SWIG_fail; | |
10516 | } | |
10517 | Py_INCREF(Py_None); resultobj = Py_None; | |
10518 | { | |
10519 | if (arg2) delete arg2; | |
10520 | } | |
10521 | return resultobj; | |
10522 | fail: | |
10523 | { | |
10524 | if (arg2) delete arg2; | |
10525 | } | |
10526 | return NULL; | |
10527 | } | |
10528 | ||
10529 | ||
10530 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10531 | PyObject *resultobj; | |
10532 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
10533 | PyObject *result; | |
10534 | PyObject * obj0 = 0 ; | |
10535 | char *kwnames[] = { | |
10536 | (char *) "self", NULL | |
10537 | }; | |
10538 | ||
10539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
10540 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10541 | { | |
10542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10543 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
10544 | ||
10545 | wxPyEndAllowThreads(__tstate); | |
10546 | if (PyErr_Occurred()) SWIG_fail; | |
10547 | } | |
10548 | resultobj = result; | |
10549 | return resultobj; | |
10550 | fail: | |
10551 | return NULL; | |
10552 | } | |
10553 | ||
10554 | ||
10555 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
10556 | PyObject *obj; | |
10557 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10558 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
10559 | Py_INCREF(obj); | |
10560 | return Py_BuildValue((char *)""); | |
10561 | } | |
10562 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10563 | PyObject *resultobj; | |
10564 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10565 | wxString *arg2 = 0 ; | |
10566 | wxString *arg3 = 0 ; | |
10567 | int arg4 ; | |
10568 | wxString *arg5 = (wxString *) 0 ; | |
10569 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
10570 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
10571 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
10572 | wxSingleChoiceDialog *result; | |
10573 | bool temp2 = False ; | |
10574 | bool temp3 = False ; | |
10575 | wxPoint temp6 ; | |
10576 | PyObject * obj0 = 0 ; | |
10577 | PyObject * obj1 = 0 ; | |
10578 | PyObject * obj2 = 0 ; | |
10579 | PyObject * obj3 = 0 ; | |
10580 | PyObject * obj5 = 0 ; | |
10581 | char *kwnames[] = { | |
10582 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
10583 | }; | |
10584 | ||
10585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail; | |
10586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10587 | { | |
10588 | arg2 = wxString_in_helper(obj1); | |
10589 | if (arg2 == NULL) SWIG_fail; | |
10590 | temp2 = True; | |
10591 | } | |
10592 | { | |
10593 | arg3 = wxString_in_helper(obj2); | |
10594 | if (arg3 == NULL) SWIG_fail; | |
10595 | temp3 = True; | |
10596 | } | |
10597 | { | |
10598 | arg4 = PyList_Size(obj3); | |
10599 | arg5 = wxString_LIST_helper(obj3); | |
10600 | if (arg5 == NULL) SWIG_fail; | |
10601 | } | |
10602 | if (obj5) { | |
10603 | { | |
10604 | arg7 = &temp6; | |
10605 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
10606 | } | |
10607 | } | |
10608 | { | |
10609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10610 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
10611 | ||
10612 | wxPyEndAllowThreads(__tstate); | |
10613 | if (PyErr_Occurred()) SWIG_fail; | |
10614 | } | |
10615 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
10616 | { | |
10617 | if (temp2) | |
10618 | delete arg2; | |
10619 | } | |
10620 | { | |
10621 | if (temp3) | |
10622 | delete arg3; | |
10623 | } | |
10624 | { | |
10625 | if (arg5) delete [] arg5; | |
10626 | } | |
10627 | return resultobj; | |
10628 | fail: | |
10629 | { | |
10630 | if (temp2) | |
10631 | delete arg2; | |
10632 | } | |
10633 | { | |
10634 | if (temp3) | |
10635 | delete arg3; | |
10636 | } | |
10637 | { | |
10638 | if (arg5) delete [] arg5; | |
10639 | } | |
10640 | return NULL; | |
10641 | } | |
10642 | ||
10643 | ||
10644 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10645 | PyObject *resultobj; | |
10646 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
10647 | int result; | |
10648 | PyObject * obj0 = 0 ; | |
10649 | char *kwnames[] = { | |
10650 | (char *) "self", NULL | |
10651 | }; | |
10652 | ||
10653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
10654 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10655 | { | |
10656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10657 | result = (int)(arg1)->GetSelection(); | |
10658 | ||
10659 | wxPyEndAllowThreads(__tstate); | |
10660 | if (PyErr_Occurred()) SWIG_fail; | |
10661 | } | |
10662 | resultobj = PyInt_FromLong((long)result); | |
10663 | return resultobj; | |
10664 | fail: | |
10665 | return NULL; | |
10666 | } | |
10667 | ||
10668 | ||
10669 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10670 | PyObject *resultobj; | |
10671 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
10672 | wxString result; | |
10673 | PyObject * obj0 = 0 ; | |
10674 | char *kwnames[] = { | |
10675 | (char *) "self", NULL | |
10676 | }; | |
10677 | ||
10678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
10679 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10680 | { | |
10681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10682 | result = (arg1)->GetStringSelection(); | |
10683 | ||
10684 | wxPyEndAllowThreads(__tstate); | |
10685 | if (PyErr_Occurred()) SWIG_fail; | |
10686 | } | |
10687 | { | |
10688 | #if wxUSE_UNICODE | |
10689 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10690 | #else | |
10691 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10692 | #endif | |
10693 | } | |
10694 | return resultobj; | |
10695 | fail: | |
10696 | return NULL; | |
10697 | } | |
10698 | ||
10699 | ||
10700 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10701 | PyObject *resultobj; | |
10702 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
10703 | int arg2 ; | |
10704 | PyObject * obj0 = 0 ; | |
10705 | char *kwnames[] = { | |
10706 | (char *) "self",(char *) "sel", NULL | |
10707 | }; | |
10708 | ||
10709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail; | |
10710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10711 | { | |
10712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10713 | (arg1)->SetSelection(arg2); | |
10714 | ||
10715 | wxPyEndAllowThreads(__tstate); | |
10716 | if (PyErr_Occurred()) SWIG_fail; | |
10717 | } | |
10718 | Py_INCREF(Py_None); resultobj = Py_None; | |
10719 | return resultobj; | |
10720 | fail: | |
10721 | return NULL; | |
10722 | } | |
10723 | ||
10724 | ||
10725 | static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10726 | PyObject *resultobj; | |
10727 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
10728 | int result; | |
10729 | PyObject * obj0 = 0 ; | |
10730 | char *kwnames[] = { | |
10731 | (char *) "self", NULL | |
10732 | }; | |
10733 | ||
10734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail; | |
10735 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10736 | { | |
10737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10738 | result = (int)(arg1)->ShowModal(); | |
10739 | ||
10740 | wxPyEndAllowThreads(__tstate); | |
10741 | if (PyErr_Occurred()) SWIG_fail; | |
10742 | } | |
10743 | resultobj = PyInt_FromLong((long)result); | |
10744 | return resultobj; | |
10745 | fail: | |
10746 | return NULL; | |
10747 | } | |
10748 | ||
10749 | ||
10750 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
10751 | PyObject *obj; | |
10752 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10753 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
10754 | Py_INCREF(obj); | |
10755 | return Py_BuildValue((char *)""); | |
10756 | } | |
10757 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10758 | PyObject *resultobj; | |
10759 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10760 | wxString *arg2 = 0 ; | |
10761 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
10762 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10763 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
10764 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
10765 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
10766 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
10767 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
10768 | wxTextEntryDialog *result; | |
10769 | bool temp2 = False ; | |
10770 | bool temp3 = False ; | |
10771 | bool temp4 = False ; | |
10772 | wxPoint temp6 ; | |
10773 | PyObject * obj0 = 0 ; | |
10774 | PyObject * obj1 = 0 ; | |
10775 | PyObject * obj2 = 0 ; | |
10776 | PyObject * obj3 = 0 ; | |
10777 | PyObject * obj5 = 0 ; | |
10778 | char *kwnames[] = { | |
10779 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
10780 | }; | |
10781 | ||
10782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
10783 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10784 | { | |
10785 | arg2 = wxString_in_helper(obj1); | |
10786 | if (arg2 == NULL) SWIG_fail; | |
10787 | temp2 = True; | |
10788 | } | |
10789 | if (obj2) { | |
10790 | { | |
10791 | arg3 = wxString_in_helper(obj2); | |
10792 | if (arg3 == NULL) SWIG_fail; | |
10793 | temp3 = True; | |
10794 | } | |
10795 | } | |
10796 | if (obj3) { | |
10797 | { | |
10798 | arg4 = wxString_in_helper(obj3); | |
10799 | if (arg4 == NULL) SWIG_fail; | |
10800 | temp4 = True; | |
10801 | } | |
10802 | } | |
10803 | if (obj5) { | |
10804 | { | |
10805 | arg6 = &temp6; | |
10806 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
10807 | } | |
10808 | } | |
10809 | { | |
10810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10811 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
10812 | ||
10813 | wxPyEndAllowThreads(__tstate); | |
10814 | if (PyErr_Occurred()) SWIG_fail; | |
10815 | } | |
10816 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1); | |
10817 | { | |
10818 | if (temp2) | |
10819 | delete arg2; | |
10820 | } | |
10821 | { | |
10822 | if (temp3) | |
10823 | delete arg3; | |
10824 | } | |
10825 | { | |
10826 | if (temp4) | |
10827 | delete arg4; | |
10828 | } | |
10829 | return resultobj; | |
10830 | fail: | |
10831 | { | |
10832 | if (temp2) | |
10833 | delete arg2; | |
10834 | } | |
10835 | { | |
10836 | if (temp3) | |
10837 | delete arg3; | |
10838 | } | |
10839 | { | |
10840 | if (temp4) | |
10841 | delete arg4; | |
10842 | } | |
10843 | return NULL; | |
10844 | } | |
10845 | ||
10846 | ||
10847 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10848 | PyObject *resultobj; | |
10849 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
10850 | wxString result; | |
10851 | PyObject * obj0 = 0 ; | |
10852 | char *kwnames[] = { | |
10853 | (char *) "self", NULL | |
10854 | }; | |
10855 | ||
10856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
10857 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10858 | { | |
10859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10860 | result = (arg1)->GetValue(); | |
10861 | ||
10862 | wxPyEndAllowThreads(__tstate); | |
10863 | if (PyErr_Occurred()) SWIG_fail; | |
10864 | } | |
10865 | { | |
10866 | #if wxUSE_UNICODE | |
10867 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10868 | #else | |
10869 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10870 | #endif | |
10871 | } | |
10872 | return resultobj; | |
10873 | fail: | |
10874 | return NULL; | |
10875 | } | |
10876 | ||
10877 | ||
10878 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10879 | PyObject *resultobj; | |
10880 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
10881 | wxString *arg2 = 0 ; | |
10882 | bool temp2 = False ; | |
10883 | PyObject * obj0 = 0 ; | |
10884 | PyObject * obj1 = 0 ; | |
10885 | char *kwnames[] = { | |
10886 | (char *) "self",(char *) "value", NULL | |
10887 | }; | |
10888 | ||
10889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
10890 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10891 | { | |
10892 | arg2 = wxString_in_helper(obj1); | |
10893 | if (arg2 == NULL) SWIG_fail; | |
10894 | temp2 = True; | |
10895 | } | |
10896 | { | |
10897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10898 | (arg1)->SetValue((wxString const &)*arg2); | |
10899 | ||
10900 | wxPyEndAllowThreads(__tstate); | |
10901 | if (PyErr_Occurred()) SWIG_fail; | |
10902 | } | |
10903 | Py_INCREF(Py_None); resultobj = Py_None; | |
10904 | { | |
10905 | if (temp2) | |
10906 | delete arg2; | |
10907 | } | |
10908 | return resultobj; | |
10909 | fail: | |
10910 | { | |
10911 | if (temp2) | |
10912 | delete arg2; | |
10913 | } | |
10914 | return NULL; | |
10915 | } | |
10916 | ||
10917 | ||
10918 | static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10919 | PyObject *resultobj; | |
10920 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
10921 | int result; | |
10922 | PyObject * obj0 = 0 ; | |
10923 | char *kwnames[] = { | |
10924 | (char *) "self", NULL | |
10925 | }; | |
10926 | ||
10927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail; | |
10928 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10929 | { | |
10930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10931 | result = (int)(arg1)->ShowModal(); | |
10932 | ||
10933 | wxPyEndAllowThreads(__tstate); | |
10934 | if (PyErr_Occurred()) SWIG_fail; | |
10935 | } | |
10936 | resultobj = PyInt_FromLong((long)result); | |
10937 | return resultobj; | |
10938 | fail: | |
10939 | return NULL; | |
10940 | } | |
10941 | ||
10942 | ||
10943 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { | |
10944 | PyObject *obj; | |
10945 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10946 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
10947 | Py_INCREF(obj); | |
10948 | return Py_BuildValue((char *)""); | |
10949 | } | |
10950 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10951 | PyObject *resultobj; | |
10952 | wxFontData *result; | |
10953 | char *kwnames[] = { | |
10954 | NULL | |
10955 | }; | |
10956 | ||
10957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
10958 | { | |
10959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10960 | result = (wxFontData *)new wxFontData(); | |
10961 | ||
10962 | wxPyEndAllowThreads(__tstate); | |
10963 | if (PyErr_Occurred()) SWIG_fail; | |
10964 | } | |
10965 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1); | |
10966 | return resultobj; | |
10967 | fail: | |
10968 | return NULL; | |
10969 | } | |
10970 | ||
10971 | ||
10972 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10973 | PyObject *resultobj; | |
10974 | wxFontData *arg1 = (wxFontData *) 0 ; | |
10975 | PyObject * obj0 = 0 ; | |
10976 | char *kwnames[] = { | |
10977 | (char *) "self", NULL | |
10978 | }; | |
10979 | ||
10980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
10981 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10982 | { | |
10983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10984 | delete arg1; | |
10985 | ||
10986 | wxPyEndAllowThreads(__tstate); | |
10987 | if (PyErr_Occurred()) SWIG_fail; | |
10988 | } | |
10989 | Py_INCREF(Py_None); resultobj = Py_None; | |
10990 | return resultobj; | |
10991 | fail: | |
10992 | return NULL; | |
10993 | } | |
10994 | ||
10995 | ||
10996 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10997 | PyObject *resultobj; | |
10998 | wxFontData *arg1 = (wxFontData *) 0 ; | |
10999 | bool arg2 ; | |
11000 | PyObject * obj0 = 0 ; | |
11001 | PyObject * obj1 = 0 ; | |
11002 | char *kwnames[] = { | |
11003 | (char *) "self",(char *) "enable", NULL | |
11004 | }; | |
11005 | ||
11006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
11007 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11008 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
11009 | if (PyErr_Occurred()) SWIG_fail; | |
11010 | { | |
11011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11012 | (arg1)->EnableEffects(arg2); | |
11013 | ||
11014 | wxPyEndAllowThreads(__tstate); | |
11015 | if (PyErr_Occurred()) SWIG_fail; | |
11016 | } | |
11017 | Py_INCREF(Py_None); resultobj = Py_None; | |
11018 | return resultobj; | |
11019 | fail: | |
11020 | return NULL; | |
11021 | } | |
11022 | ||
11023 | ||
11024 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11025 | PyObject *resultobj; | |
11026 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11027 | bool result; | |
11028 | PyObject * obj0 = 0 ; | |
11029 | char *kwnames[] = { | |
11030 | (char *) "self", NULL | |
11031 | }; | |
11032 | ||
11033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
11034 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11035 | { | |
11036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11037 | result = (bool)(arg1)->GetAllowSymbols(); | |
11038 | ||
11039 | wxPyEndAllowThreads(__tstate); | |
11040 | if (PyErr_Occurred()) SWIG_fail; | |
11041 | } | |
11042 | resultobj = PyInt_FromLong((long)result); | |
11043 | return resultobj; | |
11044 | fail: | |
11045 | return NULL; | |
11046 | } | |
11047 | ||
11048 | ||
11049 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11050 | PyObject *resultobj; | |
11051 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11052 | wxColour result; | |
11053 | PyObject * obj0 = 0 ; | |
11054 | char *kwnames[] = { | |
11055 | (char *) "self", NULL | |
11056 | }; | |
11057 | ||
11058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
11059 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11060 | { | |
11061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11062 | result = (arg1)->GetColour(); | |
11063 | ||
11064 | wxPyEndAllowThreads(__tstate); | |
11065 | if (PyErr_Occurred()) SWIG_fail; | |
11066 | } | |
11067 | { | |
11068 | wxColour * resultptr; | |
11069 | resultptr = new wxColour((wxColour &) result); | |
11070 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
11071 | } | |
11072 | return resultobj; | |
11073 | fail: | |
11074 | return NULL; | |
11075 | } | |
11076 | ||
11077 | ||
11078 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11079 | PyObject *resultobj; | |
11080 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11081 | wxFont result; | |
11082 | PyObject * obj0 = 0 ; | |
11083 | char *kwnames[] = { | |
11084 | (char *) "self", NULL | |
11085 | }; | |
11086 | ||
11087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
11088 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11089 | { | |
11090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11091 | result = (arg1)->GetChosenFont(); | |
11092 | ||
11093 | wxPyEndAllowThreads(__tstate); | |
11094 | if (PyErr_Occurred()) SWIG_fail; | |
11095 | } | |
11096 | { | |
11097 | wxFont * resultptr; | |
11098 | resultptr = new wxFont((wxFont &) result); | |
11099 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
11100 | } | |
11101 | return resultobj; | |
11102 | fail: | |
11103 | return NULL; | |
11104 | } | |
11105 | ||
11106 | ||
11107 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11108 | PyObject *resultobj; | |
11109 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11110 | bool result; | |
11111 | PyObject * obj0 = 0 ; | |
11112 | char *kwnames[] = { | |
11113 | (char *) "self", NULL | |
11114 | }; | |
11115 | ||
11116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
11117 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11118 | { | |
11119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11120 | result = (bool)(arg1)->GetEnableEffects(); | |
11121 | ||
11122 | wxPyEndAllowThreads(__tstate); | |
11123 | if (PyErr_Occurred()) SWIG_fail; | |
11124 | } | |
11125 | resultobj = PyInt_FromLong((long)result); | |
11126 | return resultobj; | |
11127 | fail: | |
11128 | return NULL; | |
11129 | } | |
11130 | ||
11131 | ||
11132 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11133 | PyObject *resultobj; | |
11134 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11135 | wxFont result; | |
11136 | PyObject * obj0 = 0 ; | |
11137 | char *kwnames[] = { | |
11138 | (char *) "self", NULL | |
11139 | }; | |
11140 | ||
11141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
11142 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11143 | { | |
11144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11145 | result = (arg1)->GetInitialFont(); | |
11146 | ||
11147 | wxPyEndAllowThreads(__tstate); | |
11148 | if (PyErr_Occurred()) SWIG_fail; | |
11149 | } | |
11150 | { | |
11151 | wxFont * resultptr; | |
11152 | resultptr = new wxFont((wxFont &) result); | |
11153 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
11154 | } | |
11155 | return resultobj; | |
11156 | fail: | |
11157 | return NULL; | |
11158 | } | |
11159 | ||
11160 | ||
11161 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11162 | PyObject *resultobj; | |
11163 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11164 | bool result; | |
11165 | PyObject * obj0 = 0 ; | |
11166 | char *kwnames[] = { | |
11167 | (char *) "self", NULL | |
11168 | }; | |
11169 | ||
11170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
11171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11172 | { | |
11173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11174 | result = (bool)(arg1)->GetShowHelp(); | |
11175 | ||
11176 | wxPyEndAllowThreads(__tstate); | |
11177 | if (PyErr_Occurred()) SWIG_fail; | |
11178 | } | |
11179 | resultobj = PyInt_FromLong((long)result); | |
11180 | return resultobj; | |
11181 | fail: | |
11182 | return NULL; | |
11183 | } | |
11184 | ||
11185 | ||
11186 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11187 | PyObject *resultobj; | |
11188 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11189 | bool arg2 ; | |
11190 | PyObject * obj0 = 0 ; | |
11191 | PyObject * obj1 = 0 ; | |
11192 | char *kwnames[] = { | |
11193 | (char *) "self",(char *) "allowSymbols", NULL | |
11194 | }; | |
11195 | ||
11196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
11197 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11198 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
11199 | if (PyErr_Occurred()) SWIG_fail; | |
11200 | { | |
11201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11202 | (arg1)->SetAllowSymbols(arg2); | |
11203 | ||
11204 | wxPyEndAllowThreads(__tstate); | |
11205 | if (PyErr_Occurred()) SWIG_fail; | |
11206 | } | |
11207 | Py_INCREF(Py_None); resultobj = Py_None; | |
11208 | return resultobj; | |
11209 | fail: | |
11210 | return NULL; | |
11211 | } | |
11212 | ||
11213 | ||
11214 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11215 | PyObject *resultobj; | |
11216 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11217 | wxFont *arg2 = 0 ; | |
11218 | PyObject * obj0 = 0 ; | |
11219 | PyObject * obj1 = 0 ; | |
11220 | char *kwnames[] = { | |
11221 | (char *) "self",(char *) "font", NULL | |
11222 | }; | |
11223 | ||
11224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
11225 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11226 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11227 | if (arg2 == NULL) { | |
11228 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
11229 | } | |
11230 | { | |
11231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11232 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
11233 | ||
11234 | wxPyEndAllowThreads(__tstate); | |
11235 | if (PyErr_Occurred()) SWIG_fail; | |
11236 | } | |
11237 | Py_INCREF(Py_None); resultobj = Py_None; | |
11238 | return resultobj; | |
11239 | fail: | |
11240 | return NULL; | |
11241 | } | |
11242 | ||
11243 | ||
11244 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11245 | PyObject *resultobj; | |
11246 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11247 | wxColour *arg2 = 0 ; | |
11248 | wxColour temp2 ; | |
11249 | PyObject * obj0 = 0 ; | |
11250 | PyObject * obj1 = 0 ; | |
11251 | char *kwnames[] = { | |
11252 | (char *) "self",(char *) "colour", NULL | |
11253 | }; | |
11254 | ||
11255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
11256 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11257 | { | |
11258 | arg2 = &temp2; | |
11259 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11260 | } | |
11261 | { | |
11262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11263 | (arg1)->SetColour((wxColour const &)*arg2); | |
11264 | ||
11265 | wxPyEndAllowThreads(__tstate); | |
11266 | if (PyErr_Occurred()) SWIG_fail; | |
11267 | } | |
11268 | Py_INCREF(Py_None); resultobj = Py_None; | |
11269 | return resultobj; | |
11270 | fail: | |
11271 | return NULL; | |
11272 | } | |
11273 | ||
11274 | ||
11275 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11276 | PyObject *resultobj; | |
11277 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11278 | wxFont *arg2 = 0 ; | |
11279 | PyObject * obj0 = 0 ; | |
11280 | PyObject * obj1 = 0 ; | |
11281 | char *kwnames[] = { | |
11282 | (char *) "self",(char *) "font", NULL | |
11283 | }; | |
11284 | ||
11285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
11286 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11287 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11288 | if (arg2 == NULL) { | |
11289 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
11290 | } | |
11291 | { | |
11292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11293 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
11294 | ||
11295 | wxPyEndAllowThreads(__tstate); | |
11296 | if (PyErr_Occurred()) SWIG_fail; | |
11297 | } | |
11298 | Py_INCREF(Py_None); resultobj = Py_None; | |
11299 | return resultobj; | |
11300 | fail: | |
11301 | return NULL; | |
11302 | } | |
11303 | ||
11304 | ||
11305 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11306 | PyObject *resultobj; | |
11307 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11308 | int arg2 ; | |
11309 | int arg3 ; | |
11310 | PyObject * obj0 = 0 ; | |
11311 | char *kwnames[] = { | |
11312 | (char *) "self",(char *) "min",(char *) "max", NULL | |
11313 | }; | |
11314 | ||
11315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
11316 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11317 | { | |
11318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11319 | (arg1)->SetRange(arg2,arg3); | |
11320 | ||
11321 | wxPyEndAllowThreads(__tstate); | |
11322 | if (PyErr_Occurred()) SWIG_fail; | |
11323 | } | |
11324 | Py_INCREF(Py_None); resultobj = Py_None; | |
11325 | return resultobj; | |
11326 | fail: | |
11327 | return NULL; | |
11328 | } | |
11329 | ||
11330 | ||
11331 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11332 | PyObject *resultobj; | |
11333 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11334 | bool arg2 ; | |
11335 | PyObject * obj0 = 0 ; | |
11336 | PyObject * obj1 = 0 ; | |
11337 | char *kwnames[] = { | |
11338 | (char *) "self",(char *) "showHelp", NULL | |
11339 | }; | |
11340 | ||
11341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
11342 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11343 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
11344 | if (PyErr_Occurred()) SWIG_fail; | |
11345 | { | |
11346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11347 | (arg1)->SetShowHelp(arg2); | |
11348 | ||
11349 | wxPyEndAllowThreads(__tstate); | |
11350 | if (PyErr_Occurred()) SWIG_fail; | |
11351 | } | |
11352 | Py_INCREF(Py_None); resultobj = Py_None; | |
11353 | return resultobj; | |
11354 | fail: | |
11355 | return NULL; | |
11356 | } | |
11357 | ||
11358 | ||
11359 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
11360 | PyObject *obj; | |
11361 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11362 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
11363 | Py_INCREF(obj); | |
11364 | return Py_BuildValue((char *)""); | |
11365 | } | |
11366 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11367 | PyObject *resultobj; | |
11368 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11369 | wxFontData *arg2 = 0 ; | |
11370 | wxFontDialog *result; | |
11371 | PyObject * obj0 = 0 ; | |
11372 | PyObject * obj1 = 0 ; | |
11373 | char *kwnames[] = { | |
11374 | (char *) "parent",(char *) "data", NULL | |
11375 | }; | |
11376 | ||
11377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
11378 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11379 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11380 | if (arg2 == NULL) { | |
11381 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
11382 | } | |
11383 | { | |
11384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11385 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
11386 | ||
11387 | wxPyEndAllowThreads(__tstate); | |
11388 | if (PyErr_Occurred()) SWIG_fail; | |
11389 | } | |
11390 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1); | |
11391 | return resultobj; | |
11392 | fail: | |
11393 | return NULL; | |
11394 | } | |
11395 | ||
11396 | ||
11397 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11398 | PyObject *resultobj; | |
11399 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
11400 | wxFontData *result; | |
11401 | PyObject * obj0 = 0 ; | |
11402 | char *kwnames[] = { | |
11403 | (char *) "self", NULL | |
11404 | }; | |
11405 | ||
11406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
11407 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11408 | { | |
11409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11410 | { | |
11411 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
11412 | result = (wxFontData *) &_result_ref; | |
11413 | } | |
11414 | ||
11415 | wxPyEndAllowThreads(__tstate); | |
11416 | if (PyErr_Occurred()) SWIG_fail; | |
11417 | } | |
11418 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0); | |
11419 | return resultobj; | |
11420 | fail: | |
11421 | return NULL; | |
11422 | } | |
11423 | ||
11424 | ||
11425 | static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11426 | PyObject *resultobj; | |
11427 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
11428 | int result; | |
11429 | PyObject * obj0 = 0 ; | |
11430 | char *kwnames[] = { | |
11431 | (char *) "self", NULL | |
11432 | }; | |
11433 | ||
11434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail; | |
11435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11436 | { | |
11437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11438 | result = (int)(arg1)->ShowModal(); | |
11439 | ||
11440 | wxPyEndAllowThreads(__tstate); | |
11441 | if (PyErr_Occurred()) SWIG_fail; | |
11442 | } | |
11443 | resultobj = PyInt_FromLong((long)result); | |
11444 | return resultobj; | |
11445 | fail: | |
11446 | return NULL; | |
11447 | } | |
11448 | ||
11449 | ||
11450 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
11451 | PyObject *obj; | |
11452 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11453 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
11454 | Py_INCREF(obj); | |
11455 | return Py_BuildValue((char *)""); | |
11456 | } | |
11457 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11458 | PyObject *resultobj; | |
11459 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11460 | wxString *arg2 = 0 ; | |
11461 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
11462 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11463 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
11464 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11465 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11466 | wxMessageDialog *result; | |
11467 | bool temp2 = False ; | |
11468 | bool temp3 = False ; | |
11469 | wxPoint temp5 ; | |
11470 | PyObject * obj0 = 0 ; | |
11471 | PyObject * obj1 = 0 ; | |
11472 | PyObject * obj2 = 0 ; | |
11473 | PyObject * obj4 = 0 ; | |
11474 | char *kwnames[] = { | |
11475 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
11476 | }; | |
11477 | ||
11478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail; | |
11479 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11480 | { | |
11481 | arg2 = wxString_in_helper(obj1); | |
11482 | if (arg2 == NULL) SWIG_fail; | |
11483 | temp2 = True; | |
11484 | } | |
11485 | if (obj2) { | |
11486 | { | |
11487 | arg3 = wxString_in_helper(obj2); | |
11488 | if (arg3 == NULL) SWIG_fail; | |
11489 | temp3 = True; | |
11490 | } | |
11491 | } | |
11492 | if (obj4) { | |
11493 | { | |
11494 | arg5 = &temp5; | |
11495 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11496 | } | |
11497 | } | |
11498 | { | |
11499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11500 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
11501 | ||
11502 | wxPyEndAllowThreads(__tstate); | |
11503 | if (PyErr_Occurred()) SWIG_fail; | |
11504 | } | |
11505 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1); | |
11506 | { | |
11507 | if (temp2) | |
11508 | delete arg2; | |
11509 | } | |
11510 | { | |
11511 | if (temp3) | |
11512 | delete arg3; | |
11513 | } | |
11514 | return resultobj; | |
11515 | fail: | |
11516 | { | |
11517 | if (temp2) | |
11518 | delete arg2; | |
11519 | } | |
11520 | { | |
11521 | if (temp3) | |
11522 | delete arg3; | |
11523 | } | |
11524 | return NULL; | |
11525 | } | |
11526 | ||
11527 | ||
11528 | static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11529 | PyObject *resultobj; | |
11530 | wxMessageDialog *arg1 = (wxMessageDialog *) 0 ; | |
11531 | int result; | |
11532 | PyObject * obj0 = 0 ; | |
11533 | char *kwnames[] = { | |
11534 | (char *) "self", NULL | |
11535 | }; | |
11536 | ||
11537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail; | |
11538 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11539 | { | |
11540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11541 | result = (int)(arg1)->ShowModal(); | |
11542 | ||
11543 | wxPyEndAllowThreads(__tstate); | |
11544 | if (PyErr_Occurred()) SWIG_fail; | |
11545 | } | |
11546 | resultobj = PyInt_FromLong((long)result); | |
11547 | return resultobj; | |
11548 | fail: | |
11549 | return NULL; | |
11550 | } | |
11551 | ||
11552 | ||
11553 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { | |
11554 | PyObject *obj; | |
11555 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11556 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
11557 | Py_INCREF(obj); | |
11558 | return Py_BuildValue((char *)""); | |
11559 | } | |
11560 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11561 | PyObject *resultobj; | |
11562 | wxString *arg1 = 0 ; | |
11563 | wxString *arg2 = 0 ; | |
11564 | int arg3 = (int) 100 ; | |
11565 | wxWindow *arg4 = (wxWindow *) NULL ; | |
11566 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
11567 | wxProgressDialog *result; | |
11568 | bool temp1 = False ; | |
11569 | bool temp2 = False ; | |
11570 | PyObject * obj0 = 0 ; | |
11571 | PyObject * obj1 = 0 ; | |
11572 | PyObject * obj3 = 0 ; | |
11573 | char *kwnames[] = { | |
11574 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
11575 | }; | |
11576 | ||
11577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail; | |
11578 | { | |
11579 | arg1 = wxString_in_helper(obj0); | |
11580 | if (arg1 == NULL) SWIG_fail; | |
11581 | temp1 = True; | |
11582 | } | |
11583 | { | |
11584 | arg2 = wxString_in_helper(obj1); | |
11585 | if (arg2 == NULL) SWIG_fail; | |
11586 | temp2 = True; | |
11587 | } | |
11588 | if (obj3) { | |
11589 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11590 | } | |
11591 | { | |
11592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11593 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
11594 | ||
11595 | wxPyEndAllowThreads(__tstate); | |
11596 | if (PyErr_Occurred()) SWIG_fail; | |
11597 | } | |
11598 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1); | |
11599 | { | |
11600 | if (temp1) | |
11601 | delete arg1; | |
11602 | } | |
11603 | { | |
11604 | if (temp2) | |
11605 | delete arg2; | |
11606 | } | |
11607 | return resultobj; | |
11608 | fail: | |
11609 | { | |
11610 | if (temp1) | |
11611 | delete arg1; | |
11612 | } | |
11613 | { | |
11614 | if (temp2) | |
11615 | delete arg2; | |
11616 | } | |
11617 | return NULL; | |
11618 | } | |
11619 | ||
11620 | ||
11621 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11622 | PyObject *resultobj; | |
11623 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
11624 | int arg2 ; | |
11625 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11626 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11627 | bool result; | |
11628 | bool temp3 = False ; | |
11629 | PyObject * obj0 = 0 ; | |
11630 | PyObject * obj2 = 0 ; | |
11631 | char *kwnames[] = { | |
11632 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
11633 | }; | |
11634 | ||
11635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
11636 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11637 | if (obj2) { | |
11638 | { | |
11639 | arg3 = wxString_in_helper(obj2); | |
11640 | if (arg3 == NULL) SWIG_fail; | |
11641 | temp3 = True; | |
11642 | } | |
11643 | } | |
11644 | { | |
11645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11646 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
11647 | ||
11648 | wxPyEndAllowThreads(__tstate); | |
11649 | if (PyErr_Occurred()) SWIG_fail; | |
11650 | } | |
11651 | resultobj = PyInt_FromLong((long)result); | |
11652 | { | |
11653 | if (temp3) | |
11654 | delete arg3; | |
11655 | } | |
11656 | return resultobj; | |
11657 | fail: | |
11658 | { | |
11659 | if (temp3) | |
11660 | delete arg3; | |
11661 | } | |
11662 | return NULL; | |
11663 | } | |
11664 | ||
11665 | ||
11666 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11667 | PyObject *resultobj; | |
11668 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
11669 | PyObject * obj0 = 0 ; | |
11670 | char *kwnames[] = { | |
11671 | (char *) "self", NULL | |
11672 | }; | |
11673 | ||
11674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
11675 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11676 | { | |
11677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11678 | (arg1)->Resume(); | |
11679 | ||
11680 | wxPyEndAllowThreads(__tstate); | |
11681 | if (PyErr_Occurred()) SWIG_fail; | |
11682 | } | |
11683 | Py_INCREF(Py_None); resultobj = Py_None; | |
11684 | return resultobj; | |
11685 | fail: | |
11686 | return NULL; | |
11687 | } | |
11688 | ||
11689 | ||
11690 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
11691 | PyObject *obj; | |
11692 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11693 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
11694 | Py_INCREF(obj); | |
11695 | return Py_BuildValue((char *)""); | |
11696 | } | |
11697 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11698 | PyObject *resultobj; | |
11699 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
11700 | int arg2 = (int) 0 ; | |
11701 | wxFindDialogEvent *result; | |
11702 | char *kwnames[] = { | |
11703 | (char *) "commandType",(char *) "id", NULL | |
11704 | }; | |
11705 | ||
11706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail; | |
11707 | { | |
11708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11709 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
11710 | ||
11711 | wxPyEndAllowThreads(__tstate); | |
11712 | if (PyErr_Occurred()) SWIG_fail; | |
11713 | } | |
11714 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1); | |
11715 | return resultobj; | |
11716 | fail: | |
11717 | return NULL; | |
11718 | } | |
11719 | ||
11720 | ||
11721 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11722 | PyObject *resultobj; | |
11723 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
11724 | int result; | |
11725 | PyObject * obj0 = 0 ; | |
11726 | char *kwnames[] = { | |
11727 | (char *) "self", NULL | |
11728 | }; | |
11729 | ||
11730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
11731 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11732 | { | |
11733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11734 | result = (int)(arg1)->GetFlags(); | |
11735 | ||
11736 | wxPyEndAllowThreads(__tstate); | |
11737 | if (PyErr_Occurred()) SWIG_fail; | |
11738 | } | |
11739 | resultobj = PyInt_FromLong((long)result); | |
11740 | return resultobj; | |
11741 | fail: | |
11742 | return NULL; | |
11743 | } | |
11744 | ||
11745 | ||
11746 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11747 | PyObject *resultobj; | |
11748 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
11749 | wxString result; | |
11750 | PyObject * obj0 = 0 ; | |
11751 | char *kwnames[] = { | |
11752 | (char *) "self", NULL | |
11753 | }; | |
11754 | ||
11755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
11756 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11757 | { | |
11758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11759 | result = (arg1)->GetFindString(); | |
11760 | ||
11761 | wxPyEndAllowThreads(__tstate); | |
11762 | if (PyErr_Occurred()) SWIG_fail; | |
11763 | } | |
11764 | { | |
11765 | #if wxUSE_UNICODE | |
11766 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11767 | #else | |
11768 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11769 | #endif | |
11770 | } | |
11771 | return resultobj; | |
11772 | fail: | |
11773 | return NULL; | |
11774 | } | |
11775 | ||
11776 | ||
11777 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11778 | PyObject *resultobj; | |
11779 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
11780 | wxString *result; | |
11781 | PyObject * obj0 = 0 ; | |
11782 | char *kwnames[] = { | |
11783 | (char *) "self", NULL | |
11784 | }; | |
11785 | ||
11786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
11787 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11788 | { | |
11789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11790 | { | |
11791 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
11792 | result = (wxString *) &_result_ref; | |
11793 | } | |
11794 | ||
11795 | wxPyEndAllowThreads(__tstate); | |
11796 | if (PyErr_Occurred()) SWIG_fail; | |
11797 | } | |
11798 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
11799 | return resultobj; | |
11800 | fail: | |
11801 | return NULL; | |
11802 | } | |
11803 | ||
11804 | ||
11805 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11806 | PyObject *resultobj; | |
11807 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
11808 | wxFindReplaceDialog *result; | |
11809 | PyObject * obj0 = 0 ; | |
11810 | char *kwnames[] = { | |
11811 | (char *) "self", NULL | |
11812 | }; | |
11813 | ||
11814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
11815 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11816 | { | |
11817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11818 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
11819 | ||
11820 | wxPyEndAllowThreads(__tstate); | |
11821 | if (PyErr_Occurred()) SWIG_fail; | |
11822 | } | |
11823 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0); | |
11824 | return resultobj; | |
11825 | fail: | |
11826 | return NULL; | |
11827 | } | |
11828 | ||
11829 | ||
11830 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11831 | PyObject *resultobj; | |
11832 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
11833 | int arg2 ; | |
11834 | PyObject * obj0 = 0 ; | |
11835 | char *kwnames[] = { | |
11836 | (char *) "self",(char *) "flags", NULL | |
11837 | }; | |
11838 | ||
11839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail; | |
11840 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11841 | { | |
11842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11843 | (arg1)->SetFlags(arg2); | |
11844 | ||
11845 | wxPyEndAllowThreads(__tstate); | |
11846 | if (PyErr_Occurred()) SWIG_fail; | |
11847 | } | |
11848 | Py_INCREF(Py_None); resultobj = Py_None; | |
11849 | return resultobj; | |
11850 | fail: | |
11851 | return NULL; | |
11852 | } | |
11853 | ||
11854 | ||
11855 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11856 | PyObject *resultobj; | |
11857 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
11858 | wxString *arg2 = 0 ; | |
11859 | bool temp2 = False ; | |
11860 | PyObject * obj0 = 0 ; | |
11861 | PyObject * obj1 = 0 ; | |
11862 | char *kwnames[] = { | |
11863 | (char *) "self",(char *) "str", NULL | |
11864 | }; | |
11865 | ||
11866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
11867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11868 | { | |
11869 | arg2 = wxString_in_helper(obj1); | |
11870 | if (arg2 == NULL) SWIG_fail; | |
11871 | temp2 = True; | |
11872 | } | |
11873 | { | |
11874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11875 | (arg1)->SetFindString((wxString const &)*arg2); | |
11876 | ||
11877 | wxPyEndAllowThreads(__tstate); | |
11878 | if (PyErr_Occurred()) SWIG_fail; | |
11879 | } | |
11880 | Py_INCREF(Py_None); resultobj = Py_None; | |
11881 | { | |
11882 | if (temp2) | |
11883 | delete arg2; | |
11884 | } | |
11885 | return resultobj; | |
11886 | fail: | |
11887 | { | |
11888 | if (temp2) | |
11889 | delete arg2; | |
11890 | } | |
11891 | return NULL; | |
11892 | } | |
11893 | ||
11894 | ||
11895 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11896 | PyObject *resultobj; | |
11897 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
11898 | wxString *arg2 = 0 ; | |
11899 | bool temp2 = False ; | |
11900 | PyObject * obj0 = 0 ; | |
11901 | PyObject * obj1 = 0 ; | |
11902 | char *kwnames[] = { | |
11903 | (char *) "self",(char *) "str", NULL | |
11904 | }; | |
11905 | ||
11906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
11907 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11908 | { | |
11909 | arg2 = wxString_in_helper(obj1); | |
11910 | if (arg2 == NULL) SWIG_fail; | |
11911 | temp2 = True; | |
11912 | } | |
11913 | { | |
11914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11915 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
11916 | ||
11917 | wxPyEndAllowThreads(__tstate); | |
11918 | if (PyErr_Occurred()) SWIG_fail; | |
11919 | } | |
11920 | Py_INCREF(Py_None); resultobj = Py_None; | |
11921 | { | |
11922 | if (temp2) | |
11923 | delete arg2; | |
11924 | } | |
11925 | return resultobj; | |
11926 | fail: | |
11927 | { | |
11928 | if (temp2) | |
11929 | delete arg2; | |
11930 | } | |
11931 | return NULL; | |
11932 | } | |
11933 | ||
11934 | ||
11935 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
11936 | PyObject *obj; | |
11937 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11938 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
11939 | Py_INCREF(obj); | |
11940 | return Py_BuildValue((char *)""); | |
11941 | } | |
11942 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11943 | PyObject *resultobj; | |
11944 | int arg1 = (int) 0 ; | |
11945 | wxFindReplaceData *result; | |
11946 | char *kwnames[] = { | |
11947 | (char *) "flags", NULL | |
11948 | }; | |
11949 | ||
11950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail; | |
11951 | { | |
11952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11953 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
11954 | ||
11955 | wxPyEndAllowThreads(__tstate); | |
11956 | if (PyErr_Occurred()) SWIG_fail; | |
11957 | } | |
11958 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1); | |
11959 | return resultobj; | |
11960 | fail: | |
11961 | return NULL; | |
11962 | } | |
11963 | ||
11964 | ||
11965 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11966 | PyObject *resultobj; | |
11967 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
11968 | PyObject * obj0 = 0 ; | |
11969 | char *kwnames[] = { | |
11970 | (char *) "self", NULL | |
11971 | }; | |
11972 | ||
11973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
11974 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11975 | { | |
11976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11977 | delete arg1; | |
11978 | ||
11979 | wxPyEndAllowThreads(__tstate); | |
11980 | if (PyErr_Occurred()) SWIG_fail; | |
11981 | } | |
11982 | Py_INCREF(Py_None); resultobj = Py_None; | |
11983 | return resultobj; | |
11984 | fail: | |
11985 | return NULL; | |
11986 | } | |
11987 | ||
11988 | ||
11989 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11990 | PyObject *resultobj; | |
11991 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
11992 | wxString *result; | |
11993 | PyObject * obj0 = 0 ; | |
11994 | char *kwnames[] = { | |
11995 | (char *) "self", NULL | |
11996 | }; | |
11997 | ||
11998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
11999 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12000 | { | |
12001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12002 | { | |
12003 | wxString const &_result_ref = (arg1)->GetFindString(); | |
12004 | result = (wxString *) &_result_ref; | |
12005 | } | |
12006 | ||
12007 | wxPyEndAllowThreads(__tstate); | |
12008 | if (PyErr_Occurred()) SWIG_fail; | |
12009 | } | |
12010 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
12011 | return resultobj; | |
12012 | fail: | |
12013 | return NULL; | |
12014 | } | |
12015 | ||
12016 | ||
12017 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12018 | PyObject *resultobj; | |
12019 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12020 | wxString *result; | |
12021 | PyObject * obj0 = 0 ; | |
12022 | char *kwnames[] = { | |
12023 | (char *) "self", NULL | |
12024 | }; | |
12025 | ||
12026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
12027 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12028 | { | |
12029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12030 | { | |
12031 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
12032 | result = (wxString *) &_result_ref; | |
12033 | } | |
12034 | ||
12035 | wxPyEndAllowThreads(__tstate); | |
12036 | if (PyErr_Occurred()) SWIG_fail; | |
12037 | } | |
12038 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
12039 | return resultobj; | |
12040 | fail: | |
12041 | return NULL; | |
12042 | } | |
12043 | ||
12044 | ||
12045 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12046 | PyObject *resultobj; | |
12047 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12048 | int result; | |
12049 | PyObject * obj0 = 0 ; | |
12050 | char *kwnames[] = { | |
12051 | (char *) "self", NULL | |
12052 | }; | |
12053 | ||
12054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
12055 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12056 | { | |
12057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12058 | result = (int)(arg1)->GetFlags(); | |
12059 | ||
12060 | wxPyEndAllowThreads(__tstate); | |
12061 | if (PyErr_Occurred()) SWIG_fail; | |
12062 | } | |
12063 | resultobj = PyInt_FromLong((long)result); | |
12064 | return resultobj; | |
12065 | fail: | |
12066 | return NULL; | |
12067 | } | |
12068 | ||
12069 | ||
12070 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12071 | PyObject *resultobj; | |
12072 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12073 | int arg2 ; | |
12074 | PyObject * obj0 = 0 ; | |
12075 | char *kwnames[] = { | |
12076 | (char *) "self",(char *) "flags", NULL | |
12077 | }; | |
12078 | ||
12079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail; | |
12080 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12081 | { | |
12082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12083 | (arg1)->SetFlags(arg2); | |
12084 | ||
12085 | wxPyEndAllowThreads(__tstate); | |
12086 | if (PyErr_Occurred()) SWIG_fail; | |
12087 | } | |
12088 | Py_INCREF(Py_None); resultobj = Py_None; | |
12089 | return resultobj; | |
12090 | fail: | |
12091 | return NULL; | |
12092 | } | |
12093 | ||
12094 | ||
12095 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12096 | PyObject *resultobj; | |
12097 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12098 | wxString *arg2 = 0 ; | |
12099 | bool temp2 = False ; | |
12100 | PyObject * obj0 = 0 ; | |
12101 | PyObject * obj1 = 0 ; | |
12102 | char *kwnames[] = { | |
12103 | (char *) "self",(char *) "str", NULL | |
12104 | }; | |
12105 | ||
12106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
12107 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12108 | { | |
12109 | arg2 = wxString_in_helper(obj1); | |
12110 | if (arg2 == NULL) SWIG_fail; | |
12111 | temp2 = True; | |
12112 | } | |
12113 | { | |
12114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12115 | (arg1)->SetFindString((wxString const &)*arg2); | |
12116 | ||
12117 | wxPyEndAllowThreads(__tstate); | |
12118 | if (PyErr_Occurred()) SWIG_fail; | |
12119 | } | |
12120 | Py_INCREF(Py_None); resultobj = Py_None; | |
12121 | { | |
12122 | if (temp2) | |
12123 | delete arg2; | |
12124 | } | |
12125 | return resultobj; | |
12126 | fail: | |
12127 | { | |
12128 | if (temp2) | |
12129 | delete arg2; | |
12130 | } | |
12131 | return NULL; | |
12132 | } | |
12133 | ||
12134 | ||
12135 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12136 | PyObject *resultobj; | |
12137 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12138 | wxString *arg2 = 0 ; | |
12139 | bool temp2 = False ; | |
12140 | PyObject * obj0 = 0 ; | |
12141 | PyObject * obj1 = 0 ; | |
12142 | char *kwnames[] = { | |
12143 | (char *) "self",(char *) "str", NULL | |
12144 | }; | |
12145 | ||
12146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
12147 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12148 | { | |
12149 | arg2 = wxString_in_helper(obj1); | |
12150 | if (arg2 == NULL) SWIG_fail; | |
12151 | temp2 = True; | |
12152 | } | |
12153 | { | |
12154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12155 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
12156 | ||
12157 | wxPyEndAllowThreads(__tstate); | |
12158 | if (PyErr_Occurred()) SWIG_fail; | |
12159 | } | |
12160 | Py_INCREF(Py_None); resultobj = Py_None; | |
12161 | { | |
12162 | if (temp2) | |
12163 | delete arg2; | |
12164 | } | |
12165 | return resultobj; | |
12166 | fail: | |
12167 | { | |
12168 | if (temp2) | |
12169 | delete arg2; | |
12170 | } | |
12171 | return NULL; | |
12172 | } | |
12173 | ||
12174 | ||
12175 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
12176 | PyObject *obj; | |
12177 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12178 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
12179 | Py_INCREF(obj); | |
12180 | return Py_BuildValue((char *)""); | |
12181 | } | |
12182 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12183 | PyObject *resultobj; | |
12184 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12185 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
12186 | wxString *arg3 = 0 ; | |
12187 | int arg4 = (int) 0 ; | |
12188 | wxFindReplaceDialog *result; | |
12189 | bool temp3 = False ; | |
12190 | PyObject * obj0 = 0 ; | |
12191 | PyObject * obj1 = 0 ; | |
12192 | PyObject * obj2 = 0 ; | |
12193 | char *kwnames[] = { | |
12194 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
12195 | }; | |
12196 | ||
12197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
12198 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12199 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12200 | { | |
12201 | arg3 = wxString_in_helper(obj2); | |
12202 | if (arg3 == NULL) SWIG_fail; | |
12203 | temp3 = True; | |
12204 | } | |
12205 | { | |
12206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12207 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
12208 | ||
12209 | wxPyEndAllowThreads(__tstate); | |
12210 | if (PyErr_Occurred()) SWIG_fail; | |
12211 | } | |
12212 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1); | |
12213 | { | |
12214 | if (temp3) | |
12215 | delete arg3; | |
12216 | } | |
12217 | return resultobj; | |
12218 | fail: | |
12219 | { | |
12220 | if (temp3) | |
12221 | delete arg3; | |
12222 | } | |
12223 | return NULL; | |
12224 | } | |
12225 | ||
12226 | ||
12227 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12228 | PyObject *resultobj; | |
12229 | wxFindReplaceDialog *result; | |
12230 | char *kwnames[] = { | |
12231 | NULL | |
12232 | }; | |
12233 | ||
12234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
12235 | { | |
12236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12237 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
12238 | ||
12239 | wxPyEndAllowThreads(__tstate); | |
12240 | if (PyErr_Occurred()) SWIG_fail; | |
12241 | } | |
12242 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1); | |
12243 | return resultobj; | |
12244 | fail: | |
12245 | return NULL; | |
12246 | } | |
12247 | ||
12248 | ||
12249 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12250 | PyObject *resultobj; | |
12251 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
12252 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12253 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
12254 | wxString *arg4 = 0 ; | |
12255 | int arg5 = (int) 0 ; | |
12256 | bool result; | |
12257 | bool temp4 = False ; | |
12258 | PyObject * obj0 = 0 ; | |
12259 | PyObject * obj1 = 0 ; | |
12260 | PyObject * obj2 = 0 ; | |
12261 | PyObject * obj3 = 0 ; | |
12262 | char *kwnames[] = { | |
12263 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
12264 | }; | |
12265 | ||
12266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail; | |
12267 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12268 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12269 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12270 | { | |
12271 | arg4 = wxString_in_helper(obj3); | |
12272 | if (arg4 == NULL) SWIG_fail; | |
12273 | temp4 = True; | |
12274 | } | |
12275 | { | |
12276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12277 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
12278 | ||
12279 | wxPyEndAllowThreads(__tstate); | |
12280 | if (PyErr_Occurred()) SWIG_fail; | |
12281 | } | |
12282 | resultobj = PyInt_FromLong((long)result); | |
12283 | { | |
12284 | if (temp4) | |
12285 | delete arg4; | |
12286 | } | |
12287 | return resultobj; | |
12288 | fail: | |
12289 | { | |
12290 | if (temp4) | |
12291 | delete arg4; | |
12292 | } | |
12293 | return NULL; | |
12294 | } | |
12295 | ||
12296 | ||
12297 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12298 | PyObject *resultobj; | |
12299 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
12300 | wxFindReplaceData *result; | |
12301 | PyObject * obj0 = 0 ; | |
12302 | char *kwnames[] = { | |
12303 | (char *) "self", NULL | |
12304 | }; | |
12305 | ||
12306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
12307 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12308 | { | |
12309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12310 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
12311 | ||
12312 | wxPyEndAllowThreads(__tstate); | |
12313 | if (PyErr_Occurred()) SWIG_fail; | |
12314 | } | |
12315 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0); | |
12316 | return resultobj; | |
12317 | fail: | |
12318 | return NULL; | |
12319 | } | |
12320 | ||
12321 | ||
12322 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12323 | PyObject *resultobj; | |
12324 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
12325 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
12326 | PyObject * obj0 = 0 ; | |
12327 | PyObject * obj1 = 0 ; | |
12328 | char *kwnames[] = { | |
12329 | (char *) "self",(char *) "data", NULL | |
12330 | }; | |
12331 | ||
12332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
12333 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12334 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12335 | { | |
12336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12337 | (arg1)->SetData(arg2); | |
12338 | ||
12339 | wxPyEndAllowThreads(__tstate); | |
12340 | if (PyErr_Occurred()) SWIG_fail; | |
12341 | } | |
12342 | Py_INCREF(Py_None); resultobj = Py_None; | |
12343 | return resultobj; | |
12344 | fail: | |
12345 | return NULL; | |
12346 | } | |
12347 | ||
12348 | ||
12349 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
12350 | PyObject *obj; | |
12351 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12352 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
12353 | Py_INCREF(obj); | |
12354 | return Py_BuildValue((char *)""); | |
12355 | } | |
12356 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12357 | PyObject *resultobj; | |
12358 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12359 | int arg2 ; | |
12360 | wxString *arg3 = 0 ; | |
12361 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
12362 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12363 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12364 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12365 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
12366 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
12367 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12368 | wxMDIParentFrame *result; | |
12369 | bool temp3 = False ; | |
12370 | wxPoint temp4 ; | |
12371 | wxSize temp5 ; | |
12372 | bool temp7 = False ; | |
12373 | PyObject * obj0 = 0 ; | |
12374 | PyObject * obj2 = 0 ; | |
12375 | PyObject * obj3 = 0 ; | |
12376 | PyObject * obj4 = 0 ; | |
12377 | PyObject * obj6 = 0 ; | |
12378 | char *kwnames[] = { | |
12379 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12380 | }; | |
12381 | ||
12382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
12383 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12384 | { | |
12385 | arg3 = wxString_in_helper(obj2); | |
12386 | if (arg3 == NULL) SWIG_fail; | |
12387 | temp3 = True; | |
12388 | } | |
12389 | if (obj3) { | |
12390 | { | |
12391 | arg4 = &temp4; | |
12392 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12393 | } | |
12394 | } | |
12395 | if (obj4) { | |
12396 | { | |
12397 | arg5 = &temp5; | |
12398 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12399 | } | |
12400 | } | |
12401 | if (obj6) { | |
12402 | { | |
12403 | arg7 = wxString_in_helper(obj6); | |
12404 | if (arg7 == NULL) SWIG_fail; | |
12405 | temp7 = True; | |
12406 | } | |
12407 | } | |
12408 | { | |
12409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12410 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12411 | ||
12412 | wxPyEndAllowThreads(__tstate); | |
12413 | if (PyErr_Occurred()) SWIG_fail; | |
12414 | } | |
12415 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1); | |
12416 | { | |
12417 | if (temp3) | |
12418 | delete arg3; | |
12419 | } | |
12420 | { | |
12421 | if (temp7) | |
12422 | delete arg7; | |
12423 | } | |
12424 | return resultobj; | |
12425 | fail: | |
12426 | { | |
12427 | if (temp3) | |
12428 | delete arg3; | |
12429 | } | |
12430 | { | |
12431 | if (temp7) | |
12432 | delete arg7; | |
12433 | } | |
12434 | return NULL; | |
12435 | } | |
12436 | ||
12437 | ||
12438 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12439 | PyObject *resultobj; | |
12440 | wxMDIParentFrame *result; | |
12441 | char *kwnames[] = { | |
12442 | NULL | |
12443 | }; | |
12444 | ||
12445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
12446 | { | |
12447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12448 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
12449 | ||
12450 | wxPyEndAllowThreads(__tstate); | |
12451 | if (PyErr_Occurred()) SWIG_fail; | |
12452 | } | |
12453 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1); | |
12454 | return resultobj; | |
12455 | fail: | |
12456 | return NULL; | |
12457 | } | |
12458 | ||
12459 | ||
12460 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12461 | PyObject *resultobj; | |
12462 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12463 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12464 | int arg3 ; | |
12465 | wxString *arg4 = 0 ; | |
12466 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
12467 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
12468 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
12469 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
12470 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
12471 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
12472 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
12473 | bool result; | |
12474 | bool temp4 = False ; | |
12475 | wxPoint temp5 ; | |
12476 | wxSize temp6 ; | |
12477 | bool temp8 = False ; | |
12478 | PyObject * obj0 = 0 ; | |
12479 | PyObject * obj1 = 0 ; | |
12480 | PyObject * obj3 = 0 ; | |
12481 | PyObject * obj4 = 0 ; | |
12482 | PyObject * obj5 = 0 ; | |
12483 | PyObject * obj7 = 0 ; | |
12484 | char *kwnames[] = { | |
12485 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12486 | }; | |
12487 | ||
12488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
12489 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12490 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12491 | { | |
12492 | arg4 = wxString_in_helper(obj3); | |
12493 | if (arg4 == NULL) SWIG_fail; | |
12494 | temp4 = True; | |
12495 | } | |
12496 | if (obj4) { | |
12497 | { | |
12498 | arg5 = &temp5; | |
12499 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
12500 | } | |
12501 | } | |
12502 | if (obj5) { | |
12503 | { | |
12504 | arg6 = &temp6; | |
12505 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
12506 | } | |
12507 | } | |
12508 | if (obj7) { | |
12509 | { | |
12510 | arg8 = wxString_in_helper(obj7); | |
12511 | if (arg8 == NULL) SWIG_fail; | |
12512 | temp8 = True; | |
12513 | } | |
12514 | } | |
12515 | { | |
12516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12517 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
12518 | ||
12519 | wxPyEndAllowThreads(__tstate); | |
12520 | if (PyErr_Occurred()) SWIG_fail; | |
12521 | } | |
12522 | resultobj = PyInt_FromLong((long)result); | |
12523 | { | |
12524 | if (temp4) | |
12525 | delete arg4; | |
12526 | } | |
12527 | { | |
12528 | if (temp8) | |
12529 | delete arg8; | |
12530 | } | |
12531 | return resultobj; | |
12532 | fail: | |
12533 | { | |
12534 | if (temp4) | |
12535 | delete arg4; | |
12536 | } | |
12537 | { | |
12538 | if (temp8) | |
12539 | delete arg8; | |
12540 | } | |
12541 | return NULL; | |
12542 | } | |
12543 | ||
12544 | ||
12545 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12546 | PyObject *resultobj; | |
12547 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12548 | PyObject * obj0 = 0 ; | |
12549 | char *kwnames[] = { | |
12550 | (char *) "self", NULL | |
12551 | }; | |
12552 | ||
12553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
12554 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12555 | { | |
12556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12557 | (arg1)->ActivateNext(); | |
12558 | ||
12559 | wxPyEndAllowThreads(__tstate); | |
12560 | if (PyErr_Occurred()) SWIG_fail; | |
12561 | } | |
12562 | Py_INCREF(Py_None); resultobj = Py_None; | |
12563 | return resultobj; | |
12564 | fail: | |
12565 | return NULL; | |
12566 | } | |
12567 | ||
12568 | ||
12569 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12570 | PyObject *resultobj; | |
12571 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12572 | PyObject * obj0 = 0 ; | |
12573 | char *kwnames[] = { | |
12574 | (char *) "self", NULL | |
12575 | }; | |
12576 | ||
12577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
12578 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12579 | { | |
12580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12581 | (arg1)->ActivatePrevious(); | |
12582 | ||
12583 | wxPyEndAllowThreads(__tstate); | |
12584 | if (PyErr_Occurred()) SWIG_fail; | |
12585 | } | |
12586 | Py_INCREF(Py_None); resultobj = Py_None; | |
12587 | return resultobj; | |
12588 | fail: | |
12589 | return NULL; | |
12590 | } | |
12591 | ||
12592 | ||
12593 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12594 | PyObject *resultobj; | |
12595 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12596 | PyObject * obj0 = 0 ; | |
12597 | char *kwnames[] = { | |
12598 | (char *) "self", NULL | |
12599 | }; | |
12600 | ||
12601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
12602 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12603 | { | |
12604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12605 | (arg1)->ArrangeIcons(); | |
12606 | ||
12607 | wxPyEndAllowThreads(__tstate); | |
12608 | if (PyErr_Occurred()) SWIG_fail; | |
12609 | } | |
12610 | Py_INCREF(Py_None); resultobj = Py_None; | |
12611 | return resultobj; | |
12612 | fail: | |
12613 | return NULL; | |
12614 | } | |
12615 | ||
12616 | ||
12617 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12618 | PyObject *resultobj; | |
12619 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12620 | PyObject * obj0 = 0 ; | |
12621 | char *kwnames[] = { | |
12622 | (char *) "self", NULL | |
12623 | }; | |
12624 | ||
12625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
12626 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12627 | { | |
12628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12629 | (arg1)->Cascade(); | |
12630 | ||
12631 | wxPyEndAllowThreads(__tstate); | |
12632 | if (PyErr_Occurred()) SWIG_fail; | |
12633 | } | |
12634 | Py_INCREF(Py_None); resultobj = Py_None; | |
12635 | return resultobj; | |
12636 | fail: | |
12637 | return NULL; | |
12638 | } | |
12639 | ||
12640 | ||
12641 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12642 | PyObject *resultobj; | |
12643 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12644 | wxMDIChildFrame *result; | |
12645 | PyObject * obj0 = 0 ; | |
12646 | char *kwnames[] = { | |
12647 | (char *) "self", NULL | |
12648 | }; | |
12649 | ||
12650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
12651 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12652 | { | |
12653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12654 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
12655 | ||
12656 | wxPyEndAllowThreads(__tstate); | |
12657 | if (PyErr_Occurred()) SWIG_fail; | |
12658 | } | |
12659 | { | |
12660 | resultobj = wxPyMake_wxObject(result); | |
12661 | } | |
12662 | return resultobj; | |
12663 | fail: | |
12664 | return NULL; | |
12665 | } | |
12666 | ||
12667 | ||
12668 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12669 | PyObject *resultobj; | |
12670 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12671 | wxMDIClientWindow *result; | |
12672 | PyObject * obj0 = 0 ; | |
12673 | char *kwnames[] = { | |
12674 | (char *) "self", NULL | |
12675 | }; | |
12676 | ||
12677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
12678 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12679 | { | |
12680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12681 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
12682 | ||
12683 | wxPyEndAllowThreads(__tstate); | |
12684 | if (PyErr_Occurred()) SWIG_fail; | |
12685 | } | |
12686 | { | |
12687 | resultobj = wxPyMake_wxObject(result); | |
12688 | } | |
12689 | return resultobj; | |
12690 | fail: | |
12691 | return NULL; | |
12692 | } | |
12693 | ||
12694 | ||
12695 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12696 | PyObject *resultobj; | |
12697 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12698 | wxWindow *result; | |
12699 | PyObject * obj0 = 0 ; | |
12700 | char *kwnames[] = { | |
12701 | (char *) "self", NULL | |
12702 | }; | |
12703 | ||
12704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
12705 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12706 | { | |
12707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12708 | result = (wxWindow *)(arg1)->GetToolBar(); | |
12709 | ||
12710 | wxPyEndAllowThreads(__tstate); | |
12711 | if (PyErr_Occurred()) SWIG_fail; | |
12712 | } | |
12713 | { | |
12714 | resultobj = wxPyMake_wxObject(result); | |
12715 | } | |
12716 | return resultobj; | |
12717 | fail: | |
12718 | return NULL; | |
12719 | } | |
12720 | ||
12721 | ||
12722 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12723 | PyObject *resultobj; | |
12724 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12725 | PyObject * obj0 = 0 ; | |
12726 | char *kwnames[] = { | |
12727 | (char *) "self", NULL | |
12728 | }; | |
12729 | ||
12730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
12731 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12732 | { | |
12733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12734 | (arg1)->Tile(); | |
12735 | ||
12736 | wxPyEndAllowThreads(__tstate); | |
12737 | if (PyErr_Occurred()) SWIG_fail; | |
12738 | } | |
12739 | Py_INCREF(Py_None); resultobj = Py_None; | |
12740 | return resultobj; | |
12741 | fail: | |
12742 | return NULL; | |
12743 | } | |
12744 | ||
12745 | ||
12746 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
12747 | PyObject *obj; | |
12748 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12749 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
12750 | Py_INCREF(obj); | |
12751 | return Py_BuildValue((char *)""); | |
12752 | } | |
12753 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12754 | PyObject *resultobj; | |
12755 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
12756 | int arg2 ; | |
12757 | wxString *arg3 = 0 ; | |
12758 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
12759 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
12760 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
12761 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
12762 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
12763 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
12764 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12765 | wxMDIChildFrame *result; | |
12766 | bool temp3 = False ; | |
12767 | wxPoint temp4 ; | |
12768 | wxSize temp5 ; | |
12769 | bool temp7 = False ; | |
12770 | PyObject * obj0 = 0 ; | |
12771 | PyObject * obj2 = 0 ; | |
12772 | PyObject * obj3 = 0 ; | |
12773 | PyObject * obj4 = 0 ; | |
12774 | PyObject * obj6 = 0 ; | |
12775 | char *kwnames[] = { | |
12776 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12777 | }; | |
12778 | ||
12779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
12780 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12781 | { | |
12782 | arg3 = wxString_in_helper(obj2); | |
12783 | if (arg3 == NULL) SWIG_fail; | |
12784 | temp3 = True; | |
12785 | } | |
12786 | if (obj3) { | |
12787 | { | |
12788 | arg4 = &temp4; | |
12789 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
12790 | } | |
12791 | } | |
12792 | if (obj4) { | |
12793 | { | |
12794 | arg5 = &temp5; | |
12795 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
12796 | } | |
12797 | } | |
12798 | if (obj6) { | |
12799 | { | |
12800 | arg7 = wxString_in_helper(obj6); | |
12801 | if (arg7 == NULL) SWIG_fail; | |
12802 | temp7 = True; | |
12803 | } | |
12804 | } | |
12805 | { | |
12806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12807 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
12808 | ||
12809 | wxPyEndAllowThreads(__tstate); | |
12810 | if (PyErr_Occurred()) SWIG_fail; | |
12811 | } | |
12812 | { | |
12813 | resultobj = wxPyMake_wxObject(result); | |
12814 | } | |
12815 | { | |
12816 | if (temp3) | |
12817 | delete arg3; | |
12818 | } | |
12819 | { | |
12820 | if (temp7) | |
12821 | delete arg7; | |
12822 | } | |
12823 | return resultobj; | |
12824 | fail: | |
12825 | { | |
12826 | if (temp3) | |
12827 | delete arg3; | |
12828 | } | |
12829 | { | |
12830 | if (temp7) | |
12831 | delete arg7; | |
12832 | } | |
12833 | return NULL; | |
12834 | } | |
12835 | ||
12836 | ||
12837 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12838 | PyObject *resultobj; | |
12839 | wxMDIChildFrame *result; | |
12840 | char *kwnames[] = { | |
12841 | NULL | |
12842 | }; | |
12843 | ||
12844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
12845 | { | |
12846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12847 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
12848 | ||
12849 | wxPyEndAllowThreads(__tstate); | |
12850 | if (PyErr_Occurred()) SWIG_fail; | |
12851 | } | |
12852 | { | |
12853 | resultobj = wxPyMake_wxObject(result); | |
12854 | } | |
12855 | return resultobj; | |
12856 | fail: | |
12857 | return NULL; | |
12858 | } | |
12859 | ||
12860 | ||
12861 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12862 | PyObject *resultobj; | |
12863 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
12864 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
12865 | int arg3 ; | |
12866 | wxString *arg4 = 0 ; | |
12867 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
12868 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
12869 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
12870 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
12871 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
12872 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
12873 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
12874 | bool result; | |
12875 | bool temp4 = False ; | |
12876 | wxPoint temp5 ; | |
12877 | wxSize temp6 ; | |
12878 | bool temp8 = False ; | |
12879 | PyObject * obj0 = 0 ; | |
12880 | PyObject * obj1 = 0 ; | |
12881 | PyObject * obj3 = 0 ; | |
12882 | PyObject * obj4 = 0 ; | |
12883 | PyObject * obj5 = 0 ; | |
12884 | PyObject * obj7 = 0 ; | |
12885 | char *kwnames[] = { | |
12886 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
12887 | }; | |
12888 | ||
12889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
12890 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12891 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12892 | { | |
12893 | arg4 = wxString_in_helper(obj3); | |
12894 | if (arg4 == NULL) SWIG_fail; | |
12895 | temp4 = True; | |
12896 | } | |
12897 | if (obj4) { | |
12898 | { | |
12899 | arg5 = &temp5; | |
12900 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
12901 | } | |
12902 | } | |
12903 | if (obj5) { | |
12904 | { | |
12905 | arg6 = &temp6; | |
12906 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
12907 | } | |
12908 | } | |
12909 | if (obj7) { | |
12910 | { | |
12911 | arg8 = wxString_in_helper(obj7); | |
12912 | if (arg8 == NULL) SWIG_fail; | |
12913 | temp8 = True; | |
12914 | } | |
12915 | } | |
12916 | { | |
12917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12918 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
12919 | ||
12920 | wxPyEndAllowThreads(__tstate); | |
12921 | if (PyErr_Occurred()) SWIG_fail; | |
12922 | } | |
12923 | resultobj = PyInt_FromLong((long)result); | |
12924 | { | |
12925 | if (temp4) | |
12926 | delete arg4; | |
12927 | } | |
12928 | { | |
12929 | if (temp8) | |
12930 | delete arg8; | |
12931 | } | |
12932 | return resultobj; | |
12933 | fail: | |
12934 | { | |
12935 | if (temp4) | |
12936 | delete arg4; | |
12937 | } | |
12938 | { | |
12939 | if (temp8) | |
12940 | delete arg8; | |
12941 | } | |
12942 | return NULL; | |
12943 | } | |
12944 | ||
12945 | ||
12946 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12947 | PyObject *resultobj; | |
12948 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
12949 | PyObject * obj0 = 0 ; | |
12950 | char *kwnames[] = { | |
12951 | (char *) "self", NULL | |
12952 | }; | |
12953 | ||
12954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
12955 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12956 | { | |
12957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12958 | (arg1)->Activate(); | |
12959 | ||
12960 | wxPyEndAllowThreads(__tstate); | |
12961 | if (PyErr_Occurred()) SWIG_fail; | |
12962 | } | |
12963 | Py_INCREF(Py_None); resultobj = Py_None; | |
12964 | return resultobj; | |
12965 | fail: | |
12966 | return NULL; | |
12967 | } | |
12968 | ||
12969 | ||
12970 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12971 | PyObject *resultobj; | |
12972 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
12973 | bool arg2 ; | |
12974 | PyObject * obj0 = 0 ; | |
12975 | PyObject * obj1 = 0 ; | |
12976 | char *kwnames[] = { | |
12977 | (char *) "self",(char *) "maximize", NULL | |
12978 | }; | |
12979 | ||
12980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
12981 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12982 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
12983 | if (PyErr_Occurred()) SWIG_fail; | |
12984 | { | |
12985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12986 | (arg1)->Maximize(arg2); | |
12987 | ||
12988 | wxPyEndAllowThreads(__tstate); | |
12989 | if (PyErr_Occurred()) SWIG_fail; | |
12990 | } | |
12991 | Py_INCREF(Py_None); resultobj = Py_None; | |
12992 | return resultobj; | |
12993 | fail: | |
12994 | return NULL; | |
12995 | } | |
12996 | ||
12997 | ||
12998 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12999 | PyObject *resultobj; | |
13000 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
13001 | PyObject * obj0 = 0 ; | |
13002 | char *kwnames[] = { | |
13003 | (char *) "self", NULL | |
13004 | }; | |
13005 | ||
13006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
13007 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13008 | { | |
13009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13010 | (arg1)->Restore(); | |
13011 | ||
13012 | wxPyEndAllowThreads(__tstate); | |
13013 | if (PyErr_Occurred()) SWIG_fail; | |
13014 | } | |
13015 | Py_INCREF(Py_None); resultobj = Py_None; | |
13016 | return resultobj; | |
13017 | fail: | |
13018 | return NULL; | |
13019 | } | |
13020 | ||
13021 | ||
13022 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
13023 | PyObject *obj; | |
13024 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13025 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
13026 | Py_INCREF(obj); | |
13027 | return Py_BuildValue((char *)""); | |
13028 | } | |
13029 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13030 | PyObject *resultobj; | |
13031 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13032 | long arg2 = (long) 0 ; | |
13033 | wxMDIClientWindow *result; | |
13034 | PyObject * obj0 = 0 ; | |
13035 | char *kwnames[] = { | |
13036 | (char *) "parent",(char *) "style", NULL | |
13037 | }; | |
13038 | ||
13039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail; | |
13040 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13041 | { | |
13042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13043 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
13044 | ||
13045 | wxPyEndAllowThreads(__tstate); | |
13046 | if (PyErr_Occurred()) SWIG_fail; | |
13047 | } | |
13048 | { | |
13049 | resultobj = wxPyMake_wxObject(result); | |
13050 | } | |
13051 | return resultobj; | |
13052 | fail: | |
13053 | return NULL; | |
13054 | } | |
13055 | ||
13056 | ||
13057 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13058 | PyObject *resultobj; | |
13059 | wxMDIClientWindow *result; | |
13060 | char *kwnames[] = { | |
13061 | NULL | |
13062 | }; | |
13063 | ||
13064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
13065 | { | |
13066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13067 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
13068 | ||
13069 | wxPyEndAllowThreads(__tstate); | |
13070 | if (PyErr_Occurred()) SWIG_fail; | |
13071 | } | |
13072 | { | |
13073 | resultobj = wxPyMake_wxObject(result); | |
13074 | } | |
13075 | return resultobj; | |
13076 | fail: | |
13077 | return NULL; | |
13078 | } | |
13079 | ||
13080 | ||
13081 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13082 | PyObject *resultobj; | |
13083 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
13084 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
13085 | long arg3 = (long) 0 ; | |
13086 | bool result; | |
13087 | PyObject * obj0 = 0 ; | |
13088 | PyObject * obj1 = 0 ; | |
13089 | char *kwnames[] = { | |
13090 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
13091 | }; | |
13092 | ||
13093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
13094 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13095 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13096 | { | |
13097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13098 | result = (bool)(arg1)->Create(arg2,arg3); | |
13099 | ||
13100 | wxPyEndAllowThreads(__tstate); | |
13101 | if (PyErr_Occurred()) SWIG_fail; | |
13102 | } | |
13103 | resultobj = PyInt_FromLong((long)result); | |
13104 | return resultobj; | |
13105 | fail: | |
13106 | return NULL; | |
13107 | } | |
13108 | ||
13109 | ||
13110 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
13111 | PyObject *obj; | |
13112 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13113 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
13114 | Py_INCREF(obj); | |
13115 | return Py_BuildValue((char *)""); | |
13116 | } | |
13117 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13118 | PyObject *resultobj; | |
13119 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13120 | int arg2 ; | |
13121 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
13122 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
13123 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
13124 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
13125 | long arg5 = (long) 0 ; | |
13126 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
13127 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
13128 | wxPyWindow *result; | |
13129 | wxPoint temp3 ; | |
13130 | wxSize temp4 ; | |
13131 | bool temp6 = False ; | |
13132 | PyObject * obj0 = 0 ; | |
13133 | PyObject * obj2 = 0 ; | |
13134 | PyObject * obj3 = 0 ; | |
13135 | PyObject * obj5 = 0 ; | |
13136 | char *kwnames[] = { | |
13137 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13138 | }; | |
13139 | ||
13140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
13141 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13142 | if (obj2) { | |
13143 | { | |
13144 | arg3 = &temp3; | |
13145 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
13146 | } | |
13147 | } | |
13148 | if (obj3) { | |
13149 | { | |
13150 | arg4 = &temp4; | |
13151 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13152 | } | |
13153 | } | |
13154 | if (obj5) { | |
13155 | { | |
13156 | arg6 = wxString_in_helper(obj5); | |
13157 | if (arg6 == NULL) SWIG_fail; | |
13158 | temp6 = True; | |
13159 | } | |
13160 | } | |
13161 | { | |
13162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13163 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
13164 | ||
13165 | wxPyEndAllowThreads(__tstate); | |
13166 | if (PyErr_Occurred()) SWIG_fail; | |
13167 | } | |
13168 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1); | |
13169 | { | |
13170 | if (temp6) | |
13171 | delete arg6; | |
13172 | } | |
13173 | return resultobj; | |
13174 | fail: | |
13175 | { | |
13176 | if (temp6) | |
13177 | delete arg6; | |
13178 | } | |
13179 | return NULL; | |
13180 | } | |
13181 | ||
13182 | ||
13183 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13184 | PyObject *resultobj; | |
13185 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13186 | PyObject *arg2 = (PyObject *) 0 ; | |
13187 | PyObject *arg3 = (PyObject *) 0 ; | |
13188 | PyObject * obj0 = 0 ; | |
13189 | PyObject * obj1 = 0 ; | |
13190 | PyObject * obj2 = 0 ; | |
13191 | char *kwnames[] = { | |
13192 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
13193 | }; | |
13194 | ||
13195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13196 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13197 | arg2 = obj1; | |
13198 | arg3 = obj2; | |
13199 | { | |
13200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13201 | (arg1)->_setCallbackInfo(arg2,arg3); | |
13202 | ||
13203 | wxPyEndAllowThreads(__tstate); | |
13204 | if (PyErr_Occurred()) SWIG_fail; | |
13205 | } | |
13206 | Py_INCREF(Py_None); resultobj = Py_None; | |
13207 | return resultobj; | |
13208 | fail: | |
13209 | return NULL; | |
13210 | } | |
13211 | ||
13212 | ||
13213 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13214 | PyObject *resultobj; | |
13215 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13216 | int arg2 ; | |
13217 | int arg3 ; | |
13218 | int arg4 ; | |
13219 | int arg5 ; | |
13220 | PyObject * obj0 = 0 ; | |
13221 | char *kwnames[] = { | |
13222 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
13223 | }; | |
13224 | ||
13225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail; | |
13226 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13227 | { | |
13228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13229 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
13230 | ||
13231 | wxPyEndAllowThreads(__tstate); | |
13232 | if (PyErr_Occurred()) SWIG_fail; | |
13233 | } | |
13234 | Py_INCREF(Py_None); resultobj = Py_None; | |
13235 | return resultobj; | |
13236 | fail: | |
13237 | return NULL; | |
13238 | } | |
13239 | ||
13240 | ||
13241 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13242 | PyObject *resultobj; | |
13243 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13244 | int arg2 ; | |
13245 | int arg3 ; | |
13246 | int arg4 ; | |
13247 | int arg5 ; | |
13248 | int arg6 = (int) wxSIZE_AUTO ; | |
13249 | PyObject * obj0 = 0 ; | |
13250 | char *kwnames[] = { | |
13251 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
13252 | }; | |
13253 | ||
13254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
13255 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13256 | { | |
13257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13258 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
13259 | ||
13260 | wxPyEndAllowThreads(__tstate); | |
13261 | if (PyErr_Occurred()) SWIG_fail; | |
13262 | } | |
13263 | Py_INCREF(Py_None); resultobj = Py_None; | |
13264 | return resultobj; | |
13265 | fail: | |
13266 | return NULL; | |
13267 | } | |
13268 | ||
13269 | ||
13270 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13271 | PyObject *resultobj; | |
13272 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13273 | int arg2 ; | |
13274 | int arg3 ; | |
13275 | PyObject * obj0 = 0 ; | |
13276 | char *kwnames[] = { | |
13277 | (char *) "self",(char *) "width",(char *) "height", NULL | |
13278 | }; | |
13279 | ||
13280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
13281 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13282 | { | |
13283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13284 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
13285 | ||
13286 | wxPyEndAllowThreads(__tstate); | |
13287 | if (PyErr_Occurred()) SWIG_fail; | |
13288 | } | |
13289 | Py_INCREF(Py_None); resultobj = Py_None; | |
13290 | return resultobj; | |
13291 | fail: | |
13292 | return NULL; | |
13293 | } | |
13294 | ||
13295 | ||
13296 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13297 | PyObject *resultobj; | |
13298 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13299 | int arg2 ; | |
13300 | int arg3 ; | |
13301 | PyObject * obj0 = 0 ; | |
13302 | char *kwnames[] = { | |
13303 | (char *) "self",(char *) "x",(char *) "y", NULL | |
13304 | }; | |
13305 | ||
13306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
13307 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13308 | { | |
13309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13310 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
13311 | ||
13312 | wxPyEndAllowThreads(__tstate); | |
13313 | if (PyErr_Occurred()) SWIG_fail; | |
13314 | } | |
13315 | Py_INCREF(Py_None); resultobj = Py_None; | |
13316 | return resultobj; | |
13317 | fail: | |
13318 | return NULL; | |
13319 | } | |
13320 | ||
13321 | ||
13322 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13323 | PyObject *resultobj; | |
13324 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13325 | int *arg2 = (int *) 0 ; | |
13326 | int *arg3 = (int *) 0 ; | |
13327 | int temp2 ; | |
13328 | int temp3 ; | |
13329 | PyObject * obj0 = 0 ; | |
13330 | char *kwnames[] = { | |
13331 | (char *) "self", NULL | |
13332 | }; | |
13333 | ||
13334 | arg2 = &temp2; | |
13335 | arg3 = &temp3; | |
13336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
13337 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13338 | { | |
13339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13340 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
13341 | ||
13342 | wxPyEndAllowThreads(__tstate); | |
13343 | if (PyErr_Occurred()) SWIG_fail; | |
13344 | } | |
13345 | Py_INCREF(Py_None); resultobj = Py_None; | |
13346 | { | |
13347 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
13348 | resultobj = t_output_helper(resultobj,o); | |
13349 | } | |
13350 | { | |
13351 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
13352 | resultobj = t_output_helper(resultobj,o); | |
13353 | } | |
13354 | return resultobj; | |
13355 | fail: | |
13356 | return NULL; | |
13357 | } | |
13358 | ||
13359 | ||
13360 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13361 | PyObject *resultobj; | |
13362 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13363 | int *arg2 = (int *) 0 ; | |
13364 | int *arg3 = (int *) 0 ; | |
13365 | int temp2 ; | |
13366 | int temp3 ; | |
13367 | PyObject * obj0 = 0 ; | |
13368 | char *kwnames[] = { | |
13369 | (char *) "self", NULL | |
13370 | }; | |
13371 | ||
13372 | arg2 = &temp2; | |
13373 | arg3 = &temp3; | |
13374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
13375 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13376 | { | |
13377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13378 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
13379 | ||
13380 | wxPyEndAllowThreads(__tstate); | |
13381 | if (PyErr_Occurred()) SWIG_fail; | |
13382 | } | |
13383 | Py_INCREF(Py_None); resultobj = Py_None; | |
13384 | { | |
13385 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
13386 | resultobj = t_output_helper(resultobj,o); | |
13387 | } | |
13388 | { | |
13389 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
13390 | resultobj = t_output_helper(resultobj,o); | |
13391 | } | |
13392 | return resultobj; | |
13393 | fail: | |
13394 | return NULL; | |
13395 | } | |
13396 | ||
13397 | ||
13398 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13399 | PyObject *resultobj; | |
13400 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13401 | int *arg2 = (int *) 0 ; | |
13402 | int *arg3 = (int *) 0 ; | |
13403 | int temp2 ; | |
13404 | int temp3 ; | |
13405 | PyObject * obj0 = 0 ; | |
13406 | char *kwnames[] = { | |
13407 | (char *) "self", NULL | |
13408 | }; | |
13409 | ||
13410 | arg2 = &temp2; | |
13411 | arg3 = &temp3; | |
13412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
13413 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13414 | { | |
13415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13416 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
13417 | ||
13418 | wxPyEndAllowThreads(__tstate); | |
13419 | if (PyErr_Occurred()) SWIG_fail; | |
13420 | } | |
13421 | Py_INCREF(Py_None); resultobj = Py_None; | |
13422 | { | |
13423 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
13424 | resultobj = t_output_helper(resultobj,o); | |
13425 | } | |
13426 | { | |
13427 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
13428 | resultobj = t_output_helper(resultobj,o); | |
13429 | } | |
13430 | return resultobj; | |
13431 | fail: | |
13432 | return NULL; | |
13433 | } | |
13434 | ||
13435 | ||
13436 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13437 | PyObject *resultobj; | |
13438 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13439 | wxSize result; | |
13440 | PyObject * obj0 = 0 ; | |
13441 | char *kwnames[] = { | |
13442 | (char *) "self", NULL | |
13443 | }; | |
13444 | ||
13445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
13446 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13447 | { | |
13448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13449 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
13450 | ||
13451 | wxPyEndAllowThreads(__tstate); | |
13452 | if (PyErr_Occurred()) SWIG_fail; | |
13453 | } | |
13454 | { | |
13455 | wxSize * resultptr; | |
13456 | resultptr = new wxSize((wxSize &) result); | |
13457 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
13458 | } | |
13459 | return resultobj; | |
13460 | fail: | |
13461 | return NULL; | |
13462 | } | |
13463 | ||
13464 | ||
13465 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13466 | PyObject *resultobj; | |
13467 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13468 | wxSize result; | |
13469 | PyObject * obj0 = 0 ; | |
13470 | char *kwnames[] = { | |
13471 | (char *) "self", NULL | |
13472 | }; | |
13473 | ||
13474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
13475 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13476 | { | |
13477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13478 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
13479 | ||
13480 | wxPyEndAllowThreads(__tstate); | |
13481 | if (PyErr_Occurred()) SWIG_fail; | |
13482 | } | |
13483 | { | |
13484 | wxSize * resultptr; | |
13485 | resultptr = new wxSize((wxSize &) result); | |
13486 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
13487 | } | |
13488 | return resultobj; | |
13489 | fail: | |
13490 | return NULL; | |
13491 | } | |
13492 | ||
13493 | ||
13494 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13495 | PyObject *resultobj; | |
13496 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13497 | PyObject * obj0 = 0 ; | |
13498 | char *kwnames[] = { | |
13499 | (char *) "self", NULL | |
13500 | }; | |
13501 | ||
13502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
13503 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13504 | { | |
13505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13506 | (arg1)->base_InitDialog(); | |
13507 | ||
13508 | wxPyEndAllowThreads(__tstate); | |
13509 | if (PyErr_Occurred()) SWIG_fail; | |
13510 | } | |
13511 | Py_INCREF(Py_None); resultobj = Py_None; | |
13512 | return resultobj; | |
13513 | fail: | |
13514 | return NULL; | |
13515 | } | |
13516 | ||
13517 | ||
13518 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13519 | PyObject *resultobj; | |
13520 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13521 | bool result; | |
13522 | PyObject * obj0 = 0 ; | |
13523 | char *kwnames[] = { | |
13524 | (char *) "self", NULL | |
13525 | }; | |
13526 | ||
13527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
13528 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13529 | { | |
13530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13531 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
13532 | ||
13533 | wxPyEndAllowThreads(__tstate); | |
13534 | if (PyErr_Occurred()) SWIG_fail; | |
13535 | } | |
13536 | resultobj = PyInt_FromLong((long)result); | |
13537 | return resultobj; | |
13538 | fail: | |
13539 | return NULL; | |
13540 | } | |
13541 | ||
13542 | ||
13543 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13544 | PyObject *resultobj; | |
13545 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13546 | bool result; | |
13547 | PyObject * obj0 = 0 ; | |
13548 | char *kwnames[] = { | |
13549 | (char *) "self", NULL | |
13550 | }; | |
13551 | ||
13552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
13553 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13554 | { | |
13555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13556 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
13557 | ||
13558 | wxPyEndAllowThreads(__tstate); | |
13559 | if (PyErr_Occurred()) SWIG_fail; | |
13560 | } | |
13561 | resultobj = PyInt_FromLong((long)result); | |
13562 | return resultobj; | |
13563 | fail: | |
13564 | return NULL; | |
13565 | } | |
13566 | ||
13567 | ||
13568 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13569 | PyObject *resultobj; | |
13570 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13571 | bool result; | |
13572 | PyObject * obj0 = 0 ; | |
13573 | char *kwnames[] = { | |
13574 | (char *) "self", NULL | |
13575 | }; | |
13576 | ||
13577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
13578 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13579 | { | |
13580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13581 | result = (bool)(arg1)->base_Validate(); | |
13582 | ||
13583 | wxPyEndAllowThreads(__tstate); | |
13584 | if (PyErr_Occurred()) SWIG_fail; | |
13585 | } | |
13586 | resultobj = PyInt_FromLong((long)result); | |
13587 | return resultobj; | |
13588 | fail: | |
13589 | return NULL; | |
13590 | } | |
13591 | ||
13592 | ||
13593 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13594 | PyObject *resultobj; | |
13595 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13596 | bool result; | |
13597 | PyObject * obj0 = 0 ; | |
13598 | char *kwnames[] = { | |
13599 | (char *) "self", NULL | |
13600 | }; | |
13601 | ||
13602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
13603 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13604 | { | |
13605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13606 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
13607 | ||
13608 | wxPyEndAllowThreads(__tstate); | |
13609 | if (PyErr_Occurred()) SWIG_fail; | |
13610 | } | |
13611 | resultobj = PyInt_FromLong((long)result); | |
13612 | return resultobj; | |
13613 | fail: | |
13614 | return NULL; | |
13615 | } | |
13616 | ||
13617 | ||
13618 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13619 | PyObject *resultobj; | |
13620 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13621 | bool result; | |
13622 | PyObject * obj0 = 0 ; | |
13623 | char *kwnames[] = { | |
13624 | (char *) "self", NULL | |
13625 | }; | |
13626 | ||
13627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
13628 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13629 | { | |
13630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13631 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
13632 | ||
13633 | wxPyEndAllowThreads(__tstate); | |
13634 | if (PyErr_Occurred()) SWIG_fail; | |
13635 | } | |
13636 | resultobj = PyInt_FromLong((long)result); | |
13637 | return resultobj; | |
13638 | fail: | |
13639 | return NULL; | |
13640 | } | |
13641 | ||
13642 | ||
13643 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13644 | PyObject *resultobj; | |
13645 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13646 | wxSize result; | |
13647 | PyObject * obj0 = 0 ; | |
13648 | char *kwnames[] = { | |
13649 | (char *) "self", NULL | |
13650 | }; | |
13651 | ||
13652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
13653 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13654 | { | |
13655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13656 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
13657 | ||
13658 | wxPyEndAllowThreads(__tstate); | |
13659 | if (PyErr_Occurred()) SWIG_fail; | |
13660 | } | |
13661 | { | |
13662 | wxSize * resultptr; | |
13663 | resultptr = new wxSize((wxSize &) result); | |
13664 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
13665 | } | |
13666 | return resultobj; | |
13667 | fail: | |
13668 | return NULL; | |
13669 | } | |
13670 | ||
13671 | ||
13672 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13673 | PyObject *resultobj; | |
13674 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13675 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13676 | PyObject * obj0 = 0 ; | |
13677 | PyObject * obj1 = 0 ; | |
13678 | char *kwnames[] = { | |
13679 | (char *) "self",(char *) "child", NULL | |
13680 | }; | |
13681 | ||
13682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
13683 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13684 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13685 | { | |
13686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13687 | (arg1)->base_AddChild(arg2); | |
13688 | ||
13689 | wxPyEndAllowThreads(__tstate); | |
13690 | if (PyErr_Occurred()) SWIG_fail; | |
13691 | } | |
13692 | Py_INCREF(Py_None); resultobj = Py_None; | |
13693 | return resultobj; | |
13694 | fail: | |
13695 | return NULL; | |
13696 | } | |
13697 | ||
13698 | ||
13699 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13700 | PyObject *resultobj; | |
13701 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13702 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13703 | PyObject * obj0 = 0 ; | |
13704 | PyObject * obj1 = 0 ; | |
13705 | char *kwnames[] = { | |
13706 | (char *) "self",(char *) "child", NULL | |
13707 | }; | |
13708 | ||
13709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
13710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13711 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13712 | { | |
13713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13714 | (arg1)->base_RemoveChild(arg2); | |
13715 | ||
13716 | wxPyEndAllowThreads(__tstate); | |
13717 | if (PyErr_Occurred()) SWIG_fail; | |
13718 | } | |
13719 | Py_INCREF(Py_None); resultobj = Py_None; | |
13720 | return resultobj; | |
13721 | fail: | |
13722 | return NULL; | |
13723 | } | |
13724 | ||
13725 | ||
13726 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { | |
13727 | PyObject *obj; | |
13728 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13729 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
13730 | Py_INCREF(obj); | |
13731 | return Py_BuildValue((char *)""); | |
13732 | } | |
13733 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13734 | PyObject *resultobj; | |
13735 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13736 | int arg2 ; | |
13737 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
13738 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
13739 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
13740 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
13741 | long arg5 = (long) 0 ; | |
13742 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
13743 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
13744 | wxPyPanel *result; | |
13745 | wxPoint temp3 ; | |
13746 | wxSize temp4 ; | |
13747 | bool temp6 = False ; | |
13748 | PyObject * obj0 = 0 ; | |
13749 | PyObject * obj2 = 0 ; | |
13750 | PyObject * obj3 = 0 ; | |
13751 | PyObject * obj5 = 0 ; | |
13752 | char *kwnames[] = { | |
13753 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13754 | }; | |
13755 | ||
13756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
13757 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13758 | if (obj2) { | |
13759 | { | |
13760 | arg3 = &temp3; | |
13761 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
13762 | } | |
13763 | } | |
13764 | if (obj3) { | |
13765 | { | |
13766 | arg4 = &temp4; | |
13767 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13768 | } | |
13769 | } | |
13770 | if (obj5) { | |
13771 | { | |
13772 | arg6 = wxString_in_helper(obj5); | |
13773 | if (arg6 == NULL) SWIG_fail; | |
13774 | temp6 = True; | |
13775 | } | |
13776 | } | |
13777 | { | |
13778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13779 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
13780 | ||
13781 | wxPyEndAllowThreads(__tstate); | |
13782 | if (PyErr_Occurred()) SWIG_fail; | |
13783 | } | |
13784 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1); | |
13785 | { | |
13786 | if (temp6) | |
13787 | delete arg6; | |
13788 | } | |
13789 | return resultobj; | |
13790 | fail: | |
13791 | { | |
13792 | if (temp6) | |
13793 | delete arg6; | |
13794 | } | |
13795 | return NULL; | |
13796 | } | |
13797 | ||
13798 | ||
13799 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13800 | PyObject *resultobj; | |
13801 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
13802 | PyObject *arg2 = (PyObject *) 0 ; | |
13803 | PyObject *arg3 = (PyObject *) 0 ; | |
13804 | PyObject * obj0 = 0 ; | |
13805 | PyObject * obj1 = 0 ; | |
13806 | PyObject * obj2 = 0 ; | |
13807 | char *kwnames[] = { | |
13808 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
13809 | }; | |
13810 | ||
13811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13812 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13813 | arg2 = obj1; | |
13814 | arg3 = obj2; | |
13815 | { | |
13816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13817 | (arg1)->_setCallbackInfo(arg2,arg3); | |
13818 | ||
13819 | wxPyEndAllowThreads(__tstate); | |
13820 | if (PyErr_Occurred()) SWIG_fail; | |
13821 | } | |
13822 | Py_INCREF(Py_None); resultobj = Py_None; | |
13823 | return resultobj; | |
13824 | fail: | |
13825 | return NULL; | |
13826 | } | |
13827 | ||
13828 | ||
13829 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13830 | PyObject *resultobj; | |
13831 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
13832 | int arg2 ; | |
13833 | int arg3 ; | |
13834 | int arg4 ; | |
13835 | int arg5 ; | |
13836 | PyObject * obj0 = 0 ; | |
13837 | char *kwnames[] = { | |
13838 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
13839 | }; | |
13840 | ||
13841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail; | |
13842 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13843 | { | |
13844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13845 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
13846 | ||
13847 | wxPyEndAllowThreads(__tstate); | |
13848 | if (PyErr_Occurred()) SWIG_fail; | |
13849 | } | |
13850 | Py_INCREF(Py_None); resultobj = Py_None; | |
13851 | return resultobj; | |
13852 | fail: | |
13853 | return NULL; | |
13854 | } | |
13855 | ||
13856 | ||
13857 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13858 | PyObject *resultobj; | |
13859 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
13860 | int arg2 ; | |
13861 | int arg3 ; | |
13862 | int arg4 ; | |
13863 | int arg5 ; | |
13864 | int arg6 = (int) wxSIZE_AUTO ; | |
13865 | PyObject * obj0 = 0 ; | |
13866 | char *kwnames[] = { | |
13867 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
13868 | }; | |
13869 | ||
13870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
13871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13872 | { | |
13873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13874 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
13875 | ||
13876 | wxPyEndAllowThreads(__tstate); | |
13877 | if (PyErr_Occurred()) SWIG_fail; | |
13878 | } | |
13879 | Py_INCREF(Py_None); resultobj = Py_None; | |
13880 | return resultobj; | |
13881 | fail: | |
13882 | return NULL; | |
13883 | } | |
13884 | ||
13885 | ||
13886 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13887 | PyObject *resultobj; | |
13888 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
13889 | int arg2 ; | |
13890 | int arg3 ; | |
13891 | PyObject * obj0 = 0 ; | |
13892 | char *kwnames[] = { | |
13893 | (char *) "self",(char *) "width",(char *) "height", NULL | |
13894 | }; | |
13895 | ||
13896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
13897 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13898 | { | |
13899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13900 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
13901 | ||
13902 | wxPyEndAllowThreads(__tstate); | |
13903 | if (PyErr_Occurred()) SWIG_fail; | |
13904 | } | |
13905 | Py_INCREF(Py_None); resultobj = Py_None; | |
13906 | return resultobj; | |
13907 | fail: | |
13908 | return NULL; | |
13909 | } | |
13910 | ||
13911 | ||
13912 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13913 | PyObject *resultobj; | |
13914 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
13915 | int arg2 ; | |
13916 | int arg3 ; | |
13917 | PyObject * obj0 = 0 ; | |
13918 | char *kwnames[] = { | |
13919 | (char *) "self",(char *) "x",(char *) "y", NULL | |
13920 | }; | |
13921 | ||
13922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
13923 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13924 | { | |
13925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13926 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
13927 | ||
13928 | wxPyEndAllowThreads(__tstate); | |
13929 | if (PyErr_Occurred()) SWIG_fail; | |
13930 | } | |
13931 | Py_INCREF(Py_None); resultobj = Py_None; | |
13932 | return resultobj; | |
13933 | fail: | |
13934 | return NULL; | |
13935 | } | |
13936 | ||
13937 | ||
13938 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13939 | PyObject *resultobj; | |
13940 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
13941 | int *arg2 = (int *) 0 ; | |
13942 | int *arg3 = (int *) 0 ; | |
13943 | int temp2 ; | |
13944 | int temp3 ; | |
13945 | PyObject * obj0 = 0 ; | |
13946 | char *kwnames[] = { | |
13947 | (char *) "self", NULL | |
13948 | }; | |
13949 | ||
13950 | arg2 = &temp2; | |
13951 | arg3 = &temp3; | |
13952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
13953 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13954 | { | |
13955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13956 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
13957 | ||
13958 | wxPyEndAllowThreads(__tstate); | |
13959 | if (PyErr_Occurred()) SWIG_fail; | |
13960 | } | |
13961 | Py_INCREF(Py_None); resultobj = Py_None; | |
13962 | { | |
13963 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
13964 | resultobj = t_output_helper(resultobj,o); | |
13965 | } | |
13966 | { | |
13967 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
13968 | resultobj = t_output_helper(resultobj,o); | |
13969 | } | |
13970 | return resultobj; | |
13971 | fail: | |
13972 | return NULL; | |
13973 | } | |
13974 | ||
13975 | ||
13976 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13977 | PyObject *resultobj; | |
13978 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
13979 | int *arg2 = (int *) 0 ; | |
13980 | int *arg3 = (int *) 0 ; | |
13981 | int temp2 ; | |
13982 | int temp3 ; | |
13983 | PyObject * obj0 = 0 ; | |
13984 | char *kwnames[] = { | |
13985 | (char *) "self", NULL | |
13986 | }; | |
13987 | ||
13988 | arg2 = &temp2; | |
13989 | arg3 = &temp3; | |
13990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
13991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13992 | { | |
13993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13994 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
13995 | ||
13996 | wxPyEndAllowThreads(__tstate); | |
13997 | if (PyErr_Occurred()) SWIG_fail; | |
13998 | } | |
13999 | Py_INCREF(Py_None); resultobj = Py_None; | |
14000 | { | |
14001 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14002 | resultobj = t_output_helper(resultobj,o); | |
14003 | } | |
14004 | { | |
14005 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14006 | resultobj = t_output_helper(resultobj,o); | |
14007 | } | |
14008 | return resultobj; | |
14009 | fail: | |
14010 | return NULL; | |
14011 | } | |
14012 | ||
14013 | ||
14014 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14015 | PyObject *resultobj; | |
14016 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14017 | int *arg2 = (int *) 0 ; | |
14018 | int *arg3 = (int *) 0 ; | |
14019 | int temp2 ; | |
14020 | int temp3 ; | |
14021 | PyObject * obj0 = 0 ; | |
14022 | char *kwnames[] = { | |
14023 | (char *) "self", NULL | |
14024 | }; | |
14025 | ||
14026 | arg2 = &temp2; | |
14027 | arg3 = &temp3; | |
14028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
14029 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14030 | { | |
14031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14032 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
14033 | ||
14034 | wxPyEndAllowThreads(__tstate); | |
14035 | if (PyErr_Occurred()) SWIG_fail; | |
14036 | } | |
14037 | Py_INCREF(Py_None); resultobj = Py_None; | |
14038 | { | |
14039 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14040 | resultobj = t_output_helper(resultobj,o); | |
14041 | } | |
14042 | { | |
14043 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14044 | resultobj = t_output_helper(resultobj,o); | |
14045 | } | |
14046 | return resultobj; | |
14047 | fail: | |
14048 | return NULL; | |
14049 | } | |
14050 | ||
14051 | ||
14052 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14053 | PyObject *resultobj; | |
14054 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14055 | wxSize result; | |
14056 | PyObject * obj0 = 0 ; | |
14057 | char *kwnames[] = { | |
14058 | (char *) "self", NULL | |
14059 | }; | |
14060 | ||
14061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
14062 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14063 | { | |
14064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14065 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
14066 | ||
14067 | wxPyEndAllowThreads(__tstate); | |
14068 | if (PyErr_Occurred()) SWIG_fail; | |
14069 | } | |
14070 | { | |
14071 | wxSize * resultptr; | |
14072 | resultptr = new wxSize((wxSize &) result); | |
14073 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
14074 | } | |
14075 | return resultobj; | |
14076 | fail: | |
14077 | return NULL; | |
14078 | } | |
14079 | ||
14080 | ||
14081 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14082 | PyObject *resultobj; | |
14083 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14084 | wxSize result; | |
14085 | PyObject * obj0 = 0 ; | |
14086 | char *kwnames[] = { | |
14087 | (char *) "self", NULL | |
14088 | }; | |
14089 | ||
14090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
14091 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14092 | { | |
14093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14094 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
14095 | ||
14096 | wxPyEndAllowThreads(__tstate); | |
14097 | if (PyErr_Occurred()) SWIG_fail; | |
14098 | } | |
14099 | { | |
14100 | wxSize * resultptr; | |
14101 | resultptr = new wxSize((wxSize &) result); | |
14102 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
14103 | } | |
14104 | return resultobj; | |
14105 | fail: | |
14106 | return NULL; | |
14107 | } | |
14108 | ||
14109 | ||
14110 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14111 | PyObject *resultobj; | |
14112 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14113 | PyObject * obj0 = 0 ; | |
14114 | char *kwnames[] = { | |
14115 | (char *) "self", NULL | |
14116 | }; | |
14117 | ||
14118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
14119 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14120 | { | |
14121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14122 | (arg1)->base_InitDialog(); | |
14123 | ||
14124 | wxPyEndAllowThreads(__tstate); | |
14125 | if (PyErr_Occurred()) SWIG_fail; | |
14126 | } | |
14127 | Py_INCREF(Py_None); resultobj = Py_None; | |
14128 | return resultobj; | |
14129 | fail: | |
14130 | return NULL; | |
14131 | } | |
14132 | ||
14133 | ||
14134 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14135 | PyObject *resultobj; | |
14136 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14137 | bool result; | |
14138 | PyObject * obj0 = 0 ; | |
14139 | char *kwnames[] = { | |
14140 | (char *) "self", NULL | |
14141 | }; | |
14142 | ||
14143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
14144 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14145 | { | |
14146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14147 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
14148 | ||
14149 | wxPyEndAllowThreads(__tstate); | |
14150 | if (PyErr_Occurred()) SWIG_fail; | |
14151 | } | |
14152 | resultobj = PyInt_FromLong((long)result); | |
14153 | return resultobj; | |
14154 | fail: | |
14155 | return NULL; | |
14156 | } | |
14157 | ||
14158 | ||
14159 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14160 | PyObject *resultobj; | |
14161 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14162 | bool result; | |
14163 | PyObject * obj0 = 0 ; | |
14164 | char *kwnames[] = { | |
14165 | (char *) "self", NULL | |
14166 | }; | |
14167 | ||
14168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
14169 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14170 | { | |
14171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14172 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
14173 | ||
14174 | wxPyEndAllowThreads(__tstate); | |
14175 | if (PyErr_Occurred()) SWIG_fail; | |
14176 | } | |
14177 | resultobj = PyInt_FromLong((long)result); | |
14178 | return resultobj; | |
14179 | fail: | |
14180 | return NULL; | |
14181 | } | |
14182 | ||
14183 | ||
14184 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14185 | PyObject *resultobj; | |
14186 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14187 | bool result; | |
14188 | PyObject * obj0 = 0 ; | |
14189 | char *kwnames[] = { | |
14190 | (char *) "self", NULL | |
14191 | }; | |
14192 | ||
14193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
14194 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14195 | { | |
14196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14197 | result = (bool)(arg1)->base_Validate(); | |
14198 | ||
14199 | wxPyEndAllowThreads(__tstate); | |
14200 | if (PyErr_Occurred()) SWIG_fail; | |
14201 | } | |
14202 | resultobj = PyInt_FromLong((long)result); | |
14203 | return resultobj; | |
14204 | fail: | |
14205 | return NULL; | |
14206 | } | |
14207 | ||
14208 | ||
14209 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14210 | PyObject *resultobj; | |
14211 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14212 | bool result; | |
14213 | PyObject * obj0 = 0 ; | |
14214 | char *kwnames[] = { | |
14215 | (char *) "self", NULL | |
14216 | }; | |
14217 | ||
14218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
14219 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14220 | { | |
14221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14222 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
14223 | ||
14224 | wxPyEndAllowThreads(__tstate); | |
14225 | if (PyErr_Occurred()) SWIG_fail; | |
14226 | } | |
14227 | resultobj = PyInt_FromLong((long)result); | |
14228 | return resultobj; | |
14229 | fail: | |
14230 | return NULL; | |
14231 | } | |
14232 | ||
14233 | ||
14234 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14235 | PyObject *resultobj; | |
14236 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14237 | bool result; | |
14238 | PyObject * obj0 = 0 ; | |
14239 | char *kwnames[] = { | |
14240 | (char *) "self", NULL | |
14241 | }; | |
14242 | ||
14243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
14244 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14245 | { | |
14246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14247 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
14248 | ||
14249 | wxPyEndAllowThreads(__tstate); | |
14250 | if (PyErr_Occurred()) SWIG_fail; | |
14251 | } | |
14252 | resultobj = PyInt_FromLong((long)result); | |
14253 | return resultobj; | |
14254 | fail: | |
14255 | return NULL; | |
14256 | } | |
14257 | ||
14258 | ||
14259 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14260 | PyObject *resultobj; | |
14261 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14262 | wxSize result; | |
14263 | PyObject * obj0 = 0 ; | |
14264 | char *kwnames[] = { | |
14265 | (char *) "self", NULL | |
14266 | }; | |
14267 | ||
14268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
14269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14270 | { | |
14271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14272 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
14273 | ||
14274 | wxPyEndAllowThreads(__tstate); | |
14275 | if (PyErr_Occurred()) SWIG_fail; | |
14276 | } | |
14277 | { | |
14278 | wxSize * resultptr; | |
14279 | resultptr = new wxSize((wxSize &) result); | |
14280 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
14281 | } | |
14282 | return resultobj; | |
14283 | fail: | |
14284 | return NULL; | |
14285 | } | |
14286 | ||
14287 | ||
14288 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14289 | PyObject *resultobj; | |
14290 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14291 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14292 | PyObject * obj0 = 0 ; | |
14293 | PyObject * obj1 = 0 ; | |
14294 | char *kwnames[] = { | |
14295 | (char *) "self",(char *) "child", NULL | |
14296 | }; | |
14297 | ||
14298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
14299 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14300 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14301 | { | |
14302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14303 | (arg1)->base_AddChild(arg2); | |
14304 | ||
14305 | wxPyEndAllowThreads(__tstate); | |
14306 | if (PyErr_Occurred()) SWIG_fail; | |
14307 | } | |
14308 | Py_INCREF(Py_None); resultobj = Py_None; | |
14309 | return resultobj; | |
14310 | fail: | |
14311 | return NULL; | |
14312 | } | |
14313 | ||
14314 | ||
14315 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14316 | PyObject *resultobj; | |
14317 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14318 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14319 | PyObject * obj0 = 0 ; | |
14320 | PyObject * obj1 = 0 ; | |
14321 | char *kwnames[] = { | |
14322 | (char *) "self",(char *) "child", NULL | |
14323 | }; | |
14324 | ||
14325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
14326 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14327 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14328 | { | |
14329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14330 | (arg1)->base_RemoveChild(arg2); | |
14331 | ||
14332 | wxPyEndAllowThreads(__tstate); | |
14333 | if (PyErr_Occurred()) SWIG_fail; | |
14334 | } | |
14335 | Py_INCREF(Py_None); resultobj = Py_None; | |
14336 | return resultobj; | |
14337 | fail: | |
14338 | return NULL; | |
14339 | } | |
14340 | ||
14341 | ||
14342 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { | |
14343 | PyObject *obj; | |
14344 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14345 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
14346 | Py_INCREF(obj); | |
14347 | return Py_BuildValue((char *)""); | |
14348 | } | |
14349 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14350 | PyObject *resultobj; | |
14351 | wxPrintData *result; | |
14352 | char *kwnames[] = { | |
14353 | NULL | |
14354 | }; | |
14355 | ||
14356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
14357 | { | |
14358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14359 | result = (wxPrintData *)new wxPrintData(); | |
14360 | ||
14361 | wxPyEndAllowThreads(__tstate); | |
14362 | if (PyErr_Occurred()) SWIG_fail; | |
14363 | } | |
14364 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1); | |
14365 | return resultobj; | |
14366 | fail: | |
14367 | return NULL; | |
14368 | } | |
14369 | ||
14370 | ||
14371 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14372 | PyObject *resultobj; | |
14373 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14374 | PyObject * obj0 = 0 ; | |
14375 | char *kwnames[] = { | |
14376 | (char *) "self", NULL | |
14377 | }; | |
14378 | ||
14379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
14380 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14381 | { | |
14382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14383 | delete arg1; | |
14384 | ||
14385 | wxPyEndAllowThreads(__tstate); | |
14386 | if (PyErr_Occurred()) SWIG_fail; | |
14387 | } | |
14388 | Py_INCREF(Py_None); resultobj = Py_None; | |
14389 | return resultobj; | |
14390 | fail: | |
14391 | return NULL; | |
14392 | } | |
14393 | ||
14394 | ||
14395 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14396 | PyObject *resultobj; | |
14397 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14398 | int result; | |
14399 | PyObject * obj0 = 0 ; | |
14400 | char *kwnames[] = { | |
14401 | (char *) "self", NULL | |
14402 | }; | |
14403 | ||
14404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
14405 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14406 | { | |
14407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14408 | result = (int)(arg1)->GetNoCopies(); | |
14409 | ||
14410 | wxPyEndAllowThreads(__tstate); | |
14411 | if (PyErr_Occurred()) SWIG_fail; | |
14412 | } | |
14413 | resultobj = PyInt_FromLong((long)result); | |
14414 | return resultobj; | |
14415 | fail: | |
14416 | return NULL; | |
14417 | } | |
14418 | ||
14419 | ||
14420 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14421 | PyObject *resultobj; | |
14422 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14423 | bool result; | |
14424 | PyObject * obj0 = 0 ; | |
14425 | char *kwnames[] = { | |
14426 | (char *) "self", NULL | |
14427 | }; | |
14428 | ||
14429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
14430 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14431 | { | |
14432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14433 | result = (bool)(arg1)->GetCollate(); | |
14434 | ||
14435 | wxPyEndAllowThreads(__tstate); | |
14436 | if (PyErr_Occurred()) SWIG_fail; | |
14437 | } | |
14438 | resultobj = PyInt_FromLong((long)result); | |
14439 | return resultobj; | |
14440 | fail: | |
14441 | return NULL; | |
14442 | } | |
14443 | ||
14444 | ||
14445 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14446 | PyObject *resultobj; | |
14447 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14448 | int result; | |
14449 | PyObject * obj0 = 0 ; | |
14450 | char *kwnames[] = { | |
14451 | (char *) "self", NULL | |
14452 | }; | |
14453 | ||
14454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
14455 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14456 | { | |
14457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14458 | result = (int)(arg1)->GetOrientation(); | |
14459 | ||
14460 | wxPyEndAllowThreads(__tstate); | |
14461 | if (PyErr_Occurred()) SWIG_fail; | |
14462 | } | |
14463 | resultobj = PyInt_FromLong((long)result); | |
14464 | return resultobj; | |
14465 | fail: | |
14466 | return NULL; | |
14467 | } | |
14468 | ||
14469 | ||
14470 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14471 | PyObject *resultobj; | |
14472 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14473 | bool result; | |
14474 | PyObject * obj0 = 0 ; | |
14475 | char *kwnames[] = { | |
14476 | (char *) "self", NULL | |
14477 | }; | |
14478 | ||
14479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
14480 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14481 | { | |
14482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14483 | result = (bool)(arg1)->Ok(); | |
14484 | ||
14485 | wxPyEndAllowThreads(__tstate); | |
14486 | if (PyErr_Occurred()) SWIG_fail; | |
14487 | } | |
14488 | resultobj = PyInt_FromLong((long)result); | |
14489 | return resultobj; | |
14490 | fail: | |
14491 | return NULL; | |
14492 | } | |
14493 | ||
14494 | ||
14495 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14496 | PyObject *resultobj; | |
14497 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14498 | wxString *result; | |
14499 | PyObject * obj0 = 0 ; | |
14500 | char *kwnames[] = { | |
14501 | (char *) "self", NULL | |
14502 | }; | |
14503 | ||
14504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
14505 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14506 | { | |
14507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14508 | { | |
14509 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
14510 | result = (wxString *) &_result_ref; | |
14511 | } | |
14512 | ||
14513 | wxPyEndAllowThreads(__tstate); | |
14514 | if (PyErr_Occurred()) SWIG_fail; | |
14515 | } | |
14516 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
14517 | return resultobj; | |
14518 | fail: | |
14519 | return NULL; | |
14520 | } | |
14521 | ||
14522 | ||
14523 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14524 | PyObject *resultobj; | |
14525 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14526 | bool result; | |
14527 | PyObject * obj0 = 0 ; | |
14528 | char *kwnames[] = { | |
14529 | (char *) "self", NULL | |
14530 | }; | |
14531 | ||
14532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
14533 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14534 | { | |
14535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14536 | result = (bool)(arg1)->GetColour(); | |
14537 | ||
14538 | wxPyEndAllowThreads(__tstate); | |
14539 | if (PyErr_Occurred()) SWIG_fail; | |
14540 | } | |
14541 | resultobj = PyInt_FromLong((long)result); | |
14542 | return resultobj; | |
14543 | fail: | |
14544 | return NULL; | |
14545 | } | |
14546 | ||
14547 | ||
14548 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14549 | PyObject *resultobj; | |
14550 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14551 | int result; | |
14552 | PyObject * obj0 = 0 ; | |
14553 | char *kwnames[] = { | |
14554 | (char *) "self", NULL | |
14555 | }; | |
14556 | ||
14557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
14558 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14559 | { | |
14560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14561 | result = (int)(arg1)->GetDuplex(); | |
14562 | ||
14563 | wxPyEndAllowThreads(__tstate); | |
14564 | if (PyErr_Occurred()) SWIG_fail; | |
14565 | } | |
14566 | resultobj = PyInt_FromLong((long)result); | |
14567 | return resultobj; | |
14568 | fail: | |
14569 | return NULL; | |
14570 | } | |
14571 | ||
14572 | ||
14573 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14574 | PyObject *resultobj; | |
14575 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14576 | int result; | |
14577 | PyObject * obj0 = 0 ; | |
14578 | char *kwnames[] = { | |
14579 | (char *) "self", NULL | |
14580 | }; | |
14581 | ||
14582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
14583 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14584 | { | |
14585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14586 | result = (int)(arg1)->GetPaperId(); | |
14587 | ||
14588 | wxPyEndAllowThreads(__tstate); | |
14589 | if (PyErr_Occurred()) SWIG_fail; | |
14590 | } | |
14591 | resultobj = PyInt_FromLong((long)result); | |
14592 | return resultobj; | |
14593 | fail: | |
14594 | return NULL; | |
14595 | } | |
14596 | ||
14597 | ||
14598 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14599 | PyObject *resultobj; | |
14600 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14601 | wxSize *result; | |
14602 | PyObject * obj0 = 0 ; | |
14603 | char *kwnames[] = { | |
14604 | (char *) "self", NULL | |
14605 | }; | |
14606 | ||
14607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
14608 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14609 | { | |
14610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14611 | { | |
14612 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
14613 | result = (wxSize *) &_result_ref; | |
14614 | } | |
14615 | ||
14616 | wxPyEndAllowThreads(__tstate); | |
14617 | if (PyErr_Occurred()) SWIG_fail; | |
14618 | } | |
14619 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0); | |
14620 | return resultobj; | |
14621 | fail: | |
14622 | return NULL; | |
14623 | } | |
14624 | ||
14625 | ||
14626 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14627 | PyObject *resultobj; | |
14628 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14629 | wxPrintQuality result; | |
14630 | PyObject * obj0 = 0 ; | |
14631 | char *kwnames[] = { | |
14632 | (char *) "self", NULL | |
14633 | }; | |
14634 | ||
14635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
14636 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14637 | { | |
14638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14639 | result = (arg1)->GetQuality(); | |
14640 | ||
14641 | wxPyEndAllowThreads(__tstate); | |
14642 | if (PyErr_Occurred()) SWIG_fail; | |
14643 | } | |
14644 | { | |
14645 | wxPrintQuality * resultptr; | |
14646 | resultptr = new wxPrintQuality((wxPrintQuality &) result); | |
14647 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1); | |
14648 | } | |
14649 | return resultobj; | |
14650 | fail: | |
14651 | return NULL; | |
14652 | } | |
14653 | ||
14654 | ||
14655 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14656 | PyObject *resultobj; | |
14657 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14658 | int arg2 ; | |
14659 | PyObject * obj0 = 0 ; | |
14660 | char *kwnames[] = { | |
14661 | (char *) "self",(char *) "v", NULL | |
14662 | }; | |
14663 | ||
14664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail; | |
14665 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14666 | { | |
14667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14668 | (arg1)->SetNoCopies(arg2); | |
14669 | ||
14670 | wxPyEndAllowThreads(__tstate); | |
14671 | if (PyErr_Occurred()) SWIG_fail; | |
14672 | } | |
14673 | Py_INCREF(Py_None); resultobj = Py_None; | |
14674 | return resultobj; | |
14675 | fail: | |
14676 | return NULL; | |
14677 | } | |
14678 | ||
14679 | ||
14680 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14681 | PyObject *resultobj; | |
14682 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14683 | bool arg2 ; | |
14684 | PyObject * obj0 = 0 ; | |
14685 | PyObject * obj1 = 0 ; | |
14686 | char *kwnames[] = { | |
14687 | (char *) "self",(char *) "flag", NULL | |
14688 | }; | |
14689 | ||
14690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
14691 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14692 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
14693 | if (PyErr_Occurred()) SWIG_fail; | |
14694 | { | |
14695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14696 | (arg1)->SetCollate(arg2); | |
14697 | ||
14698 | wxPyEndAllowThreads(__tstate); | |
14699 | if (PyErr_Occurred()) SWIG_fail; | |
14700 | } | |
14701 | Py_INCREF(Py_None); resultobj = Py_None; | |
14702 | return resultobj; | |
14703 | fail: | |
14704 | return NULL; | |
14705 | } | |
14706 | ||
14707 | ||
14708 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14709 | PyObject *resultobj; | |
14710 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14711 | int arg2 ; | |
14712 | PyObject * obj0 = 0 ; | |
14713 | char *kwnames[] = { | |
14714 | (char *) "self",(char *) "orient", NULL | |
14715 | }; | |
14716 | ||
14717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail; | |
14718 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14719 | { | |
14720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14721 | (arg1)->SetOrientation(arg2); | |
14722 | ||
14723 | wxPyEndAllowThreads(__tstate); | |
14724 | if (PyErr_Occurred()) SWIG_fail; | |
14725 | } | |
14726 | Py_INCREF(Py_None); resultobj = Py_None; | |
14727 | return resultobj; | |
14728 | fail: | |
14729 | return NULL; | |
14730 | } | |
14731 | ||
14732 | ||
14733 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14734 | PyObject *resultobj; | |
14735 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14736 | wxString *arg2 = 0 ; | |
14737 | bool temp2 = False ; | |
14738 | PyObject * obj0 = 0 ; | |
14739 | PyObject * obj1 = 0 ; | |
14740 | char *kwnames[] = { | |
14741 | (char *) "self",(char *) "name", NULL | |
14742 | }; | |
14743 | ||
14744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
14745 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14746 | { | |
14747 | arg2 = wxString_in_helper(obj1); | |
14748 | if (arg2 == NULL) SWIG_fail; | |
14749 | temp2 = True; | |
14750 | } | |
14751 | { | |
14752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14753 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
14754 | ||
14755 | wxPyEndAllowThreads(__tstate); | |
14756 | if (PyErr_Occurred()) SWIG_fail; | |
14757 | } | |
14758 | Py_INCREF(Py_None); resultobj = Py_None; | |
14759 | { | |
14760 | if (temp2) | |
14761 | delete arg2; | |
14762 | } | |
14763 | return resultobj; | |
14764 | fail: | |
14765 | { | |
14766 | if (temp2) | |
14767 | delete arg2; | |
14768 | } | |
14769 | return NULL; | |
14770 | } | |
14771 | ||
14772 | ||
14773 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14774 | PyObject *resultobj; | |
14775 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14776 | bool arg2 ; | |
14777 | PyObject * obj0 = 0 ; | |
14778 | PyObject * obj1 = 0 ; | |
14779 | char *kwnames[] = { | |
14780 | (char *) "self",(char *) "colour", NULL | |
14781 | }; | |
14782 | ||
14783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
14784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14785 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
14786 | if (PyErr_Occurred()) SWIG_fail; | |
14787 | { | |
14788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14789 | (arg1)->SetColour(arg2); | |
14790 | ||
14791 | wxPyEndAllowThreads(__tstate); | |
14792 | if (PyErr_Occurred()) SWIG_fail; | |
14793 | } | |
14794 | Py_INCREF(Py_None); resultobj = Py_None; | |
14795 | return resultobj; | |
14796 | fail: | |
14797 | return NULL; | |
14798 | } | |
14799 | ||
14800 | ||
14801 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14802 | PyObject *resultobj; | |
14803 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14804 | int arg2 ; | |
14805 | PyObject * obj0 = 0 ; | |
14806 | char *kwnames[] = { | |
14807 | (char *) "self",(char *) "duplex", NULL | |
14808 | }; | |
14809 | ||
14810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail; | |
14811 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14812 | { | |
14813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14814 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
14815 | ||
14816 | wxPyEndAllowThreads(__tstate); | |
14817 | if (PyErr_Occurred()) SWIG_fail; | |
14818 | } | |
14819 | Py_INCREF(Py_None); resultobj = Py_None; | |
14820 | return resultobj; | |
14821 | fail: | |
14822 | return NULL; | |
14823 | } | |
14824 | ||
14825 | ||
14826 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14827 | PyObject *resultobj; | |
14828 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14829 | int arg2 ; | |
14830 | PyObject * obj0 = 0 ; | |
14831 | char *kwnames[] = { | |
14832 | (char *) "self",(char *) "sizeId", NULL | |
14833 | }; | |
14834 | ||
14835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail; | |
14836 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14837 | { | |
14838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14839 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
14840 | ||
14841 | wxPyEndAllowThreads(__tstate); | |
14842 | if (PyErr_Occurred()) SWIG_fail; | |
14843 | } | |
14844 | Py_INCREF(Py_None); resultobj = Py_None; | |
14845 | return resultobj; | |
14846 | fail: | |
14847 | return NULL; | |
14848 | } | |
14849 | ||
14850 | ||
14851 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14852 | PyObject *resultobj; | |
14853 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14854 | wxSize *arg2 = 0 ; | |
14855 | wxSize temp2 ; | |
14856 | PyObject * obj0 = 0 ; | |
14857 | PyObject * obj1 = 0 ; | |
14858 | char *kwnames[] = { | |
14859 | (char *) "self",(char *) "sz", NULL | |
14860 | }; | |
14861 | ||
14862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
14863 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14864 | { | |
14865 | arg2 = &temp2; | |
14866 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
14867 | } | |
14868 | { | |
14869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14870 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
14871 | ||
14872 | wxPyEndAllowThreads(__tstate); | |
14873 | if (PyErr_Occurred()) SWIG_fail; | |
14874 | } | |
14875 | Py_INCREF(Py_None); resultobj = Py_None; | |
14876 | return resultobj; | |
14877 | fail: | |
14878 | return NULL; | |
14879 | } | |
14880 | ||
14881 | ||
14882 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14883 | PyObject *resultobj; | |
14884 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14885 | wxPrintQuality arg2 ; | |
14886 | wxPrintQuality *argp2 ; | |
14887 | PyObject * obj0 = 0 ; | |
14888 | PyObject * obj1 = 0 ; | |
14889 | char *kwnames[] = { | |
14890 | (char *) "self",(char *) "quality", NULL | |
14891 | }; | |
14892 | ||
14893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; | |
14894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14895 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
14896 | arg2 = *argp2; | |
14897 | { | |
14898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14899 | (arg1)->SetQuality(arg2); | |
14900 | ||
14901 | wxPyEndAllowThreads(__tstate); | |
14902 | if (PyErr_Occurred()) SWIG_fail; | |
14903 | } | |
14904 | Py_INCREF(Py_None); resultobj = Py_None; | |
14905 | return resultobj; | |
14906 | fail: | |
14907 | return NULL; | |
14908 | } | |
14909 | ||
14910 | ||
14911 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14912 | PyObject *resultobj; | |
14913 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14914 | wxString *result; | |
14915 | PyObject * obj0 = 0 ; | |
14916 | char *kwnames[] = { | |
14917 | (char *) "self", NULL | |
14918 | }; | |
14919 | ||
14920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
14921 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14922 | { | |
14923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14924 | { | |
14925 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
14926 | result = (wxString *) &_result_ref; | |
14927 | } | |
14928 | ||
14929 | wxPyEndAllowThreads(__tstate); | |
14930 | if (PyErr_Occurred()) SWIG_fail; | |
14931 | } | |
14932 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
14933 | return resultobj; | |
14934 | fail: | |
14935 | return NULL; | |
14936 | } | |
14937 | ||
14938 | ||
14939 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14940 | PyObject *resultobj; | |
14941 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14942 | wxString *result; | |
14943 | PyObject * obj0 = 0 ; | |
14944 | char *kwnames[] = { | |
14945 | (char *) "self", NULL | |
14946 | }; | |
14947 | ||
14948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
14949 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14950 | { | |
14951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14952 | { | |
14953 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
14954 | result = (wxString *) &_result_ref; | |
14955 | } | |
14956 | ||
14957 | wxPyEndAllowThreads(__tstate); | |
14958 | if (PyErr_Occurred()) SWIG_fail; | |
14959 | } | |
14960 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
14961 | return resultobj; | |
14962 | fail: | |
14963 | return NULL; | |
14964 | } | |
14965 | ||
14966 | ||
14967 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14968 | PyObject *resultobj; | |
14969 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14970 | wxString *result; | |
14971 | PyObject * obj0 = 0 ; | |
14972 | char *kwnames[] = { | |
14973 | (char *) "self", NULL | |
14974 | }; | |
14975 | ||
14976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
14977 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14978 | { | |
14979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14980 | { | |
14981 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
14982 | result = (wxString *) &_result_ref; | |
14983 | } | |
14984 | ||
14985 | wxPyEndAllowThreads(__tstate); | |
14986 | if (PyErr_Occurred()) SWIG_fail; | |
14987 | } | |
14988 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
14989 | return resultobj; | |
14990 | fail: | |
14991 | return NULL; | |
14992 | } | |
14993 | ||
14994 | ||
14995 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14996 | PyObject *resultobj; | |
14997 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
14998 | wxString *result; | |
14999 | PyObject * obj0 = 0 ; | |
15000 | char *kwnames[] = { | |
15001 | (char *) "self", NULL | |
15002 | }; | |
15003 | ||
15004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
15005 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15006 | { | |
15007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15008 | { | |
15009 | wxString const &_result_ref = (arg1)->GetFilename(); | |
15010 | result = (wxString *) &_result_ref; | |
15011 | } | |
15012 | ||
15013 | wxPyEndAllowThreads(__tstate); | |
15014 | if (PyErr_Occurred()) SWIG_fail; | |
15015 | } | |
15016 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
15017 | return resultobj; | |
15018 | fail: | |
15019 | return NULL; | |
15020 | } | |
15021 | ||
15022 | ||
15023 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15024 | PyObject *resultobj; | |
15025 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15026 | wxString *result; | |
15027 | PyObject * obj0 = 0 ; | |
15028 | char *kwnames[] = { | |
15029 | (char *) "self", NULL | |
15030 | }; | |
15031 | ||
15032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15033 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15034 | { | |
15035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15036 | { | |
15037 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
15038 | result = (wxString *) &_result_ref; | |
15039 | } | |
15040 | ||
15041 | wxPyEndAllowThreads(__tstate); | |
15042 | if (PyErr_Occurred()) SWIG_fail; | |
15043 | } | |
15044 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
15045 | return resultobj; | |
15046 | fail: | |
15047 | return NULL; | |
15048 | } | |
15049 | ||
15050 | ||
15051 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15052 | PyObject *resultobj; | |
15053 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15054 | double result; | |
15055 | PyObject * obj0 = 0 ; | |
15056 | char *kwnames[] = { | |
15057 | (char *) "self", NULL | |
15058 | }; | |
15059 | ||
15060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15061 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15062 | { | |
15063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15064 | result = (double)(arg1)->GetPrinterScaleX(); | |
15065 | ||
15066 | wxPyEndAllowThreads(__tstate); | |
15067 | if (PyErr_Occurred()) SWIG_fail; | |
15068 | } | |
15069 | resultobj = PyFloat_FromDouble(result); | |
15070 | return resultobj; | |
15071 | fail: | |
15072 | return NULL; | |
15073 | } | |
15074 | ||
15075 | ||
15076 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15077 | PyObject *resultobj; | |
15078 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15079 | double result; | |
15080 | PyObject * obj0 = 0 ; | |
15081 | char *kwnames[] = { | |
15082 | (char *) "self", NULL | |
15083 | }; | |
15084 | ||
15085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15086 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15087 | { | |
15088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15089 | result = (double)(arg1)->GetPrinterScaleY(); | |
15090 | ||
15091 | wxPyEndAllowThreads(__tstate); | |
15092 | if (PyErr_Occurred()) SWIG_fail; | |
15093 | } | |
15094 | resultobj = PyFloat_FromDouble(result); | |
15095 | return resultobj; | |
15096 | fail: | |
15097 | return NULL; | |
15098 | } | |
15099 | ||
15100 | ||
15101 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15102 | PyObject *resultobj; | |
15103 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15104 | long result; | |
15105 | PyObject * obj0 = 0 ; | |
15106 | char *kwnames[] = { | |
15107 | (char *) "self", NULL | |
15108 | }; | |
15109 | ||
15110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15111 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15112 | { | |
15113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15114 | result = (long)(arg1)->GetPrinterTranslateX(); | |
15115 | ||
15116 | wxPyEndAllowThreads(__tstate); | |
15117 | if (PyErr_Occurred()) SWIG_fail; | |
15118 | } | |
15119 | resultobj = PyInt_FromLong((long)result); | |
15120 | return resultobj; | |
15121 | fail: | |
15122 | return NULL; | |
15123 | } | |
15124 | ||
15125 | ||
15126 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15127 | PyObject *resultobj; | |
15128 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15129 | long result; | |
15130 | PyObject * obj0 = 0 ; | |
15131 | char *kwnames[] = { | |
15132 | (char *) "self", NULL | |
15133 | }; | |
15134 | ||
15135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15136 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15137 | { | |
15138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15139 | result = (long)(arg1)->GetPrinterTranslateY(); | |
15140 | ||
15141 | wxPyEndAllowThreads(__tstate); | |
15142 | if (PyErr_Occurred()) SWIG_fail; | |
15143 | } | |
15144 | resultobj = PyInt_FromLong((long)result); | |
15145 | return resultobj; | |
15146 | fail: | |
15147 | return NULL; | |
15148 | } | |
15149 | ||
15150 | ||
15151 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15152 | PyObject *resultobj; | |
15153 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15154 | int result; | |
15155 | PyObject * obj0 = 0 ; | |
15156 | char *kwnames[] = { | |
15157 | (char *) "self", NULL | |
15158 | }; | |
15159 | ||
15160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
15161 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15162 | { | |
15163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15164 | result = (int)(arg1)->GetPrintMode(); | |
15165 | ||
15166 | wxPyEndAllowThreads(__tstate); | |
15167 | if (PyErr_Occurred()) SWIG_fail; | |
15168 | } | |
15169 | resultobj = PyInt_FromLong((long)result); | |
15170 | return resultobj; | |
15171 | fail: | |
15172 | return NULL; | |
15173 | } | |
15174 | ||
15175 | ||
15176 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15177 | PyObject *resultobj; | |
15178 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15179 | wxString *arg2 = 0 ; | |
15180 | bool temp2 = False ; | |
15181 | PyObject * obj0 = 0 ; | |
15182 | PyObject * obj1 = 0 ; | |
15183 | char *kwnames[] = { | |
15184 | (char *) "self",(char *) "command", NULL | |
15185 | }; | |
15186 | ||
15187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
15188 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15189 | { | |
15190 | arg2 = wxString_in_helper(obj1); | |
15191 | if (arg2 == NULL) SWIG_fail; | |
15192 | temp2 = True; | |
15193 | } | |
15194 | { | |
15195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15196 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
15197 | ||
15198 | wxPyEndAllowThreads(__tstate); | |
15199 | if (PyErr_Occurred()) SWIG_fail; | |
15200 | } | |
15201 | Py_INCREF(Py_None); resultobj = Py_None; | |
15202 | { | |
15203 | if (temp2) | |
15204 | delete arg2; | |
15205 | } | |
15206 | return resultobj; | |
15207 | fail: | |
15208 | { | |
15209 | if (temp2) | |
15210 | delete arg2; | |
15211 | } | |
15212 | return NULL; | |
15213 | } | |
15214 | ||
15215 | ||
15216 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15217 | PyObject *resultobj; | |
15218 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15219 | wxString *arg2 = 0 ; | |
15220 | bool temp2 = False ; | |
15221 | PyObject * obj0 = 0 ; | |
15222 | PyObject * obj1 = 0 ; | |
15223 | char *kwnames[] = { | |
15224 | (char *) "self",(char *) "options", NULL | |
15225 | }; | |
15226 | ||
15227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15229 | { | |
15230 | arg2 = wxString_in_helper(obj1); | |
15231 | if (arg2 == NULL) SWIG_fail; | |
15232 | temp2 = True; | |
15233 | } | |
15234 | { | |
15235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15236 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
15237 | ||
15238 | wxPyEndAllowThreads(__tstate); | |
15239 | if (PyErr_Occurred()) SWIG_fail; | |
15240 | } | |
15241 | Py_INCREF(Py_None); resultobj = Py_None; | |
15242 | { | |
15243 | if (temp2) | |
15244 | delete arg2; | |
15245 | } | |
15246 | return resultobj; | |
15247 | fail: | |
15248 | { | |
15249 | if (temp2) | |
15250 | delete arg2; | |
15251 | } | |
15252 | return NULL; | |
15253 | } | |
15254 | ||
15255 | ||
15256 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15257 | PyObject *resultobj; | |
15258 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15259 | wxString *arg2 = 0 ; | |
15260 | bool temp2 = False ; | |
15261 | PyObject * obj0 = 0 ; | |
15262 | PyObject * obj1 = 0 ; | |
15263 | char *kwnames[] = { | |
15264 | (char *) "self",(char *) "command", NULL | |
15265 | }; | |
15266 | ||
15267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
15268 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15269 | { | |
15270 | arg2 = wxString_in_helper(obj1); | |
15271 | if (arg2 == NULL) SWIG_fail; | |
15272 | temp2 = True; | |
15273 | } | |
15274 | { | |
15275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15276 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
15277 | ||
15278 | wxPyEndAllowThreads(__tstate); | |
15279 | if (PyErr_Occurred()) SWIG_fail; | |
15280 | } | |
15281 | Py_INCREF(Py_None); resultobj = Py_None; | |
15282 | { | |
15283 | if (temp2) | |
15284 | delete arg2; | |
15285 | } | |
15286 | return resultobj; | |
15287 | fail: | |
15288 | { | |
15289 | if (temp2) | |
15290 | delete arg2; | |
15291 | } | |
15292 | return NULL; | |
15293 | } | |
15294 | ||
15295 | ||
15296 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15297 | PyObject *resultobj; | |
15298 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15299 | wxString *arg2 = 0 ; | |
15300 | bool temp2 = False ; | |
15301 | PyObject * obj0 = 0 ; | |
15302 | PyObject * obj1 = 0 ; | |
15303 | char *kwnames[] = { | |
15304 | (char *) "self",(char *) "filename", NULL | |
15305 | }; | |
15306 | ||
15307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15309 | { | |
15310 | arg2 = wxString_in_helper(obj1); | |
15311 | if (arg2 == NULL) SWIG_fail; | |
15312 | temp2 = True; | |
15313 | } | |
15314 | { | |
15315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15316 | (arg1)->SetFilename((wxString const &)*arg2); | |
15317 | ||
15318 | wxPyEndAllowThreads(__tstate); | |
15319 | if (PyErr_Occurred()) SWIG_fail; | |
15320 | } | |
15321 | Py_INCREF(Py_None); resultobj = Py_None; | |
15322 | { | |
15323 | if (temp2) | |
15324 | delete arg2; | |
15325 | } | |
15326 | return resultobj; | |
15327 | fail: | |
15328 | { | |
15329 | if (temp2) | |
15330 | delete arg2; | |
15331 | } | |
15332 | return NULL; | |
15333 | } | |
15334 | ||
15335 | ||
15336 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15337 | PyObject *resultobj; | |
15338 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15339 | wxString *arg2 = 0 ; | |
15340 | bool temp2 = False ; | |
15341 | PyObject * obj0 = 0 ; | |
15342 | PyObject * obj1 = 0 ; | |
15343 | char *kwnames[] = { | |
15344 | (char *) "self",(char *) "path", NULL | |
15345 | }; | |
15346 | ||
15347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
15348 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15349 | { | |
15350 | arg2 = wxString_in_helper(obj1); | |
15351 | if (arg2 == NULL) SWIG_fail; | |
15352 | temp2 = True; | |
15353 | } | |
15354 | { | |
15355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15356 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
15357 | ||
15358 | wxPyEndAllowThreads(__tstate); | |
15359 | if (PyErr_Occurred()) SWIG_fail; | |
15360 | } | |
15361 | Py_INCREF(Py_None); resultobj = Py_None; | |
15362 | { | |
15363 | if (temp2) | |
15364 | delete arg2; | |
15365 | } | |
15366 | return resultobj; | |
15367 | fail: | |
15368 | { | |
15369 | if (temp2) | |
15370 | delete arg2; | |
15371 | } | |
15372 | return NULL; | |
15373 | } | |
15374 | ||
15375 | ||
15376 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15377 | PyObject *resultobj; | |
15378 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15379 | double arg2 ; | |
15380 | PyObject * obj0 = 0 ; | |
15381 | char *kwnames[] = { | |
15382 | (char *) "self",(char *) "x", NULL | |
15383 | }; | |
15384 | ||
15385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail; | |
15386 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15387 | { | |
15388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15389 | (arg1)->SetPrinterScaleX(arg2); | |
15390 | ||
15391 | wxPyEndAllowThreads(__tstate); | |
15392 | if (PyErr_Occurred()) SWIG_fail; | |
15393 | } | |
15394 | Py_INCREF(Py_None); resultobj = Py_None; | |
15395 | return resultobj; | |
15396 | fail: | |
15397 | return NULL; | |
15398 | } | |
15399 | ||
15400 | ||
15401 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15402 | PyObject *resultobj; | |
15403 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15404 | double arg2 ; | |
15405 | PyObject * obj0 = 0 ; | |
15406 | char *kwnames[] = { | |
15407 | (char *) "self",(char *) "y", NULL | |
15408 | }; | |
15409 | ||
15410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail; | |
15411 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15412 | { | |
15413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15414 | (arg1)->SetPrinterScaleY(arg2); | |
15415 | ||
15416 | wxPyEndAllowThreads(__tstate); | |
15417 | if (PyErr_Occurred()) SWIG_fail; | |
15418 | } | |
15419 | Py_INCREF(Py_None); resultobj = Py_None; | |
15420 | return resultobj; | |
15421 | fail: | |
15422 | return NULL; | |
15423 | } | |
15424 | ||
15425 | ||
15426 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15427 | PyObject *resultobj; | |
15428 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15429 | double arg2 ; | |
15430 | double arg3 ; | |
15431 | PyObject * obj0 = 0 ; | |
15432 | char *kwnames[] = { | |
15433 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15434 | }; | |
15435 | ||
15436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
15437 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15438 | { | |
15439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15440 | (arg1)->SetPrinterScaling(arg2,arg3); | |
15441 | ||
15442 | wxPyEndAllowThreads(__tstate); | |
15443 | if (PyErr_Occurred()) SWIG_fail; | |
15444 | } | |
15445 | Py_INCREF(Py_None); resultobj = Py_None; | |
15446 | return resultobj; | |
15447 | fail: | |
15448 | return NULL; | |
15449 | } | |
15450 | ||
15451 | ||
15452 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15453 | PyObject *resultobj; | |
15454 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15455 | long arg2 ; | |
15456 | PyObject * obj0 = 0 ; | |
15457 | char *kwnames[] = { | |
15458 | (char *) "self",(char *) "x", NULL | |
15459 | }; | |
15460 | ||
15461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail; | |
15462 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15463 | { | |
15464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15465 | (arg1)->SetPrinterTranslateX(arg2); | |
15466 | ||
15467 | wxPyEndAllowThreads(__tstate); | |
15468 | if (PyErr_Occurred()) SWIG_fail; | |
15469 | } | |
15470 | Py_INCREF(Py_None); resultobj = Py_None; | |
15471 | return resultobj; | |
15472 | fail: | |
15473 | return NULL; | |
15474 | } | |
15475 | ||
15476 | ||
15477 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15478 | PyObject *resultobj; | |
15479 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15480 | long arg2 ; | |
15481 | PyObject * obj0 = 0 ; | |
15482 | char *kwnames[] = { | |
15483 | (char *) "self",(char *) "y", NULL | |
15484 | }; | |
15485 | ||
15486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail; | |
15487 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15488 | { | |
15489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15490 | (arg1)->SetPrinterTranslateY(arg2); | |
15491 | ||
15492 | wxPyEndAllowThreads(__tstate); | |
15493 | if (PyErr_Occurred()) SWIG_fail; | |
15494 | } | |
15495 | Py_INCREF(Py_None); resultobj = Py_None; | |
15496 | return resultobj; | |
15497 | fail: | |
15498 | return NULL; | |
15499 | } | |
15500 | ||
15501 | ||
15502 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15503 | PyObject *resultobj; | |
15504 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15505 | long arg2 ; | |
15506 | long arg3 ; | |
15507 | PyObject * obj0 = 0 ; | |
15508 | char *kwnames[] = { | |
15509 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15510 | }; | |
15511 | ||
15512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
15513 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15514 | { | |
15515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15516 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
15517 | ||
15518 | wxPyEndAllowThreads(__tstate); | |
15519 | if (PyErr_Occurred()) SWIG_fail; | |
15520 | } | |
15521 | Py_INCREF(Py_None); resultobj = Py_None; | |
15522 | return resultobj; | |
15523 | fail: | |
15524 | return NULL; | |
15525 | } | |
15526 | ||
15527 | ||
15528 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15529 | PyObject *resultobj; | |
15530 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15531 | int arg2 ; | |
15532 | PyObject * obj0 = 0 ; | |
15533 | char *kwnames[] = { | |
15534 | (char *) "self",(char *) "printMode", NULL | |
15535 | }; | |
15536 | ||
15537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail; | |
15538 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15539 | { | |
15540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15541 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
15542 | ||
15543 | wxPyEndAllowThreads(__tstate); | |
15544 | if (PyErr_Occurred()) SWIG_fail; | |
15545 | } | |
15546 | Py_INCREF(Py_None); resultobj = Py_None; | |
15547 | return resultobj; | |
15548 | fail: | |
15549 | return NULL; | |
15550 | } | |
15551 | ||
15552 | ||
15553 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { | |
15554 | PyObject *obj; | |
15555 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15556 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
15557 | Py_INCREF(obj); | |
15558 | return Py_BuildValue((char *)""); | |
15559 | } | |
15560 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15561 | PyObject *resultobj; | |
15562 | wxPageSetupDialogData *result; | |
15563 | char *kwnames[] = { | |
15564 | NULL | |
15565 | }; | |
15566 | ||
15567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
15568 | { | |
15569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15570 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
15571 | ||
15572 | wxPyEndAllowThreads(__tstate); | |
15573 | if (PyErr_Occurred()) SWIG_fail; | |
15574 | } | |
15575 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1); | |
15576 | return resultobj; | |
15577 | fail: | |
15578 | return NULL; | |
15579 | } | |
15580 | ||
15581 | ||
15582 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15583 | PyObject *resultobj; | |
15584 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15585 | PyObject * obj0 = 0 ; | |
15586 | char *kwnames[] = { | |
15587 | (char *) "self", NULL | |
15588 | }; | |
15589 | ||
15590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
15591 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15592 | { | |
15593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15594 | delete arg1; | |
15595 | ||
15596 | wxPyEndAllowThreads(__tstate); | |
15597 | if (PyErr_Occurred()) SWIG_fail; | |
15598 | } | |
15599 | Py_INCREF(Py_None); resultobj = Py_None; | |
15600 | return resultobj; | |
15601 | fail: | |
15602 | return NULL; | |
15603 | } | |
15604 | ||
15605 | ||
15606 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15607 | PyObject *resultobj; | |
15608 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15609 | bool arg2 ; | |
15610 | PyObject * obj0 = 0 ; | |
15611 | PyObject * obj1 = 0 ; | |
15612 | char *kwnames[] = { | |
15613 | (char *) "self",(char *) "flag", NULL | |
15614 | }; | |
15615 | ||
15616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15617 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15618 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
15619 | if (PyErr_Occurred()) SWIG_fail; | |
15620 | { | |
15621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15622 | (arg1)->EnableHelp(arg2); | |
15623 | ||
15624 | wxPyEndAllowThreads(__tstate); | |
15625 | if (PyErr_Occurred()) SWIG_fail; | |
15626 | } | |
15627 | Py_INCREF(Py_None); resultobj = Py_None; | |
15628 | return resultobj; | |
15629 | fail: | |
15630 | return NULL; | |
15631 | } | |
15632 | ||
15633 | ||
15634 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15635 | PyObject *resultobj; | |
15636 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15637 | bool arg2 ; | |
15638 | PyObject * obj0 = 0 ; | |
15639 | PyObject * obj1 = 0 ; | |
15640 | char *kwnames[] = { | |
15641 | (char *) "self",(char *) "flag", NULL | |
15642 | }; | |
15643 | ||
15644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
15645 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15646 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
15647 | if (PyErr_Occurred()) SWIG_fail; | |
15648 | { | |
15649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15650 | (arg1)->EnableMargins(arg2); | |
15651 | ||
15652 | wxPyEndAllowThreads(__tstate); | |
15653 | if (PyErr_Occurred()) SWIG_fail; | |
15654 | } | |
15655 | Py_INCREF(Py_None); resultobj = Py_None; | |
15656 | return resultobj; | |
15657 | fail: | |
15658 | return NULL; | |
15659 | } | |
15660 | ||
15661 | ||
15662 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15663 | PyObject *resultobj; | |
15664 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15665 | bool arg2 ; | |
15666 | PyObject * obj0 = 0 ; | |
15667 | PyObject * obj1 = 0 ; | |
15668 | char *kwnames[] = { | |
15669 | (char *) "self",(char *) "flag", NULL | |
15670 | }; | |
15671 | ||
15672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
15673 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15674 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
15675 | if (PyErr_Occurred()) SWIG_fail; | |
15676 | { | |
15677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15678 | (arg1)->EnableOrientation(arg2); | |
15679 | ||
15680 | wxPyEndAllowThreads(__tstate); | |
15681 | if (PyErr_Occurred()) SWIG_fail; | |
15682 | } | |
15683 | Py_INCREF(Py_None); resultobj = Py_None; | |
15684 | return resultobj; | |
15685 | fail: | |
15686 | return NULL; | |
15687 | } | |
15688 | ||
15689 | ||
15690 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15691 | PyObject *resultobj; | |
15692 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15693 | bool arg2 ; | |
15694 | PyObject * obj0 = 0 ; | |
15695 | PyObject * obj1 = 0 ; | |
15696 | char *kwnames[] = { | |
15697 | (char *) "self",(char *) "flag", NULL | |
15698 | }; | |
15699 | ||
15700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
15701 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15702 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
15703 | if (PyErr_Occurred()) SWIG_fail; | |
15704 | { | |
15705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15706 | (arg1)->EnablePaper(arg2); | |
15707 | ||
15708 | wxPyEndAllowThreads(__tstate); | |
15709 | if (PyErr_Occurred()) SWIG_fail; | |
15710 | } | |
15711 | Py_INCREF(Py_None); resultobj = Py_None; | |
15712 | return resultobj; | |
15713 | fail: | |
15714 | return NULL; | |
15715 | } | |
15716 | ||
15717 | ||
15718 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15719 | PyObject *resultobj; | |
15720 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15721 | bool arg2 ; | |
15722 | PyObject * obj0 = 0 ; | |
15723 | PyObject * obj1 = 0 ; | |
15724 | char *kwnames[] = { | |
15725 | (char *) "self",(char *) "flag", NULL | |
15726 | }; | |
15727 | ||
15728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
15729 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15730 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
15731 | if (PyErr_Occurred()) SWIG_fail; | |
15732 | { | |
15733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15734 | (arg1)->EnablePrinter(arg2); | |
15735 | ||
15736 | wxPyEndAllowThreads(__tstate); | |
15737 | if (PyErr_Occurred()) SWIG_fail; | |
15738 | } | |
15739 | Py_INCREF(Py_None); resultobj = Py_None; | |
15740 | return resultobj; | |
15741 | fail: | |
15742 | return NULL; | |
15743 | } | |
15744 | ||
15745 | ||
15746 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15747 | PyObject *resultobj; | |
15748 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15749 | bool result; | |
15750 | PyObject * obj0 = 0 ; | |
15751 | char *kwnames[] = { | |
15752 | (char *) "self", NULL | |
15753 | }; | |
15754 | ||
15755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
15756 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15757 | { | |
15758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15759 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
15760 | ||
15761 | wxPyEndAllowThreads(__tstate); | |
15762 | if (PyErr_Occurred()) SWIG_fail; | |
15763 | } | |
15764 | resultobj = PyInt_FromLong((long)result); | |
15765 | return resultobj; | |
15766 | fail: | |
15767 | return NULL; | |
15768 | } | |
15769 | ||
15770 | ||
15771 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15772 | PyObject *resultobj; | |
15773 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15774 | bool result; | |
15775 | PyObject * obj0 = 0 ; | |
15776 | char *kwnames[] = { | |
15777 | (char *) "self", NULL | |
15778 | }; | |
15779 | ||
15780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
15781 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15782 | { | |
15783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15784 | result = (bool)(arg1)->GetEnableMargins(); | |
15785 | ||
15786 | wxPyEndAllowThreads(__tstate); | |
15787 | if (PyErr_Occurred()) SWIG_fail; | |
15788 | } | |
15789 | resultobj = PyInt_FromLong((long)result); | |
15790 | return resultobj; | |
15791 | fail: | |
15792 | return NULL; | |
15793 | } | |
15794 | ||
15795 | ||
15796 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15797 | PyObject *resultobj; | |
15798 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15799 | bool result; | |
15800 | PyObject * obj0 = 0 ; | |
15801 | char *kwnames[] = { | |
15802 | (char *) "self", NULL | |
15803 | }; | |
15804 | ||
15805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
15806 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15807 | { | |
15808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15809 | result = (bool)(arg1)->GetEnableOrientation(); | |
15810 | ||
15811 | wxPyEndAllowThreads(__tstate); | |
15812 | if (PyErr_Occurred()) SWIG_fail; | |
15813 | } | |
15814 | resultobj = PyInt_FromLong((long)result); | |
15815 | return resultobj; | |
15816 | fail: | |
15817 | return NULL; | |
15818 | } | |
15819 | ||
15820 | ||
15821 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15822 | PyObject *resultobj; | |
15823 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15824 | bool result; | |
15825 | PyObject * obj0 = 0 ; | |
15826 | char *kwnames[] = { | |
15827 | (char *) "self", NULL | |
15828 | }; | |
15829 | ||
15830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
15831 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15832 | { | |
15833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15834 | result = (bool)(arg1)->GetEnablePaper(); | |
15835 | ||
15836 | wxPyEndAllowThreads(__tstate); | |
15837 | if (PyErr_Occurred()) SWIG_fail; | |
15838 | } | |
15839 | resultobj = PyInt_FromLong((long)result); | |
15840 | return resultobj; | |
15841 | fail: | |
15842 | return NULL; | |
15843 | } | |
15844 | ||
15845 | ||
15846 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15847 | PyObject *resultobj; | |
15848 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15849 | bool result; | |
15850 | PyObject * obj0 = 0 ; | |
15851 | char *kwnames[] = { | |
15852 | (char *) "self", NULL | |
15853 | }; | |
15854 | ||
15855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
15856 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15857 | { | |
15858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15859 | result = (bool)(arg1)->GetEnablePrinter(); | |
15860 | ||
15861 | wxPyEndAllowThreads(__tstate); | |
15862 | if (PyErr_Occurred()) SWIG_fail; | |
15863 | } | |
15864 | resultobj = PyInt_FromLong((long)result); | |
15865 | return resultobj; | |
15866 | fail: | |
15867 | return NULL; | |
15868 | } | |
15869 | ||
15870 | ||
15871 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15872 | PyObject *resultobj; | |
15873 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15874 | bool result; | |
15875 | PyObject * obj0 = 0 ; | |
15876 | char *kwnames[] = { | |
15877 | (char *) "self", NULL | |
15878 | }; | |
15879 | ||
15880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15881 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15882 | { | |
15883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15884 | result = (bool)(arg1)->GetEnableHelp(); | |
15885 | ||
15886 | wxPyEndAllowThreads(__tstate); | |
15887 | if (PyErr_Occurred()) SWIG_fail; | |
15888 | } | |
15889 | resultobj = PyInt_FromLong((long)result); | |
15890 | return resultobj; | |
15891 | fail: | |
15892 | return NULL; | |
15893 | } | |
15894 | ||
15895 | ||
15896 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15897 | PyObject *resultobj; | |
15898 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15899 | bool result; | |
15900 | PyObject * obj0 = 0 ; | |
15901 | char *kwnames[] = { | |
15902 | (char *) "self", NULL | |
15903 | }; | |
15904 | ||
15905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
15906 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15907 | { | |
15908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15909 | result = (bool)(arg1)->GetDefaultInfo(); | |
15910 | ||
15911 | wxPyEndAllowThreads(__tstate); | |
15912 | if (PyErr_Occurred()) SWIG_fail; | |
15913 | } | |
15914 | resultobj = PyInt_FromLong((long)result); | |
15915 | return resultobj; | |
15916 | fail: | |
15917 | return NULL; | |
15918 | } | |
15919 | ||
15920 | ||
15921 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15922 | PyObject *resultobj; | |
15923 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15924 | wxPoint result; | |
15925 | PyObject * obj0 = 0 ; | |
15926 | char *kwnames[] = { | |
15927 | (char *) "self", NULL | |
15928 | }; | |
15929 | ||
15930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
15931 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15932 | { | |
15933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15934 | result = (arg1)->GetMarginTopLeft(); | |
15935 | ||
15936 | wxPyEndAllowThreads(__tstate); | |
15937 | if (PyErr_Occurred()) SWIG_fail; | |
15938 | } | |
15939 | { | |
15940 | wxPoint * resultptr; | |
15941 | resultptr = new wxPoint((wxPoint &) result); | |
15942 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
15943 | } | |
15944 | return resultobj; | |
15945 | fail: | |
15946 | return NULL; | |
15947 | } | |
15948 | ||
15949 | ||
15950 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15951 | PyObject *resultobj; | |
15952 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15953 | wxPoint result; | |
15954 | PyObject * obj0 = 0 ; | |
15955 | char *kwnames[] = { | |
15956 | (char *) "self", NULL | |
15957 | }; | |
15958 | ||
15959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
15960 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15961 | { | |
15962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15963 | result = (arg1)->GetMarginBottomRight(); | |
15964 | ||
15965 | wxPyEndAllowThreads(__tstate); | |
15966 | if (PyErr_Occurred()) SWIG_fail; | |
15967 | } | |
15968 | { | |
15969 | wxPoint * resultptr; | |
15970 | resultptr = new wxPoint((wxPoint &) result); | |
15971 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
15972 | } | |
15973 | return resultobj; | |
15974 | fail: | |
15975 | return NULL; | |
15976 | } | |
15977 | ||
15978 | ||
15979 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15980 | PyObject *resultobj; | |
15981 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
15982 | wxPoint result; | |
15983 | PyObject * obj0 = 0 ; | |
15984 | char *kwnames[] = { | |
15985 | (char *) "self", NULL | |
15986 | }; | |
15987 | ||
15988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
15989 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15990 | { | |
15991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15992 | result = (arg1)->GetMinMarginTopLeft(); | |
15993 | ||
15994 | wxPyEndAllowThreads(__tstate); | |
15995 | if (PyErr_Occurred()) SWIG_fail; | |
15996 | } | |
15997 | { | |
15998 | wxPoint * resultptr; | |
15999 | resultptr = new wxPoint((wxPoint &) result); | |
16000 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
16001 | } | |
16002 | return resultobj; | |
16003 | fail: | |
16004 | return NULL; | |
16005 | } | |
16006 | ||
16007 | ||
16008 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16009 | PyObject *resultobj; | |
16010 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16011 | wxPoint result; | |
16012 | PyObject * obj0 = 0 ; | |
16013 | char *kwnames[] = { | |
16014 | (char *) "self", NULL | |
16015 | }; | |
16016 | ||
16017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
16018 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16019 | { | |
16020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16021 | result = (arg1)->GetMinMarginBottomRight(); | |
16022 | ||
16023 | wxPyEndAllowThreads(__tstate); | |
16024 | if (PyErr_Occurred()) SWIG_fail; | |
16025 | } | |
16026 | { | |
16027 | wxPoint * resultptr; | |
16028 | resultptr = new wxPoint((wxPoint &) result); | |
16029 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
16030 | } | |
16031 | return resultobj; | |
16032 | fail: | |
16033 | return NULL; | |
16034 | } | |
16035 | ||
16036 | ||
16037 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16038 | PyObject *resultobj; | |
16039 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16040 | int result; | |
16041 | PyObject * obj0 = 0 ; | |
16042 | char *kwnames[] = { | |
16043 | (char *) "self", NULL | |
16044 | }; | |
16045 | ||
16046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
16047 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16048 | { | |
16049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16050 | result = (int)(arg1)->GetPaperId(); | |
16051 | ||
16052 | wxPyEndAllowThreads(__tstate); | |
16053 | if (PyErr_Occurred()) SWIG_fail; | |
16054 | } | |
16055 | resultobj = PyInt_FromLong((long)result); | |
16056 | return resultobj; | |
16057 | fail: | |
16058 | return NULL; | |
16059 | } | |
16060 | ||
16061 | ||
16062 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16063 | PyObject *resultobj; | |
16064 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16065 | wxSize result; | |
16066 | PyObject * obj0 = 0 ; | |
16067 | char *kwnames[] = { | |
16068 | (char *) "self", NULL | |
16069 | }; | |
16070 | ||
16071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
16072 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16073 | { | |
16074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16075 | result = (arg1)->GetPaperSize(); | |
16076 | ||
16077 | wxPyEndAllowThreads(__tstate); | |
16078 | if (PyErr_Occurred()) SWIG_fail; | |
16079 | } | |
16080 | { | |
16081 | wxSize * resultptr; | |
16082 | resultptr = new wxSize((wxSize &) result); | |
16083 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
16084 | } | |
16085 | return resultobj; | |
16086 | fail: | |
16087 | return NULL; | |
16088 | } | |
16089 | ||
16090 | ||
16091 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16092 | PyObject *resultobj; | |
16093 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16094 | wxPrintData *result; | |
16095 | PyObject * obj0 = 0 ; | |
16096 | char *kwnames[] = { | |
16097 | (char *) "self", NULL | |
16098 | }; | |
16099 | ||
16100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
16101 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16102 | { | |
16103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16104 | { | |
16105 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
16106 | result = (wxPrintData *) &_result_ref; | |
16107 | } | |
16108 | ||
16109 | wxPyEndAllowThreads(__tstate); | |
16110 | if (PyErr_Occurred()) SWIG_fail; | |
16111 | } | |
16112 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
16113 | return resultobj; | |
16114 | fail: | |
16115 | return NULL; | |
16116 | } | |
16117 | ||
16118 | ||
16119 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16120 | PyObject *resultobj; | |
16121 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16122 | bool result; | |
16123 | PyObject * obj0 = 0 ; | |
16124 | char *kwnames[] = { | |
16125 | (char *) "self", NULL | |
16126 | }; | |
16127 | ||
16128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
16129 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16130 | { | |
16131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16132 | result = (bool)(arg1)->Ok(); | |
16133 | ||
16134 | wxPyEndAllowThreads(__tstate); | |
16135 | if (PyErr_Occurred()) SWIG_fail; | |
16136 | } | |
16137 | resultobj = PyInt_FromLong((long)result); | |
16138 | return resultobj; | |
16139 | fail: | |
16140 | return NULL; | |
16141 | } | |
16142 | ||
16143 | ||
16144 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16145 | PyObject *resultobj; | |
16146 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16147 | bool arg2 ; | |
16148 | PyObject * obj0 = 0 ; | |
16149 | PyObject * obj1 = 0 ; | |
16150 | char *kwnames[] = { | |
16151 | (char *) "self",(char *) "flag", NULL | |
16152 | }; | |
16153 | ||
16154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
16155 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16156 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16157 | if (PyErr_Occurred()) SWIG_fail; | |
16158 | { | |
16159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16160 | (arg1)->SetDefaultInfo(arg2); | |
16161 | ||
16162 | wxPyEndAllowThreads(__tstate); | |
16163 | if (PyErr_Occurred()) SWIG_fail; | |
16164 | } | |
16165 | Py_INCREF(Py_None); resultobj = Py_None; | |
16166 | return resultobj; | |
16167 | fail: | |
16168 | return NULL; | |
16169 | } | |
16170 | ||
16171 | ||
16172 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16173 | PyObject *resultobj; | |
16174 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16175 | bool arg2 ; | |
16176 | PyObject * obj0 = 0 ; | |
16177 | PyObject * obj1 = 0 ; | |
16178 | char *kwnames[] = { | |
16179 | (char *) "self",(char *) "flag", NULL | |
16180 | }; | |
16181 | ||
16182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
16183 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16184 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16185 | if (PyErr_Occurred()) SWIG_fail; | |
16186 | { | |
16187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16188 | (arg1)->SetDefaultMinMargins(arg2); | |
16189 | ||
16190 | wxPyEndAllowThreads(__tstate); | |
16191 | if (PyErr_Occurred()) SWIG_fail; | |
16192 | } | |
16193 | Py_INCREF(Py_None); resultobj = Py_None; | |
16194 | return resultobj; | |
16195 | fail: | |
16196 | return NULL; | |
16197 | } | |
16198 | ||
16199 | ||
16200 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16201 | PyObject *resultobj; | |
16202 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16203 | wxPoint *arg2 = 0 ; | |
16204 | wxPoint temp2 ; | |
16205 | PyObject * obj0 = 0 ; | |
16206 | PyObject * obj1 = 0 ; | |
16207 | char *kwnames[] = { | |
16208 | (char *) "self",(char *) "pt", NULL | |
16209 | }; | |
16210 | ||
16211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
16212 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16213 | { | |
16214 | arg2 = &temp2; | |
16215 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
16216 | } | |
16217 | { | |
16218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16219 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
16220 | ||
16221 | wxPyEndAllowThreads(__tstate); | |
16222 | if (PyErr_Occurred()) SWIG_fail; | |
16223 | } | |
16224 | Py_INCREF(Py_None); resultobj = Py_None; | |
16225 | return resultobj; | |
16226 | fail: | |
16227 | return NULL; | |
16228 | } | |
16229 | ||
16230 | ||
16231 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16232 | PyObject *resultobj; | |
16233 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16234 | wxPoint *arg2 = 0 ; | |
16235 | wxPoint temp2 ; | |
16236 | PyObject * obj0 = 0 ; | |
16237 | PyObject * obj1 = 0 ; | |
16238 | char *kwnames[] = { | |
16239 | (char *) "self",(char *) "pt", NULL | |
16240 | }; | |
16241 | ||
16242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
16243 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16244 | { | |
16245 | arg2 = &temp2; | |
16246 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
16247 | } | |
16248 | { | |
16249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16250 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
16251 | ||
16252 | wxPyEndAllowThreads(__tstate); | |
16253 | if (PyErr_Occurred()) SWIG_fail; | |
16254 | } | |
16255 | Py_INCREF(Py_None); resultobj = Py_None; | |
16256 | return resultobj; | |
16257 | fail: | |
16258 | return NULL; | |
16259 | } | |
16260 | ||
16261 | ||
16262 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16263 | PyObject *resultobj; | |
16264 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16265 | wxPoint *arg2 = 0 ; | |
16266 | wxPoint temp2 ; | |
16267 | PyObject * obj0 = 0 ; | |
16268 | PyObject * obj1 = 0 ; | |
16269 | char *kwnames[] = { | |
16270 | (char *) "self",(char *) "pt", NULL | |
16271 | }; | |
16272 | ||
16273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
16274 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16275 | { | |
16276 | arg2 = &temp2; | |
16277 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
16278 | } | |
16279 | { | |
16280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16281 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
16282 | ||
16283 | wxPyEndAllowThreads(__tstate); | |
16284 | if (PyErr_Occurred()) SWIG_fail; | |
16285 | } | |
16286 | Py_INCREF(Py_None); resultobj = Py_None; | |
16287 | return resultobj; | |
16288 | fail: | |
16289 | return NULL; | |
16290 | } | |
16291 | ||
16292 | ||
16293 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16294 | PyObject *resultobj; | |
16295 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16296 | wxPoint *arg2 = 0 ; | |
16297 | wxPoint temp2 ; | |
16298 | PyObject * obj0 = 0 ; | |
16299 | PyObject * obj1 = 0 ; | |
16300 | char *kwnames[] = { | |
16301 | (char *) "self",(char *) "pt", NULL | |
16302 | }; | |
16303 | ||
16304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
16305 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16306 | { | |
16307 | arg2 = &temp2; | |
16308 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
16309 | } | |
16310 | { | |
16311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16312 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
16313 | ||
16314 | wxPyEndAllowThreads(__tstate); | |
16315 | if (PyErr_Occurred()) SWIG_fail; | |
16316 | } | |
16317 | Py_INCREF(Py_None); resultobj = Py_None; | |
16318 | return resultobj; | |
16319 | fail: | |
16320 | return NULL; | |
16321 | } | |
16322 | ||
16323 | ||
16324 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16325 | PyObject *resultobj; | |
16326 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16327 | int arg2 ; | |
16328 | PyObject * obj0 = 0 ; | |
16329 | char *kwnames[] = { | |
16330 | (char *) "self",(char *) "id", NULL | |
16331 | }; | |
16332 | ||
16333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail; | |
16334 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16335 | { | |
16336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16337 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
16338 | ||
16339 | wxPyEndAllowThreads(__tstate); | |
16340 | if (PyErr_Occurred()) SWIG_fail; | |
16341 | } | |
16342 | Py_INCREF(Py_None); resultobj = Py_None; | |
16343 | return resultobj; | |
16344 | fail: | |
16345 | return NULL; | |
16346 | } | |
16347 | ||
16348 | ||
16349 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16350 | PyObject *resultobj; | |
16351 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16352 | wxSize *arg2 = 0 ; | |
16353 | wxSize temp2 ; | |
16354 | PyObject * obj0 = 0 ; | |
16355 | PyObject * obj1 = 0 ; | |
16356 | char *kwnames[] = { | |
16357 | (char *) "self",(char *) "size", NULL | |
16358 | }; | |
16359 | ||
16360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
16361 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16362 | { | |
16363 | arg2 = &temp2; | |
16364 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16365 | } | |
16366 | { | |
16367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16368 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
16369 | ||
16370 | wxPyEndAllowThreads(__tstate); | |
16371 | if (PyErr_Occurred()) SWIG_fail; | |
16372 | } | |
16373 | Py_INCREF(Py_None); resultobj = Py_None; | |
16374 | return resultobj; | |
16375 | fail: | |
16376 | return NULL; | |
16377 | } | |
16378 | ||
16379 | ||
16380 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16381 | PyObject *resultobj; | |
16382 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16383 | wxPrintData *arg2 = 0 ; | |
16384 | PyObject * obj0 = 0 ; | |
16385 | PyObject * obj1 = 0 ; | |
16386 | char *kwnames[] = { | |
16387 | (char *) "self",(char *) "printData", NULL | |
16388 | }; | |
16389 | ||
16390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
16391 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16392 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16393 | if (arg2 == NULL) { | |
16394 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
16395 | } | |
16396 | { | |
16397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16398 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
16399 | ||
16400 | wxPyEndAllowThreads(__tstate); | |
16401 | if (PyErr_Occurred()) SWIG_fail; | |
16402 | } | |
16403 | Py_INCREF(Py_None); resultobj = Py_None; | |
16404 | return resultobj; | |
16405 | fail: | |
16406 | return NULL; | |
16407 | } | |
16408 | ||
16409 | ||
16410 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
16411 | PyObject *obj; | |
16412 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16413 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
16414 | Py_INCREF(obj); | |
16415 | return Py_BuildValue((char *)""); | |
16416 | } | |
16417 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16418 | PyObject *resultobj; | |
16419 | wxWindow *arg1 = (wxWindow *) 0 ; | |
16420 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
16421 | wxPageSetupDialog *result; | |
16422 | PyObject * obj0 = 0 ; | |
16423 | PyObject * obj1 = 0 ; | |
16424 | char *kwnames[] = { | |
16425 | (char *) "parent",(char *) "data", NULL | |
16426 | }; | |
16427 | ||
16428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
16429 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16430 | if (obj1) { | |
16431 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16432 | } | |
16433 | { | |
16434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16435 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
16436 | ||
16437 | wxPyEndAllowThreads(__tstate); | |
16438 | if (PyErr_Occurred()) SWIG_fail; | |
16439 | } | |
16440 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1); | |
16441 | return resultobj; | |
16442 | fail: | |
16443 | return NULL; | |
16444 | } | |
16445 | ||
16446 | ||
16447 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16448 | PyObject *resultobj; | |
16449 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
16450 | wxPageSetupDialogData *result; | |
16451 | PyObject * obj0 = 0 ; | |
16452 | char *kwnames[] = { | |
16453 | (char *) "self", NULL | |
16454 | }; | |
16455 | ||
16456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
16457 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16458 | { | |
16459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16460 | { | |
16461 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
16462 | result = (wxPageSetupDialogData *) &_result_ref; | |
16463 | } | |
16464 | ||
16465 | wxPyEndAllowThreads(__tstate); | |
16466 | if (PyErr_Occurred()) SWIG_fail; | |
16467 | } | |
16468 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
16469 | return resultobj; | |
16470 | fail: | |
16471 | return NULL; | |
16472 | } | |
16473 | ||
16474 | ||
16475 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16476 | PyObject *resultobj; | |
16477 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
16478 | int result; | |
16479 | PyObject * obj0 = 0 ; | |
16480 | char *kwnames[] = { | |
16481 | (char *) "self", NULL | |
16482 | }; | |
16483 | ||
16484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
16485 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16486 | { | |
16487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16488 | result = (int)(arg1)->ShowModal(); | |
16489 | ||
16490 | wxPyEndAllowThreads(__tstate); | |
16491 | if (PyErr_Occurred()) SWIG_fail; | |
16492 | } | |
16493 | resultobj = PyInt_FromLong((long)result); | |
16494 | return resultobj; | |
16495 | fail: | |
16496 | return NULL; | |
16497 | } | |
16498 | ||
16499 | ||
16500 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
16501 | PyObject *obj; | |
16502 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16503 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
16504 | Py_INCREF(obj); | |
16505 | return Py_BuildValue((char *)""); | |
16506 | } | |
16507 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16508 | PyObject *resultobj; | |
16509 | wxPrintDialogData *result; | |
16510 | char *kwnames[] = { | |
16511 | NULL | |
16512 | }; | |
16513 | ||
16514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail; | |
16515 | { | |
16516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16517 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
16518 | ||
16519 | wxPyEndAllowThreads(__tstate); | |
16520 | if (PyErr_Occurred()) SWIG_fail; | |
16521 | } | |
16522 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1); | |
16523 | return resultobj; | |
16524 | fail: | |
16525 | return NULL; | |
16526 | } | |
16527 | ||
16528 | ||
16529 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16530 | PyObject *resultobj; | |
16531 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16532 | PyObject * obj0 = 0 ; | |
16533 | char *kwnames[] = { | |
16534 | (char *) "self", NULL | |
16535 | }; | |
16536 | ||
16537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
16538 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16539 | { | |
16540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16541 | delete arg1; | |
16542 | ||
16543 | wxPyEndAllowThreads(__tstate); | |
16544 | if (PyErr_Occurred()) SWIG_fail; | |
16545 | } | |
16546 | Py_INCREF(Py_None); resultobj = Py_None; | |
16547 | return resultobj; | |
16548 | fail: | |
16549 | return NULL; | |
16550 | } | |
16551 | ||
16552 | ||
16553 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16554 | PyObject *resultobj; | |
16555 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16556 | int result; | |
16557 | PyObject * obj0 = 0 ; | |
16558 | char *kwnames[] = { | |
16559 | (char *) "self", NULL | |
16560 | }; | |
16561 | ||
16562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
16563 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16564 | { | |
16565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16566 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
16567 | ||
16568 | wxPyEndAllowThreads(__tstate); | |
16569 | if (PyErr_Occurred()) SWIG_fail; | |
16570 | } | |
16571 | resultobj = PyInt_FromLong((long)result); | |
16572 | return resultobj; | |
16573 | fail: | |
16574 | return NULL; | |
16575 | } | |
16576 | ||
16577 | ||
16578 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16579 | PyObject *resultobj; | |
16580 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16581 | int result; | |
16582 | PyObject * obj0 = 0 ; | |
16583 | char *kwnames[] = { | |
16584 | (char *) "self", NULL | |
16585 | }; | |
16586 | ||
16587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
16588 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16589 | { | |
16590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16591 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
16592 | ||
16593 | wxPyEndAllowThreads(__tstate); | |
16594 | if (PyErr_Occurred()) SWIG_fail; | |
16595 | } | |
16596 | resultobj = PyInt_FromLong((long)result); | |
16597 | return resultobj; | |
16598 | fail: | |
16599 | return NULL; | |
16600 | } | |
16601 | ||
16602 | ||
16603 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16604 | PyObject *resultobj; | |
16605 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16606 | int result; | |
16607 | PyObject * obj0 = 0 ; | |
16608 | char *kwnames[] = { | |
16609 | (char *) "self", NULL | |
16610 | }; | |
16611 | ||
16612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
16613 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16614 | { | |
16615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16616 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
16617 | ||
16618 | wxPyEndAllowThreads(__tstate); | |
16619 | if (PyErr_Occurred()) SWIG_fail; | |
16620 | } | |
16621 | resultobj = PyInt_FromLong((long)result); | |
16622 | return resultobj; | |
16623 | fail: | |
16624 | return NULL; | |
16625 | } | |
16626 | ||
16627 | ||
16628 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16629 | PyObject *resultobj; | |
16630 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16631 | int result; | |
16632 | PyObject * obj0 = 0 ; | |
16633 | char *kwnames[] = { | |
16634 | (char *) "self", NULL | |
16635 | }; | |
16636 | ||
16637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
16638 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16639 | { | |
16640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16641 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
16642 | ||
16643 | wxPyEndAllowThreads(__tstate); | |
16644 | if (PyErr_Occurred()) SWIG_fail; | |
16645 | } | |
16646 | resultobj = PyInt_FromLong((long)result); | |
16647 | return resultobj; | |
16648 | fail: | |
16649 | return NULL; | |
16650 | } | |
16651 | ||
16652 | ||
16653 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16654 | PyObject *resultobj; | |
16655 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16656 | int result; | |
16657 | PyObject * obj0 = 0 ; | |
16658 | char *kwnames[] = { | |
16659 | (char *) "self", NULL | |
16660 | }; | |
16661 | ||
16662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
16663 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16664 | { | |
16665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16666 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
16667 | ||
16668 | wxPyEndAllowThreads(__tstate); | |
16669 | if (PyErr_Occurred()) SWIG_fail; | |
16670 | } | |
16671 | resultobj = PyInt_FromLong((long)result); | |
16672 | return resultobj; | |
16673 | fail: | |
16674 | return NULL; | |
16675 | } | |
16676 | ||
16677 | ||
16678 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16679 | PyObject *resultobj; | |
16680 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16681 | bool result; | |
16682 | PyObject * obj0 = 0 ; | |
16683 | char *kwnames[] = { | |
16684 | (char *) "self", NULL | |
16685 | }; | |
16686 | ||
16687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
16688 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16689 | { | |
16690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16691 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
16692 | ||
16693 | wxPyEndAllowThreads(__tstate); | |
16694 | if (PyErr_Occurred()) SWIG_fail; | |
16695 | } | |
16696 | resultobj = PyInt_FromLong((long)result); | |
16697 | return resultobj; | |
16698 | fail: | |
16699 | return NULL; | |
16700 | } | |
16701 | ||
16702 | ||
16703 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16704 | PyObject *resultobj; | |
16705 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16706 | bool result; | |
16707 | PyObject * obj0 = 0 ; | |
16708 | char *kwnames[] = { | |
16709 | (char *) "self", NULL | |
16710 | }; | |
16711 | ||
16712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
16713 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16714 | { | |
16715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16716 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
16717 | ||
16718 | wxPyEndAllowThreads(__tstate); | |
16719 | if (PyErr_Occurred()) SWIG_fail; | |
16720 | } | |
16721 | resultobj = PyInt_FromLong((long)result); | |
16722 | return resultobj; | |
16723 | fail: | |
16724 | return NULL; | |
16725 | } | |
16726 | ||
16727 | ||
16728 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16729 | PyObject *resultobj; | |
16730 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16731 | bool result; | |
16732 | PyObject * obj0 = 0 ; | |
16733 | char *kwnames[] = { | |
16734 | (char *) "self", NULL | |
16735 | }; | |
16736 | ||
16737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
16738 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16739 | { | |
16740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16741 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
16742 | ||
16743 | wxPyEndAllowThreads(__tstate); | |
16744 | if (PyErr_Occurred()) SWIG_fail; | |
16745 | } | |
16746 | resultobj = PyInt_FromLong((long)result); | |
16747 | return resultobj; | |
16748 | fail: | |
16749 | return NULL; | |
16750 | } | |
16751 | ||
16752 | ||
16753 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16754 | PyObject *resultobj; | |
16755 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16756 | bool result; | |
16757 | PyObject * obj0 = 0 ; | |
16758 | char *kwnames[] = { | |
16759 | (char *) "self", NULL | |
16760 | }; | |
16761 | ||
16762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
16763 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16764 | { | |
16765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16766 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
16767 | ||
16768 | wxPyEndAllowThreads(__tstate); | |
16769 | if (PyErr_Occurred()) SWIG_fail; | |
16770 | } | |
16771 | resultobj = PyInt_FromLong((long)result); | |
16772 | return resultobj; | |
16773 | fail: | |
16774 | return NULL; | |
16775 | } | |
16776 | ||
16777 | ||
16778 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16779 | PyObject *resultobj; | |
16780 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16781 | bool result; | |
16782 | PyObject * obj0 = 0 ; | |
16783 | char *kwnames[] = { | |
16784 | (char *) "self", NULL | |
16785 | }; | |
16786 | ||
16787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
16788 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16789 | { | |
16790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16791 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
16792 | ||
16793 | wxPyEndAllowThreads(__tstate); | |
16794 | if (PyErr_Occurred()) SWIG_fail; | |
16795 | } | |
16796 | resultobj = PyInt_FromLong((long)result); | |
16797 | return resultobj; | |
16798 | fail: | |
16799 | return NULL; | |
16800 | } | |
16801 | ||
16802 | ||
16803 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16804 | PyObject *resultobj; | |
16805 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16806 | int arg2 ; | |
16807 | PyObject * obj0 = 0 ; | |
16808 | char *kwnames[] = { | |
16809 | (char *) "self",(char *) "v", NULL | |
16810 | }; | |
16811 | ||
16812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail; | |
16813 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16814 | { | |
16815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16816 | (arg1)->SetFromPage(arg2); | |
16817 | ||
16818 | wxPyEndAllowThreads(__tstate); | |
16819 | if (PyErr_Occurred()) SWIG_fail; | |
16820 | } | |
16821 | Py_INCREF(Py_None); resultobj = Py_None; | |
16822 | return resultobj; | |
16823 | fail: | |
16824 | return NULL; | |
16825 | } | |
16826 | ||
16827 | ||
16828 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16829 | PyObject *resultobj; | |
16830 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16831 | int arg2 ; | |
16832 | PyObject * obj0 = 0 ; | |
16833 | char *kwnames[] = { | |
16834 | (char *) "self",(char *) "v", NULL | |
16835 | }; | |
16836 | ||
16837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail; | |
16838 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16839 | { | |
16840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16841 | (arg1)->SetToPage(arg2); | |
16842 | ||
16843 | wxPyEndAllowThreads(__tstate); | |
16844 | if (PyErr_Occurred()) SWIG_fail; | |
16845 | } | |
16846 | Py_INCREF(Py_None); resultobj = Py_None; | |
16847 | return resultobj; | |
16848 | fail: | |
16849 | return NULL; | |
16850 | } | |
16851 | ||
16852 | ||
16853 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16854 | PyObject *resultobj; | |
16855 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16856 | int arg2 ; | |
16857 | PyObject * obj0 = 0 ; | |
16858 | char *kwnames[] = { | |
16859 | (char *) "self",(char *) "v", NULL | |
16860 | }; | |
16861 | ||
16862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail; | |
16863 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16864 | { | |
16865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16866 | (arg1)->SetMinPage(arg2); | |
16867 | ||
16868 | wxPyEndAllowThreads(__tstate); | |
16869 | if (PyErr_Occurred()) SWIG_fail; | |
16870 | } | |
16871 | Py_INCREF(Py_None); resultobj = Py_None; | |
16872 | return resultobj; | |
16873 | fail: | |
16874 | return NULL; | |
16875 | } | |
16876 | ||
16877 | ||
16878 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16879 | PyObject *resultobj; | |
16880 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16881 | int arg2 ; | |
16882 | PyObject * obj0 = 0 ; | |
16883 | char *kwnames[] = { | |
16884 | (char *) "self",(char *) "v", NULL | |
16885 | }; | |
16886 | ||
16887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail; | |
16888 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16889 | { | |
16890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16891 | (arg1)->SetMaxPage(arg2); | |
16892 | ||
16893 | wxPyEndAllowThreads(__tstate); | |
16894 | if (PyErr_Occurred()) SWIG_fail; | |
16895 | } | |
16896 | Py_INCREF(Py_None); resultobj = Py_None; | |
16897 | return resultobj; | |
16898 | fail: | |
16899 | return NULL; | |
16900 | } | |
16901 | ||
16902 | ||
16903 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16904 | PyObject *resultobj; | |
16905 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16906 | int arg2 ; | |
16907 | PyObject * obj0 = 0 ; | |
16908 | char *kwnames[] = { | |
16909 | (char *) "self",(char *) "v", NULL | |
16910 | }; | |
16911 | ||
16912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail; | |
16913 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16914 | { | |
16915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16916 | (arg1)->SetNoCopies(arg2); | |
16917 | ||
16918 | wxPyEndAllowThreads(__tstate); | |
16919 | if (PyErr_Occurred()) SWIG_fail; | |
16920 | } | |
16921 | Py_INCREF(Py_None); resultobj = Py_None; | |
16922 | return resultobj; | |
16923 | fail: | |
16924 | return NULL; | |
16925 | } | |
16926 | ||
16927 | ||
16928 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16929 | PyObject *resultobj; | |
16930 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16931 | bool arg2 ; | |
16932 | PyObject * obj0 = 0 ; | |
16933 | PyObject * obj1 = 0 ; | |
16934 | char *kwnames[] = { | |
16935 | (char *) "self",(char *) "flag", NULL | |
16936 | }; | |
16937 | ||
16938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
16939 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16940 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16941 | if (PyErr_Occurred()) SWIG_fail; | |
16942 | { | |
16943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16944 | (arg1)->SetAllPages(arg2); | |
16945 | ||
16946 | wxPyEndAllowThreads(__tstate); | |
16947 | if (PyErr_Occurred()) SWIG_fail; | |
16948 | } | |
16949 | Py_INCREF(Py_None); resultobj = Py_None; | |
16950 | return resultobj; | |
16951 | fail: | |
16952 | return NULL; | |
16953 | } | |
16954 | ||
16955 | ||
16956 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16957 | PyObject *resultobj; | |
16958 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16959 | bool arg2 ; | |
16960 | PyObject * obj0 = 0 ; | |
16961 | PyObject * obj1 = 0 ; | |
16962 | char *kwnames[] = { | |
16963 | (char *) "self",(char *) "flag", NULL | |
16964 | }; | |
16965 | ||
16966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
16967 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16968 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16969 | if (PyErr_Occurred()) SWIG_fail; | |
16970 | { | |
16971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16972 | (arg1)->SetSelection(arg2); | |
16973 | ||
16974 | wxPyEndAllowThreads(__tstate); | |
16975 | if (PyErr_Occurred()) SWIG_fail; | |
16976 | } | |
16977 | Py_INCREF(Py_None); resultobj = Py_None; | |
16978 | return resultobj; | |
16979 | fail: | |
16980 | return NULL; | |
16981 | } | |
16982 | ||
16983 | ||
16984 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16985 | PyObject *resultobj; | |
16986 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
16987 | bool arg2 ; | |
16988 | PyObject * obj0 = 0 ; | |
16989 | PyObject * obj1 = 0 ; | |
16990 | char *kwnames[] = { | |
16991 | (char *) "self",(char *) "flag", NULL | |
16992 | }; | |
16993 | ||
16994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
16995 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16996 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16997 | if (PyErr_Occurred()) SWIG_fail; | |
16998 | { | |
16999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17000 | (arg1)->SetCollate(arg2); | |
17001 | ||
17002 | wxPyEndAllowThreads(__tstate); | |
17003 | if (PyErr_Occurred()) SWIG_fail; | |
17004 | } | |
17005 | Py_INCREF(Py_None); resultobj = Py_None; | |
17006 | return resultobj; | |
17007 | fail: | |
17008 | return NULL; | |
17009 | } | |
17010 | ||
17011 | ||
17012 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17013 | PyObject *resultobj; | |
17014 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17015 | bool arg2 ; | |
17016 | PyObject * obj0 = 0 ; | |
17017 | PyObject * obj1 = 0 ; | |
17018 | char *kwnames[] = { | |
17019 | (char *) "self",(char *) "flag", NULL | |
17020 | }; | |
17021 | ||
17022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
17023 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17024 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17025 | if (PyErr_Occurred()) SWIG_fail; | |
17026 | { | |
17027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17028 | (arg1)->SetPrintToFile(arg2); | |
17029 | ||
17030 | wxPyEndAllowThreads(__tstate); | |
17031 | if (PyErr_Occurred()) SWIG_fail; | |
17032 | } | |
17033 | Py_INCREF(Py_None); resultobj = Py_None; | |
17034 | return resultobj; | |
17035 | fail: | |
17036 | return NULL; | |
17037 | } | |
17038 | ||
17039 | ||
17040 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17041 | PyObject *resultobj; | |
17042 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17043 | bool arg2 ; | |
17044 | PyObject * obj0 = 0 ; | |
17045 | PyObject * obj1 = 0 ; | |
17046 | char *kwnames[] = { | |
17047 | (char *) "self",(char *) "flag", NULL | |
17048 | }; | |
17049 | ||
17050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
17051 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17052 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17053 | if (PyErr_Occurred()) SWIG_fail; | |
17054 | { | |
17055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17056 | (arg1)->SetSetupDialog(arg2); | |
17057 | ||
17058 | wxPyEndAllowThreads(__tstate); | |
17059 | if (PyErr_Occurred()) SWIG_fail; | |
17060 | } | |
17061 | Py_INCREF(Py_None); resultobj = Py_None; | |
17062 | return resultobj; | |
17063 | fail: | |
17064 | return NULL; | |
17065 | } | |
17066 | ||
17067 | ||
17068 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17069 | PyObject *resultobj; | |
17070 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17071 | bool arg2 ; | |
17072 | PyObject * obj0 = 0 ; | |
17073 | PyObject * obj1 = 0 ; | |
17074 | char *kwnames[] = { | |
17075 | (char *) "self",(char *) "flag", NULL | |
17076 | }; | |
17077 | ||
17078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
17079 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17080 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17081 | if (PyErr_Occurred()) SWIG_fail; | |
17082 | { | |
17083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17084 | (arg1)->EnablePrintToFile(arg2); | |
17085 | ||
17086 | wxPyEndAllowThreads(__tstate); | |
17087 | if (PyErr_Occurred()) SWIG_fail; | |
17088 | } | |
17089 | Py_INCREF(Py_None); resultobj = Py_None; | |
17090 | return resultobj; | |
17091 | fail: | |
17092 | return NULL; | |
17093 | } | |
17094 | ||
17095 | ||
17096 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17097 | PyObject *resultobj; | |
17098 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17099 | bool arg2 ; | |
17100 | PyObject * obj0 = 0 ; | |
17101 | PyObject * obj1 = 0 ; | |
17102 | char *kwnames[] = { | |
17103 | (char *) "self",(char *) "flag", NULL | |
17104 | }; | |
17105 | ||
17106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
17107 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17108 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17109 | if (PyErr_Occurred()) SWIG_fail; | |
17110 | { | |
17111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17112 | (arg1)->EnableSelection(arg2); | |
17113 | ||
17114 | wxPyEndAllowThreads(__tstate); | |
17115 | if (PyErr_Occurred()) SWIG_fail; | |
17116 | } | |
17117 | Py_INCREF(Py_None); resultobj = Py_None; | |
17118 | return resultobj; | |
17119 | fail: | |
17120 | return NULL; | |
17121 | } | |
17122 | ||
17123 | ||
17124 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17125 | PyObject *resultobj; | |
17126 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17127 | bool arg2 ; | |
17128 | PyObject * obj0 = 0 ; | |
17129 | PyObject * obj1 = 0 ; | |
17130 | char *kwnames[] = { | |
17131 | (char *) "self",(char *) "flag", NULL | |
17132 | }; | |
17133 | ||
17134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
17135 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17136 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17137 | if (PyErr_Occurred()) SWIG_fail; | |
17138 | { | |
17139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17140 | (arg1)->EnablePageNumbers(arg2); | |
17141 | ||
17142 | wxPyEndAllowThreads(__tstate); | |
17143 | if (PyErr_Occurred()) SWIG_fail; | |
17144 | } | |
17145 | Py_INCREF(Py_None); resultobj = Py_None; | |
17146 | return resultobj; | |
17147 | fail: | |
17148 | return NULL; | |
17149 | } | |
17150 | ||
17151 | ||
17152 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17153 | PyObject *resultobj; | |
17154 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17155 | bool arg2 ; | |
17156 | PyObject * obj0 = 0 ; | |
17157 | PyObject * obj1 = 0 ; | |
17158 | char *kwnames[] = { | |
17159 | (char *) "self",(char *) "flag", NULL | |
17160 | }; | |
17161 | ||
17162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
17163 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17164 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17165 | if (PyErr_Occurred()) SWIG_fail; | |
17166 | { | |
17167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17168 | (arg1)->EnableHelp(arg2); | |
17169 | ||
17170 | wxPyEndAllowThreads(__tstate); | |
17171 | if (PyErr_Occurred()) SWIG_fail; | |
17172 | } | |
17173 | Py_INCREF(Py_None); resultobj = Py_None; | |
17174 | return resultobj; | |
17175 | fail: | |
17176 | return NULL; | |
17177 | } | |
17178 | ||
17179 | ||
17180 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17181 | PyObject *resultobj; | |
17182 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17183 | bool result; | |
17184 | PyObject * obj0 = 0 ; | |
17185 | char *kwnames[] = { | |
17186 | (char *) "self", NULL | |
17187 | }; | |
17188 | ||
17189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
17190 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17191 | { | |
17192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17193 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
17194 | ||
17195 | wxPyEndAllowThreads(__tstate); | |
17196 | if (PyErr_Occurred()) SWIG_fail; | |
17197 | } | |
17198 | resultobj = PyInt_FromLong((long)result); | |
17199 | return resultobj; | |
17200 | fail: | |
17201 | return NULL; | |
17202 | } | |
17203 | ||
17204 | ||
17205 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17206 | PyObject *resultobj; | |
17207 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17208 | bool result; | |
17209 | PyObject * obj0 = 0 ; | |
17210 | char *kwnames[] = { | |
17211 | (char *) "self", NULL | |
17212 | }; | |
17213 | ||
17214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
17215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17216 | { | |
17217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17218 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
17219 | ||
17220 | wxPyEndAllowThreads(__tstate); | |
17221 | if (PyErr_Occurred()) SWIG_fail; | |
17222 | } | |
17223 | resultobj = PyInt_FromLong((long)result); | |
17224 | return resultobj; | |
17225 | fail: | |
17226 | return NULL; | |
17227 | } | |
17228 | ||
17229 | ||
17230 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17231 | PyObject *resultobj; | |
17232 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17233 | bool result; | |
17234 | PyObject * obj0 = 0 ; | |
17235 | char *kwnames[] = { | |
17236 | (char *) "self", NULL | |
17237 | }; | |
17238 | ||
17239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
17240 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17241 | { | |
17242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17243 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
17244 | ||
17245 | wxPyEndAllowThreads(__tstate); | |
17246 | if (PyErr_Occurred()) SWIG_fail; | |
17247 | } | |
17248 | resultobj = PyInt_FromLong((long)result); | |
17249 | return resultobj; | |
17250 | fail: | |
17251 | return NULL; | |
17252 | } | |
17253 | ||
17254 | ||
17255 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17256 | PyObject *resultobj; | |
17257 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17258 | bool result; | |
17259 | PyObject * obj0 = 0 ; | |
17260 | char *kwnames[] = { | |
17261 | (char *) "self", NULL | |
17262 | }; | |
17263 | ||
17264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
17265 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17266 | { | |
17267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17268 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
17269 | ||
17270 | wxPyEndAllowThreads(__tstate); | |
17271 | if (PyErr_Occurred()) SWIG_fail; | |
17272 | } | |
17273 | resultobj = PyInt_FromLong((long)result); | |
17274 | return resultobj; | |
17275 | fail: | |
17276 | return NULL; | |
17277 | } | |
17278 | ||
17279 | ||
17280 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17281 | PyObject *resultobj; | |
17282 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17283 | bool result; | |
17284 | PyObject * obj0 = 0 ; | |
17285 | char *kwnames[] = { | |
17286 | (char *) "self", NULL | |
17287 | }; | |
17288 | ||
17289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
17290 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17291 | { | |
17292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17293 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
17294 | ||
17295 | wxPyEndAllowThreads(__tstate); | |
17296 | if (PyErr_Occurred()) SWIG_fail; | |
17297 | } | |
17298 | resultobj = PyInt_FromLong((long)result); | |
17299 | return resultobj; | |
17300 | fail: | |
17301 | return NULL; | |
17302 | } | |
17303 | ||
17304 | ||
17305 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17306 | PyObject *resultobj; | |
17307 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17308 | wxPrintData *result; | |
17309 | PyObject * obj0 = 0 ; | |
17310 | char *kwnames[] = { | |
17311 | (char *) "self", NULL | |
17312 | }; | |
17313 | ||
17314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
17315 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17316 | { | |
17317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17318 | { | |
17319 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
17320 | result = (wxPrintData *) &_result_ref; | |
17321 | } | |
17322 | ||
17323 | wxPyEndAllowThreads(__tstate); | |
17324 | if (PyErr_Occurred()) SWIG_fail; | |
17325 | } | |
17326 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
17327 | return resultobj; | |
17328 | fail: | |
17329 | return NULL; | |
17330 | } | |
17331 | ||
17332 | ||
17333 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17334 | PyObject *resultobj; | |
17335 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17336 | wxPrintData *arg2 = 0 ; | |
17337 | PyObject * obj0 = 0 ; | |
17338 | PyObject * obj1 = 0 ; | |
17339 | char *kwnames[] = { | |
17340 | (char *) "self",(char *) "printData", NULL | |
17341 | }; | |
17342 | ||
17343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
17344 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17345 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17346 | if (arg2 == NULL) { | |
17347 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
17348 | } | |
17349 | { | |
17350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17351 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
17352 | ||
17353 | wxPyEndAllowThreads(__tstate); | |
17354 | if (PyErr_Occurred()) SWIG_fail; | |
17355 | } | |
17356 | Py_INCREF(Py_None); resultobj = Py_None; | |
17357 | return resultobj; | |
17358 | fail: | |
17359 | return NULL; | |
17360 | } | |
17361 | ||
17362 | ||
17363 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
17364 | PyObject *obj; | |
17365 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17366 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
17367 | Py_INCREF(obj); | |
17368 | return Py_BuildValue((char *)""); | |
17369 | } | |
17370 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17371 | PyObject *resultobj; | |
17372 | wxWindow *arg1 = (wxWindow *) 0 ; | |
17373 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
17374 | wxPrintDialog *result; | |
17375 | PyObject * obj0 = 0 ; | |
17376 | PyObject * obj1 = 0 ; | |
17377 | char *kwnames[] = { | |
17378 | (char *) "parent",(char *) "data", NULL | |
17379 | }; | |
17380 | ||
17381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
17382 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17383 | if (obj1) { | |
17384 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17385 | } | |
17386 | { | |
17387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17388 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
17389 | ||
17390 | wxPyEndAllowThreads(__tstate); | |
17391 | if (PyErr_Occurred()) SWIG_fail; | |
17392 | } | |
17393 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1); | |
17394 | return resultobj; | |
17395 | fail: | |
17396 | return NULL; | |
17397 | } | |
17398 | ||
17399 | ||
17400 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17401 | PyObject *resultobj; | |
17402 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
17403 | wxPrintDialogData *result; | |
17404 | PyObject * obj0 = 0 ; | |
17405 | char *kwnames[] = { | |
17406 | (char *) "self", NULL | |
17407 | }; | |
17408 | ||
17409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
17410 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17411 | { | |
17412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17413 | { | |
17414 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
17415 | result = (wxPrintDialogData *) &_result_ref; | |
17416 | } | |
17417 | ||
17418 | wxPyEndAllowThreads(__tstate); | |
17419 | if (PyErr_Occurred()) SWIG_fail; | |
17420 | } | |
17421 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
17422 | return resultobj; | |
17423 | fail: | |
17424 | return NULL; | |
17425 | } | |
17426 | ||
17427 | ||
17428 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17429 | PyObject *resultobj; | |
17430 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
17431 | wxDC *result; | |
17432 | PyObject * obj0 = 0 ; | |
17433 | char *kwnames[] = { | |
17434 | (char *) "self", NULL | |
17435 | }; | |
17436 | ||
17437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
17438 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17439 | { | |
17440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17441 | result = (wxDC *)(arg1)->GetPrintDC(); | |
17442 | ||
17443 | wxPyEndAllowThreads(__tstate); | |
17444 | if (PyErr_Occurred()) SWIG_fail; | |
17445 | } | |
17446 | { | |
17447 | resultobj = wxPyMake_wxObject(result); | |
17448 | } | |
17449 | return resultobj; | |
17450 | fail: | |
17451 | return NULL; | |
17452 | } | |
17453 | ||
17454 | ||
17455 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17456 | PyObject *resultobj; | |
17457 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
17458 | int result; | |
17459 | PyObject * obj0 = 0 ; | |
17460 | char *kwnames[] = { | |
17461 | (char *) "self", NULL | |
17462 | }; | |
17463 | ||
17464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
17465 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17466 | { | |
17467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17468 | result = (int)(arg1)->ShowModal(); | |
17469 | ||
17470 | wxPyEndAllowThreads(__tstate); | |
17471 | if (PyErr_Occurred()) SWIG_fail; | |
17472 | } | |
17473 | resultobj = PyInt_FromLong((long)result); | |
17474 | return resultobj; | |
17475 | fail: | |
17476 | return NULL; | |
17477 | } | |
17478 | ||
17479 | ||
17480 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
17481 | PyObject *obj; | |
17482 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17483 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
17484 | Py_INCREF(obj); | |
17485 | return Py_BuildValue((char *)""); | |
17486 | } | |
17487 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17488 | PyObject *resultobj; | |
17489 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
17490 | wxPrinter *result; | |
17491 | PyObject * obj0 = 0 ; | |
17492 | char *kwnames[] = { | |
17493 | (char *) "data", NULL | |
17494 | }; | |
17495 | ||
17496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
17497 | if (obj0) { | |
17498 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17499 | } | |
17500 | { | |
17501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17502 | result = (wxPrinter *)new wxPrinter(arg1); | |
17503 | ||
17504 | wxPyEndAllowThreads(__tstate); | |
17505 | if (PyErr_Occurred()) SWIG_fail; | |
17506 | } | |
17507 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1); | |
17508 | return resultobj; | |
17509 | fail: | |
17510 | return NULL; | |
17511 | } | |
17512 | ||
17513 | ||
17514 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17515 | PyObject *resultobj; | |
17516 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
17517 | PyObject * obj0 = 0 ; | |
17518 | char *kwnames[] = { | |
17519 | (char *) "self", NULL | |
17520 | }; | |
17521 | ||
17522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
17523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17524 | { | |
17525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17526 | delete arg1; | |
17527 | ||
17528 | wxPyEndAllowThreads(__tstate); | |
17529 | if (PyErr_Occurred()) SWIG_fail; | |
17530 | } | |
17531 | Py_INCREF(Py_None); resultobj = Py_None; | |
17532 | return resultobj; | |
17533 | fail: | |
17534 | return NULL; | |
17535 | } | |
17536 | ||
17537 | ||
17538 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17539 | PyObject *resultobj; | |
17540 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
17541 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17542 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
17543 | PyObject * obj0 = 0 ; | |
17544 | PyObject * obj1 = 0 ; | |
17545 | PyObject * obj2 = 0 ; | |
17546 | char *kwnames[] = { | |
17547 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
17548 | }; | |
17549 | ||
17550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17551 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17552 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17553 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17554 | { | |
17555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17556 | (arg1)->CreateAbortWindow(arg2,arg3); | |
17557 | ||
17558 | wxPyEndAllowThreads(__tstate); | |
17559 | if (PyErr_Occurred()) SWIG_fail; | |
17560 | } | |
17561 | Py_INCREF(Py_None); resultobj = Py_None; | |
17562 | return resultobj; | |
17563 | fail: | |
17564 | return NULL; | |
17565 | } | |
17566 | ||
17567 | ||
17568 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17569 | PyObject *resultobj; | |
17570 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
17571 | wxPrintDialogData *result; | |
17572 | PyObject * obj0 = 0 ; | |
17573 | char *kwnames[] = { | |
17574 | (char *) "self", NULL | |
17575 | }; | |
17576 | ||
17577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
17578 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17579 | { | |
17580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17581 | { | |
17582 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
17583 | result = (wxPrintDialogData *) &_result_ref; | |
17584 | } | |
17585 | ||
17586 | wxPyEndAllowThreads(__tstate); | |
17587 | if (PyErr_Occurred()) SWIG_fail; | |
17588 | } | |
17589 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
17590 | return resultobj; | |
17591 | fail: | |
17592 | return NULL; | |
17593 | } | |
17594 | ||
17595 | ||
17596 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17597 | PyObject *resultobj; | |
17598 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
17599 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17600 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
17601 | int arg4 = (int) True ; | |
17602 | bool result; | |
17603 | PyObject * obj0 = 0 ; | |
17604 | PyObject * obj1 = 0 ; | |
17605 | PyObject * obj2 = 0 ; | |
17606 | char *kwnames[] = { | |
17607 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
17608 | }; | |
17609 | ||
17610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
17611 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17612 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17613 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17614 | { | |
17615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17616 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
17617 | ||
17618 | wxPyEndAllowThreads(__tstate); | |
17619 | if (PyErr_Occurred()) SWIG_fail; | |
17620 | } | |
17621 | resultobj = PyInt_FromLong((long)result); | |
17622 | return resultobj; | |
17623 | fail: | |
17624 | return NULL; | |
17625 | } | |
17626 | ||
17627 | ||
17628 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17629 | PyObject *resultobj; | |
17630 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
17631 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17632 | wxDC *result; | |
17633 | PyObject * obj0 = 0 ; | |
17634 | PyObject * obj1 = 0 ; | |
17635 | char *kwnames[] = { | |
17636 | (char *) "self",(char *) "parent", NULL | |
17637 | }; | |
17638 | ||
17639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
17640 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17641 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17642 | { | |
17643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17644 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
17645 | ||
17646 | wxPyEndAllowThreads(__tstate); | |
17647 | if (PyErr_Occurred()) SWIG_fail; | |
17648 | } | |
17649 | { | |
17650 | resultobj = wxPyMake_wxObject(result); | |
17651 | } | |
17652 | return resultobj; | |
17653 | fail: | |
17654 | return NULL; | |
17655 | } | |
17656 | ||
17657 | ||
17658 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17659 | PyObject *resultobj; | |
17660 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
17661 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17662 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
17663 | wxString *arg4 = 0 ; | |
17664 | bool temp4 = False ; | |
17665 | PyObject * obj0 = 0 ; | |
17666 | PyObject * obj1 = 0 ; | |
17667 | PyObject * obj2 = 0 ; | |
17668 | PyObject * obj3 = 0 ; | |
17669 | char *kwnames[] = { | |
17670 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
17671 | }; | |
17672 | ||
17673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
17674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17675 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17676 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17677 | { | |
17678 | arg4 = wxString_in_helper(obj3); | |
17679 | if (arg4 == NULL) SWIG_fail; | |
17680 | temp4 = True; | |
17681 | } | |
17682 | { | |
17683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17684 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
17685 | ||
17686 | wxPyEndAllowThreads(__tstate); | |
17687 | if (PyErr_Occurred()) SWIG_fail; | |
17688 | } | |
17689 | Py_INCREF(Py_None); resultobj = Py_None; | |
17690 | { | |
17691 | if (temp4) | |
17692 | delete arg4; | |
17693 | } | |
17694 | return resultobj; | |
17695 | fail: | |
17696 | { | |
17697 | if (temp4) | |
17698 | delete arg4; | |
17699 | } | |
17700 | return NULL; | |
17701 | } | |
17702 | ||
17703 | ||
17704 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17705 | PyObject *resultobj; | |
17706 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
17707 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17708 | bool result; | |
17709 | PyObject * obj0 = 0 ; | |
17710 | PyObject * obj1 = 0 ; | |
17711 | char *kwnames[] = { | |
17712 | (char *) "self",(char *) "parent", NULL | |
17713 | }; | |
17714 | ||
17715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
17716 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17717 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17718 | { | |
17719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17720 | result = (bool)(arg1)->Setup(arg2); | |
17721 | ||
17722 | wxPyEndAllowThreads(__tstate); | |
17723 | if (PyErr_Occurred()) SWIG_fail; | |
17724 | } | |
17725 | resultobj = PyInt_FromLong((long)result); | |
17726 | return resultobj; | |
17727 | fail: | |
17728 | return NULL; | |
17729 | } | |
17730 | ||
17731 | ||
17732 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17733 | PyObject *resultobj; | |
17734 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
17735 | bool result; | |
17736 | PyObject * obj0 = 0 ; | |
17737 | char *kwnames[] = { | |
17738 | (char *) "self", NULL | |
17739 | }; | |
17740 | ||
17741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
17742 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17743 | { | |
17744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17745 | result = (bool)(arg1)->GetAbort(); | |
17746 | ||
17747 | wxPyEndAllowThreads(__tstate); | |
17748 | if (PyErr_Occurred()) SWIG_fail; | |
17749 | } | |
17750 | resultobj = PyInt_FromLong((long)result); | |
17751 | return resultobj; | |
17752 | fail: | |
17753 | return NULL; | |
17754 | } | |
17755 | ||
17756 | ||
17757 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17758 | PyObject *resultobj; | |
17759 | int result; | |
17760 | char *kwnames[] = { | |
17761 | NULL | |
17762 | }; | |
17763 | ||
17764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
17765 | { | |
17766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17767 | result = (int)wxPrinter::GetLastError(); | |
17768 | ||
17769 | wxPyEndAllowThreads(__tstate); | |
17770 | if (PyErr_Occurred()) SWIG_fail; | |
17771 | } | |
17772 | resultobj = PyInt_FromLong((long)result); | |
17773 | return resultobj; | |
17774 | fail: | |
17775 | return NULL; | |
17776 | } | |
17777 | ||
17778 | ||
17779 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
17780 | PyObject *obj; | |
17781 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17782 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
17783 | Py_INCREF(obj); | |
17784 | return Py_BuildValue((char *)""); | |
17785 | } | |
17786 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17787 | PyObject *resultobj; | |
17788 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
17789 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
17790 | wxPyPrintout *result; | |
17791 | bool temp1 = False ; | |
17792 | PyObject * obj0 = 0 ; | |
17793 | char *kwnames[] = { | |
17794 | (char *) "title", NULL | |
17795 | }; | |
17796 | ||
17797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
17798 | if (obj0) { | |
17799 | { | |
17800 | arg1 = wxString_in_helper(obj0); | |
17801 | if (arg1 == NULL) SWIG_fail; | |
17802 | temp1 = True; | |
17803 | } | |
17804 | } | |
17805 | { | |
17806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17807 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
17808 | ||
17809 | wxPyEndAllowThreads(__tstate); | |
17810 | if (PyErr_Occurred()) SWIG_fail; | |
17811 | } | |
17812 | { | |
17813 | resultobj = wxPyMake_wxObject(result); | |
17814 | } | |
17815 | { | |
17816 | if (temp1) | |
17817 | delete arg1; | |
17818 | } | |
17819 | return resultobj; | |
17820 | fail: | |
17821 | { | |
17822 | if (temp1) | |
17823 | delete arg1; | |
17824 | } | |
17825 | return NULL; | |
17826 | } | |
17827 | ||
17828 | ||
17829 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17830 | PyObject *resultobj; | |
17831 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
17832 | PyObject *arg2 = (PyObject *) 0 ; | |
17833 | PyObject *arg3 = (PyObject *) 0 ; | |
17834 | PyObject * obj0 = 0 ; | |
17835 | PyObject * obj1 = 0 ; | |
17836 | PyObject * obj2 = 0 ; | |
17837 | char *kwnames[] = { | |
17838 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17839 | }; | |
17840 | ||
17841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17842 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17843 | arg2 = obj1; | |
17844 | arg3 = obj2; | |
17845 | { | |
17846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17847 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17848 | ||
17849 | wxPyEndAllowThreads(__tstate); | |
17850 | if (PyErr_Occurred()) SWIG_fail; | |
17851 | } | |
17852 | Py_INCREF(Py_None); resultobj = Py_None; | |
17853 | return resultobj; | |
17854 | fail: | |
17855 | return NULL; | |
17856 | } | |
17857 | ||
17858 | ||
17859 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17860 | PyObject *resultobj; | |
17861 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
17862 | wxString result; | |
17863 | PyObject * obj0 = 0 ; | |
17864 | char *kwnames[] = { | |
17865 | (char *) "self", NULL | |
17866 | }; | |
17867 | ||
17868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
17869 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17870 | { | |
17871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17872 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
17873 | ||
17874 | wxPyEndAllowThreads(__tstate); | |
17875 | if (PyErr_Occurred()) SWIG_fail; | |
17876 | } | |
17877 | { | |
17878 | #if wxUSE_UNICODE | |
17879 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
17880 | #else | |
17881 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
17882 | #endif | |
17883 | } | |
17884 | return resultobj; | |
17885 | fail: | |
17886 | return NULL; | |
17887 | } | |
17888 | ||
17889 | ||
17890 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17891 | PyObject *resultobj; | |
17892 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
17893 | wxDC *result; | |
17894 | PyObject * obj0 = 0 ; | |
17895 | char *kwnames[] = { | |
17896 | (char *) "self", NULL | |
17897 | }; | |
17898 | ||
17899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
17900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17901 | { | |
17902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17903 | result = (wxDC *)(arg1)->GetDC(); | |
17904 | ||
17905 | wxPyEndAllowThreads(__tstate); | |
17906 | if (PyErr_Occurred()) SWIG_fail; | |
17907 | } | |
17908 | { | |
17909 | resultobj = wxPyMake_wxObject(result); | |
17910 | } | |
17911 | return resultobj; | |
17912 | fail: | |
17913 | return NULL; | |
17914 | } | |
17915 | ||
17916 | ||
17917 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17918 | PyObject *resultobj; | |
17919 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
17920 | wxDC *arg2 = (wxDC *) 0 ; | |
17921 | PyObject * obj0 = 0 ; | |
17922 | PyObject * obj1 = 0 ; | |
17923 | char *kwnames[] = { | |
17924 | (char *) "self",(char *) "dc", NULL | |
17925 | }; | |
17926 | ||
17927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
17928 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17929 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17930 | { | |
17931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17932 | (arg1)->SetDC(arg2); | |
17933 | ||
17934 | wxPyEndAllowThreads(__tstate); | |
17935 | if (PyErr_Occurred()) SWIG_fail; | |
17936 | } | |
17937 | Py_INCREF(Py_None); resultobj = Py_None; | |
17938 | return resultobj; | |
17939 | fail: | |
17940 | return NULL; | |
17941 | } | |
17942 | ||
17943 | ||
17944 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17945 | PyObject *resultobj; | |
17946 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
17947 | int arg2 ; | |
17948 | int arg3 ; | |
17949 | PyObject * obj0 = 0 ; | |
17950 | char *kwnames[] = { | |
17951 | (char *) "self",(char *) "w",(char *) "h", NULL | |
17952 | }; | |
17953 | ||
17954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
17955 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17956 | { | |
17957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17958 | (arg1)->SetPageSizePixels(arg2,arg3); | |
17959 | ||
17960 | wxPyEndAllowThreads(__tstate); | |
17961 | if (PyErr_Occurred()) SWIG_fail; | |
17962 | } | |
17963 | Py_INCREF(Py_None); resultobj = Py_None; | |
17964 | return resultobj; | |
17965 | fail: | |
17966 | return NULL; | |
17967 | } | |
17968 | ||
17969 | ||
17970 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17971 | PyObject *resultobj; | |
17972 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
17973 | int *arg2 = (int *) 0 ; | |
17974 | int *arg3 = (int *) 0 ; | |
17975 | int temp2 ; | |
17976 | int temp3 ; | |
17977 | PyObject * obj0 = 0 ; | |
17978 | char *kwnames[] = { | |
17979 | (char *) "self", NULL | |
17980 | }; | |
17981 | ||
17982 | arg2 = &temp2; | |
17983 | arg3 = &temp3; | |
17984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
17985 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17986 | { | |
17987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17988 | (arg1)->GetPageSizePixels(arg2,arg3); | |
17989 | ||
17990 | wxPyEndAllowThreads(__tstate); | |
17991 | if (PyErr_Occurred()) SWIG_fail; | |
17992 | } | |
17993 | Py_INCREF(Py_None); resultobj = Py_None; | |
17994 | { | |
17995 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
17996 | resultobj = t_output_helper(resultobj,o); | |
17997 | } | |
17998 | { | |
17999 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18000 | resultobj = t_output_helper(resultobj,o); | |
18001 | } | |
18002 | return resultobj; | |
18003 | fail: | |
18004 | return NULL; | |
18005 | } | |
18006 | ||
18007 | ||
18008 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18009 | PyObject *resultobj; | |
18010 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18011 | int arg2 ; | |
18012 | int arg3 ; | |
18013 | PyObject * obj0 = 0 ; | |
18014 | char *kwnames[] = { | |
18015 | (char *) "self",(char *) "w",(char *) "h", NULL | |
18016 | }; | |
18017 | ||
18018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
18019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18020 | { | |
18021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18022 | (arg1)->SetPageSizeMM(arg2,arg3); | |
18023 | ||
18024 | wxPyEndAllowThreads(__tstate); | |
18025 | if (PyErr_Occurred()) SWIG_fail; | |
18026 | } | |
18027 | Py_INCREF(Py_None); resultobj = Py_None; | |
18028 | return resultobj; | |
18029 | fail: | |
18030 | return NULL; | |
18031 | } | |
18032 | ||
18033 | ||
18034 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18035 | PyObject *resultobj; | |
18036 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18037 | int *arg2 = (int *) 0 ; | |
18038 | int *arg3 = (int *) 0 ; | |
18039 | int temp2 ; | |
18040 | int temp3 ; | |
18041 | PyObject * obj0 = 0 ; | |
18042 | char *kwnames[] = { | |
18043 | (char *) "self", NULL | |
18044 | }; | |
18045 | ||
18046 | arg2 = &temp2; | |
18047 | arg3 = &temp3; | |
18048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
18049 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18050 | { | |
18051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18052 | (arg1)->GetPageSizeMM(arg2,arg3); | |
18053 | ||
18054 | wxPyEndAllowThreads(__tstate); | |
18055 | if (PyErr_Occurred()) SWIG_fail; | |
18056 | } | |
18057 | Py_INCREF(Py_None); resultobj = Py_None; | |
18058 | { | |
18059 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
18060 | resultobj = t_output_helper(resultobj,o); | |
18061 | } | |
18062 | { | |
18063 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18064 | resultobj = t_output_helper(resultobj,o); | |
18065 | } | |
18066 | return resultobj; | |
18067 | fail: | |
18068 | return NULL; | |
18069 | } | |
18070 | ||
18071 | ||
18072 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18073 | PyObject *resultobj; | |
18074 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18075 | int arg2 ; | |
18076 | int arg3 ; | |
18077 | PyObject * obj0 = 0 ; | |
18078 | char *kwnames[] = { | |
18079 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18080 | }; | |
18081 | ||
18082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
18083 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18084 | { | |
18085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18086 | (arg1)->SetPPIScreen(arg2,arg3); | |
18087 | ||
18088 | wxPyEndAllowThreads(__tstate); | |
18089 | if (PyErr_Occurred()) SWIG_fail; | |
18090 | } | |
18091 | Py_INCREF(Py_None); resultobj = Py_None; | |
18092 | return resultobj; | |
18093 | fail: | |
18094 | return NULL; | |
18095 | } | |
18096 | ||
18097 | ||
18098 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18099 | PyObject *resultobj; | |
18100 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18101 | int *arg2 = (int *) 0 ; | |
18102 | int *arg3 = (int *) 0 ; | |
18103 | int temp2 ; | |
18104 | int temp3 ; | |
18105 | PyObject * obj0 = 0 ; | |
18106 | char *kwnames[] = { | |
18107 | (char *) "self", NULL | |
18108 | }; | |
18109 | ||
18110 | arg2 = &temp2; | |
18111 | arg3 = &temp3; | |
18112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
18113 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18114 | { | |
18115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18116 | (arg1)->GetPPIScreen(arg2,arg3); | |
18117 | ||
18118 | wxPyEndAllowThreads(__tstate); | |
18119 | if (PyErr_Occurred()) SWIG_fail; | |
18120 | } | |
18121 | Py_INCREF(Py_None); resultobj = Py_None; | |
18122 | { | |
18123 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
18124 | resultobj = t_output_helper(resultobj,o); | |
18125 | } | |
18126 | { | |
18127 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18128 | resultobj = t_output_helper(resultobj,o); | |
18129 | } | |
18130 | return resultobj; | |
18131 | fail: | |
18132 | return NULL; | |
18133 | } | |
18134 | ||
18135 | ||
18136 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18137 | PyObject *resultobj; | |
18138 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18139 | int arg2 ; | |
18140 | int arg3 ; | |
18141 | PyObject * obj0 = 0 ; | |
18142 | char *kwnames[] = { | |
18143 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18144 | }; | |
18145 | ||
18146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
18147 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18148 | { | |
18149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18150 | (arg1)->SetPPIPrinter(arg2,arg3); | |
18151 | ||
18152 | wxPyEndAllowThreads(__tstate); | |
18153 | if (PyErr_Occurred()) SWIG_fail; | |
18154 | } | |
18155 | Py_INCREF(Py_None); resultobj = Py_None; | |
18156 | return resultobj; | |
18157 | fail: | |
18158 | return NULL; | |
18159 | } | |
18160 | ||
18161 | ||
18162 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18163 | PyObject *resultobj; | |
18164 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18165 | int *arg2 = (int *) 0 ; | |
18166 | int *arg3 = (int *) 0 ; | |
18167 | int temp2 ; | |
18168 | int temp3 ; | |
18169 | PyObject * obj0 = 0 ; | |
18170 | char *kwnames[] = { | |
18171 | (char *) "self", NULL | |
18172 | }; | |
18173 | ||
18174 | arg2 = &temp2; | |
18175 | arg3 = &temp3; | |
18176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
18177 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18178 | { | |
18179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18180 | (arg1)->GetPPIPrinter(arg2,arg3); | |
18181 | ||
18182 | wxPyEndAllowThreads(__tstate); | |
18183 | if (PyErr_Occurred()) SWIG_fail; | |
18184 | } | |
18185 | Py_INCREF(Py_None); resultobj = Py_None; | |
18186 | { | |
18187 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
18188 | resultobj = t_output_helper(resultobj,o); | |
18189 | } | |
18190 | { | |
18191 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18192 | resultobj = t_output_helper(resultobj,o); | |
18193 | } | |
18194 | return resultobj; | |
18195 | fail: | |
18196 | return NULL; | |
18197 | } | |
18198 | ||
18199 | ||
18200 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18201 | PyObject *resultobj; | |
18202 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18203 | bool result; | |
18204 | PyObject * obj0 = 0 ; | |
18205 | char *kwnames[] = { | |
18206 | (char *) "self", NULL | |
18207 | }; | |
18208 | ||
18209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
18210 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18211 | { | |
18212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18213 | result = (bool)(arg1)->IsPreview(); | |
18214 | ||
18215 | wxPyEndAllowThreads(__tstate); | |
18216 | if (PyErr_Occurred()) SWIG_fail; | |
18217 | } | |
18218 | resultobj = PyInt_FromLong((long)result); | |
18219 | return resultobj; | |
18220 | fail: | |
18221 | return NULL; | |
18222 | } | |
18223 | ||
18224 | ||
18225 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18226 | PyObject *resultobj; | |
18227 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18228 | bool arg2 ; | |
18229 | PyObject * obj0 = 0 ; | |
18230 | PyObject * obj1 = 0 ; | |
18231 | char *kwnames[] = { | |
18232 | (char *) "self",(char *) "p", NULL | |
18233 | }; | |
18234 | ||
18235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
18236 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18237 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
18238 | if (PyErr_Occurred()) SWIG_fail; | |
18239 | { | |
18240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18241 | (arg1)->SetIsPreview(arg2); | |
18242 | ||
18243 | wxPyEndAllowThreads(__tstate); | |
18244 | if (PyErr_Occurred()) SWIG_fail; | |
18245 | } | |
18246 | Py_INCREF(Py_None); resultobj = Py_None; | |
18247 | return resultobj; | |
18248 | fail: | |
18249 | return NULL; | |
18250 | } | |
18251 | ||
18252 | ||
18253 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18254 | PyObject *resultobj; | |
18255 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18256 | int arg2 ; | |
18257 | int arg3 ; | |
18258 | bool result; | |
18259 | PyObject * obj0 = 0 ; | |
18260 | char *kwnames[] = { | |
18261 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
18262 | }; | |
18263 | ||
18264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
18265 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18266 | { | |
18267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18268 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
18269 | ||
18270 | wxPyEndAllowThreads(__tstate); | |
18271 | if (PyErr_Occurred()) SWIG_fail; | |
18272 | } | |
18273 | resultobj = PyInt_FromLong((long)result); | |
18274 | return resultobj; | |
18275 | fail: | |
18276 | return NULL; | |
18277 | } | |
18278 | ||
18279 | ||
18280 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18281 | PyObject *resultobj; | |
18282 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18283 | PyObject * obj0 = 0 ; | |
18284 | char *kwnames[] = { | |
18285 | (char *) "self", NULL | |
18286 | }; | |
18287 | ||
18288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
18289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18290 | { | |
18291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18292 | (arg1)->base_OnEndDocument(); | |
18293 | ||
18294 | wxPyEndAllowThreads(__tstate); | |
18295 | if (PyErr_Occurred()) SWIG_fail; | |
18296 | } | |
18297 | Py_INCREF(Py_None); resultobj = Py_None; | |
18298 | return resultobj; | |
18299 | fail: | |
18300 | return NULL; | |
18301 | } | |
18302 | ||
18303 | ||
18304 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18305 | PyObject *resultobj; | |
18306 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18307 | PyObject * obj0 = 0 ; | |
18308 | char *kwnames[] = { | |
18309 | (char *) "self", NULL | |
18310 | }; | |
18311 | ||
18312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
18313 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18314 | { | |
18315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18316 | (arg1)->base_OnBeginPrinting(); | |
18317 | ||
18318 | wxPyEndAllowThreads(__tstate); | |
18319 | if (PyErr_Occurred()) SWIG_fail; | |
18320 | } | |
18321 | Py_INCREF(Py_None); resultobj = Py_None; | |
18322 | return resultobj; | |
18323 | fail: | |
18324 | return NULL; | |
18325 | } | |
18326 | ||
18327 | ||
18328 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18329 | PyObject *resultobj; | |
18330 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18331 | PyObject * obj0 = 0 ; | |
18332 | char *kwnames[] = { | |
18333 | (char *) "self", NULL | |
18334 | }; | |
18335 | ||
18336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
18337 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18338 | { | |
18339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18340 | (arg1)->base_OnEndPrinting(); | |
18341 | ||
18342 | wxPyEndAllowThreads(__tstate); | |
18343 | if (PyErr_Occurred()) SWIG_fail; | |
18344 | } | |
18345 | Py_INCREF(Py_None); resultobj = Py_None; | |
18346 | return resultobj; | |
18347 | fail: | |
18348 | return NULL; | |
18349 | } | |
18350 | ||
18351 | ||
18352 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18353 | PyObject *resultobj; | |
18354 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18355 | PyObject * obj0 = 0 ; | |
18356 | char *kwnames[] = { | |
18357 | (char *) "self", NULL | |
18358 | }; | |
18359 | ||
18360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
18361 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18362 | { | |
18363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18364 | (arg1)->base_OnPreparePrinting(); | |
18365 | ||
18366 | wxPyEndAllowThreads(__tstate); | |
18367 | if (PyErr_Occurred()) SWIG_fail; | |
18368 | } | |
18369 | Py_INCREF(Py_None); resultobj = Py_None; | |
18370 | return resultobj; | |
18371 | fail: | |
18372 | return NULL; | |
18373 | } | |
18374 | ||
18375 | ||
18376 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18377 | PyObject *resultobj; | |
18378 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18379 | int arg2 ; | |
18380 | bool result; | |
18381 | PyObject * obj0 = 0 ; | |
18382 | char *kwnames[] = { | |
18383 | (char *) "self",(char *) "page", NULL | |
18384 | }; | |
18385 | ||
18386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail; | |
18387 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18388 | { | |
18389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18390 | result = (bool)(arg1)->base_HasPage(arg2); | |
18391 | ||
18392 | wxPyEndAllowThreads(__tstate); | |
18393 | if (PyErr_Occurred()) SWIG_fail; | |
18394 | } | |
18395 | resultobj = PyInt_FromLong((long)result); | |
18396 | return resultobj; | |
18397 | fail: | |
18398 | return NULL; | |
18399 | } | |
18400 | ||
18401 | ||
18402 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18403 | PyObject *resultobj; | |
18404 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18405 | int *arg2 = (int *) 0 ; | |
18406 | int *arg3 = (int *) 0 ; | |
18407 | int *arg4 = (int *) 0 ; | |
18408 | int *arg5 = (int *) 0 ; | |
18409 | int temp2 ; | |
18410 | int temp3 ; | |
18411 | int temp4 ; | |
18412 | int temp5 ; | |
18413 | PyObject * obj0 = 0 ; | |
18414 | char *kwnames[] = { | |
18415 | (char *) "self", NULL | |
18416 | }; | |
18417 | ||
18418 | arg2 = &temp2; | |
18419 | arg3 = &temp3; | |
18420 | arg4 = &temp4; | |
18421 | arg5 = &temp5; | |
18422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
18423 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18424 | { | |
18425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18426 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
18427 | ||
18428 | wxPyEndAllowThreads(__tstate); | |
18429 | if (PyErr_Occurred()) SWIG_fail; | |
18430 | } | |
18431 | Py_INCREF(Py_None); resultobj = Py_None; | |
18432 | { | |
18433 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
18434 | resultobj = t_output_helper(resultobj,o); | |
18435 | } | |
18436 | { | |
18437 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18438 | resultobj = t_output_helper(resultobj,o); | |
18439 | } | |
18440 | { | |
18441 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
18442 | resultobj = t_output_helper(resultobj,o); | |
18443 | } | |
18444 | { | |
18445 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
18446 | resultobj = t_output_helper(resultobj,o); | |
18447 | } | |
18448 | return resultobj; | |
18449 | fail: | |
18450 | return NULL; | |
18451 | } | |
18452 | ||
18453 | ||
18454 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { | |
18455 | PyObject *obj; | |
18456 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18457 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
18458 | Py_INCREF(obj); | |
18459 | return Py_BuildValue((char *)""); | |
18460 | } | |
18461 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18462 | PyObject *resultobj; | |
18463 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
18464 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18465 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
18466 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
18467 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
18468 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
18469 | long arg5 = (long) 0 ; | |
18470 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
18471 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
18472 | wxPreviewCanvas *result; | |
18473 | wxPoint temp3 ; | |
18474 | wxSize temp4 ; | |
18475 | bool temp6 = False ; | |
18476 | PyObject * obj0 = 0 ; | |
18477 | PyObject * obj1 = 0 ; | |
18478 | PyObject * obj2 = 0 ; | |
18479 | PyObject * obj3 = 0 ; | |
18480 | PyObject * obj5 = 0 ; | |
18481 | char *kwnames[] = { | |
18482 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18483 | }; | |
18484 | ||
18485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
18486 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18487 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18488 | if (obj2) { | |
18489 | { | |
18490 | arg3 = &temp3; | |
18491 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
18492 | } | |
18493 | } | |
18494 | if (obj3) { | |
18495 | { | |
18496 | arg4 = &temp4; | |
18497 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
18498 | } | |
18499 | } | |
18500 | if (obj5) { | |
18501 | { | |
18502 | arg6 = wxString_in_helper(obj5); | |
18503 | if (arg6 == NULL) SWIG_fail; | |
18504 | temp6 = True; | |
18505 | } | |
18506 | } | |
18507 | { | |
18508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18509 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
18510 | ||
18511 | wxPyEndAllowThreads(__tstate); | |
18512 | if (PyErr_Occurred()) SWIG_fail; | |
18513 | } | |
18514 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1); | |
18515 | { | |
18516 | if (temp6) | |
18517 | delete arg6; | |
18518 | } | |
18519 | return resultobj; | |
18520 | fail: | |
18521 | { | |
18522 | if (temp6) | |
18523 | delete arg6; | |
18524 | } | |
18525 | return NULL; | |
18526 | } | |
18527 | ||
18528 | ||
18529 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
18530 | PyObject *obj; | |
18531 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18532 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
18533 | Py_INCREF(obj); | |
18534 | return Py_BuildValue((char *)""); | |
18535 | } | |
18536 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18537 | PyObject *resultobj; | |
18538 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
18539 | wxFrame *arg2 = (wxFrame *) 0 ; | |
18540 | wxString *arg3 = 0 ; | |
18541 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
18542 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
18543 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
18544 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
18545 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
18546 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
18547 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
18548 | wxPreviewFrame *result; | |
18549 | bool temp3 = False ; | |
18550 | wxPoint temp4 ; | |
18551 | wxSize temp5 ; | |
18552 | bool temp7 = False ; | |
18553 | PyObject * obj0 = 0 ; | |
18554 | PyObject * obj1 = 0 ; | |
18555 | PyObject * obj2 = 0 ; | |
18556 | PyObject * obj3 = 0 ; | |
18557 | PyObject * obj4 = 0 ; | |
18558 | PyObject * obj6 = 0 ; | |
18559 | char *kwnames[] = { | |
18560 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18561 | }; | |
18562 | ||
18563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
18564 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18565 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18566 | { | |
18567 | arg3 = wxString_in_helper(obj2); | |
18568 | if (arg3 == NULL) SWIG_fail; | |
18569 | temp3 = True; | |
18570 | } | |
18571 | if (obj3) { | |
18572 | { | |
18573 | arg4 = &temp4; | |
18574 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
18575 | } | |
18576 | } | |
18577 | if (obj4) { | |
18578 | { | |
18579 | arg5 = &temp5; | |
18580 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
18581 | } | |
18582 | } | |
18583 | if (obj6) { | |
18584 | { | |
18585 | arg7 = wxString_in_helper(obj6); | |
18586 | if (arg7 == NULL) SWIG_fail; | |
18587 | temp7 = True; | |
18588 | } | |
18589 | } | |
18590 | { | |
18591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18592 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
18593 | ||
18594 | wxPyEndAllowThreads(__tstate); | |
18595 | if (PyErr_Occurred()) SWIG_fail; | |
18596 | } | |
18597 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1); | |
18598 | { | |
18599 | if (temp3) | |
18600 | delete arg3; | |
18601 | } | |
18602 | { | |
18603 | if (temp7) | |
18604 | delete arg7; | |
18605 | } | |
18606 | return resultobj; | |
18607 | fail: | |
18608 | { | |
18609 | if (temp3) | |
18610 | delete arg3; | |
18611 | } | |
18612 | { | |
18613 | if (temp7) | |
18614 | delete arg7; | |
18615 | } | |
18616 | return NULL; | |
18617 | } | |
18618 | ||
18619 | ||
18620 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18621 | PyObject *resultobj; | |
18622 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
18623 | PyObject * obj0 = 0 ; | |
18624 | char *kwnames[] = { | |
18625 | (char *) "self", NULL | |
18626 | }; | |
18627 | ||
18628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
18629 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18630 | { | |
18631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18632 | (arg1)->Initialize(); | |
18633 | ||
18634 | wxPyEndAllowThreads(__tstate); | |
18635 | if (PyErr_Occurred()) SWIG_fail; | |
18636 | } | |
18637 | Py_INCREF(Py_None); resultobj = Py_None; | |
18638 | return resultobj; | |
18639 | fail: | |
18640 | return NULL; | |
18641 | } | |
18642 | ||
18643 | ||
18644 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18645 | PyObject *resultobj; | |
18646 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
18647 | PyObject * obj0 = 0 ; | |
18648 | char *kwnames[] = { | |
18649 | (char *) "self", NULL | |
18650 | }; | |
18651 | ||
18652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
18653 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18654 | { | |
18655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18656 | (arg1)->CreateControlBar(); | |
18657 | ||
18658 | wxPyEndAllowThreads(__tstate); | |
18659 | if (PyErr_Occurred()) SWIG_fail; | |
18660 | } | |
18661 | Py_INCREF(Py_None); resultobj = Py_None; | |
18662 | return resultobj; | |
18663 | fail: | |
18664 | return NULL; | |
18665 | } | |
18666 | ||
18667 | ||
18668 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18669 | PyObject *resultobj; | |
18670 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
18671 | PyObject * obj0 = 0 ; | |
18672 | char *kwnames[] = { | |
18673 | (char *) "self", NULL | |
18674 | }; | |
18675 | ||
18676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
18677 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18678 | { | |
18679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18680 | (arg1)->CreateCanvas(); | |
18681 | ||
18682 | wxPyEndAllowThreads(__tstate); | |
18683 | if (PyErr_Occurred()) SWIG_fail; | |
18684 | } | |
18685 | Py_INCREF(Py_None); resultobj = Py_None; | |
18686 | return resultobj; | |
18687 | fail: | |
18688 | return NULL; | |
18689 | } | |
18690 | ||
18691 | ||
18692 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18693 | PyObject *resultobj; | |
18694 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
18695 | wxPreviewControlBar *result; | |
18696 | PyObject * obj0 = 0 ; | |
18697 | char *kwnames[] = { | |
18698 | (char *) "self", NULL | |
18699 | }; | |
18700 | ||
18701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
18702 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18703 | { | |
18704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18705 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
18706 | ||
18707 | wxPyEndAllowThreads(__tstate); | |
18708 | if (PyErr_Occurred()) SWIG_fail; | |
18709 | } | |
18710 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0); | |
18711 | return resultobj; | |
18712 | fail: | |
18713 | return NULL; | |
18714 | } | |
18715 | ||
18716 | ||
18717 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
18718 | PyObject *obj; | |
18719 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18720 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
18721 | Py_INCREF(obj); | |
18722 | return Py_BuildValue((char *)""); | |
18723 | } | |
18724 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18725 | PyObject *resultobj; | |
18726 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
18727 | long arg2 ; | |
18728 | wxWindow *arg3 = (wxWindow *) 0 ; | |
18729 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
18730 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
18731 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
18732 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
18733 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
18734 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
18735 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
18736 | wxPreviewControlBar *result; | |
18737 | wxPoint temp4 ; | |
18738 | wxSize temp5 ; | |
18739 | bool temp7 = False ; | |
18740 | PyObject * obj0 = 0 ; | |
18741 | PyObject * obj2 = 0 ; | |
18742 | PyObject * obj3 = 0 ; | |
18743 | PyObject * obj4 = 0 ; | |
18744 | PyObject * obj6 = 0 ; | |
18745 | char *kwnames[] = { | |
18746 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
18747 | }; | |
18748 | ||
18749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
18750 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18751 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18752 | if (obj3) { | |
18753 | { | |
18754 | arg4 = &temp4; | |
18755 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
18756 | } | |
18757 | } | |
18758 | if (obj4) { | |
18759 | { | |
18760 | arg5 = &temp5; | |
18761 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
18762 | } | |
18763 | } | |
18764 | if (obj6) { | |
18765 | { | |
18766 | arg7 = wxString_in_helper(obj6); | |
18767 | if (arg7 == NULL) SWIG_fail; | |
18768 | temp7 = True; | |
18769 | } | |
18770 | } | |
18771 | { | |
18772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18773 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
18774 | ||
18775 | wxPyEndAllowThreads(__tstate); | |
18776 | if (PyErr_Occurred()) SWIG_fail; | |
18777 | } | |
18778 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1); | |
18779 | { | |
18780 | if (temp7) | |
18781 | delete arg7; | |
18782 | } | |
18783 | return resultobj; | |
18784 | fail: | |
18785 | { | |
18786 | if (temp7) | |
18787 | delete arg7; | |
18788 | } | |
18789 | return NULL; | |
18790 | } | |
18791 | ||
18792 | ||
18793 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18794 | PyObject *resultobj; | |
18795 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
18796 | int result; | |
18797 | PyObject * obj0 = 0 ; | |
18798 | char *kwnames[] = { | |
18799 | (char *) "self", NULL | |
18800 | }; | |
18801 | ||
18802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
18803 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18804 | { | |
18805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18806 | result = (int)(arg1)->GetZoomControl(); | |
18807 | ||
18808 | wxPyEndAllowThreads(__tstate); | |
18809 | if (PyErr_Occurred()) SWIG_fail; | |
18810 | } | |
18811 | resultobj = PyInt_FromLong((long)result); | |
18812 | return resultobj; | |
18813 | fail: | |
18814 | return NULL; | |
18815 | } | |
18816 | ||
18817 | ||
18818 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18819 | PyObject *resultobj; | |
18820 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
18821 | int arg2 ; | |
18822 | PyObject * obj0 = 0 ; | |
18823 | char *kwnames[] = { | |
18824 | (char *) "self",(char *) "zoom", NULL | |
18825 | }; | |
18826 | ||
18827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail; | |
18828 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18829 | { | |
18830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18831 | (arg1)->SetZoomControl(arg2); | |
18832 | ||
18833 | wxPyEndAllowThreads(__tstate); | |
18834 | if (PyErr_Occurred()) SWIG_fail; | |
18835 | } | |
18836 | Py_INCREF(Py_None); resultobj = Py_None; | |
18837 | return resultobj; | |
18838 | fail: | |
18839 | return NULL; | |
18840 | } | |
18841 | ||
18842 | ||
18843 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18844 | PyObject *resultobj; | |
18845 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
18846 | wxPrintPreview *result; | |
18847 | PyObject * obj0 = 0 ; | |
18848 | char *kwnames[] = { | |
18849 | (char *) "self", NULL | |
18850 | }; | |
18851 | ||
18852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
18853 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18854 | { | |
18855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18856 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
18857 | ||
18858 | wxPyEndAllowThreads(__tstate); | |
18859 | if (PyErr_Occurred()) SWIG_fail; | |
18860 | } | |
18861 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0); | |
18862 | return resultobj; | |
18863 | fail: | |
18864 | return NULL; | |
18865 | } | |
18866 | ||
18867 | ||
18868 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18869 | PyObject *resultobj; | |
18870 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
18871 | PyObject * obj0 = 0 ; | |
18872 | char *kwnames[] = { | |
18873 | (char *) "self", NULL | |
18874 | }; | |
18875 | ||
18876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
18877 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18878 | { | |
18879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18880 | (arg1)->OnNext(); | |
18881 | ||
18882 | wxPyEndAllowThreads(__tstate); | |
18883 | if (PyErr_Occurred()) SWIG_fail; | |
18884 | } | |
18885 | Py_INCREF(Py_None); resultobj = Py_None; | |
18886 | return resultobj; | |
18887 | fail: | |
18888 | return NULL; | |
18889 | } | |
18890 | ||
18891 | ||
18892 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18893 | PyObject *resultobj; | |
18894 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
18895 | PyObject * obj0 = 0 ; | |
18896 | char *kwnames[] = { | |
18897 | (char *) "self", NULL | |
18898 | }; | |
18899 | ||
18900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
18901 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18902 | { | |
18903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18904 | (arg1)->OnPrevious(); | |
18905 | ||
18906 | wxPyEndAllowThreads(__tstate); | |
18907 | if (PyErr_Occurred()) SWIG_fail; | |
18908 | } | |
18909 | Py_INCREF(Py_None); resultobj = Py_None; | |
18910 | return resultobj; | |
18911 | fail: | |
18912 | return NULL; | |
18913 | } | |
18914 | ||
18915 | ||
18916 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18917 | PyObject *resultobj; | |
18918 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
18919 | PyObject * obj0 = 0 ; | |
18920 | char *kwnames[] = { | |
18921 | (char *) "self", NULL | |
18922 | }; | |
18923 | ||
18924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
18925 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18926 | { | |
18927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18928 | (arg1)->OnFirst(); | |
18929 | ||
18930 | wxPyEndAllowThreads(__tstate); | |
18931 | if (PyErr_Occurred()) SWIG_fail; | |
18932 | } | |
18933 | Py_INCREF(Py_None); resultobj = Py_None; | |
18934 | return resultobj; | |
18935 | fail: | |
18936 | return NULL; | |
18937 | } | |
18938 | ||
18939 | ||
18940 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18941 | PyObject *resultobj; | |
18942 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
18943 | PyObject * obj0 = 0 ; | |
18944 | char *kwnames[] = { | |
18945 | (char *) "self", NULL | |
18946 | }; | |
18947 | ||
18948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
18949 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18950 | { | |
18951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18952 | (arg1)->OnLast(); | |
18953 | ||
18954 | wxPyEndAllowThreads(__tstate); | |
18955 | if (PyErr_Occurred()) SWIG_fail; | |
18956 | } | |
18957 | Py_INCREF(Py_None); resultobj = Py_None; | |
18958 | return resultobj; | |
18959 | fail: | |
18960 | return NULL; | |
18961 | } | |
18962 | ||
18963 | ||
18964 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18965 | PyObject *resultobj; | |
18966 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
18967 | PyObject * obj0 = 0 ; | |
18968 | char *kwnames[] = { | |
18969 | (char *) "self", NULL | |
18970 | }; | |
18971 | ||
18972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
18973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18974 | { | |
18975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18976 | (arg1)->OnGoto(); | |
18977 | ||
18978 | wxPyEndAllowThreads(__tstate); | |
18979 | if (PyErr_Occurred()) SWIG_fail; | |
18980 | } | |
18981 | Py_INCREF(Py_None); resultobj = Py_None; | |
18982 | return resultobj; | |
18983 | fail: | |
18984 | return NULL; | |
18985 | } | |
18986 | ||
18987 | ||
18988 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
18989 | PyObject *obj; | |
18990 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18991 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
18992 | Py_INCREF(obj); | |
18993 | return Py_BuildValue((char *)""); | |
18994 | } | |
18995 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18996 | PyObject *resultobj; | |
18997 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18998 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
18999 | wxPrintData *arg3 = (wxPrintData *) NULL ; | |
19000 | wxPrintPreview *result; | |
19001 | PyObject * obj0 = 0 ; | |
19002 | PyObject * obj1 = 0 ; | |
19003 | PyObject * obj2 = 0 ; | |
19004 | char *kwnames[] = { | |
19005 | (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL | |
19006 | }; | |
19007 | ||
19008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19009 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19010 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19011 | if (obj2) { | |
19012 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19013 | } | |
19014 | { | |
19015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19016 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
19017 | ||
19018 | wxPyEndAllowThreads(__tstate); | |
19019 | if (PyErr_Occurred()) SWIG_fail; | |
19020 | } | |
19021 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1); | |
19022 | return resultobj; | |
19023 | fail: | |
19024 | return NULL; | |
19025 | } | |
19026 | ||
19027 | ||
19028 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19029 | PyObject *resultobj; | |
19030 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19031 | int arg2 ; | |
19032 | bool result; | |
19033 | PyObject * obj0 = 0 ; | |
19034 | char *kwnames[] = { | |
19035 | (char *) "self",(char *) "pageNum", NULL | |
19036 | }; | |
19037 | ||
19038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail; | |
19039 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19040 | { | |
19041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19042 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
19043 | ||
19044 | wxPyEndAllowThreads(__tstate); | |
19045 | if (PyErr_Occurred()) SWIG_fail; | |
19046 | } | |
19047 | resultobj = PyInt_FromLong((long)result); | |
19048 | return resultobj; | |
19049 | fail: | |
19050 | return NULL; | |
19051 | } | |
19052 | ||
19053 | ||
19054 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19055 | PyObject *resultobj; | |
19056 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19057 | int result; | |
19058 | PyObject * obj0 = 0 ; | |
19059 | char *kwnames[] = { | |
19060 | (char *) "self", NULL | |
19061 | }; | |
19062 | ||
19063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
19064 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19065 | { | |
19066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19067 | result = (int)(arg1)->GetCurrentPage(); | |
19068 | ||
19069 | wxPyEndAllowThreads(__tstate); | |
19070 | if (PyErr_Occurred()) SWIG_fail; | |
19071 | } | |
19072 | resultobj = PyInt_FromLong((long)result); | |
19073 | return resultobj; | |
19074 | fail: | |
19075 | return NULL; | |
19076 | } | |
19077 | ||
19078 | ||
19079 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19080 | PyObject *resultobj; | |
19081 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19082 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
19083 | PyObject * obj0 = 0 ; | |
19084 | PyObject * obj1 = 0 ; | |
19085 | char *kwnames[] = { | |
19086 | (char *) "self",(char *) "printout", NULL | |
19087 | }; | |
19088 | ||
19089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
19090 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19091 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19092 | { | |
19093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19094 | (arg1)->SetPrintout(arg2); | |
19095 | ||
19096 | wxPyEndAllowThreads(__tstate); | |
19097 | if (PyErr_Occurred()) SWIG_fail; | |
19098 | } | |
19099 | Py_INCREF(Py_None); resultobj = Py_None; | |
19100 | return resultobj; | |
19101 | fail: | |
19102 | return NULL; | |
19103 | } | |
19104 | ||
19105 | ||
19106 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19107 | PyObject *resultobj; | |
19108 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19109 | wxPyPrintout *result; | |
19110 | PyObject * obj0 = 0 ; | |
19111 | char *kwnames[] = { | |
19112 | (char *) "self", NULL | |
19113 | }; | |
19114 | ||
19115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
19116 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19117 | { | |
19118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19119 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
19120 | ||
19121 | wxPyEndAllowThreads(__tstate); | |
19122 | if (PyErr_Occurred()) SWIG_fail; | |
19123 | } | |
19124 | { | |
19125 | resultobj = wxPyMake_wxObject(result); | |
19126 | } | |
19127 | return resultobj; | |
19128 | fail: | |
19129 | return NULL; | |
19130 | } | |
19131 | ||
19132 | ||
19133 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19134 | PyObject *resultobj; | |
19135 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19136 | wxPyPrintout *result; | |
19137 | PyObject * obj0 = 0 ; | |
19138 | char *kwnames[] = { | |
19139 | (char *) "self", NULL | |
19140 | }; | |
19141 | ||
19142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
19143 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19144 | { | |
19145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19146 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
19147 | ||
19148 | wxPyEndAllowThreads(__tstate); | |
19149 | if (PyErr_Occurred()) SWIG_fail; | |
19150 | } | |
19151 | { | |
19152 | resultobj = wxPyMake_wxObject(result); | |
19153 | } | |
19154 | return resultobj; | |
19155 | fail: | |
19156 | return NULL; | |
19157 | } | |
19158 | ||
19159 | ||
19160 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19161 | PyObject *resultobj; | |
19162 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19163 | wxFrame *arg2 = (wxFrame *) 0 ; | |
19164 | PyObject * obj0 = 0 ; | |
19165 | PyObject * obj1 = 0 ; | |
19166 | char *kwnames[] = { | |
19167 | (char *) "self",(char *) "frame", NULL | |
19168 | }; | |
19169 | ||
19170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
19171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19172 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19173 | { | |
19174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19175 | (arg1)->SetFrame(arg2); | |
19176 | ||
19177 | wxPyEndAllowThreads(__tstate); | |
19178 | if (PyErr_Occurred()) SWIG_fail; | |
19179 | } | |
19180 | Py_INCREF(Py_None); resultobj = Py_None; | |
19181 | return resultobj; | |
19182 | fail: | |
19183 | return NULL; | |
19184 | } | |
19185 | ||
19186 | ||
19187 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19188 | PyObject *resultobj; | |
19189 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19190 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
19191 | PyObject * obj0 = 0 ; | |
19192 | PyObject * obj1 = 0 ; | |
19193 | char *kwnames[] = { | |
19194 | (char *) "self",(char *) "canvas", NULL | |
19195 | }; | |
19196 | ||
19197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
19198 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19199 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19200 | { | |
19201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19202 | (arg1)->SetCanvas(arg2); | |
19203 | ||
19204 | wxPyEndAllowThreads(__tstate); | |
19205 | if (PyErr_Occurred()) SWIG_fail; | |
19206 | } | |
19207 | Py_INCREF(Py_None); resultobj = Py_None; | |
19208 | return resultobj; | |
19209 | fail: | |
19210 | return NULL; | |
19211 | } | |
19212 | ||
19213 | ||
19214 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19215 | PyObject *resultobj; | |
19216 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19217 | wxFrame *result; | |
19218 | PyObject * obj0 = 0 ; | |
19219 | char *kwnames[] = { | |
19220 | (char *) "self", NULL | |
19221 | }; | |
19222 | ||
19223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
19224 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19225 | { | |
19226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19227 | result = (wxFrame *)(arg1)->GetFrame(); | |
19228 | ||
19229 | wxPyEndAllowThreads(__tstate); | |
19230 | if (PyErr_Occurred()) SWIG_fail; | |
19231 | } | |
19232 | { | |
19233 | resultobj = wxPyMake_wxObject(result); | |
19234 | } | |
19235 | return resultobj; | |
19236 | fail: | |
19237 | return NULL; | |
19238 | } | |
19239 | ||
19240 | ||
19241 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19242 | PyObject *resultobj; | |
19243 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19244 | wxPreviewCanvas *result; | |
19245 | PyObject * obj0 = 0 ; | |
19246 | char *kwnames[] = { | |
19247 | (char *) "self", NULL | |
19248 | }; | |
19249 | ||
19250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
19251 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19252 | { | |
19253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19254 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
19255 | ||
19256 | wxPyEndAllowThreads(__tstate); | |
19257 | if (PyErr_Occurred()) SWIG_fail; | |
19258 | } | |
19259 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0); | |
19260 | return resultobj; | |
19261 | fail: | |
19262 | return NULL; | |
19263 | } | |
19264 | ||
19265 | ||
19266 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19267 | PyObject *resultobj; | |
19268 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19269 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
19270 | wxDC *arg3 = 0 ; | |
19271 | bool result; | |
19272 | PyObject * obj0 = 0 ; | |
19273 | PyObject * obj1 = 0 ; | |
19274 | PyObject * obj2 = 0 ; | |
19275 | char *kwnames[] = { | |
19276 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
19277 | }; | |
19278 | ||
19279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19280 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19281 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19282 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19283 | if (arg3 == NULL) { | |
19284 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
19285 | } | |
19286 | { | |
19287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19288 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
19289 | ||
19290 | wxPyEndAllowThreads(__tstate); | |
19291 | if (PyErr_Occurred()) SWIG_fail; | |
19292 | } | |
19293 | resultobj = PyInt_FromLong((long)result); | |
19294 | return resultobj; | |
19295 | fail: | |
19296 | return NULL; | |
19297 | } | |
19298 | ||
19299 | ||
19300 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19301 | PyObject *resultobj; | |
19302 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19303 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
19304 | wxDC *arg3 = 0 ; | |
19305 | bool result; | |
19306 | PyObject * obj0 = 0 ; | |
19307 | PyObject * obj1 = 0 ; | |
19308 | PyObject * obj2 = 0 ; | |
19309 | char *kwnames[] = { | |
19310 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
19311 | }; | |
19312 | ||
19313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19315 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19316 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19317 | if (arg3 == NULL) { | |
19318 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
19319 | } | |
19320 | { | |
19321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19322 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
19323 | ||
19324 | wxPyEndAllowThreads(__tstate); | |
19325 | if (PyErr_Occurred()) SWIG_fail; | |
19326 | } | |
19327 | resultobj = PyInt_FromLong((long)result); | |
19328 | return resultobj; | |
19329 | fail: | |
19330 | return NULL; | |
19331 | } | |
19332 | ||
19333 | ||
19334 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19335 | PyObject *resultobj; | |
19336 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19337 | int arg2 ; | |
19338 | bool result; | |
19339 | PyObject * obj0 = 0 ; | |
19340 | char *kwnames[] = { | |
19341 | (char *) "self",(char *) "pageNum", NULL | |
19342 | }; | |
19343 | ||
19344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail; | |
19345 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19346 | { | |
19347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19348 | result = (bool)(arg1)->RenderPage(arg2); | |
19349 | ||
19350 | wxPyEndAllowThreads(__tstate); | |
19351 | if (PyErr_Occurred()) SWIG_fail; | |
19352 | } | |
19353 | resultobj = PyInt_FromLong((long)result); | |
19354 | return resultobj; | |
19355 | fail: | |
19356 | return NULL; | |
19357 | } | |
19358 | ||
19359 | ||
19360 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19361 | PyObject *resultobj; | |
19362 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19363 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
19364 | PyObject * obj0 = 0 ; | |
19365 | PyObject * obj1 = 0 ; | |
19366 | char *kwnames[] = { | |
19367 | (char *) "self",(char *) "canvas", NULL | |
19368 | }; | |
19369 | ||
19370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
19371 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19372 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19373 | { | |
19374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19375 | (arg1)->AdjustScrollbars(arg2); | |
19376 | ||
19377 | wxPyEndAllowThreads(__tstate); | |
19378 | if (PyErr_Occurred()) SWIG_fail; | |
19379 | } | |
19380 | Py_INCREF(Py_None); resultobj = Py_None; | |
19381 | return resultobj; | |
19382 | fail: | |
19383 | return NULL; | |
19384 | } | |
19385 | ||
19386 | ||
19387 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19388 | PyObject *resultobj; | |
19389 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19390 | wxPrintDialogData *result; | |
19391 | PyObject * obj0 = 0 ; | |
19392 | char *kwnames[] = { | |
19393 | (char *) "self", NULL | |
19394 | }; | |
19395 | ||
19396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
19397 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19398 | { | |
19399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19400 | { | |
19401 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19402 | result = (wxPrintDialogData *) &_result_ref; | |
19403 | } | |
19404 | ||
19405 | wxPyEndAllowThreads(__tstate); | |
19406 | if (PyErr_Occurred()) SWIG_fail; | |
19407 | } | |
19408 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
19409 | return resultobj; | |
19410 | fail: | |
19411 | return NULL; | |
19412 | } | |
19413 | ||
19414 | ||
19415 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19416 | PyObject *resultobj; | |
19417 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19418 | int arg2 ; | |
19419 | PyObject * obj0 = 0 ; | |
19420 | char *kwnames[] = { | |
19421 | (char *) "self",(char *) "percent", NULL | |
19422 | }; | |
19423 | ||
19424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail; | |
19425 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19426 | { | |
19427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19428 | (arg1)->SetZoom(arg2); | |
19429 | ||
19430 | wxPyEndAllowThreads(__tstate); | |
19431 | if (PyErr_Occurred()) SWIG_fail; | |
19432 | } | |
19433 | Py_INCREF(Py_None); resultobj = Py_None; | |
19434 | return resultobj; | |
19435 | fail: | |
19436 | return NULL; | |
19437 | } | |
19438 | ||
19439 | ||
19440 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19441 | PyObject *resultobj; | |
19442 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19443 | int result; | |
19444 | PyObject * obj0 = 0 ; | |
19445 | char *kwnames[] = { | |
19446 | (char *) "self", NULL | |
19447 | }; | |
19448 | ||
19449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
19450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19451 | { | |
19452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19453 | result = (int)(arg1)->GetZoom(); | |
19454 | ||
19455 | wxPyEndAllowThreads(__tstate); | |
19456 | if (PyErr_Occurred()) SWIG_fail; | |
19457 | } | |
19458 | resultobj = PyInt_FromLong((long)result); | |
19459 | return resultobj; | |
19460 | fail: | |
19461 | return NULL; | |
19462 | } | |
19463 | ||
19464 | ||
19465 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19466 | PyObject *resultobj; | |
19467 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19468 | int result; | |
19469 | PyObject * obj0 = 0 ; | |
19470 | char *kwnames[] = { | |
19471 | (char *) "self", NULL | |
19472 | }; | |
19473 | ||
19474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
19475 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19476 | { | |
19477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19478 | result = (int)(arg1)->GetMaxPage(); | |
19479 | ||
19480 | wxPyEndAllowThreads(__tstate); | |
19481 | if (PyErr_Occurred()) SWIG_fail; | |
19482 | } | |
19483 | resultobj = PyInt_FromLong((long)result); | |
19484 | return resultobj; | |
19485 | fail: | |
19486 | return NULL; | |
19487 | } | |
19488 | ||
19489 | ||
19490 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19491 | PyObject *resultobj; | |
19492 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19493 | int result; | |
19494 | PyObject * obj0 = 0 ; | |
19495 | char *kwnames[] = { | |
19496 | (char *) "self", NULL | |
19497 | }; | |
19498 | ||
19499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
19500 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19501 | { | |
19502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19503 | result = (int)(arg1)->GetMinPage(); | |
19504 | ||
19505 | wxPyEndAllowThreads(__tstate); | |
19506 | if (PyErr_Occurred()) SWIG_fail; | |
19507 | } | |
19508 | resultobj = PyInt_FromLong((long)result); | |
19509 | return resultobj; | |
19510 | fail: | |
19511 | return NULL; | |
19512 | } | |
19513 | ||
19514 | ||
19515 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19516 | PyObject *resultobj; | |
19517 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19518 | bool result; | |
19519 | PyObject * obj0 = 0 ; | |
19520 | char *kwnames[] = { | |
19521 | (char *) "self", NULL | |
19522 | }; | |
19523 | ||
19524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
19525 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19526 | { | |
19527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19528 | result = (bool)(arg1)->Ok(); | |
19529 | ||
19530 | wxPyEndAllowThreads(__tstate); | |
19531 | if (PyErr_Occurred()) SWIG_fail; | |
19532 | } | |
19533 | resultobj = PyInt_FromLong((long)result); | |
19534 | return resultobj; | |
19535 | fail: | |
19536 | return NULL; | |
19537 | } | |
19538 | ||
19539 | ||
19540 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19541 | PyObject *resultobj; | |
19542 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19543 | bool arg2 ; | |
19544 | PyObject * obj0 = 0 ; | |
19545 | PyObject * obj1 = 0 ; | |
19546 | char *kwnames[] = { | |
19547 | (char *) "self",(char *) "ok", NULL | |
19548 | }; | |
19549 | ||
19550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
19551 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19552 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
19553 | if (PyErr_Occurred()) SWIG_fail; | |
19554 | { | |
19555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19556 | (arg1)->SetOk(arg2); | |
19557 | ||
19558 | wxPyEndAllowThreads(__tstate); | |
19559 | if (PyErr_Occurred()) SWIG_fail; | |
19560 | } | |
19561 | Py_INCREF(Py_None); resultobj = Py_None; | |
19562 | return resultobj; | |
19563 | fail: | |
19564 | return NULL; | |
19565 | } | |
19566 | ||
19567 | ||
19568 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19569 | PyObject *resultobj; | |
19570 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19571 | bool arg2 ; | |
19572 | bool result; | |
19573 | PyObject * obj0 = 0 ; | |
19574 | PyObject * obj1 = 0 ; | |
19575 | char *kwnames[] = { | |
19576 | (char *) "self",(char *) "interactive", NULL | |
19577 | }; | |
19578 | ||
19579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
19580 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19581 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
19582 | if (PyErr_Occurred()) SWIG_fail; | |
19583 | { | |
19584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19585 | result = (bool)(arg1)->Print(arg2); | |
19586 | ||
19587 | wxPyEndAllowThreads(__tstate); | |
19588 | if (PyErr_Occurred()) SWIG_fail; | |
19589 | } | |
19590 | resultobj = PyInt_FromLong((long)result); | |
19591 | return resultobj; | |
19592 | fail: | |
19593 | return NULL; | |
19594 | } | |
19595 | ||
19596 | ||
19597 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19598 | PyObject *resultobj; | |
19599 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19600 | PyObject * obj0 = 0 ; | |
19601 | char *kwnames[] = { | |
19602 | (char *) "self", NULL | |
19603 | }; | |
19604 | ||
19605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
19606 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19607 | { | |
19608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19609 | (arg1)->DetermineScaling(); | |
19610 | ||
19611 | wxPyEndAllowThreads(__tstate); | |
19612 | if (PyErr_Occurred()) SWIG_fail; | |
19613 | } | |
19614 | Py_INCREF(Py_None); resultobj = Py_None; | |
19615 | return resultobj; | |
19616 | fail: | |
19617 | return NULL; | |
19618 | } | |
19619 | ||
19620 | ||
19621 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
19622 | PyObject *obj; | |
19623 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19624 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
19625 | Py_INCREF(obj); | |
19626 | return Py_BuildValue((char *)""); | |
19627 | } | |
19628 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19629 | PyObject *resultobj; | |
19630 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19631 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
19632 | wxPrintData *arg3 = (wxPrintData *) NULL ; | |
19633 | wxPyPrintPreview *result; | |
19634 | PyObject * obj0 = 0 ; | |
19635 | PyObject * obj1 = 0 ; | |
19636 | PyObject * obj2 = 0 ; | |
19637 | char *kwnames[] = { | |
19638 | (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL | |
19639 | }; | |
19640 | ||
19641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19642 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19643 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19644 | if (obj2) { | |
19645 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19646 | } | |
19647 | { | |
19648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19649 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
19650 | ||
19651 | wxPyEndAllowThreads(__tstate); | |
19652 | if (PyErr_Occurred()) SWIG_fail; | |
19653 | } | |
19654 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1); | |
19655 | return resultobj; | |
19656 | fail: | |
19657 | return NULL; | |
19658 | } | |
19659 | ||
19660 | ||
19661 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19662 | PyObject *resultobj; | |
19663 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
19664 | PyObject *arg2 = (PyObject *) 0 ; | |
19665 | PyObject *arg3 = (PyObject *) 0 ; | |
19666 | PyObject * obj0 = 0 ; | |
19667 | PyObject * obj1 = 0 ; | |
19668 | PyObject * obj2 = 0 ; | |
19669 | char *kwnames[] = { | |
19670 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19671 | }; | |
19672 | ||
19673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19675 | arg2 = obj1; | |
19676 | arg3 = obj2; | |
19677 | { | |
19678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19679 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19680 | ||
19681 | wxPyEndAllowThreads(__tstate); | |
19682 | if (PyErr_Occurred()) SWIG_fail; | |
19683 | } | |
19684 | Py_INCREF(Py_None); resultobj = Py_None; | |
19685 | return resultobj; | |
19686 | fail: | |
19687 | return NULL; | |
19688 | } | |
19689 | ||
19690 | ||
19691 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19692 | PyObject *resultobj; | |
19693 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
19694 | int arg2 ; | |
19695 | bool result; | |
19696 | PyObject * obj0 = 0 ; | |
19697 | char *kwnames[] = { | |
19698 | (char *) "self",(char *) "pageNum", NULL | |
19699 | }; | |
19700 | ||
19701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail; | |
19702 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19703 | { | |
19704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19705 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
19706 | ||
19707 | wxPyEndAllowThreads(__tstate); | |
19708 | if (PyErr_Occurred()) SWIG_fail; | |
19709 | } | |
19710 | resultobj = PyInt_FromLong((long)result); | |
19711 | return resultobj; | |
19712 | fail: | |
19713 | return NULL; | |
19714 | } | |
19715 | ||
19716 | ||
19717 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19718 | PyObject *resultobj; | |
19719 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
19720 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
19721 | wxDC *arg3 = 0 ; | |
19722 | bool result; | |
19723 | PyObject * obj0 = 0 ; | |
19724 | PyObject * obj1 = 0 ; | |
19725 | PyObject * obj2 = 0 ; | |
19726 | char *kwnames[] = { | |
19727 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
19728 | }; | |
19729 | ||
19730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19731 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19732 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19733 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19734 | if (arg3 == NULL) { | |
19735 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
19736 | } | |
19737 | { | |
19738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19739 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
19740 | ||
19741 | wxPyEndAllowThreads(__tstate); | |
19742 | if (PyErr_Occurred()) SWIG_fail; | |
19743 | } | |
19744 | resultobj = PyInt_FromLong((long)result); | |
19745 | return resultobj; | |
19746 | fail: | |
19747 | return NULL; | |
19748 | } | |
19749 | ||
19750 | ||
19751 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19752 | PyObject *resultobj; | |
19753 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
19754 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
19755 | wxDC *arg3 = 0 ; | |
19756 | bool result; | |
19757 | PyObject * obj0 = 0 ; | |
19758 | PyObject * obj1 = 0 ; | |
19759 | PyObject * obj2 = 0 ; | |
19760 | char *kwnames[] = { | |
19761 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
19762 | }; | |
19763 | ||
19764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19765 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19766 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19767 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19768 | if (arg3 == NULL) { | |
19769 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
19770 | } | |
19771 | { | |
19772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19773 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
19774 | ||
19775 | wxPyEndAllowThreads(__tstate); | |
19776 | if (PyErr_Occurred()) SWIG_fail; | |
19777 | } | |
19778 | resultobj = PyInt_FromLong((long)result); | |
19779 | return resultobj; | |
19780 | fail: | |
19781 | return NULL; | |
19782 | } | |
19783 | ||
19784 | ||
19785 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19786 | PyObject *resultobj; | |
19787 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
19788 | int arg2 ; | |
19789 | bool result; | |
19790 | PyObject * obj0 = 0 ; | |
19791 | char *kwnames[] = { | |
19792 | (char *) "self",(char *) "pageNum", NULL | |
19793 | }; | |
19794 | ||
19795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail; | |
19796 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19797 | { | |
19798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19799 | result = (bool)(arg1)->base_RenderPage(arg2); | |
19800 | ||
19801 | wxPyEndAllowThreads(__tstate); | |
19802 | if (PyErr_Occurred()) SWIG_fail; | |
19803 | } | |
19804 | resultobj = PyInt_FromLong((long)result); | |
19805 | return resultobj; | |
19806 | fail: | |
19807 | return NULL; | |
19808 | } | |
19809 | ||
19810 | ||
19811 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19812 | PyObject *resultobj; | |
19813 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
19814 | int arg2 ; | |
19815 | PyObject * obj0 = 0 ; | |
19816 | char *kwnames[] = { | |
19817 | (char *) "self",(char *) "percent", NULL | |
19818 | }; | |
19819 | ||
19820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail; | |
19821 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19822 | { | |
19823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19824 | (arg1)->base_SetZoom(arg2); | |
19825 | ||
19826 | wxPyEndAllowThreads(__tstate); | |
19827 | if (PyErr_Occurred()) SWIG_fail; | |
19828 | } | |
19829 | Py_INCREF(Py_None); resultobj = Py_None; | |
19830 | return resultobj; | |
19831 | fail: | |
19832 | return NULL; | |
19833 | } | |
19834 | ||
19835 | ||
19836 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19837 | PyObject *resultobj; | |
19838 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
19839 | bool arg2 ; | |
19840 | bool result; | |
19841 | PyObject * obj0 = 0 ; | |
19842 | PyObject * obj1 = 0 ; | |
19843 | char *kwnames[] = { | |
19844 | (char *) "self",(char *) "interactive", NULL | |
19845 | }; | |
19846 | ||
19847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
19848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19849 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
19850 | if (PyErr_Occurred()) SWIG_fail; | |
19851 | { | |
19852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19853 | result = (bool)(arg1)->base_Print(arg2); | |
19854 | ||
19855 | wxPyEndAllowThreads(__tstate); | |
19856 | if (PyErr_Occurred()) SWIG_fail; | |
19857 | } | |
19858 | resultobj = PyInt_FromLong((long)result); | |
19859 | return resultobj; | |
19860 | fail: | |
19861 | return NULL; | |
19862 | } | |
19863 | ||
19864 | ||
19865 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19866 | PyObject *resultobj; | |
19867 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
19868 | PyObject * obj0 = 0 ; | |
19869 | char *kwnames[] = { | |
19870 | (char *) "self", NULL | |
19871 | }; | |
19872 | ||
19873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
19874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19875 | { | |
19876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19877 | (arg1)->base_DetermineScaling(); | |
19878 | ||
19879 | wxPyEndAllowThreads(__tstate); | |
19880 | if (PyErr_Occurred()) SWIG_fail; | |
19881 | } | |
19882 | Py_INCREF(Py_None); resultobj = Py_None; | |
19883 | return resultobj; | |
19884 | fail: | |
19885 | return NULL; | |
19886 | } | |
19887 | ||
19888 | ||
19889 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
19890 | PyObject *obj; | |
19891 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19892 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
19893 | Py_INCREF(obj); | |
19894 | return Py_BuildValue((char *)""); | |
19895 | } | |
19896 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19897 | PyObject *resultobj; | |
19898 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19899 | wxFrame *arg2 = (wxFrame *) 0 ; | |
19900 | wxString *arg3 = 0 ; | |
19901 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
19902 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
19903 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
19904 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
19905 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
19906 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
19907 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
19908 | wxPyPreviewFrame *result; | |
19909 | bool temp3 = False ; | |
19910 | wxPoint temp4 ; | |
19911 | wxSize temp5 ; | |
19912 | bool temp7 = False ; | |
19913 | PyObject * obj0 = 0 ; | |
19914 | PyObject * obj1 = 0 ; | |
19915 | PyObject * obj2 = 0 ; | |
19916 | PyObject * obj3 = 0 ; | |
19917 | PyObject * obj4 = 0 ; | |
19918 | PyObject * obj6 = 0 ; | |
19919 | char *kwnames[] = { | |
19920 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19921 | }; | |
19922 | ||
19923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
19924 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19925 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19926 | { | |
19927 | arg3 = wxString_in_helper(obj2); | |
19928 | if (arg3 == NULL) SWIG_fail; | |
19929 | temp3 = True; | |
19930 | } | |
19931 | if (obj3) { | |
19932 | { | |
19933 | arg4 = &temp4; | |
19934 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
19935 | } | |
19936 | } | |
19937 | if (obj4) { | |
19938 | { | |
19939 | arg5 = &temp5; | |
19940 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
19941 | } | |
19942 | } | |
19943 | if (obj6) { | |
19944 | { | |
19945 | arg7 = wxString_in_helper(obj6); | |
19946 | if (arg7 == NULL) SWIG_fail; | |
19947 | temp7 = True; | |
19948 | } | |
19949 | } | |
19950 | { | |
19951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19952 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
19953 | ||
19954 | wxPyEndAllowThreads(__tstate); | |
19955 | if (PyErr_Occurred()) SWIG_fail; | |
19956 | } | |
19957 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1); | |
19958 | { | |
19959 | if (temp3) | |
19960 | delete arg3; | |
19961 | } | |
19962 | { | |
19963 | if (temp7) | |
19964 | delete arg7; | |
19965 | } | |
19966 | return resultobj; | |
19967 | fail: | |
19968 | { | |
19969 | if (temp3) | |
19970 | delete arg3; | |
19971 | } | |
19972 | { | |
19973 | if (temp7) | |
19974 | delete arg7; | |
19975 | } | |
19976 | return NULL; | |
19977 | } | |
19978 | ||
19979 | ||
19980 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19981 | PyObject *resultobj; | |
19982 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
19983 | PyObject *arg2 = (PyObject *) 0 ; | |
19984 | PyObject *arg3 = (PyObject *) 0 ; | |
19985 | PyObject * obj0 = 0 ; | |
19986 | PyObject * obj1 = 0 ; | |
19987 | PyObject * obj2 = 0 ; | |
19988 | char *kwnames[] = { | |
19989 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19990 | }; | |
19991 | ||
19992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19993 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19994 | arg2 = obj1; | |
19995 | arg3 = obj2; | |
19996 | { | |
19997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19998 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19999 | ||
20000 | wxPyEndAllowThreads(__tstate); | |
20001 | if (PyErr_Occurred()) SWIG_fail; | |
20002 | } | |
20003 | Py_INCREF(Py_None); resultobj = Py_None; | |
20004 | return resultobj; | |
20005 | fail: | |
20006 | return NULL; | |
20007 | } | |
20008 | ||
20009 | ||
20010 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20011 | PyObject *resultobj; | |
20012 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20013 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
20014 | PyObject * obj0 = 0 ; | |
20015 | PyObject * obj1 = 0 ; | |
20016 | char *kwnames[] = { | |
20017 | (char *) "self",(char *) "canvas", NULL | |
20018 | }; | |
20019 | ||
20020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
20021 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20022 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20023 | { | |
20024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20025 | (arg1)->SetPreviewCanvas(arg2); | |
20026 | ||
20027 | wxPyEndAllowThreads(__tstate); | |
20028 | if (PyErr_Occurred()) SWIG_fail; | |
20029 | } | |
20030 | Py_INCREF(Py_None); resultobj = Py_None; | |
20031 | return resultobj; | |
20032 | fail: | |
20033 | return NULL; | |
20034 | } | |
20035 | ||
20036 | ||
20037 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20038 | PyObject *resultobj; | |
20039 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20040 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
20041 | PyObject * obj0 = 0 ; | |
20042 | PyObject * obj1 = 0 ; | |
20043 | char *kwnames[] = { | |
20044 | (char *) "self",(char *) "bar", NULL | |
20045 | }; | |
20046 | ||
20047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
20048 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20049 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20050 | { | |
20051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20052 | (arg1)->SetControlBar(arg2); | |
20053 | ||
20054 | wxPyEndAllowThreads(__tstate); | |
20055 | if (PyErr_Occurred()) SWIG_fail; | |
20056 | } | |
20057 | Py_INCREF(Py_None); resultobj = Py_None; | |
20058 | return resultobj; | |
20059 | fail: | |
20060 | return NULL; | |
20061 | } | |
20062 | ||
20063 | ||
20064 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20065 | PyObject *resultobj; | |
20066 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20067 | PyObject * obj0 = 0 ; | |
20068 | char *kwnames[] = { | |
20069 | (char *) "self", NULL | |
20070 | }; | |
20071 | ||
20072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
20073 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20074 | { | |
20075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20076 | (arg1)->base_Initialize(); | |
20077 | ||
20078 | wxPyEndAllowThreads(__tstate); | |
20079 | if (PyErr_Occurred()) SWIG_fail; | |
20080 | } | |
20081 | Py_INCREF(Py_None); resultobj = Py_None; | |
20082 | return resultobj; | |
20083 | fail: | |
20084 | return NULL; | |
20085 | } | |
20086 | ||
20087 | ||
20088 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20089 | PyObject *resultobj; | |
20090 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20091 | PyObject * obj0 = 0 ; | |
20092 | char *kwnames[] = { | |
20093 | (char *) "self", NULL | |
20094 | }; | |
20095 | ||
20096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
20097 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20098 | { | |
20099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20100 | (arg1)->base_CreateCanvas(); | |
20101 | ||
20102 | wxPyEndAllowThreads(__tstate); | |
20103 | if (PyErr_Occurred()) SWIG_fail; | |
20104 | } | |
20105 | Py_INCREF(Py_None); resultobj = Py_None; | |
20106 | return resultobj; | |
20107 | fail: | |
20108 | return NULL; | |
20109 | } | |
20110 | ||
20111 | ||
20112 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20113 | PyObject *resultobj; | |
20114 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20115 | PyObject * obj0 = 0 ; | |
20116 | char *kwnames[] = { | |
20117 | (char *) "self", NULL | |
20118 | }; | |
20119 | ||
20120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
20121 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20122 | { | |
20123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20124 | (arg1)->base_CreateControlBar(); | |
20125 | ||
20126 | wxPyEndAllowThreads(__tstate); | |
20127 | if (PyErr_Occurred()) SWIG_fail; | |
20128 | } | |
20129 | Py_INCREF(Py_None); resultobj = Py_None; | |
20130 | return resultobj; | |
20131 | fail: | |
20132 | return NULL; | |
20133 | } | |
20134 | ||
20135 | ||
20136 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
20137 | PyObject *obj; | |
20138 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20139 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
20140 | Py_INCREF(obj); | |
20141 | return Py_BuildValue((char *)""); | |
20142 | } | |
20143 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20144 | PyObject *resultobj; | |
20145 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20146 | long arg2 ; | |
20147 | wxWindow *arg3 = (wxWindow *) 0 ; | |
20148 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20149 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20150 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20151 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20152 | long arg6 = (long) 0 ; | |
20153 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
20154 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20155 | wxPyPreviewControlBar *result; | |
20156 | wxPoint temp4 ; | |
20157 | wxSize temp5 ; | |
20158 | bool temp7 = False ; | |
20159 | PyObject * obj0 = 0 ; | |
20160 | PyObject * obj2 = 0 ; | |
20161 | PyObject * obj3 = 0 ; | |
20162 | PyObject * obj4 = 0 ; | |
20163 | PyObject * obj6 = 0 ; | |
20164 | char *kwnames[] = { | |
20165 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20166 | }; | |
20167 | ||
20168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
20169 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20170 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20171 | if (obj3) { | |
20172 | { | |
20173 | arg4 = &temp4; | |
20174 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20175 | } | |
20176 | } | |
20177 | if (obj4) { | |
20178 | { | |
20179 | arg5 = &temp5; | |
20180 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20181 | } | |
20182 | } | |
20183 | if (obj6) { | |
20184 | { | |
20185 | arg7 = wxString_in_helper(obj6); | |
20186 | if (arg7 == NULL) SWIG_fail; | |
20187 | temp7 = True; | |
20188 | } | |
20189 | } | |
20190 | { | |
20191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20192 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20193 | ||
20194 | wxPyEndAllowThreads(__tstate); | |
20195 | if (PyErr_Occurred()) SWIG_fail; | |
20196 | } | |
20197 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
20198 | { | |
20199 | if (temp7) | |
20200 | delete arg7; | |
20201 | } | |
20202 | return resultobj; | |
20203 | fail: | |
20204 | { | |
20205 | if (temp7) | |
20206 | delete arg7; | |
20207 | } | |
20208 | return NULL; | |
20209 | } | |
20210 | ||
20211 | ||
20212 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20213 | PyObject *resultobj; | |
20214 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
20215 | PyObject *arg2 = (PyObject *) 0 ; | |
20216 | PyObject *arg3 = (PyObject *) 0 ; | |
20217 | PyObject * obj0 = 0 ; | |
20218 | PyObject * obj1 = 0 ; | |
20219 | PyObject * obj2 = 0 ; | |
20220 | char *kwnames[] = { | |
20221 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20222 | }; | |
20223 | ||
20224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20225 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20226 | arg2 = obj1; | |
20227 | arg3 = obj2; | |
20228 | { | |
20229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20230 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20231 | ||
20232 | wxPyEndAllowThreads(__tstate); | |
20233 | if (PyErr_Occurred()) SWIG_fail; | |
20234 | } | |
20235 | Py_INCREF(Py_None); resultobj = Py_None; | |
20236 | return resultobj; | |
20237 | fail: | |
20238 | return NULL; | |
20239 | } | |
20240 | ||
20241 | ||
20242 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20243 | PyObject *resultobj; | |
20244 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
20245 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
20246 | PyObject * obj0 = 0 ; | |
20247 | PyObject * obj1 = 0 ; | |
20248 | char *kwnames[] = { | |
20249 | (char *) "self",(char *) "preview", NULL | |
20250 | }; | |
20251 | ||
20252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
20253 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20254 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20255 | { | |
20256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20257 | (arg1)->SetPrintPreview(arg2); | |
20258 | ||
20259 | wxPyEndAllowThreads(__tstate); | |
20260 | if (PyErr_Occurred()) SWIG_fail; | |
20261 | } | |
20262 | Py_INCREF(Py_None); resultobj = Py_None; | |
20263 | return resultobj; | |
20264 | fail: | |
20265 | return NULL; | |
20266 | } | |
20267 | ||
20268 | ||
20269 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20270 | PyObject *resultobj; | |
20271 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
20272 | PyObject * obj0 = 0 ; | |
20273 | char *kwnames[] = { | |
20274 | (char *) "self", NULL | |
20275 | }; | |
20276 | ||
20277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
20278 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20279 | { | |
20280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20281 | (arg1)->base_CreateButtons(); | |
20282 | ||
20283 | wxPyEndAllowThreads(__tstate); | |
20284 | if (PyErr_Occurred()) SWIG_fail; | |
20285 | } | |
20286 | Py_INCREF(Py_None); resultobj = Py_None; | |
20287 | return resultobj; | |
20288 | fail: | |
20289 | return NULL; | |
20290 | } | |
20291 | ||
20292 | ||
20293 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20294 | PyObject *resultobj; | |
20295 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
20296 | int arg2 ; | |
20297 | PyObject * obj0 = 0 ; | |
20298 | char *kwnames[] = { | |
20299 | (char *) "self",(char *) "zoom", NULL | |
20300 | }; | |
20301 | ||
20302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail; | |
20303 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20304 | { | |
20305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20306 | (arg1)->base_SetZoomControl(arg2); | |
20307 | ||
20308 | wxPyEndAllowThreads(__tstate); | |
20309 | if (PyErr_Occurred()) SWIG_fail; | |
20310 | } | |
20311 | Py_INCREF(Py_None); resultobj = Py_None; | |
20312 | return resultobj; | |
20313 | fail: | |
20314 | return NULL; | |
20315 | } | |
20316 | ||
20317 | ||
20318 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
20319 | PyObject *obj; | |
20320 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20321 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
20322 | Py_INCREF(obj); | |
20323 | return Py_BuildValue((char *)""); | |
20324 | } | |
20325 | static PyMethodDef SwigMethods[] = { | |
20326 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
20327 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
20328 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
20329 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
20330 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
20331 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
20332 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
20333 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
20334 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
20335 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
20336 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
20337 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
20338 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
20339 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
20340 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
20341 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
20342 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
20343 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
20344 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
20345 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
20346 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
20347 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
20348 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
20349 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
20350 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
20351 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
20352 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
20353 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
20354 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
20355 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
20356 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
20357 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
20358 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
20359 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
20360 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
20361 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
20362 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
20363 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
20364 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
20365 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
20366 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
20367 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
20368 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
20369 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
20370 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
20371 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
20372 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
20373 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
20374 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
20375 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
20376 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
20377 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
20378 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
20379 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
20380 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
20381 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
20382 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
20383 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
20384 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
20385 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
20386 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
20387 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
20388 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
20389 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
20390 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
20391 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
20392 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
20393 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
20394 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
20395 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
20396 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
20397 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
20398 | { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS }, | |
20399 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, | |
20400 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20401 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
20402 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
20403 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
20404 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
20405 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
20406 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
20407 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
20408 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
20409 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
20410 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
20411 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
20412 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
20413 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
20414 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
20415 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
20416 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
20417 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
20418 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
20419 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
20420 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
20421 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
20422 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
20423 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
20424 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
20425 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
20426 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
20427 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
20428 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
20429 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
20430 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
20431 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
20432 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
20433 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
20434 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
20435 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
20436 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
20437 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
20438 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
20439 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
20440 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
20441 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
20442 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
20443 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
20444 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
20445 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
20446 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
20447 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
20448 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
20449 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
20450 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
20451 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
20452 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
20453 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
20454 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
20455 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
20456 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
20457 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
20458 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
20459 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
20460 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
20461 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
20462 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
20463 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
20464 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
20465 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
20466 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
20467 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
20468 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
20469 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
20470 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
20471 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
20472 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
20473 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
20474 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
20475 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
20476 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
20477 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
20478 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
20479 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
20480 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
20481 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
20482 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
20483 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
20484 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
20485 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
20486 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
20487 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
20488 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
20489 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
20490 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
20491 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
20492 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
20493 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
20494 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
20495 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
20496 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
20497 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
20498 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
20499 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
20500 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
20501 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
20502 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
20503 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
20504 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
20505 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
20506 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
20507 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
20508 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
20509 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
20510 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
20511 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
20512 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
20513 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
20514 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
20515 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
20516 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
20517 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
20518 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
20519 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
20520 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
20521 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
20522 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
20523 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
20524 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
20525 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
20526 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
20527 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
20528 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
20529 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
20530 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
20531 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
20532 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
20533 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
20534 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
20535 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
20536 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
20537 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
20538 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
20539 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
20540 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
20541 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20542 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
20543 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
20544 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
20545 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
20546 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
20547 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
20548 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
20549 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
20550 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
20551 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
20552 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
20553 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
20554 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
20555 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
20556 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
20557 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
20558 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
20559 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20560 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
20561 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
20562 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
20563 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
20564 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
20565 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
20566 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
20567 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
20568 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
20569 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
20570 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
20571 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
20572 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
20573 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
20574 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
20575 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
20576 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
20577 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
20578 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
20579 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
20580 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
20581 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
20582 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
20583 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
20584 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
20585 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20586 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
20587 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
20588 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
20589 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
20590 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
20591 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
20592 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
20593 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
20594 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
20595 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
20596 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
20597 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
20598 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
20599 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
20600 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
20601 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
20602 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
20603 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
20604 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
20605 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
20606 | { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20607 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, | |
20608 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
20609 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
20610 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
20611 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
20612 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
20613 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
20614 | { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20615 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, | |
20616 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
20617 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
20618 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
20619 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
20620 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
20621 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
20622 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
20623 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
20624 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
20625 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
20626 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
20627 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
20628 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
20629 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
20630 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
20631 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
20632 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
20633 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
20634 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
20635 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
20636 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
20637 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
20638 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
20639 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
20640 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
20641 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
20642 | { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20643 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, | |
20644 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
20645 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
20646 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
20647 | { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20648 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, | |
20649 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
20650 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
20651 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
20652 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
20653 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
20654 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
20655 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
20656 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
20657 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
20658 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
20659 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
20660 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
20661 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
20662 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
20663 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
20664 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
20665 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, | |
20666 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, | |
20667 | { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20668 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, | |
20669 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
20670 | { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20671 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, | |
20672 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
20673 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
20674 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
20675 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
20676 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
20677 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
20678 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
20679 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
20680 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
20681 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
20682 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
20683 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
20684 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
20685 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
20686 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
20687 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
20688 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
20689 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
20690 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
20691 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
20692 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
20693 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
20694 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
20695 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
20696 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
20697 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
20698 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
20699 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
20700 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
20701 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
20702 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
20703 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
20704 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
20705 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
20706 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
20707 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
20708 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
20709 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
20710 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
20711 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
20712 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
20713 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
20714 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
20715 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
20716 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
20717 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
20718 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
20719 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
20720 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
20721 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
20722 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
20723 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
20724 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20725 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
20726 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
20727 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
20728 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
20729 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
20730 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
20731 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
20732 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
20733 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
20734 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
20735 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
20736 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
20737 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
20738 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
20739 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
20740 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
20741 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
20742 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
20743 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, | |
20744 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
20745 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20746 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
20747 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
20748 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
20749 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
20750 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
20751 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
20752 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
20753 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
20754 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
20755 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
20756 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
20757 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
20758 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
20759 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
20760 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
20761 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
20762 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
20763 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
20764 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, | |
20765 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
20766 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
20767 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
20768 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
20769 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
20770 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
20771 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
20772 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
20773 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
20774 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
20775 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
20776 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
20777 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
20778 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
20779 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
20780 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
20781 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
20782 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
20783 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
20784 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
20785 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
20786 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
20787 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
20788 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
20789 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
20790 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
20791 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
20792 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
20793 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
20794 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
20795 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
20796 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
20797 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
20798 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
20799 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
20800 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
20801 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
20802 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
20803 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
20804 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
20805 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
20806 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
20807 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
20808 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, | |
20809 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
20810 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
20811 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
20812 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
20813 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
20814 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
20815 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
20816 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
20817 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
20818 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
20819 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
20820 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
20821 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
20822 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
20823 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
20824 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
20825 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
20826 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
20827 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
20828 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
20829 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
20830 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
20831 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
20832 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
20833 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
20834 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
20835 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
20836 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
20837 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
20838 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
20839 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
20840 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
20841 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
20842 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
20843 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20844 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
20845 | { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
20846 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
20847 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
20848 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
20849 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
20850 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
20851 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
20852 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
20853 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
20854 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
20855 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
20856 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
20857 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
20858 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
20859 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
20860 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
20861 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
20862 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
20863 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
20864 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
20865 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
20866 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
20867 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
20868 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
20869 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
20870 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
20871 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
20872 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
20873 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
20874 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
20875 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
20876 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
20877 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
20878 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
20879 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
20880 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
20881 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
20882 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
20883 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
20884 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
20885 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
20886 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
20887 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
20888 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
20889 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
20890 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
20891 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
20892 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
20893 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
20894 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
20895 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
20896 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20897 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
20898 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
20899 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
20900 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, | |
20901 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, | |
20902 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
20903 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
20904 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
20905 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
20906 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
20907 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
20908 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
20909 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
20910 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
20911 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
20912 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
20913 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
20914 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
20915 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, | |
20916 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, | |
20917 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, | |
20918 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
20919 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
20920 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
20921 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
20922 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
20923 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
20924 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
20925 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
20926 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
20927 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
20928 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
20929 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
20930 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
20931 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
20932 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
20933 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
20934 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
20935 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
20936 | { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
20937 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
20938 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
20939 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
20940 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
20941 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
20942 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
20943 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
20944 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
20945 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
20946 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
20947 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
20948 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
20949 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
20950 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
20951 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
20952 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
20953 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
20954 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
20955 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
20956 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
20957 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
20958 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
20959 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
20960 | { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
20961 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20962 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
20963 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
20964 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
20965 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
20966 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
20967 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
20968 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
20969 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
20970 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
20971 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20972 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
20973 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
20974 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
20975 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
20976 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
20977 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
20978 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
20979 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
20980 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
20981 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
20982 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
20983 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
20984 | { NULL, NULL } | |
20985 | }; | |
20986 | ||
20987 | ||
20988 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
20989 | ||
20990 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
20991 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
20992 | } | |
20993 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
20994 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
20995 | } | |
20996 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
20997 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
20998 | } | |
20999 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
21000 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
21001 | } | |
21002 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
21003 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
21004 | } | |
21005 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
21006 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
21007 | } | |
21008 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
21009 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
21010 | } | |
21011 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
21012 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
21013 | } | |
21014 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
21015 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
21016 | } | |
21017 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
21018 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
21019 | } | |
21020 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
21021 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
21022 | } | |
21023 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
21024 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
21025 | } | |
21026 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
21027 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
21028 | } | |
21029 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
21030 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
21031 | } | |
21032 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
21033 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
21034 | } | |
21035 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
21036 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
21037 | } | |
21038 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
21039 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
21040 | } | |
21041 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
21042 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
21043 | } | |
21044 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
21045 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
21046 | } | |
21047 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
21048 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
21049 | } | |
21050 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
21051 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
21052 | } | |
21053 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
21054 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
21055 | } | |
21056 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
21057 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
21058 | } | |
21059 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
21060 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
21061 | } | |
21062 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
21063 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
21064 | } | |
21065 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
21066 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
21067 | } | |
21068 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
21069 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
21070 | } | |
21071 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
21072 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
21073 | } | |
21074 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
21075 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
21076 | } | |
21077 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
21078 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
21079 | } | |
21080 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
21081 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
21082 | } | |
21083 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
21084 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
21085 | } | |
21086 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
21087 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
21088 | } | |
21089 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
21090 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
21091 | } | |
21092 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
21093 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
21094 | } | |
21095 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
21096 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
21097 | } | |
21098 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
21099 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
21100 | } | |
21101 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
21102 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
21103 | } | |
21104 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
21105 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
21106 | } | |
21107 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
21108 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
21109 | } | |
21110 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
21111 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
21112 | } | |
21113 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
21114 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
21115 | } | |
21116 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
21117 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
21118 | } | |
21119 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
21120 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
21121 | } | |
21122 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
21123 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
21124 | } | |
21125 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
21126 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
21127 | } | |
21128 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
21129 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
21130 | } | |
21131 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
21132 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
21133 | } | |
21134 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
21135 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
21136 | } | |
21137 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
21138 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
21139 | } | |
21140 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
21141 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
21142 | } | |
21143 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
21144 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
21145 | } | |
21146 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
21147 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
21148 | } | |
21149 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
21150 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
21151 | } | |
21152 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
21153 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
21154 | } | |
21155 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
21156 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
21157 | } | |
21158 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
21159 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
21160 | } | |
21161 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
21162 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
21163 | } | |
21164 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
21165 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
21166 | } | |
21167 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
21168 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
21169 | } | |
21170 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
21171 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
21172 | } | |
21173 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
21174 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
21175 | } | |
21176 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
21177 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
21178 | } | |
21179 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
21180 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
21181 | } | |
21182 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
21183 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
21184 | } | |
21185 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
21186 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
21187 | } | |
21188 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
21189 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
21190 | } | |
21191 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
21192 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
21193 | } | |
21194 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
21195 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
21196 | } | |
21197 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
21198 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
21199 | } | |
21200 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
21201 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
21202 | } | |
21203 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
21204 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
21205 | } | |
21206 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
21207 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
21208 | } | |
21209 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
21210 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
21211 | } | |
21212 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
21213 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
21214 | } | |
21215 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
21216 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
21217 | } | |
21218 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
21219 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
21220 | } | |
21221 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
21222 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
21223 | } | |
21224 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
21225 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
21226 | } | |
21227 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
21228 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
21229 | } | |
21230 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
21231 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
21232 | } | |
21233 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
21234 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
21235 | } | |
21236 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
21237 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
21238 | } | |
21239 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
21240 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
21241 | } | |
21242 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
21243 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
21244 | } | |
21245 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
21246 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
21247 | } | |
21248 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
21249 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
21250 | } | |
21251 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
21252 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
21253 | } | |
21254 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
21255 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
21256 | } | |
21257 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
21258 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
21259 | } | |
21260 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
21261 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
21262 | } | |
21263 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
21264 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
21265 | } | |
21266 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
21267 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
21268 | } | |
21269 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
21270 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
21271 | } | |
21272 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
21273 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
21274 | } | |
21275 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
21276 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
21277 | } | |
21278 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
21279 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
21280 | } | |
21281 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
21282 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
21283 | } | |
21284 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
21285 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
21286 | } | |
21287 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
21288 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
21289 | } | |
21290 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
21291 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
21292 | } | |
21293 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
21294 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
21295 | } | |
21296 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
21297 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
21298 | } | |
21299 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
21300 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
21301 | } | |
21302 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
21303 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
21304 | } | |
21305 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
21306 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
21307 | } | |
21308 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
21309 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
21310 | } | |
21311 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
21312 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
21313 | } | |
21314 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
21315 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
21316 | } | |
21317 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
21318 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
21319 | } | |
21320 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
21321 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
21322 | } | |
21323 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
21324 | return (void *)((wxObject *) ((wxSizer *) x)); | |
21325 | } | |
21326 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
21327 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
21328 | } | |
21329 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
21330 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
21331 | } | |
21332 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
21333 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
21334 | } | |
21335 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
21336 | return (void *)((wxObject *) ((wxEvent *) x)); | |
21337 | } | |
21338 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
21339 | return (void *)((wxObject *) ((wxFontData *) x)); | |
21340 | } | |
21341 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
21342 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
21343 | } | |
21344 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
21345 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
21346 | } | |
21347 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
21348 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
21349 | } | |
21350 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
21351 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
21352 | } | |
21353 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
21354 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
21355 | } | |
21356 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
21357 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
21358 | } | |
21359 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
21360 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
21361 | } | |
21362 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
21363 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
21364 | } | |
21365 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
21366 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
21367 | } | |
21368 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
21369 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
21370 | } | |
21371 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
21372 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
21373 | } | |
21374 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
21375 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
21376 | } | |
21377 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
21378 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
21379 | } | |
21380 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
21381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
21382 | } | |
21383 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
21384 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
21385 | } | |
21386 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
21387 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
21388 | } | |
21389 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
21390 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
21391 | } | |
21392 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
21393 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
21394 | } | |
21395 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
21396 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
21397 | } | |
21398 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
21399 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
21400 | } | |
21401 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
21402 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
21403 | } | |
21404 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
21405 | return (void *)((wxObject *) ((wxColourData *) x)); | |
21406 | } | |
21407 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
21408 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
21409 | } | |
21410 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
21411 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
21412 | } | |
21413 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
21414 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
21415 | } | |
21416 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
21417 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
21418 | } | |
21419 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
21420 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
21421 | } | |
21422 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
21423 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
21424 | } | |
21425 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
21426 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
21427 | } | |
21428 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
21429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
21430 | } | |
21431 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
21432 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
21433 | } | |
21434 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
21435 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
21436 | } | |
21437 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
21438 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
21439 | } | |
21440 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
21441 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
21442 | } | |
21443 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
21444 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
21445 | } | |
21446 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
21447 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
21448 | } | |
21449 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
21450 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
21451 | } | |
21452 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
21453 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
21454 | } | |
21455 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
21456 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
21457 | } | |
21458 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
21459 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
21460 | } | |
21461 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
21462 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
21463 | } | |
21464 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
21465 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
21466 | } | |
21467 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
21468 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
21469 | } | |
21470 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
21471 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
21472 | } | |
21473 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
21474 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
21475 | } | |
21476 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
21477 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
21478 | } | |
21479 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
21480 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
21481 | } | |
21482 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
21483 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
21484 | } | |
21485 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
21486 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
21487 | } | |
21488 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
21489 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
21490 | } | |
21491 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
21492 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
21493 | } | |
21494 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
21495 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
21496 | } | |
21497 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
21498 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
21499 | } | |
21500 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
21501 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
21502 | } | |
21503 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
21504 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
21505 | } | |
21506 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
21507 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
21508 | } | |
21509 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
21510 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
21511 | } | |
21512 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
21513 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
21514 | } | |
21515 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
21516 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
21517 | } | |
21518 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
21519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
21520 | } | |
21521 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
21522 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
21523 | } | |
21524 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
21525 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
21526 | } | |
21527 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
21528 | return (void *)((wxObject *) ((wxImage *) x)); | |
21529 | } | |
21530 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
21531 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
21532 | } | |
21533 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
21534 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
21535 | } | |
21536 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
21537 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
21538 | } | |
21539 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
21540 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
21541 | } | |
21542 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
21543 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
21544 | } | |
21545 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
21546 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
21547 | } | |
21548 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
21549 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
21550 | } | |
21551 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
21552 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
21553 | } | |
21554 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
21555 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
21556 | } | |
21557 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
21558 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
21559 | } | |
21560 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
21561 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
21562 | } | |
21563 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
21564 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
21565 | } | |
21566 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
21567 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
21568 | } | |
21569 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
21570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
21571 | } | |
21572 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
21573 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
21574 | } | |
21575 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
21576 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
21577 | } | |
21578 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
21579 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
21580 | } | |
21581 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
21582 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
21583 | } | |
21584 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
21585 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
21586 | } | |
21587 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
21588 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
21589 | } | |
21590 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
21591 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
21592 | } | |
21593 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
21594 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
21595 | } | |
21596 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
21597 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
21598 | } | |
21599 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
21600 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
21601 | } | |
21602 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
21603 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
21604 | } | |
21605 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
21606 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
21607 | } | |
21608 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
21609 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
21610 | } | |
21611 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
21612 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
21613 | } | |
21614 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
21615 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
21616 | } | |
21617 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
21618 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
21619 | } | |
21620 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
21621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
21622 | } | |
21623 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
21624 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
21625 | } | |
21626 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
21627 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
21628 | } | |
21629 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
21630 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
21631 | } | |
21632 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
21633 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
21634 | } | |
21635 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
21636 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
21637 | } | |
21638 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
21639 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
21640 | } | |
21641 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
21642 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
21643 | } | |
21644 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
21645 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
21646 | } | |
21647 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
21648 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
21649 | } | |
21650 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
21651 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
21652 | } | |
21653 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
21654 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
21655 | } | |
21656 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
21657 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
21658 | } | |
21659 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
21660 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
21661 | } | |
21662 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
21663 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
21664 | } | |
21665 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
21666 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
21667 | } | |
21668 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
21669 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
21670 | } | |
21671 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
21672 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
21673 | } | |
21674 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
21675 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
21676 | } | |
21677 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
21678 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
21679 | } | |
21680 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
21681 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
21682 | } | |
21683 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
21684 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
21685 | } | |
21686 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
21687 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
21688 | } | |
21689 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
21690 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
21691 | } | |
21692 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
21693 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
21694 | } | |
21695 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
21696 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
21697 | } | |
21698 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
21699 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
21700 | } | |
21701 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
21702 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
21703 | } | |
21704 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
21705 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
21706 | } | |
21707 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
21708 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
21709 | } | |
21710 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
21711 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
21712 | } | |
21713 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
21714 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
21715 | } | |
21716 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
21717 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
21718 | } | |
21719 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
21720 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
21721 | } | |
21722 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
21723 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
21724 | } | |
21725 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
21726 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
21727 | } | |
21728 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
21729 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
21730 | } | |
21731 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
21732 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
21733 | } | |
21734 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
21735 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
21736 | } | |
21737 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
21738 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
21739 | } | |
21740 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
21741 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
21742 | } | |
21743 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
21744 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
21745 | } | |
21746 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
21747 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
21748 | } | |
21749 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
21750 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
21751 | } | |
21752 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
21753 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
21754 | } | |
21755 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
21756 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
21757 | } | |
21758 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
21759 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
21760 | } | |
21761 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
21762 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
21763 | } | |
21764 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
21765 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
21766 | } | |
21767 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
21768 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
21769 | } | |
21770 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
21771 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
21772 | } | |
21773 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
21774 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
21775 | } | |
21776 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
21777 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
21778 | } | |
21779 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
21780 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
21781 | } | |
21782 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
21783 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
21784 | } | |
21785 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
21786 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
21787 | } | |
21788 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
21789 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
21790 | } | |
21791 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
21792 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
21793 | } | |
21794 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
21795 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
21796 | } | |
21797 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
21798 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
21799 | } | |
21800 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
21801 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
21802 | } | |
21803 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
21804 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
21805 | } | |
21806 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
21807 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
21808 | } | |
21809 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
21810 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
21811 | } | |
21812 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
21813 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
21814 | } | |
21815 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
21816 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
21817 | } | |
21818 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
21819 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
21820 | } | |
21821 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
21822 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
21823 | } | |
21824 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
21825 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
21826 | } | |
21827 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
21828 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
21829 | } | |
21830 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
21831 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
21832 | } | |
21833 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
21834 | return (void *)((wxWindow *) ((wxControl *) x)); | |
21835 | } | |
21836 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
21837 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
21838 | } | |
21839 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
21840 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
21841 | } | |
21842 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
21843 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
21844 | } | |
21845 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
21846 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
21847 | } | |
21848 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
21849 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
21850 | } | |
21851 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
21852 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
21853 | } | |
21854 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
21855 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
21856 | } | |
21857 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
21858 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
21859 | } | |
21860 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
21861 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
21862 | } | |
21863 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
21864 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
21865 | } | |
21866 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
21867 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
21868 | } | |
21869 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
21870 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
21871 | } | |
21872 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
21873 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
21874 | } | |
21875 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
21876 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
21877 | } | |
21878 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
21879 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
21880 | } | |
21881 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
21882 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
21883 | } | |
21884 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
21885 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
21886 | } | |
21887 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
21888 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
21889 | } | |
21890 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
21891 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
21892 | } | |
21893 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
21894 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
21895 | } | |
21896 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
21897 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
21898 | } | |
21899 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
21900 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
21901 | } | |
21902 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
21903 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
21904 | } | |
21905 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
21906 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
21907 | } | |
21908 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
21909 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
21910 | } | |
21911 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
21912 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
21913 | } | |
21914 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
21915 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
21916 | } | |
21917 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
21918 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
21919 | } | |
21920 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
21921 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
21922 | } | |
21923 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
21924 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
21925 | } | |
21926 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
21927 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
21928 | } | |
21929 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
21930 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
21931 | } | |
21932 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
21933 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
21934 | } | |
21935 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
21936 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
21937 | } | |
21938 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
21939 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
21940 | } | |
21941 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
21942 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
21943 | } | |
21944 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
21945 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
21946 | } | |
21947 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
21948 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
21949 | } | |
21950 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
21951 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
21952 | } | |
21953 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
21954 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
21955 | } | |
21956 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
21957 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
21958 | } | |
21959 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
21960 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
21961 | } | |
21962 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
21963 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
21964 | } | |
21965 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
21966 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
21967 | } | |
21968 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
21969 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
21970 | } | |
21971 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
21972 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
21973 | } | |
21974 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
21975 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
21976 | } | |
21977 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
21978 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
21979 | } | |
21980 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
21981 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
21982 | } | |
21983 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
21984 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
21985 | } | |
21986 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
21987 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
21988 | } | |
21989 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}}; | |
21990 | static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}}; | |
21991 | static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}}; | |
21992 | static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}}; | |
21993 | static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}}; | |
21994 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; | |
21995 | static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}}; | |
21996 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}}; | |
21997 | static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}}; | |
21998 | static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}}; | |
21999 | static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}}; | |
22000 | static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}}; | |
22001 | static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}}; | |
22002 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
22003 | static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}}; | |
22004 | static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}}; | |
22005 | static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}}; | |
22006 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
22007 | static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}}; | |
22008 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
22009 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}}; | |
22010 | static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}}; | |
22011 | static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}}; | |
22012 | static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}}; | |
22013 | static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}}; | |
22014 | static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}}; | |
22015 | static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}}; | |
22016 | static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}}; | |
22017 | static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}}; | |
22018 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}}; | |
22019 | static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}}; | |
22020 | static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}}; | |
22021 | static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}}; | |
22022 | static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}}; | |
22023 | static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}}; | |
22024 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}}; | |
22025 | static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}}; | |
22026 | static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}}; | |
22027 | static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}}; | |
22028 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; | |
22029 | static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}}; | |
22030 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}}; | |
22031 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}}; | |
22032 | static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}}; | |
22033 | static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}}; | |
22034 | static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}}; | |
22035 | static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}}; | |
22036 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
22037 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}}; | |
22038 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}}; | |
22039 | static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}}; | |
22040 | static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}}; | |
22041 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}}; | |
22042 | static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}}; | |
22043 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}}; | |
22044 | static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow},{0}}; | |
22045 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}}; | |
22046 | static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}}; | |
22047 | static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}}; | |
22048 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}}; | |
22049 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; | |
22050 | static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}}; | |
22051 | static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}}; | |
22052 | static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}}; | |
22053 | static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}}; | |
22054 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
22055 | static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}}; | |
22056 | static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}}; | |
22057 | static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}}; | |
22058 | static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}}; | |
22059 | static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}}; | |
22060 | static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog},{0}}; | |
22061 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}}; | |
22062 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}}; | |
22063 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; | |
22064 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}}; | |
22065 | static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}}; | |
22066 | static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}}; | |
22067 | static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}}; | |
22068 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
22069 | static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}}; | |
22070 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}}; | |
22071 | static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}}; | |
22072 | ||
22073 | static swig_type_info *swig_types_initial[] = { | |
22074 | _swigt__p_wxQueryLayoutInfoEvent, | |
22075 | _swigt__p_wxPreviewFrame, | |
22076 | _swigt__p_wxPyPreviewFrame, | |
22077 | _swigt__p_wxPyPanel, | |
22078 | _swigt__p_wxMenu, | |
22079 | _swigt__p_wxPrintData, | |
22080 | _swigt__p_wxFontData, | |
22081 | _swigt__p_wxEvent, | |
22082 | _swigt__p_wxTaskBarIcon, | |
22083 | _swigt__p_wxIconBundle, | |
22084 | _swigt__p_wxLayoutAlgorithm, | |
22085 | _swigt__p_wxFindDialogEvent, | |
22086 | _swigt__p_wxPreviewCanvas, | |
22087 | _swigt__p_wxFont, | |
22088 | _swigt__p_wxSplitterEvent, | |
22089 | _swigt__p_wxRegion, | |
22090 | _swigt__p_wxFindReplaceData, | |
22091 | _swigt__p_int, | |
22092 | _swigt__p_wxSize, | |
22093 | _swigt__p_wxDC, | |
22094 | _swigt__p_wxIcon, | |
22095 | _swigt__p_wxMDIChildFrame, | |
22096 | _swigt__p_wxColourData, | |
22097 | _swigt__p_wxNotifyEvent, | |
22098 | _swigt__p_wxPyWindow, | |
22099 | _swigt__p_wxSplashScreen, | |
22100 | _swigt__p_wxFindReplaceDialog, | |
22101 | _swigt__p_wxProgressDialog, | |
22102 | _swigt__p_wxMessageDialog, | |
22103 | _swigt__p_wxTextEntryDialog, | |
22104 | _swigt__p_wxSingleChoiceDialog, | |
22105 | _swigt__p_wxMultiChoiceDialog, | |
22106 | _swigt__p_wxFileDialog, | |
22107 | _swigt__p_wxPrinter, | |
22108 | _swigt__p_wxArrayInt, | |
22109 | _swigt__p_wxEvtHandler, | |
22110 | _swigt__p_wxCalculateLayoutEvent, | |
22111 | _swigt__p_wxPyHtmlListBox, | |
22112 | _swigt__p_wxPyVListBox, | |
22113 | _swigt__p_wxRect, | |
22114 | _swigt__p_wxMiniFrame, | |
22115 | _swigt__p_wxFrame, | |
22116 | _swigt__p_wxPyPrintout, | |
22117 | _swigt__p_wxTaskBarIconEvent, | |
22118 | _swigt__p_wxScrollWinEvent, | |
22119 | _swigt__p_wxStatusBar, | |
22120 | _swigt__p_wxMDIParentFrame, | |
22121 | _swigt__p_wxPoint, | |
22122 | _swigt__p_wxObject, | |
22123 | _swigt__p_unsigned_long, | |
22124 | _swigt__p_wxMDIClientWindow, | |
22125 | _swigt__p_wxTipWindow, | |
22126 | _swigt__p_wxPyPopupTransientWindow, | |
22127 | _swigt__p_wxSashLayoutWindow, | |
22128 | _swigt__p_wxSplitterWindow, | |
22129 | _swigt__p_wxPyVScrolledWindow, | |
22130 | _swigt__p_wxPopupWindow, | |
22131 | _swigt__p_wxSashWindow, | |
22132 | _swigt__p_wxTopLevelWindow, | |
22133 | _swigt__p_wxWindow, | |
22134 | _swigt__p_wxScrolledWindow, | |
22135 | _swigt__p_wxSplashScreenWindow, | |
22136 | _swigt__p_wxMenuBar, | |
22137 | _swigt__p_wxPrintPreview, | |
22138 | _swigt__p_wxSashEvent, | |
22139 | _swigt__p_wxString, | |
22140 | _swigt__p_wxPyPrintPreview, | |
22141 | _swigt__p_wxPageSetupDialog, | |
22142 | _swigt__p_wxFontDialog, | |
22143 | _swigt__p_wxDirDialog, | |
22144 | _swigt__p_wxColourDialog, | |
22145 | _swigt__p_wxDialog, | |
22146 | _swigt__p_wxPanel, | |
22147 | _swigt__p_wxPrintDialog, | |
22148 | _swigt__p_wxBitmap, | |
22149 | _swigt__p_wxCommandEvent, | |
22150 | _swigt__p_wxPrintQuality, | |
22151 | _swigt__p_wxPreviewControlBar, | |
22152 | _swigt__p_wxPyPreviewControlBar, | |
22153 | _swigt__p_wxColour, | |
22154 | _swigt__p_wxToolBar, | |
22155 | _swigt__p_wxPageSetupDialogData, | |
22156 | _swigt__p_wxPrintDialogData, | |
22157 | 0 | |
22158 | }; | |
22159 | ||
22160 | ||
22161 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
22162 | ||
22163 | static swig_const_info swig_const_table[] = { | |
22164 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0}, | |
22165 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0}, | |
22166 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0}, | |
22167 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0}, | |
22168 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0}, | |
22169 | { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0}, | |
22170 | { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0}, | |
22171 | { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0}, | |
22172 | { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0}, | |
22173 | { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0}, | |
22174 | { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0}, | |
22175 | { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0}, | |
22176 | { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0}, | |
22177 | { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0}, | |
22178 | { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0}, | |
22179 | { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0}, | |
22180 | { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0}, | |
22181 | { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0}, | |
22182 | { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0}, | |
22183 | { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0}, | |
22184 | { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0}, | |
22185 | { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0}, | |
22186 | { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0}, | |
22187 | { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0}, | |
22188 | { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0}, | |
22189 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0}, | |
22190 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0}, | |
22191 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0}, | |
22192 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0}, | |
22193 | { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0}, | |
22194 | { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0}, | |
22195 | { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0}, | |
22196 | { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0}, | |
22197 | { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0}, | |
22198 | { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0}, | |
22199 | { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0}, | |
22200 | { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0}, | |
22201 | { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0}, | |
22202 | { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0}, | |
22203 | { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0}, | |
22204 | { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0}, | |
22205 | { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0}, | |
22206 | { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0}, | |
22207 | { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0}, | |
22208 | { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0}, | |
22209 | { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0}, | |
22210 | { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0}, | |
22211 | { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0}, | |
22212 | { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0}, | |
22213 | { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0}, | |
22214 | { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0}, | |
22215 | { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0}, | |
22216 | { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0}, | |
22217 | { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0}, | |
22218 | { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0}, | |
22219 | { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0}, | |
22220 | { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0}, | |
22221 | { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0}, | |
22222 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0}, | |
22223 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0}, | |
22224 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0}, | |
22225 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0}, | |
22226 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0}, | |
22227 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0}, | |
22228 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0}, | |
22229 | { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0}, | |
22230 | { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0}, | |
22231 | { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0}, | |
22232 | { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0}, | |
22233 | { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0}, | |
22234 | { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0}, | |
22235 | { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0}, | |
22236 | { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0}, | |
22237 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0}, | |
22238 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0}, | |
22239 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0}, | |
22240 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0}, | |
22241 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0}, | |
22242 | { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0}, | |
22243 | { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0}, | |
22244 | { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0}, | |
22245 | { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0}, | |
22246 | { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0}, | |
22247 | { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0}, | |
22248 | { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0}, | |
22249 | { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0}, | |
22250 | { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0}, | |
22251 | { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0}, | |
22252 | { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0}, | |
22253 | { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0}, | |
22254 | { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0}, | |
22255 | { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0}, | |
22256 | { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0}, | |
22257 | { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0}, | |
22258 | { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0}, | |
22259 | { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0}, | |
22260 | { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0}, | |
22261 | { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0}, | |
22262 | { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0}, | |
22263 | { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0}, | |
22264 | { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0}, | |
22265 | { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0}, | |
22266 | { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0}, | |
22267 | { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0}, | |
22268 | { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0}, | |
22269 | { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0}, | |
22270 | { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0}, | |
22271 | { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0}, | |
22272 | { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0}, | |
22273 | {0}}; | |
22274 | ||
22275 | #ifdef __cplusplus | |
22276 | } | |
22277 | #endif | |
22278 | ||
22279 | #ifdef __cplusplus | |
22280 | extern "C" | |
22281 | #endif | |
22282 | SWIGEXPORT(void) SWIG_init(void) { | |
22283 | static PyObject *SWIG_globals = 0; | |
22284 | static int typeinit = 0; | |
22285 | PyObject *m, *d; | |
22286 | int i; | |
22287 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
22288 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
22289 | d = PyModule_GetDict(m); | |
22290 | ||
22291 | if (!typeinit) { | |
22292 | for (i = 0; swig_types_initial[i]; i++) { | |
22293 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
22294 | } | |
22295 | typeinit = 1; | |
22296 | } | |
22297 | SWIG_InstallConstants(d,swig_const_table); | |
22298 | ||
22299 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); | |
22300 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
22301 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
22302 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
22303 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); | |
22304 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); | |
22305 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
22306 | ||
22307 | // Map renamed classes back to their common name for OOR | |
22308 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
22309 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
22310 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
22311 | ||
22312 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
22313 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
22314 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
22315 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
22316 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
22317 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
22318 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
22319 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); | |
22320 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
22321 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
22322 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
22323 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
22324 | ||
22325 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
22326 | ||
22327 | } | |
22328 |