]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
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 { | |
423f194a | 100 | const char *name; |
d14a1e28 RD |
101 | swig_converter_func converter; |
102 | const char *str; | |
423f194a | 103 | void *clientdata; |
d14a1e28 RD |
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 | } | |
423f194a | 121 | |
d14a1e28 RD |
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 | ||
423f194a | 207 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 208 | |
d14a1e28 RD |
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_wxAcceleratorEntry swig_types[3] | |
222 | #define SWIGTYPE_p_wxPyPanel swig_types[4] | |
223 | #define SWIGTYPE_p_wxMenu swig_types[5] | |
224 | #define SWIGTYPE_p_wxPrintData swig_types[6] | |
225 | #define SWIGTYPE_p_wxFontData swig_types[7] | |
226 | #define SWIGTYPE_p_wxEvent swig_types[8] | |
227 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[9] | |
228 | #define SWIGTYPE_p_wxIconBundle swig_types[10] | |
229 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11] | |
230 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[12] | |
231 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[13] | |
232 | #define SWIGTYPE_p_wxFont swig_types[14] | |
233 | #define SWIGTYPE_p_wxSplitterEvent swig_types[15] | |
234 | #define SWIGTYPE_p_wxRegion swig_types[16] | |
235 | #define SWIGTYPE_p_wxFindReplaceData swig_types[17] | |
236 | #define SWIGTYPE_p_int swig_types[18] | |
237 | #define SWIGTYPE_p_wxSize swig_types[19] | |
238 | #define SWIGTYPE_p_wxDC swig_types[20] | |
239 | #define SWIGTYPE_p_wxIcon swig_types[21] | |
240 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[22] | |
241 | #define SWIGTYPE_p_wxColourData swig_types[23] | |
242 | #define SWIGTYPE_p_wxNotifyEvent swig_types[24] | |
243 | #define SWIGTYPE_p_wxPyWindow swig_types[25] | |
244 | #define SWIGTYPE_p_wxSplashScreen swig_types[26] | |
245 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27] | |
246 | #define SWIGTYPE_p_wxProgressDialog swig_types[28] | |
247 | #define SWIGTYPE_p_wxMessageDialog swig_types[29] | |
248 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[30] | |
249 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31] | |
250 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32] | |
251 | #define SWIGTYPE_p_wxFileDialog swig_types[33] | |
252 | #define SWIGTYPE_p_wxPrinter swig_types[34] | |
253 | #define SWIGTYPE_p_wxMenuItem swig_types[35] | |
254 | #define SWIGTYPE_p_wxArrayInt swig_types[36] | |
255 | #define SWIGTYPE_p_wxEvtHandler swig_types[37] | |
256 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38] | |
257 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39] | |
258 | #define SWIGTYPE_p_wxPyVListBox swig_types[40] | |
259 | #define SWIGTYPE_p_wxRect swig_types[41] | |
260 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[42] | |
261 | #define SWIGTYPE_p_wxMiniFrame swig_types[43] | |
262 | #define SWIGTYPE_p_wxFrame swig_types[44] | |
263 | #define SWIGTYPE_p_wxPyPrintout swig_types[45] | |
264 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46] | |
265 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[47] | |
266 | #define SWIGTYPE_p_wxStatusBar swig_types[48] | |
267 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[49] | |
268 | #define SWIGTYPE_p_wxPoint swig_types[50] | |
269 | #define SWIGTYPE_p_wxObject swig_types[51] | |
270 | #define SWIGTYPE_p_unsigned_long swig_types[52] | |
271 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[53] | |
272 | #define SWIGTYPE_p_wxTipWindow swig_types[54] | |
273 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55] | |
274 | #define SWIGTYPE_p_wxSplitterWindow swig_types[56] | |
275 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57] | |
276 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58] | |
277 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59] | |
278 | #define SWIGTYPE_p_wxPopupWindow swig_types[60] | |
279 | #define SWIGTYPE_p_wxSashWindow swig_types[61] | |
280 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[62] | |
281 | #define SWIGTYPE_p_wxWindow swig_types[63] | |
282 | #define SWIGTYPE_p_wxScrolledWindow swig_types[64] | |
283 | #define SWIGTYPE_p_wxMenuBar swig_types[65] | |
284 | #define SWIGTYPE_p_wxPrintPreview swig_types[66] | |
285 | #define SWIGTYPE_p_wxSashEvent swig_types[67] | |
286 | #define SWIGTYPE_p_wxString swig_types[68] | |
287 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[69] | |
288 | #define SWIGTYPE_p_wxFontDialog swig_types[70] | |
289 | #define SWIGTYPE_p_wxDirDialog swig_types[71] | |
290 | #define SWIGTYPE_p_wxColourDialog swig_types[72] | |
291 | #define SWIGTYPE_p_wxDialog swig_types[73] | |
292 | #define SWIGTYPE_p_wxPanel swig_types[74] | |
293 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[75] | |
294 | #define SWIGTYPE_p_wxPrintDialog swig_types[76] | |
295 | #define SWIGTYPE_p_wxBitmap swig_types[77] | |
296 | #define SWIGTYPE_p_wxCommandEvent swig_types[78] | |
297 | #define SWIGTYPE_p_wxPrintQuality swig_types[79] | |
298 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[80] | |
299 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81] | |
300 | #define SWIGTYPE_p_wxColour swig_types[82] | |
301 | #define SWIGTYPE_p_wxToolBar swig_types[83] | |
302 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84] | |
303 | #define SWIGTYPE_p_wxPrintDialogData swig_types[85] | |
304 | static swig_type_info *swig_types[87]; | |
305 | ||
306 | /* -------- TYPES TABLE (END) -------- */ | |
307 | ||
308 | ||
309 | /*----------------------------------------------- | |
310 | @(target):= _windows.so | |
311 | ------------------------------------------------*/ | |
312 | #define SWIG_init init_windows | |
313 | ||
314 | #define SWIG_name "_windows" | |
315 | ||
316 | #include "wx/wxPython/wxPython.h" | |
317 | #include "wx/wxPython/pyclasses.h" | |
318 | ||
319 | DECLARE_DEF_STRING(PanelNameStr); | |
320 | DECLARE_DEF_STRING(EmptyString); | |
321 | ||
322 | ||
323 | ||
324 | ||
325 | ||
326 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
327 | PyObject* o2; | |
328 | PyObject* o3; | |
329 | ||
330 | if (!target) { | |
331 | target = o; | |
332 | } else if (target == Py_None) { | |
333 | Py_DECREF(Py_None); | |
334 | target = o; | |
335 | } else { | |
336 | if (!PyTuple_Check(target)) { | |
337 | o2 = target; | |
338 | target = PyTuple_New(1); | |
339 | PyTuple_SetItem(target, 0, o2); | |
340 | } | |
341 | o3 = PyTuple_New(1); | |
342 | PyTuple_SetItem(o3, 0, o); | |
343 | ||
344 | o2 = target; | |
345 | target = PySequence_Concat(o2, o3); | |
346 | Py_DECREF(o2); | |
347 | Py_DECREF(o3); | |
348 | } | |
349 | return target; | |
350 | } | |
351 | ||
352 | ||
353 | // Put some wx default wxChar* values into wxStrings. | |
354 | DECLARE_DEF_STRING(FrameNameStr); | |
355 | DECLARE_DEF_STRING(DialogNameStr); | |
356 | DECLARE_DEF_STRING(StatusLineNameStr); | |
357 | DECLARE_DEF_STRING(ToolBarNameStr); | |
358 | ||
359 | bool wxDialog_IsModalShowing(wxDialog *self){ | |
360 | ||
361 | ||
362 | ||
363 | return self->IsModalShowing(); | |
364 | ||
365 | } | |
366 | ||
367 | ||
44127b65 RD |
368 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
369 | wxRect r; | |
370 | self->GetFieldRect(i, r); | |
371 | return r; | |
372 | } | |
d14a1e28 RD |
373 | |
374 | static const wxChar* wxSplitterNameStr = wxT("splitter"); | |
375 | DECLARE_DEF_STRING(SplitterNameStr); | |
376 | ||
377 | ||
378 | static const wxChar* wxSashNameStr = wxT("sashWindow"); | |
379 | DECLARE_DEF_STRING(SashNameStr); | |
380 | static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow"); | |
381 | DECLARE_DEF_STRING(SashLayoutNameStr); | |
382 | ||
383 | ||
384 | #include <wx/popupwin.h> | |
385 | ||
386 | ||
387 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
388 | { | |
389 | public: | |
390 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
391 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
392 | : wxPopupTransientWindow(parent, style) {} | |
393 | ||
394 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
395 | DEC_PYCALLBACK__(OnDismiss); | |
396 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
397 | PYPRIVATE; | |
398 | }; | |
399 | ||
400 | ||
401 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
402 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
403 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
404 | ||
405 | ||
406 | #include <wx/tipwin.h> | |
407 | ||
8a0b029b RD |
408 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
409 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
410 | } |
411 | ||
412 | #include <wx/tipwin.h> | |
413 | ||
414 | ||
415 | #include <wx/vscroll.h> | |
416 | ||
417 | ||
418 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
419 | { | |
420 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
421 | public: | |
422 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
423 | ||
424 | wxPyVScrolledWindow(wxWindow *parent, | |
425 | wxWindowID id = wxID_ANY, | |
426 | const wxPoint& pos = wxDefaultPosition, | |
427 | const wxSize& size = wxDefaultSize, | |
428 | long style = 0, | |
429 | const wxString& name = wxPyPanelNameStr) | |
430 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
431 | {} | |
432 | ||
433 | // Overridable virtuals | |
434 | ||
435 | // this function must be overridden in the derived class and it should | |
436 | // return the height of the given line in pixels | |
437 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
438 | ||
439 | ||
440 | // this function doesn't have to be overridden but it may be useful to do | |
441 | // it if calculating the lines heights is a relatively expensive operation | |
442 | // as it gives the user code a possibility to calculate several of them at | |
443 | // once | |
444 | // | |
445 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
446 | // shouldn't rely on the latter being called for all lines in the interval | |
447 | // specified here. It is also possible that OnGetLineHeight() will be | |
448 | // called for the lines outside of this interval, so this is really just a | |
449 | // hint, not a promise. | |
450 | // | |
451 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
452 | // usual | |
453 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
454 | ||
455 | ||
456 | // when the number of lines changes, we try to estimate the total height | |
457 | // of all lines which is a rather expensive operation in terms of lines | |
458 | // access, so if the user code may estimate the average height | |
459 | // better/faster than we do, it should override this function to implement | |
460 | // its own logic | |
461 | // | |
462 | // this function should return the best guess for the total height it may | |
463 | // make | |
464 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
465 | ||
466 | ||
467 | // Also expose some other interesting protected methods | |
468 | ||
469 | ||
470 | // find the index of the line we need to show at the top of the window such | |
471 | // that the last (fully or partially) visible line is the given one | |
423f194a | 472 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) |
d14a1e28 RD |
473 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
474 | ||
475 | // get the total height of the lines between lineMin (inclusive) and | |
476 | // lineMax (exclusive) | |
477 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
478 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
479 | ||
480 | ||
481 | PYPRIVATE; | |
482 | }; | |
483 | ||
484 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
485 | ||
486 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
487 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
488 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
489 | ||
490 | ||
491 | #include <wx/vlbox.h> | |
492 | DECLARE_DEF_STRING(VListBoxNameStr); | |
493 | ||
494 | ||
495 | class wxPyVListBox : public wxVListBox | |
496 | { | |
497 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
498 | public: | |
499 | wxPyVListBox() : wxVListBox() {} | |
500 | ||
501 | wxPyVListBox(wxWindow *parent, | |
502 | wxWindowID id = wxID_ANY, | |
503 | const wxPoint& pos = wxDefaultPosition, | |
504 | const wxSize& size = wxDefaultSize, | |
505 | long style = 0, | |
506 | const wxString& name = wxPyVListBoxNameStr) | |
507 | : wxVListBox(parent, id, pos, size, style, name) | |
508 | {} | |
509 | ||
510 | // Overridable virtuals | |
511 | ||
512 | // the derived class must implement this function to actually draw the item | |
513 | // with the given index on the provided DC | |
514 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
515 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
516 | ||
517 | ||
518 | // the derived class must implement this method to return the height of the | |
519 | // specified item | |
520 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
521 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
522 | ||
523 | ||
524 | // this method may be used to draw separators between the lines; note that | |
525 | // the rectangle may be modified, typically to deflate it a bit before | |
526 | // passing to OnDrawItem() | |
527 | // | |
528 | // the base class version doesn't do anything | |
529 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
530 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
531 | ||
532 | ||
533 | // this method is used to draw the items background and, maybe, a border | |
534 | // around it | |
535 | // | |
536 | // the base class version implements a reasonable default behaviour which | |
537 | // consists in drawing the selected item with the standard background | |
538 | // colour and drawing a border around the item if it is either selected or | |
539 | // current | |
540 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
541 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
542 | ||
543 | ||
544 | PYPRIVATE; | |
545 | }; | |
546 | ||
547 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
548 | ||
549 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
550 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
551 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
552 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
553 | ||
554 | ||
555 | ||
556 | #include <wx/htmllbox.h> | |
557 | ||
558 | ||
559 | class wxPyHtmlListBox : public wxHtmlListBox | |
560 | { | |
561 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
562 | public: | |
563 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
564 | ||
565 | wxPyHtmlListBox(wxWindow *parent, | |
566 | wxWindowID id = wxID_ANY, | |
567 | const wxPoint& pos = wxDefaultPosition, | |
568 | const wxSize& size = wxDefaultSize, | |
569 | long style = 0, | |
570 | const wxString& name = wxPyVListBoxNameStr) | |
571 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
572 | {} | |
573 | ||
574 | // Overridable virtuals | |
575 | ||
576 | // this method must be implemented in the derived class and should return | |
577 | // the body (i.e. without <html>) of the HTML for the given item | |
578 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
579 | ||
580 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
581 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
582 | ||
583 | // TODO: | |
584 | // // this method allows to customize the selection appearance: it may be used | |
585 | // // to specify the colour of the text which normally has the given colour | |
586 | // // colFg when it is inside the selection | |
587 | // // | |
588 | // // by default, the original colour is not used at all and all text has the | |
589 | // // same (default for this system) colour inside selection | |
590 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
591 | ||
592 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
593 | // // background colour -- this is even more rarely used as you can change it | |
594 | // // globally using SetSelectionBackground() | |
595 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
596 | ||
597 | ||
598 | PYPRIVATE; | |
599 | }; | |
600 | ||
601 | ||
602 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
603 | ||
604 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
605 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
606 | ||
607 | ||
608 | ||
609 | ||
610 | ||
611 | #ifdef __WXMAC__ | |
612 | // implement dummy classes and such for wxMac | |
613 | ||
614 | class wxTaskBarIcon : public wxEvtHandler | |
615 | { | |
616 | public: | |
617 | wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); } | |
618 | }; | |
619 | ||
620 | ||
621 | class wxTaskBarIconEvent : public wxEvent | |
622 | { | |
623 | public: | |
624 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
625 | { PyErr_SetNone(PyExc_NotImplementedError); } | |
626 | virtual wxEvent* Clone() const { return NULL; } | |
627 | }; | |
628 | ||
629 | enum { | |
630 | wxEVT_TASKBAR_MOVE = 0, | |
631 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
632 | wxEVT_TASKBAR_LEFT_UP = 0, | |
633 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
634 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
635 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
636 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
637 | }; | |
638 | #endif | |
639 | ||
640 | ||
641 | ||
642 | DECLARE_DEF_STRING(FileSelectorPromptStr); | |
643 | DECLARE_DEF_STRING(DirSelectorPromptStr); | |
644 | DECLARE_DEF_STRING(DirDialogNameStr); | |
645 | DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr); | |
646 | DECLARE_DEF_STRING(GetTextFromUserPromptStr); | |
647 | DECLARE_DEF_STRING(MessageBoxCaptionStr); | |
648 | ||
649 | ||
650 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ | |
651 | wxArrayString arr; | |
652 | self->GetFilenames(arr); | |
653 | return wxArrayString2PyList_helper(arr); | |
654 | } | |
655 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
656 | wxArrayString arr; | |
657 | self->GetPaths(arr); | |
658 | return wxArrayString2PyList_helper(arr); | |
659 | } | |
660 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
661 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
662 | } | |
663 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
664 | return new wxSingleChoiceDialog(parent, message, caption, | |
665 | choices, choices_array, NULL, style, pos); | |
666 | } | |
667 | ||
668 | #include <wx/mdi.h> | |
669 | ||
670 | // C++ version of Python aware wxWindow | |
671 | class wxPyWindow : public wxWindow | |
672 | { | |
673 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
674 | public: | |
675 | wxPyWindow() : wxWindow() {} | |
676 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
677 | const wxPoint& pos = wxDefaultPosition, | |
678 | const wxSize& size = wxDefaultSize, | |
679 | long style = 0, | |
680 | const wxString& name = wxPyPanelNameStr) | |
681 | : wxWindow(parent, id, pos, size, style, name) {} | |
682 | ||
683 | ||
684 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
685 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
686 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
687 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
688 | ||
689 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
690 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
691 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
692 | ||
693 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
694 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
695 | ||
696 | DEC_PYCALLBACK__(InitDialog); | |
697 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
698 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
699 | DEC_PYCALLBACK_BOOL_(Validate); | |
700 | ||
701 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
702 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
703 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
704 | ||
705 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
706 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
707 | ||
708 | PYPRIVATE; | |
709 | }; | |
710 | ||
711 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
712 | ||
713 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
714 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
715 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
716 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
717 | ||
718 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
719 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
720 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
721 | ||
722 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
723 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
724 | ||
725 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
726 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
727 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
728 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
729 | ||
730 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
731 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
732 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
733 | ||
734 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
735 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
736 | ||
737 | ||
738 | // C++ version of Python aware wxPanel | |
739 | class wxPyPanel : public wxPanel | |
740 | { | |
741 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
742 | public: | |
743 | wxPyPanel() : wxPanel() {} | |
744 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
745 | const wxPoint& pos = wxDefaultPosition, | |
746 | const wxSize& size = wxDefaultSize, | |
747 | long style = 0, | |
748 | const wxString& name = wxPyPanelNameStr) | |
749 | : wxPanel(parent, id, pos, size, style, name) {} | |
750 | ||
751 | ||
752 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
753 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
754 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
755 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
756 | ||
757 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
758 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
759 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
760 | ||
761 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
762 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
763 | ||
764 | DEC_PYCALLBACK__(InitDialog); | |
765 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
766 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
767 | DEC_PYCALLBACK_BOOL_(Validate); | |
768 | ||
769 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
770 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
771 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
772 | ||
773 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
774 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
775 | ||
776 | PYPRIVATE; | |
777 | }; | |
778 | ||
779 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
780 | ||
781 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
782 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
783 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
784 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
785 | ||
786 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
787 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
788 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
789 | ||
790 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
791 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
792 | ||
793 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
794 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
795 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
796 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
797 | ||
798 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
799 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
800 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
801 | ||
802 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
803 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
804 | ||
805 | ||
806 | ||
807 | #include "wx/wxPython/printfw.h" | |
808 | ||
809 | static const wxChar* wxPrintoutTitleStr = wxT("Printout"); | |
810 | DECLARE_DEF_STRING(PrintoutTitleStr); | |
811 | static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas"); | |
812 | DECLARE_DEF_STRING(PreviewCanvasNameStr); | |
813 | ||
814 | ||
815 | ||
816 | ||
817 | ||
818 | // Since this one would be tough and ugly to do with the Macros... | |
819 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
423f194a | 820 | bool hadErr = False; |
d14a1e28 RD |
821 | bool found; |
822 | ||
823 | wxPyBeginBlockThreads(); | |
824 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
825 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
826 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
827 | PyObject* val; | |
828 | ||
829 | val = PyTuple_GetItem(result, 0); | |
830 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
423f194a | 831 | else hadErr = True; |
d14a1e28 RD |
832 | |
833 | val = PyTuple_GetItem(result, 1); | |
834 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
423f194a | 835 | else hadErr = True; |
d14a1e28 RD |
836 | |
837 | val = PyTuple_GetItem(result, 2); | |
838 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
423f194a | 839 | else hadErr = True; |
d14a1e28 RD |
840 | |
841 | val = PyTuple_GetItem(result, 3); | |
842 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
423f194a | 843 | else hadErr = True; |
d14a1e28 RD |
844 | } |
845 | else | |
423f194a | 846 | hadErr = True; |
d14a1e28 RD |
847 | |
848 | if (hadErr) { | |
849 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
850 | PyErr_Print(); | |
851 | } | |
852 | Py_DECREF(result); | |
853 | } | |
854 | wxPyEndBlockThreads(); | |
855 | if (! found) | |
856 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
857 | } | |
858 | ||
859 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
860 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
861 | } | |
862 | ||
863 | ||
864 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
865 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
866 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
867 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
868 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
869 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
870 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
871 | ||
872 | ||
873 | ||
874 | ||
875 | ||
876 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
877 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
878 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
879 | ||
880 | ||
881 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
882 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
423f194a | 883 | bool rval=False; \ |
d14a1e28 RD |
884 | bool found; \ |
885 | wxPyBeginBlockThreads(); \ | |
886 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
887 | PyObject* win = wxPyMake_wxObject(a); \ | |
888 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
889 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
890 | Py_DECREF(win); \ | |
891 | Py_DECREF(dc); \ | |
892 | } \ | |
893 | wxPyEndBlockThreads(); \ | |
894 | if (! found) \ | |
895 | rval = PCLASS::CBNAME(a, b); \ | |
896 | return rval; \ | |
897 | } \ | |
898 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
899 | return PCLASS::CBNAME(a, b); \ | |
900 | } | |
901 | ||
902 | ||
903 | ||
904 | ||
905 | class wxPyPrintPreview : public wxPrintPreview | |
906 | { | |
907 | DECLARE_CLASS(wxPyPrintPreview) | |
908 | public: | |
909 | wxPyPrintPreview(wxPyPrintout* printout, | |
910 | wxPyPrintout* printoutForPrinting, | |
911 | wxPrintData* data=NULL) | |
912 | : wxPrintPreview(printout, printoutForPrinting, data) | |
913 | {} | |
914 | ||
915 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
916 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
917 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
918 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
919 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
920 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
921 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
922 | ||
923 | PYPRIVATE; | |
924 | }; | |
925 | ||
926 | // Stupid renamed classes... Fix this in 2.5... | |
927 | #if defined(__WXMSW__) | |
928 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
929 | #elif defined(__WXMAC__) | |
930 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
931 | #else | |
932 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
933 | #endif | |
934 | ||
935 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
936 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
937 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
938 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
939 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
940 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
941 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
942 | ||
943 | ||
944 | class wxPyPreviewFrame : public wxPreviewFrame | |
945 | { | |
946 | DECLARE_CLASS(wxPyPreviewFrame); | |
947 | public: | |
948 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
949 | const wxString& title, | |
950 | const wxPoint& pos = wxDefaultPosition, | |
951 | const wxSize& size = wxDefaultSize, | |
952 | long style = wxDEFAULT_FRAME_STYLE, | |
953 | const wxString& name = wxPyFrameNameStr) | |
954 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
955 | {} | |
956 | ||
957 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
958 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
959 | ||
960 | DEC_PYCALLBACK_VOID_(Initialize); | |
961 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
962 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
963 | ||
964 | PYPRIVATE; | |
965 | }; | |
966 | ||
967 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
968 | ||
969 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
970 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
971 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
972 | ||
973 | ||
974 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
975 | { | |
976 | DECLARE_CLASS(wxPyPreviewControlBar); | |
977 | public: | |
978 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
979 | long buttons, | |
980 | wxWindow *parent, | |
981 | const wxPoint& pos = wxDefaultPosition, | |
982 | const wxSize& size = wxDefaultSize, | |
983 | long style = 0, | |
984 | const wxString& name = wxPyPanelNameStr) | |
985 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
986 | {} | |
987 | ||
988 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
989 | ||
990 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
991 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
992 | ||
993 | PYPRIVATE; | |
994 | }; | |
995 | ||
996 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
997 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
998 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
999 | ||
1000 | #ifdef __cplusplus | |
1001 | extern "C" { | |
1002 | #endif | |
1003 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1004 | PyObject *resultobj; | |
1005 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 1006 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1007 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1008 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1009 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1010 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1011 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1012 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1013 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1014 | wxPanel *result; | |
1015 | wxPoint temp3 ; | |
1016 | wxSize temp4 ; | |
423f194a | 1017 | bool temp6 = False ; |
d14a1e28 RD |
1018 | PyObject * obj0 = 0 ; |
1019 | PyObject * obj2 = 0 ; | |
1020 | PyObject * obj3 = 0 ; | |
1021 | PyObject * obj5 = 0 ; | |
1022 | char *kwnames[] = { | |
1023 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1024 | }; | |
1025 | ||
423f194a | 1026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; |
d14a1e28 RD |
1027 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
1028 | if (obj2) { | |
1029 | { | |
1030 | arg3 = &temp3; | |
1031 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1032 | } | |
1033 | } | |
1034 | if (obj3) { | |
1035 | { | |
1036 | arg4 = &temp4; | |
1037 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1038 | } | |
1039 | } | |
1040 | if (obj5) { | |
1041 | { | |
1042 | arg6 = wxString_in_helper(obj5); | |
1043 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 1044 | temp6 = True; |
d14a1e28 RD |
1045 | } |
1046 | } | |
1047 | { | |
1048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1049 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1050 | ||
1051 | wxPyEndAllowThreads(__tstate); | |
1052 | if (PyErr_Occurred()) SWIG_fail; | |
1053 | } | |
1054 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1); | |
1055 | { | |
1056 | if (temp6) | |
1057 | delete arg6; | |
1058 | } | |
1059 | return resultobj; | |
1060 | fail: | |
1061 | { | |
1062 | if (temp6) | |
1063 | delete arg6; | |
1064 | } | |
1065 | return NULL; | |
1066 | } | |
1067 | ||
1068 | ||
1069 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1070 | PyObject *resultobj; | |
1071 | wxPanel *result; | |
1072 | char *kwnames[] = { | |
1073 | NULL | |
1074 | }; | |
1075 | ||
1076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1077 | { | |
1078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1079 | result = (wxPanel *)new wxPanel(); | |
1080 | ||
1081 | wxPyEndAllowThreads(__tstate); | |
1082 | if (PyErr_Occurred()) SWIG_fail; | |
1083 | } | |
1084 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1); | |
1085 | return resultobj; | |
1086 | fail: | |
1087 | return NULL; | |
1088 | } | |
1089 | ||
1090 | ||
1091 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1092 | PyObject *resultobj; | |
1093 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1094 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 1095 | int arg3 ; |
d14a1e28 RD |
1096 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1097 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1098 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1099 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1100 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1101 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1102 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1103 | bool result; | |
1104 | wxPoint temp4 ; | |
1105 | wxSize temp5 ; | |
423f194a | 1106 | bool temp7 = False ; |
d14a1e28 RD |
1107 | PyObject * obj0 = 0 ; |
1108 | PyObject * obj1 = 0 ; | |
1109 | PyObject * obj3 = 0 ; | |
1110 | PyObject * obj4 = 0 ; | |
1111 | PyObject * obj6 = 0 ; | |
1112 | char *kwnames[] = { | |
1113 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1114 | }; | |
1115 | ||
1116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
1117 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1118 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1119 | if (obj3) { | |
1120 | { | |
1121 | arg4 = &temp4; | |
1122 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1123 | } | |
1124 | } | |
1125 | if (obj4) { | |
1126 | { | |
1127 | arg5 = &temp5; | |
1128 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1129 | } | |
1130 | } | |
1131 | if (obj6) { | |
1132 | { | |
1133 | arg7 = wxString_in_helper(obj6); | |
1134 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 1135 | temp7 = True; |
d14a1e28 RD |
1136 | } |
1137 | } | |
1138 | { | |
1139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1140 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1141 | ||
1142 | wxPyEndAllowThreads(__tstate); | |
1143 | if (PyErr_Occurred()) SWIG_fail; | |
1144 | } | |
1145 | resultobj = PyInt_FromLong((long)result); | |
1146 | { | |
1147 | if (temp7) | |
1148 | delete arg7; | |
1149 | } | |
1150 | return resultobj; | |
1151 | fail: | |
1152 | { | |
1153 | if (temp7) | |
1154 | delete arg7; | |
1155 | } | |
1156 | return NULL; | |
1157 | } | |
1158 | ||
1159 | ||
1160 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1161 | PyObject *resultobj; | |
1162 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1163 | PyObject * obj0 = 0 ; | |
1164 | char *kwnames[] = { | |
1165 | (char *) "self", NULL | |
1166 | }; | |
1167 | ||
1168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
1169 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1170 | { | |
1171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1172 | (arg1)->InitDialog(); | |
1173 | ||
1174 | wxPyEndAllowThreads(__tstate); | |
1175 | if (PyErr_Occurred()) SWIG_fail; | |
1176 | } | |
1177 | Py_INCREF(Py_None); resultobj = Py_None; | |
1178 | return resultobj; | |
1179 | fail: | |
1180 | return NULL; | |
1181 | } | |
1182 | ||
1183 | ||
1184 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { | |
1185 | PyObject *obj; | |
1186 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1187 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1188 | Py_INCREF(obj); | |
1189 | return Py_BuildValue((char *)""); | |
1190 | } | |
1191 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1192 | PyObject *resultobj; | |
1193 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 1194 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1195 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1196 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1197 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1198 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1199 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1200 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1201 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1202 | wxScrolledWindow *result; | |
1203 | wxPoint temp3 ; | |
1204 | wxSize temp4 ; | |
423f194a | 1205 | bool temp6 = False ; |
d14a1e28 RD |
1206 | PyObject * obj0 = 0 ; |
1207 | PyObject * obj2 = 0 ; | |
1208 | PyObject * obj3 = 0 ; | |
1209 | PyObject * obj5 = 0 ; | |
1210 | char *kwnames[] = { | |
1211 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1212 | }; | |
1213 | ||
1214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
1215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1216 | if (obj2) { | |
1217 | { | |
1218 | arg3 = &temp3; | |
1219 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1220 | } | |
1221 | } | |
1222 | if (obj3) { | |
1223 | { | |
1224 | arg4 = &temp4; | |
1225 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1226 | } | |
1227 | } | |
1228 | if (obj5) { | |
1229 | { | |
1230 | arg6 = wxString_in_helper(obj5); | |
1231 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 1232 | temp6 = True; |
d14a1e28 RD |
1233 | } |
1234 | } | |
1235 | { | |
1236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1237 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1238 | ||
1239 | wxPyEndAllowThreads(__tstate); | |
1240 | if (PyErr_Occurred()) SWIG_fail; | |
1241 | } | |
1242 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1); | |
1243 | { | |
1244 | if (temp6) | |
1245 | delete arg6; | |
1246 | } | |
1247 | return resultobj; | |
1248 | fail: | |
1249 | { | |
1250 | if (temp6) | |
1251 | delete arg6; | |
1252 | } | |
1253 | return NULL; | |
1254 | } | |
1255 | ||
1256 | ||
1257 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1258 | PyObject *resultobj; | |
1259 | wxScrolledWindow *result; | |
1260 | char *kwnames[] = { | |
1261 | NULL | |
1262 | }; | |
1263 | ||
1264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1265 | { | |
1266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1267 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1268 | ||
1269 | wxPyEndAllowThreads(__tstate); | |
1270 | if (PyErr_Occurred()) SWIG_fail; | |
1271 | } | |
1272 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1); | |
1273 | return resultobj; | |
1274 | fail: | |
1275 | return NULL; | |
1276 | } | |
1277 | ||
1278 | ||
1279 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1280 | PyObject *resultobj; | |
1281 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1282 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 1283 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1284 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1285 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1286 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1287 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1288 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1289 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1290 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1291 | bool result; | |
1292 | wxPoint temp4 ; | |
1293 | wxSize temp5 ; | |
423f194a | 1294 | bool temp7 = False ; |
d14a1e28 RD |
1295 | PyObject * obj0 = 0 ; |
1296 | PyObject * obj1 = 0 ; | |
1297 | PyObject * obj3 = 0 ; | |
1298 | PyObject * obj4 = 0 ; | |
1299 | PyObject * obj6 = 0 ; | |
1300 | char *kwnames[] = { | |
1301 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1302 | }; | |
1303 | ||
1304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
1305 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1306 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1307 | if (obj3) { | |
1308 | { | |
1309 | arg4 = &temp4; | |
1310 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1311 | } | |
1312 | } | |
1313 | if (obj4) { | |
1314 | { | |
1315 | arg5 = &temp5; | |
1316 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1317 | } | |
1318 | } | |
1319 | if (obj6) { | |
1320 | { | |
1321 | arg7 = wxString_in_helper(obj6); | |
1322 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 1323 | temp7 = True; |
d14a1e28 RD |
1324 | } |
1325 | } | |
1326 | { | |
1327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1328 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1329 | ||
1330 | wxPyEndAllowThreads(__tstate); | |
1331 | if (PyErr_Occurred()) SWIG_fail; | |
1332 | } | |
1333 | resultobj = PyInt_FromLong((long)result); | |
1334 | { | |
1335 | if (temp7) | |
1336 | delete arg7; | |
1337 | } | |
1338 | return resultobj; | |
1339 | fail: | |
1340 | { | |
1341 | if (temp7) | |
1342 | delete arg7; | |
1343 | } | |
1344 | return NULL; | |
1345 | } | |
1346 | ||
1347 | ||
1348 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1349 | PyObject *resultobj; | |
1350 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1351 | int arg2 ; | |
1352 | int arg3 ; | |
1353 | int arg4 ; | |
1354 | int arg5 ; | |
1355 | int arg6 = (int) 0 ; | |
1356 | int arg7 = (int) 0 ; | |
423f194a | 1357 | bool arg8 = (bool) False ; |
d14a1e28 RD |
1358 | PyObject * obj0 = 0 ; |
1359 | PyObject * obj7 = 0 ; | |
1360 | char *kwnames[] = { | |
1361 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1362 | }; | |
1363 | ||
1364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail; | |
1365 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1366 | if (obj7) { | |
1367 | arg8 = PyInt_AsLong(obj7) ? true : false; | |
1368 | if (PyErr_Occurred()) SWIG_fail; | |
1369 | } | |
1370 | { | |
1371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1372 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1373 | ||
1374 | wxPyEndAllowThreads(__tstate); | |
1375 | if (PyErr_Occurred()) SWIG_fail; | |
1376 | } | |
1377 | Py_INCREF(Py_None); resultobj = Py_None; | |
1378 | return resultobj; | |
1379 | fail: | |
1380 | return NULL; | |
1381 | } | |
1382 | ||
1383 | ||
1384 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1385 | PyObject *resultobj; | |
1386 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1387 | int arg2 ; | |
1388 | int arg3 ; | |
1389 | PyObject * obj0 = 0 ; | |
1390 | char *kwnames[] = { | |
1391 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1392 | }; | |
1393 | ||
1394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1395 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1396 | { | |
1397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1398 | (arg1)->Scroll(arg2,arg3); | |
1399 | ||
1400 | wxPyEndAllowThreads(__tstate); | |
1401 | if (PyErr_Occurred()) SWIG_fail; | |
1402 | } | |
1403 | Py_INCREF(Py_None); resultobj = Py_None; | |
1404 | return resultobj; | |
1405 | fail: | |
1406 | return NULL; | |
1407 | } | |
1408 | ||
1409 | ||
1410 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1411 | PyObject *resultobj; | |
1412 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1413 | int arg2 ; | |
1414 | int result; | |
1415 | PyObject * obj0 = 0 ; | |
1416 | char *kwnames[] = { | |
1417 | (char *) "self",(char *) "orient", NULL | |
1418 | }; | |
1419 | ||
1420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail; | |
1421 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1422 | { | |
1423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1424 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1425 | ||
1426 | wxPyEndAllowThreads(__tstate); | |
1427 | if (PyErr_Occurred()) SWIG_fail; | |
1428 | } | |
1429 | resultobj = PyInt_FromLong((long)result); | |
1430 | return resultobj; | |
1431 | fail: | |
1432 | return NULL; | |
1433 | } | |
1434 | ||
1435 | ||
1436 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1437 | PyObject *resultobj; | |
1438 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1439 | int arg2 ; | |
1440 | int arg3 ; | |
1441 | PyObject * obj0 = 0 ; | |
1442 | char *kwnames[] = { | |
1443 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1444 | }; | |
1445 | ||
1446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1447 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1448 | { | |
1449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1450 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1451 | ||
1452 | wxPyEndAllowThreads(__tstate); | |
1453 | if (PyErr_Occurred()) SWIG_fail; | |
1454 | } | |
1455 | Py_INCREF(Py_None); resultobj = Py_None; | |
1456 | return resultobj; | |
1457 | fail: | |
1458 | return NULL; | |
1459 | } | |
1460 | ||
1461 | ||
1462 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1463 | PyObject *resultobj; | |
1464 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1465 | int arg2 ; | |
1466 | int arg3 ; | |
1467 | PyObject * obj0 = 0 ; | |
1468 | char *kwnames[] = { | |
1469 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1470 | }; | |
1471 | ||
1472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1473 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1474 | { | |
1475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1476 | (arg1)->SetScrollRate(arg2,arg3); | |
1477 | ||
1478 | wxPyEndAllowThreads(__tstate); | |
1479 | if (PyErr_Occurred()) SWIG_fail; | |
1480 | } | |
1481 | Py_INCREF(Py_None); resultobj = Py_None; | |
1482 | return resultobj; | |
1483 | fail: | |
1484 | return NULL; | |
1485 | } | |
1486 | ||
1487 | ||
1488 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1489 | PyObject *resultobj; | |
1490 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1491 | int *arg2 = (int *) 0 ; | |
1492 | int *arg3 = (int *) 0 ; | |
1493 | int temp2 ; | |
1494 | int temp3 ; | |
1495 | PyObject * obj0 = 0 ; | |
1496 | char *kwnames[] = { | |
1497 | (char *) "self", NULL | |
1498 | }; | |
1499 | ||
1500 | arg2 = &temp2; | |
1501 | arg3 = &temp3; | |
1502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
1503 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1504 | { | |
1505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1506 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1507 | ||
1508 | wxPyEndAllowThreads(__tstate); | |
1509 | if (PyErr_Occurred()) SWIG_fail; | |
1510 | } | |
1511 | Py_INCREF(Py_None); resultobj = Py_None; | |
1512 | { | |
1513 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1514 | resultobj = t_output_helper(resultobj,o); | |
1515 | } | |
1516 | { | |
1517 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1518 | resultobj = t_output_helper(resultobj,o); | |
1519 | } | |
1520 | return resultobj; | |
1521 | fail: | |
1522 | return NULL; | |
1523 | } | |
1524 | ||
1525 | ||
1526 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1527 | PyObject *resultobj; | |
1528 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1529 | bool arg2 ; | |
1530 | bool arg3 ; | |
1531 | PyObject * obj0 = 0 ; | |
1532 | PyObject * obj1 = 0 ; | |
1533 | PyObject * obj2 = 0 ; | |
1534 | char *kwnames[] = { | |
1535 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1536 | }; | |
1537 | ||
1538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1539 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1540 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
1541 | if (PyErr_Occurred()) SWIG_fail; | |
1542 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
1543 | if (PyErr_Occurred()) SWIG_fail; | |
1544 | { | |
1545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1546 | (arg1)->EnableScrolling(arg2,arg3); | |
1547 | ||
1548 | wxPyEndAllowThreads(__tstate); | |
1549 | if (PyErr_Occurred()) SWIG_fail; | |
1550 | } | |
1551 | Py_INCREF(Py_None); resultobj = Py_None; | |
1552 | return resultobj; | |
1553 | fail: | |
1554 | return NULL; | |
1555 | } | |
1556 | ||
1557 | ||
1558 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1559 | PyObject *resultobj; | |
1560 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1561 | int *arg2 = (int *) 0 ; | |
1562 | int *arg3 = (int *) 0 ; | |
1563 | int temp2 ; | |
1564 | int temp3 ; | |
1565 | PyObject * obj0 = 0 ; | |
1566 | char *kwnames[] = { | |
1567 | (char *) "self", NULL | |
1568 | }; | |
1569 | ||
1570 | arg2 = &temp2; | |
1571 | arg3 = &temp3; | |
1572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
1573 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1574 | { | |
1575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1576 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1577 | ||
1578 | wxPyEndAllowThreads(__tstate); | |
1579 | if (PyErr_Occurred()) SWIG_fail; | |
1580 | } | |
1581 | Py_INCREF(Py_None); resultobj = Py_None; | |
1582 | { | |
1583 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1584 | resultobj = t_output_helper(resultobj,o); | |
1585 | } | |
1586 | { | |
1587 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1588 | resultobj = t_output_helper(resultobj,o); | |
1589 | } | |
1590 | return resultobj; | |
1591 | fail: | |
1592 | return NULL; | |
1593 | } | |
1594 | ||
1595 | ||
1596 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1597 | PyObject *resultobj; | |
1598 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1599 | double arg2 ; | |
1600 | double arg3 ; | |
1601 | PyObject * obj0 = 0 ; | |
1602 | char *kwnames[] = { | |
1603 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1604 | }; | |
1605 | ||
1606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1607 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1608 | { | |
1609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1610 | (arg1)->SetScale(arg2,arg3); | |
1611 | ||
1612 | wxPyEndAllowThreads(__tstate); | |
1613 | if (PyErr_Occurred()) SWIG_fail; | |
1614 | } | |
1615 | Py_INCREF(Py_None); resultobj = Py_None; | |
1616 | return resultobj; | |
1617 | fail: | |
1618 | return NULL; | |
1619 | } | |
1620 | ||
1621 | ||
1622 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1623 | PyObject *resultobj; | |
1624 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1625 | double result; | |
1626 | PyObject * obj0 = 0 ; | |
1627 | char *kwnames[] = { | |
1628 | (char *) "self", NULL | |
1629 | }; | |
1630 | ||
1631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
1632 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1633 | { | |
1634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1635 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
1636 | ||
1637 | wxPyEndAllowThreads(__tstate); | |
1638 | if (PyErr_Occurred()) SWIG_fail; | |
1639 | } | |
1640 | resultobj = PyFloat_FromDouble(result); | |
1641 | return resultobj; | |
1642 | fail: | |
1643 | return NULL; | |
1644 | } | |
1645 | ||
1646 | ||
1647 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1648 | PyObject *resultobj; | |
1649 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1650 | double result; | |
1651 | PyObject * obj0 = 0 ; | |
1652 | char *kwnames[] = { | |
1653 | (char *) "self", NULL | |
1654 | }; | |
1655 | ||
1656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
1657 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1658 | { | |
1659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1660 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
1661 | ||
1662 | wxPyEndAllowThreads(__tstate); | |
1663 | if (PyErr_Occurred()) SWIG_fail; | |
1664 | } | |
1665 | resultobj = PyFloat_FromDouble(result); | |
1666 | return resultobj; | |
1667 | fail: | |
1668 | return NULL; | |
1669 | } | |
1670 | ||
1671 | ||
1672 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
1673 | PyObject *resultobj; | |
1674 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
1675 | wxPoint *arg2 = 0 ; |
1676 | wxPoint result; | |
1677 | wxPoint temp2 ; | |
d14a1e28 | 1678 | PyObject * obj0 = 0 ; |
44127b65 | 1679 | PyObject * obj1 = 0 ; |
d14a1e28 | 1680 | |
44127b65 | 1681 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
d14a1e28 | 1682 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
44127b65 RD |
1683 | { |
1684 | arg2 = &temp2; | |
1685 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1686 | } | |
d14a1e28 RD |
1687 | { |
1688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 1689 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
1690 | |
1691 | wxPyEndAllowThreads(__tstate); | |
1692 | if (PyErr_Occurred()) SWIG_fail; | |
1693 | } | |
d14a1e28 | 1694 | { |
44127b65 RD |
1695 | wxPoint * resultptr; |
1696 | resultptr = new wxPoint((wxPoint &) result); | |
1697 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
d14a1e28 RD |
1698 | } |
1699 | return resultobj; | |
1700 | fail: | |
1701 | return NULL; | |
1702 | } | |
1703 | ||
1704 | ||
1705 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
1706 | PyObject *resultobj; | |
1707 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
1708 | int arg2 ; |
1709 | int arg3 ; | |
1710 | int *arg4 = (int *) 0 ; | |
1711 | int *arg5 = (int *) 0 ; | |
1712 | int temp4 ; | |
1713 | int temp5 ; | |
d14a1e28 | 1714 | PyObject * obj0 = 0 ; |
d14a1e28 | 1715 | |
44127b65 RD |
1716 | arg4 = &temp4; |
1717 | arg5 = &temp5; | |
1718 | if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail; | |
d14a1e28 | 1719 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
d14a1e28 RD |
1720 | { |
1721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 1722 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
1723 | |
1724 | wxPyEndAllowThreads(__tstate); | |
1725 | if (PyErr_Occurred()) SWIG_fail; | |
1726 | } | |
44127b65 | 1727 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 1728 | { |
44127b65 RD |
1729 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
1730 | resultobj = t_output_helper(resultobj,o); | |
1731 | } | |
1732 | { | |
1733 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
1734 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
1735 | } |
1736 | return resultobj; | |
1737 | fail: | |
1738 | return NULL; | |
1739 | } | |
1740 | ||
1741 | ||
1742 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
1743 | int argc; | |
1744 | PyObject *argv[4]; | |
1745 | int ii; | |
1746 | ||
1747 | argc = PyObject_Length(args); | |
1748 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
1749 | argv[ii] = PyTuple_GetItem(args,ii); | |
1750 | } | |
1751 | if (argc == 2) { | |
1752 | int _v; | |
1753 | { | |
1754 | void *ptr; | |
1755 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1756 | _v = 0; | |
1757 | PyErr_Clear(); | |
1758 | } else { | |
1759 | _v = 1; | |
1760 | } | |
1761 | } | |
1762 | if (_v) { | |
1763 | { | |
1764 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
1765 | } | |
1766 | if (_v) { | |
44127b65 | 1767 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
1768 | } |
1769 | } | |
1770 | } | |
1771 | if (argc == 3) { | |
1772 | int _v; | |
1773 | { | |
1774 | void *ptr; | |
1775 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1776 | _v = 0; | |
1777 | PyErr_Clear(); | |
1778 | } else { | |
1779 | _v = 1; | |
1780 | } | |
1781 | } | |
1782 | if (_v) { | |
1783 | { | |
1784 | _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; | |
1785 | } | |
1786 | if (_v) { | |
1787 | { | |
1788 | _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; | |
1789 | } | |
1790 | if (_v) { | |
44127b65 | 1791 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
1792 | } |
1793 | } | |
1794 | } | |
1795 | } | |
1796 | ||
1797 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
1798 | return NULL; | |
1799 | } | |
1800 | ||
1801 | ||
1802 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
1803 | PyObject *resultobj; | |
1804 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
1805 | wxPoint *arg2 = 0 ; |
1806 | wxPoint result; | |
1807 | wxPoint temp2 ; | |
d14a1e28 | 1808 | PyObject * obj0 = 0 ; |
44127b65 | 1809 | PyObject * obj1 = 0 ; |
d14a1e28 | 1810 | |
44127b65 | 1811 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
d14a1e28 | 1812 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
44127b65 RD |
1813 | { |
1814 | arg2 = &temp2; | |
1815 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1816 | } | |
d14a1e28 RD |
1817 | { |
1818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 1819 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
1820 | |
1821 | wxPyEndAllowThreads(__tstate); | |
1822 | if (PyErr_Occurred()) SWIG_fail; | |
1823 | } | |
d14a1e28 | 1824 | { |
44127b65 RD |
1825 | wxPoint * resultptr; |
1826 | resultptr = new wxPoint((wxPoint &) result); | |
1827 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
d14a1e28 RD |
1828 | } |
1829 | return resultobj; | |
1830 | fail: | |
1831 | return NULL; | |
1832 | } | |
1833 | ||
1834 | ||
1835 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
1836 | PyObject *resultobj; | |
1837 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
1838 | int arg2 ; |
1839 | int arg3 ; | |
1840 | int *arg4 = (int *) 0 ; | |
1841 | int *arg5 = (int *) 0 ; | |
1842 | int temp4 ; | |
1843 | int temp5 ; | |
d14a1e28 | 1844 | PyObject * obj0 = 0 ; |
d14a1e28 | 1845 | |
44127b65 RD |
1846 | arg4 = &temp4; |
1847 | arg5 = &temp5; | |
1848 | if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail; | |
d14a1e28 | 1849 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
d14a1e28 RD |
1850 | { |
1851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 1852 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
1853 | |
1854 | wxPyEndAllowThreads(__tstate); | |
1855 | if (PyErr_Occurred()) SWIG_fail; | |
1856 | } | |
44127b65 RD |
1857 | Py_INCREF(Py_None); resultobj = Py_None; |
1858 | { | |
1859 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
1860 | resultobj = t_output_helper(resultobj,o); | |
1861 | } | |
d14a1e28 | 1862 | { |
44127b65 RD |
1863 | PyObject *o = PyInt_FromLong((long) (*arg5)); |
1864 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
1865 | } |
1866 | return resultobj; | |
1867 | fail: | |
1868 | return NULL; | |
1869 | } | |
1870 | ||
1871 | ||
1872 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
1873 | int argc; | |
1874 | PyObject *argv[4]; | |
1875 | int ii; | |
1876 | ||
1877 | argc = PyObject_Length(args); | |
1878 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
1879 | argv[ii] = PyTuple_GetItem(args,ii); | |
1880 | } | |
1881 | if (argc == 2) { | |
1882 | int _v; | |
1883 | { | |
1884 | void *ptr; | |
1885 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1886 | _v = 0; | |
1887 | PyErr_Clear(); | |
1888 | } else { | |
1889 | _v = 1; | |
1890 | } | |
1891 | } | |
1892 | if (_v) { | |
1893 | { | |
1894 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
1895 | } | |
1896 | if (_v) { | |
44127b65 | 1897 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
1898 | } |
1899 | } | |
1900 | } | |
1901 | if (argc == 3) { | |
1902 | int _v; | |
1903 | { | |
1904 | void *ptr; | |
1905 | if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { | |
1906 | _v = 0; | |
1907 | PyErr_Clear(); | |
1908 | } else { | |
1909 | _v = 1; | |
1910 | } | |
1911 | } | |
1912 | if (_v) { | |
1913 | { | |
1914 | _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0; | |
1915 | } | |
1916 | if (_v) { | |
1917 | { | |
1918 | _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0; | |
1919 | } | |
1920 | if (_v) { | |
44127b65 | 1921 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
1922 | } |
1923 | } | |
1924 | } | |
1925 | } | |
1926 | ||
1927 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
1928 | return NULL; | |
1929 | } | |
1930 | ||
1931 | ||
1932 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1933 | PyObject *resultobj; | |
1934 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1935 | PyObject * obj0 = 0 ; | |
1936 | char *kwnames[] = { | |
1937 | (char *) "self", NULL | |
1938 | }; | |
1939 | ||
1940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
1941 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1942 | { | |
1943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1944 | (arg1)->AdjustScrollbars(); | |
1945 | ||
1946 | wxPyEndAllowThreads(__tstate); | |
1947 | if (PyErr_Occurred()) SWIG_fail; | |
1948 | } | |
1949 | Py_INCREF(Py_None); resultobj = Py_None; | |
1950 | return resultobj; | |
1951 | fail: | |
1952 | return NULL; | |
1953 | } | |
1954 | ||
1955 | ||
1956 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1957 | PyObject *resultobj; | |
1958 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1959 | wxScrollWinEvent *arg2 = 0 ; | |
1960 | int result; | |
1961 | PyObject * obj0 = 0 ; | |
1962 | PyObject * obj1 = 0 ; | |
1963 | char *kwnames[] = { | |
1964 | (char *) "self",(char *) "event", NULL | |
1965 | }; | |
1966 | ||
1967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
1968 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1969 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1970 | if (arg2 == NULL) { | |
1971 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
1972 | } | |
1973 | { | |
1974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1975 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
1976 | ||
1977 | wxPyEndAllowThreads(__tstate); | |
1978 | if (PyErr_Occurred()) SWIG_fail; | |
1979 | } | |
1980 | resultobj = PyInt_FromLong((long)result); | |
1981 | return resultobj; | |
1982 | fail: | |
1983 | return NULL; | |
1984 | } | |
1985 | ||
1986 | ||
1987 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1988 | PyObject *resultobj; | |
1989 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1990 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1991 | PyObject * obj0 = 0 ; | |
1992 | PyObject * obj1 = 0 ; | |
1993 | char *kwnames[] = { | |
1994 | (char *) "self",(char *) "target", NULL | |
1995 | }; | |
1996 | ||
1997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
1998 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1999 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2000 | { | |
2001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2002 | (arg1)->SetTargetWindow(arg2); | |
2003 | ||
2004 | wxPyEndAllowThreads(__tstate); | |
2005 | if (PyErr_Occurred()) SWIG_fail; | |
2006 | } | |
2007 | Py_INCREF(Py_None); resultobj = Py_None; | |
2008 | return resultobj; | |
2009 | fail: | |
2010 | return NULL; | |
2011 | } | |
2012 | ||
2013 | ||
2014 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2015 | PyObject *resultobj; | |
2016 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2017 | wxWindow *result; | |
2018 | PyObject * obj0 = 0 ; | |
2019 | char *kwnames[] = { | |
2020 | (char *) "self", NULL | |
2021 | }; | |
2022 | ||
2023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
2024 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2025 | { | |
2026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2027 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2028 | ||
2029 | wxPyEndAllowThreads(__tstate); | |
2030 | if (PyErr_Occurred()) SWIG_fail; | |
2031 | } | |
2032 | { | |
2033 | resultobj = wxPyMake_wxObject(result); | |
2034 | } | |
2035 | return resultobj; | |
2036 | fail: | |
2037 | return NULL; | |
2038 | } | |
2039 | ||
2040 | ||
2041 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2042 | PyObject *resultobj; | |
2043 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2044 | wxRect *arg2 = 0 ; | |
2045 | wxRect temp2 ; | |
2046 | PyObject * obj0 = 0 ; | |
2047 | PyObject * obj1 = 0 ; | |
2048 | char *kwnames[] = { | |
2049 | (char *) "self",(char *) "rect", NULL | |
2050 | }; | |
2051 | ||
2052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
2053 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2054 | { | |
2055 | arg2 = &temp2; | |
2056 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
2057 | } | |
2058 | { | |
2059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2060 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
2061 | ||
2062 | wxPyEndAllowThreads(__tstate); | |
2063 | if (PyErr_Occurred()) SWIG_fail; | |
2064 | } | |
2065 | Py_INCREF(Py_None); resultobj = Py_None; | |
2066 | return resultobj; | |
2067 | fail: | |
2068 | return NULL; | |
2069 | } | |
2070 | ||
2071 | ||
2072 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2073 | PyObject *resultobj; | |
2074 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2075 | wxRect result; | |
2076 | PyObject * obj0 = 0 ; | |
2077 | char *kwnames[] = { | |
2078 | (char *) "self", NULL | |
2079 | }; | |
2080 | ||
2081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
2082 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2083 | { | |
2084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2085 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
2086 | ||
2087 | wxPyEndAllowThreads(__tstate); | |
2088 | if (PyErr_Occurred()) SWIG_fail; | |
2089 | } | |
2090 | { | |
2091 | wxRect * resultptr; | |
2092 | resultptr = new wxRect((wxRect &) result); | |
2093 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
2094 | } | |
2095 | return resultobj; | |
2096 | fail: | |
2097 | return NULL; | |
2098 | } | |
2099 | ||
2100 | ||
2101 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2102 | PyObject *obj; | |
2103 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2104 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2105 | Py_INCREF(obj); | |
2106 | return Py_BuildValue((char *)""); | |
2107 | } | |
2108 | static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2109 | PyObject *resultobj; | |
2110 | int arg1 = (int) 0 ; | |
2111 | int arg2 = (int) 0 ; | |
2112 | int arg3 = (int) 0 ; | |
2113 | wxMenuItem *arg4 = (wxMenuItem *) NULL ; | |
2114 | wxAcceleratorEntry *result; | |
2115 | PyObject * obj3 = 0 ; | |
2116 | char *kwnames[] = { | |
2117 | (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL | |
2118 | }; | |
2119 | ||
2120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail; | |
2121 | if (obj3) { | |
2122 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2123 | } | |
2124 | { | |
2125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2126 | result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4); | |
2127 | ||
2128 | wxPyEndAllowThreads(__tstate); | |
2129 | if (PyErr_Occurred()) SWIG_fail; | |
2130 | } | |
2131 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1); | |
2132 | return resultobj; | |
2133 | fail: | |
2134 | return NULL; | |
2135 | } | |
2136 | ||
2137 | ||
2138 | static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2139 | PyObject *resultobj; | |
2140 | wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; | |
2141 | PyObject * obj0 = 0 ; | |
2142 | char *kwnames[] = { | |
2143 | (char *) "self", NULL | |
2144 | }; | |
2145 | ||
2146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail; | |
2147 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2148 | { | |
2149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2150 | delete arg1; | |
2151 | ||
2152 | wxPyEndAllowThreads(__tstate); | |
2153 | if (PyErr_Occurred()) SWIG_fail; | |
2154 | } | |
2155 | Py_INCREF(Py_None); resultobj = Py_None; | |
2156 | return resultobj; | |
2157 | fail: | |
2158 | return NULL; | |
2159 | } | |
2160 | ||
2161 | ||
2162 | static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2163 | PyObject *resultobj; | |
2164 | wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; | |
2165 | int arg2 ; | |
2166 | int arg3 ; | |
2167 | int arg4 ; | |
2168 | wxMenuItem *arg5 = (wxMenuItem *) NULL ; | |
2169 | PyObject * obj0 = 0 ; | |
2170 | PyObject * obj4 = 0 ; | |
2171 | char *kwnames[] = { | |
2172 | (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL | |
2173 | }; | |
2174 | ||
2175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail; | |
2176 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2177 | if (obj4) { | |
2178 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2179 | } | |
2180 | { | |
2181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2182 | (arg1)->Set(arg2,arg3,arg4,arg5); | |
2183 | ||
2184 | wxPyEndAllowThreads(__tstate); | |
2185 | if (PyErr_Occurred()) SWIG_fail; | |
2186 | } | |
2187 | Py_INCREF(Py_None); resultobj = Py_None; | |
2188 | return resultobj; | |
2189 | fail: | |
2190 | return NULL; | |
2191 | } | |
2192 | ||
2193 | ||
2194 | static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2195 | PyObject *resultobj; | |
2196 | wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; | |
2197 | wxMenuItem *arg2 = (wxMenuItem *) 0 ; | |
2198 | PyObject * obj0 = 0 ; | |
2199 | PyObject * obj1 = 0 ; | |
2200 | char *kwnames[] = { | |
2201 | (char *) "self",(char *) "item", NULL | |
2202 | }; | |
2203 | ||
2204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail; | |
2205 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2206 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2207 | { | |
2208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2209 | (arg1)->SetMenuItem(arg2); | |
2210 | ||
2211 | wxPyEndAllowThreads(__tstate); | |
2212 | if (PyErr_Occurred()) SWIG_fail; | |
2213 | } | |
2214 | Py_INCREF(Py_None); resultobj = Py_None; | |
2215 | return resultobj; | |
2216 | fail: | |
2217 | return NULL; | |
2218 | } | |
2219 | ||
2220 | ||
2221 | static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2222 | PyObject *resultobj; | |
2223 | wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; | |
2224 | wxMenuItem *result; | |
2225 | PyObject * obj0 = 0 ; | |
2226 | char *kwnames[] = { | |
2227 | (char *) "self", NULL | |
2228 | }; | |
2229 | ||
2230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail; | |
2231 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2232 | { | |
2233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2234 | result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem(); | |
2235 | ||
2236 | wxPyEndAllowThreads(__tstate); | |
2237 | if (PyErr_Occurred()) SWIG_fail; | |
2238 | } | |
2239 | { | |
2240 | resultobj = wxPyMake_wxObject(result); | |
2241 | } | |
2242 | return resultobj; | |
2243 | fail: | |
2244 | return NULL; | |
2245 | } | |
2246 | ||
2247 | ||
2248 | static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2249 | PyObject *resultobj; | |
2250 | wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; | |
2251 | int result; | |
2252 | PyObject * obj0 = 0 ; | |
2253 | char *kwnames[] = { | |
2254 | (char *) "self", NULL | |
2255 | }; | |
2256 | ||
2257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail; | |
2258 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2259 | { | |
2260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2261 | result = (int)(arg1)->GetFlags(); | |
2262 | ||
2263 | wxPyEndAllowThreads(__tstate); | |
2264 | if (PyErr_Occurred()) SWIG_fail; | |
2265 | } | |
2266 | resultobj = PyInt_FromLong((long)result); | |
2267 | return resultobj; | |
2268 | fail: | |
2269 | return NULL; | |
2270 | } | |
2271 | ||
2272 | ||
2273 | static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2274 | PyObject *resultobj; | |
2275 | wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; | |
2276 | int result; | |
2277 | PyObject * obj0 = 0 ; | |
2278 | char *kwnames[] = { | |
2279 | (char *) "self", NULL | |
2280 | }; | |
2281 | ||
2282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail; | |
2283 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2284 | { | |
2285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2286 | result = (int)(arg1)->GetKeyCode(); | |
2287 | ||
2288 | wxPyEndAllowThreads(__tstate); | |
2289 | if (PyErr_Occurred()) SWIG_fail; | |
2290 | } | |
2291 | resultobj = PyInt_FromLong((long)result); | |
2292 | return resultobj; | |
2293 | fail: | |
2294 | return NULL; | |
2295 | } | |
2296 | ||
2297 | ||
2298 | static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2299 | PyObject *resultobj; | |
2300 | wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; | |
2301 | int result; | |
2302 | PyObject * obj0 = 0 ; | |
2303 | char *kwnames[] = { | |
2304 | (char *) "self", NULL | |
2305 | }; | |
2306 | ||
2307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail; | |
2308 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2309 | { | |
2310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2311 | result = (int)(arg1)->GetCommand(); | |
2312 | ||
2313 | wxPyEndAllowThreads(__tstate); | |
2314 | if (PyErr_Occurred()) SWIG_fail; | |
2315 | } | |
2316 | resultobj = PyInt_FromLong((long)result); | |
2317 | return resultobj; | |
2318 | fail: | |
2319 | return NULL; | |
2320 | } | |
2321 | ||
2322 | ||
2323 | static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) { | |
2324 | PyObject *obj; | |
2325 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2326 | SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj); | |
2327 | Py_INCREF(obj); | |
2328 | return Py_BuildValue((char *)""); | |
2329 | } | |
2330 | static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2331 | PyObject *resultobj; | |
2332 | int arg1 ; | |
2333 | wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; | |
2334 | wxAcceleratorTable *result; | |
2335 | PyObject * obj0 = 0 ; | |
2336 | char *kwnames[] = { | |
2337 | (char *) "n", NULL | |
2338 | }; | |
2339 | ||
2340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail; | |
2341 | { | |
2342 | arg2 = wxAcceleratorEntry_LIST_helper(obj0); | |
2343 | if (arg2) arg1 = PyList_Size(obj0); | |
2344 | else arg1 = 0; | |
2345 | } | |
2346 | { | |
2347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2348 | result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2); | |
2349 | ||
2350 | wxPyEndAllowThreads(__tstate); | |
2351 | if (PyErr_Occurred()) SWIG_fail; | |
2352 | } | |
2353 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1); | |
2354 | { | |
2355 | delete [] arg2; | |
2356 | } | |
2357 | return resultobj; | |
2358 | fail: | |
2359 | { | |
2360 | delete [] arg2; | |
2361 | } | |
2362 | return NULL; | |
2363 | } | |
2364 | ||
2365 | ||
2366 | static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2367 | PyObject *resultobj; | |
2368 | wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; | |
2369 | PyObject * obj0 = 0 ; | |
2370 | char *kwnames[] = { | |
2371 | (char *) "self", NULL | |
2372 | }; | |
2373 | ||
2374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail; | |
2375 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2376 | { | |
2377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2378 | delete arg1; | |
2379 | ||
2380 | wxPyEndAllowThreads(__tstate); | |
2381 | if (PyErr_Occurred()) SWIG_fail; | |
2382 | } | |
2383 | Py_INCREF(Py_None); resultobj = Py_None; | |
2384 | return resultobj; | |
2385 | fail: | |
2386 | return NULL; | |
2387 | } | |
2388 | ||
2389 | ||
2390 | static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2391 | PyObject *resultobj; | |
2392 | wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; | |
2393 | bool result; | |
2394 | PyObject * obj0 = 0 ; | |
2395 | char *kwnames[] = { | |
2396 | (char *) "self", NULL | |
2397 | }; | |
2398 | ||
2399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail; | |
2400 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2401 | { | |
2402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2403 | result = (bool)((wxAcceleratorTable const *)arg1)->Ok(); | |
2404 | ||
2405 | wxPyEndAllowThreads(__tstate); | |
2406 | if (PyErr_Occurred()) SWIG_fail; | |
2407 | } | |
2408 | resultobj = PyInt_FromLong((long)result); | |
2409 | return resultobj; | |
2410 | fail: | |
2411 | return NULL; | |
2412 | } | |
2413 | ||
2414 | ||
2415 | static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) { | |
2416 | PyObject *obj; | |
2417 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2418 | SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj); | |
2419 | Py_INCREF(obj); | |
2420 | return Py_BuildValue((char *)""); | |
2421 | } | |
2422 | static int _wrap_NullAcceleratorTable_set(PyObject *_val) { | |
2423 | PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only."); | |
2424 | return 1; | |
2425 | } | |
2426 | ||
2427 | ||
2428 | static PyObject *_wrap_NullAcceleratorTable_get() { | |
2429 | PyObject *pyobj; | |
2430 | ||
2431 | pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0); | |
2432 | return pyobj; | |
2433 | } | |
2434 | ||
2435 | ||
2436 | static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2437 | PyObject *resultobj; | |
2438 | wxString *arg1 = 0 ; | |
2439 | wxAcceleratorEntry *result; | |
423f194a | 2440 | bool temp1 = False ; |
d14a1e28 RD |
2441 | PyObject * obj0 = 0 ; |
2442 | char *kwnames[] = { | |
2443 | (char *) "label", NULL | |
2444 | }; | |
2445 | ||
2446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail; | |
2447 | { | |
2448 | arg1 = wxString_in_helper(obj0); | |
2449 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 2450 | temp1 = True; |
d14a1e28 RD |
2451 | } |
2452 | { | |
2453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2454 | result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1); | |
2455 | ||
2456 | wxPyEndAllowThreads(__tstate); | |
2457 | if (PyErr_Occurred()) SWIG_fail; | |
2458 | } | |
2459 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0); | |
2460 | { | |
2461 | if (temp1) | |
2462 | delete arg1; | |
2463 | } | |
2464 | return resultobj; | |
2465 | fail: | |
2466 | { | |
2467 | if (temp1) | |
2468 | delete arg1; | |
2469 | } | |
2470 | return NULL; | |
2471 | } | |
2472 | ||
2473 | ||
2474 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2475 | PyObject *resultobj; | |
2476 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
423f194a | 2477 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2478 | PyObject * obj0 = 0 ; |
2479 | PyObject * obj1 = 0 ; | |
2480 | char *kwnames[] = { | |
2481 | (char *) "self",(char *) "maximize", NULL | |
2482 | }; | |
2483 | ||
2484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2485 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2486 | if (obj1) { | |
2487 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2488 | if (PyErr_Occurred()) SWIG_fail; | |
2489 | } | |
2490 | { | |
2491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2492 | (arg1)->Maximize(arg2); | |
2493 | ||
2494 | wxPyEndAllowThreads(__tstate); | |
2495 | if (PyErr_Occurred()) SWIG_fail; | |
2496 | } | |
2497 | Py_INCREF(Py_None); resultobj = Py_None; | |
2498 | return resultobj; | |
2499 | fail: | |
2500 | return NULL; | |
2501 | } | |
2502 | ||
2503 | ||
2504 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2505 | PyObject *resultobj; | |
2506 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2507 | PyObject * obj0 = 0 ; | |
2508 | char *kwnames[] = { | |
2509 | (char *) "self", NULL | |
2510 | }; | |
2511 | ||
2512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
2513 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2514 | { | |
2515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2516 | (arg1)->Restore(); | |
2517 | ||
2518 | wxPyEndAllowThreads(__tstate); | |
2519 | if (PyErr_Occurred()) SWIG_fail; | |
2520 | } | |
2521 | Py_INCREF(Py_None); resultobj = Py_None; | |
2522 | return resultobj; | |
2523 | fail: | |
2524 | return NULL; | |
2525 | } | |
2526 | ||
2527 | ||
2528 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2529 | PyObject *resultobj; | |
2530 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
423f194a | 2531 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2532 | PyObject * obj0 = 0 ; |
2533 | PyObject * obj1 = 0 ; | |
2534 | char *kwnames[] = { | |
2535 | (char *) "self",(char *) "iconize", NULL | |
2536 | }; | |
2537 | ||
2538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
2539 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2540 | if (obj1) { | |
2541 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2542 | if (PyErr_Occurred()) SWIG_fail; | |
2543 | } | |
2544 | { | |
2545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2546 | (arg1)->Iconize(arg2); | |
2547 | ||
2548 | wxPyEndAllowThreads(__tstate); | |
2549 | if (PyErr_Occurred()) SWIG_fail; | |
2550 | } | |
2551 | Py_INCREF(Py_None); resultobj = Py_None; | |
2552 | return resultobj; | |
2553 | fail: | |
2554 | return NULL; | |
2555 | } | |
2556 | ||
2557 | ||
2558 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2559 | PyObject *resultobj; | |
2560 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2561 | bool result; | |
2562 | PyObject * obj0 = 0 ; | |
2563 | char *kwnames[] = { | |
2564 | (char *) "self", NULL | |
2565 | }; | |
2566 | ||
2567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
2568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2569 | { | |
2570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2571 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2572 | ||
2573 | wxPyEndAllowThreads(__tstate); | |
2574 | if (PyErr_Occurred()) SWIG_fail; | |
2575 | } | |
2576 | resultobj = PyInt_FromLong((long)result); | |
2577 | return resultobj; | |
2578 | fail: | |
2579 | return NULL; | |
2580 | } | |
2581 | ||
2582 | ||
2583 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2584 | PyObject *resultobj; | |
2585 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2586 | bool result; | |
2587 | PyObject * obj0 = 0 ; | |
2588 | char *kwnames[] = { | |
2589 | (char *) "self", NULL | |
2590 | }; | |
2591 | ||
2592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
2593 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2594 | { | |
2595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2596 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2597 | ||
2598 | wxPyEndAllowThreads(__tstate); | |
2599 | if (PyErr_Occurred()) SWIG_fail; | |
2600 | } | |
2601 | resultobj = PyInt_FromLong((long)result); | |
2602 | return resultobj; | |
2603 | fail: | |
2604 | return NULL; | |
2605 | } | |
2606 | ||
2607 | ||
2608 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2609 | PyObject *resultobj; | |
2610 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2611 | wxIcon result; | |
2612 | PyObject * obj0 = 0 ; | |
2613 | char *kwnames[] = { | |
2614 | (char *) "self", NULL | |
2615 | }; | |
2616 | ||
2617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
2618 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2619 | { | |
2620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2621 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2622 | ||
2623 | wxPyEndAllowThreads(__tstate); | |
2624 | if (PyErr_Occurred()) SWIG_fail; | |
2625 | } | |
2626 | { | |
2627 | wxIcon * resultptr; | |
2628 | resultptr = new wxIcon((wxIcon &) result); | |
2629 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1); | |
2630 | } | |
2631 | return resultobj; | |
2632 | fail: | |
2633 | return NULL; | |
2634 | } | |
2635 | ||
2636 | ||
2637 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2638 | PyObject *resultobj; | |
2639 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2640 | wxIcon *arg2 = 0 ; | |
2641 | PyObject * obj0 = 0 ; | |
2642 | PyObject * obj1 = 0 ; | |
2643 | char *kwnames[] = { | |
2644 | (char *) "self",(char *) "icon", NULL | |
2645 | }; | |
2646 | ||
2647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
2648 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2649 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2650 | if (arg2 == NULL) { | |
2651 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2652 | } | |
2653 | { | |
2654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2655 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2656 | ||
2657 | wxPyEndAllowThreads(__tstate); | |
2658 | if (PyErr_Occurred()) SWIG_fail; | |
2659 | } | |
2660 | Py_INCREF(Py_None); resultobj = Py_None; | |
2661 | return resultobj; | |
2662 | fail: | |
2663 | return NULL; | |
2664 | } | |
2665 | ||
2666 | ||
2667 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2668 | PyObject *resultobj; | |
2669 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2670 | wxIconBundle *arg2 = 0 ; | |
2671 | PyObject * obj0 = 0 ; | |
2672 | PyObject * obj1 = 0 ; | |
2673 | char *kwnames[] = { | |
2674 | (char *) "self",(char *) "icons", NULL | |
2675 | }; | |
2676 | ||
2677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
2678 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2679 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2680 | if (arg2 == NULL) { | |
2681 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2682 | } | |
2683 | { | |
2684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2685 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2686 | ||
2687 | wxPyEndAllowThreads(__tstate); | |
2688 | if (PyErr_Occurred()) SWIG_fail; | |
2689 | } | |
2690 | Py_INCREF(Py_None); resultobj = Py_None; | |
2691 | return resultobj; | |
2692 | fail: | |
2693 | return NULL; | |
2694 | } | |
2695 | ||
2696 | ||
2697 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2698 | PyObject *resultobj; | |
2699 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2700 | bool arg2 ; | |
2701 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2702 | bool result; | |
2703 | PyObject * obj0 = 0 ; | |
2704 | PyObject * obj1 = 0 ; | |
2705 | char *kwnames[] = { | |
2706 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2707 | }; | |
2708 | ||
2709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
2710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2711 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2712 | if (PyErr_Occurred()) SWIG_fail; | |
2713 | { | |
2714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2715 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2716 | ||
2717 | wxPyEndAllowThreads(__tstate); | |
2718 | if (PyErr_Occurred()) SWIG_fail; | |
2719 | } | |
2720 | resultobj = PyInt_FromLong((long)result); | |
2721 | return resultobj; | |
2722 | fail: | |
2723 | return NULL; | |
2724 | } | |
2725 | ||
2726 | ||
2727 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2728 | PyObject *resultobj; | |
2729 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2730 | bool result; | |
2731 | PyObject * obj0 = 0 ; | |
2732 | char *kwnames[] = { | |
2733 | (char *) "self", NULL | |
2734 | }; | |
2735 | ||
2736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
2737 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2738 | { | |
2739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2740 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2741 | ||
2742 | wxPyEndAllowThreads(__tstate); | |
2743 | if (PyErr_Occurred()) SWIG_fail; | |
2744 | } | |
2745 | resultobj = PyInt_FromLong((long)result); | |
2746 | return resultobj; | |
2747 | fail: | |
2748 | return NULL; | |
2749 | } | |
2750 | ||
2751 | ||
2752 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2753 | PyObject *resultobj; | |
2754 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2755 | wxString *arg2 = 0 ; | |
423f194a | 2756 | bool temp2 = False ; |
d14a1e28 RD |
2757 | PyObject * obj0 = 0 ; |
2758 | PyObject * obj1 = 0 ; | |
2759 | char *kwnames[] = { | |
2760 | (char *) "self",(char *) "title", NULL | |
2761 | }; | |
2762 | ||
2763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2764 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2765 | { | |
2766 | arg2 = wxString_in_helper(obj1); | |
2767 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 2768 | temp2 = True; |
d14a1e28 RD |
2769 | } |
2770 | { | |
2771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2772 | (arg1)->SetTitle((wxString const &)*arg2); | |
2773 | ||
2774 | wxPyEndAllowThreads(__tstate); | |
2775 | if (PyErr_Occurred()) SWIG_fail; | |
2776 | } | |
2777 | Py_INCREF(Py_None); resultobj = Py_None; | |
2778 | { | |
2779 | if (temp2) | |
2780 | delete arg2; | |
2781 | } | |
2782 | return resultobj; | |
2783 | fail: | |
2784 | { | |
2785 | if (temp2) | |
2786 | delete arg2; | |
2787 | } | |
2788 | return NULL; | |
2789 | } | |
2790 | ||
2791 | ||
2792 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2793 | PyObject *resultobj; | |
2794 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2795 | wxString result; | |
2796 | PyObject * obj0 = 0 ; | |
2797 | char *kwnames[] = { | |
2798 | (char *) "self", NULL | |
2799 | }; | |
2800 | ||
2801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
2802 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2803 | { | |
2804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2805 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2806 | ||
2807 | wxPyEndAllowThreads(__tstate); | |
2808 | if (PyErr_Occurred()) SWIG_fail; | |
2809 | } | |
2810 | { | |
2811 | #if wxUSE_UNICODE | |
2812 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2813 | #else | |
2814 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2815 | #endif | |
2816 | } | |
2817 | return resultobj; | |
2818 | fail: | |
2819 | return NULL; | |
2820 | } | |
2821 | ||
2822 | ||
2823 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2824 | PyObject *resultobj; | |
2825 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2826 | wxRegion *arg2 = 0 ; | |
2827 | bool result; | |
2828 | PyObject * obj0 = 0 ; | |
2829 | PyObject * obj1 = 0 ; | |
2830 | char *kwnames[] = { | |
2831 | (char *) "self",(char *) "region", NULL | |
2832 | }; | |
2833 | ||
2834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
2835 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2836 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2837 | if (arg2 == NULL) { | |
2838 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2839 | } | |
2840 | { | |
2841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2842 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2843 | ||
2844 | wxPyEndAllowThreads(__tstate); | |
2845 | if (PyErr_Occurred()) SWIG_fail; | |
2846 | } | |
2847 | resultobj = PyInt_FromLong((long)result); | |
2848 | return resultobj; | |
2849 | fail: | |
2850 | return NULL; | |
2851 | } | |
2852 | ||
2853 | ||
2854 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2855 | PyObject *obj; | |
2856 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2857 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2858 | Py_INCREF(obj); | |
2859 | return Py_BuildValue((char *)""); | |
2860 | } | |
2861 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2862 | PyObject *resultobj; | |
2863 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 2864 | int arg2 ; |
d14a1e28 RD |
2865 | wxString *arg3 = 0 ; |
2866 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2867 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2868 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2869 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2870 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2871 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2872 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2873 | wxFrame *result; | |
423f194a | 2874 | bool temp3 = False ; |
d14a1e28 RD |
2875 | wxPoint temp4 ; |
2876 | wxSize temp5 ; | |
423f194a | 2877 | bool temp7 = False ; |
d14a1e28 RD |
2878 | PyObject * obj0 = 0 ; |
2879 | PyObject * obj2 = 0 ; | |
2880 | PyObject * obj3 = 0 ; | |
2881 | PyObject * obj4 = 0 ; | |
2882 | PyObject * obj6 = 0 ; | |
2883 | char *kwnames[] = { | |
2884 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2885 | }; | |
2886 | ||
2887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
2888 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2889 | { | |
2890 | arg3 = wxString_in_helper(obj2); | |
2891 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 2892 | temp3 = True; |
d14a1e28 RD |
2893 | } |
2894 | if (obj3) { | |
2895 | { | |
2896 | arg4 = &temp4; | |
2897 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2898 | } | |
2899 | } | |
2900 | if (obj4) { | |
2901 | { | |
2902 | arg5 = &temp5; | |
2903 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2904 | } | |
2905 | } | |
2906 | if (obj6) { | |
2907 | { | |
2908 | arg7 = wxString_in_helper(obj6); | |
2909 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 2910 | temp7 = True; |
d14a1e28 RD |
2911 | } |
2912 | } | |
2913 | { | |
2914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2915 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2916 | ||
2917 | wxPyEndAllowThreads(__tstate); | |
2918 | if (PyErr_Occurred()) SWIG_fail; | |
2919 | } | |
2920 | { | |
2921 | resultobj = wxPyMake_wxObject(result); | |
2922 | } | |
2923 | { | |
2924 | if (temp3) | |
2925 | delete arg3; | |
2926 | } | |
2927 | { | |
2928 | if (temp7) | |
2929 | delete arg7; | |
2930 | } | |
2931 | return resultobj; | |
2932 | fail: | |
2933 | { | |
2934 | if (temp3) | |
2935 | delete arg3; | |
2936 | } | |
2937 | { | |
2938 | if (temp7) | |
2939 | delete arg7; | |
2940 | } | |
2941 | return NULL; | |
2942 | } | |
2943 | ||
2944 | ||
2945 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2946 | PyObject *resultobj; | |
2947 | wxFrame *result; | |
2948 | char *kwnames[] = { | |
2949 | NULL | |
2950 | }; | |
2951 | ||
2952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
2953 | { | |
2954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2955 | result = (wxFrame *)new wxFrame(); | |
2956 | ||
2957 | wxPyEndAllowThreads(__tstate); | |
2958 | if (PyErr_Occurred()) SWIG_fail; | |
2959 | } | |
2960 | { | |
2961 | resultobj = wxPyMake_wxObject(result); | |
2962 | } | |
2963 | return resultobj; | |
2964 | fail: | |
2965 | return NULL; | |
2966 | } | |
2967 | ||
2968 | ||
2969 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2970 | PyObject *resultobj; | |
2971 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2972 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 2973 | int arg3 ; |
d14a1e28 RD |
2974 | wxString *arg4 = 0 ; |
2975 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
2976 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
2977 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
2978 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
2979 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
2980 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
2981 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
2982 | bool result; | |
423f194a | 2983 | bool temp4 = False ; |
d14a1e28 RD |
2984 | wxPoint temp5 ; |
2985 | wxSize temp6 ; | |
423f194a | 2986 | bool temp8 = False ; |
d14a1e28 RD |
2987 | PyObject * obj0 = 0 ; |
2988 | PyObject * obj1 = 0 ; | |
2989 | PyObject * obj3 = 0 ; | |
2990 | PyObject * obj4 = 0 ; | |
2991 | PyObject * obj5 = 0 ; | |
2992 | PyObject * obj7 = 0 ; | |
2993 | char *kwnames[] = { | |
2994 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2995 | }; | |
2996 | ||
2997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
2998 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2999 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3000 | { | |
3001 | arg4 = wxString_in_helper(obj3); | |
3002 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3003 | temp4 = True; |
d14a1e28 RD |
3004 | } |
3005 | if (obj4) { | |
3006 | { | |
3007 | arg5 = &temp5; | |
3008 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3009 | } | |
3010 | } | |
3011 | if (obj5) { | |
3012 | { | |
3013 | arg6 = &temp6; | |
3014 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3015 | } | |
3016 | } | |
3017 | if (obj7) { | |
3018 | { | |
3019 | arg8 = wxString_in_helper(obj7); | |
3020 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 3021 | temp8 = True; |
d14a1e28 RD |
3022 | } |
3023 | } | |
3024 | { | |
3025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3026 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3027 | ||
3028 | wxPyEndAllowThreads(__tstate); | |
3029 | if (PyErr_Occurred()) SWIG_fail; | |
3030 | } | |
3031 | resultobj = PyInt_FromLong((long)result); | |
3032 | { | |
3033 | if (temp4) | |
3034 | delete arg4; | |
3035 | } | |
3036 | { | |
3037 | if (temp8) | |
3038 | delete arg8; | |
3039 | } | |
3040 | return resultobj; | |
3041 | fail: | |
3042 | { | |
3043 | if (temp4) | |
3044 | delete arg4; | |
3045 | } | |
3046 | { | |
3047 | if (temp8) | |
3048 | delete arg8; | |
3049 | } | |
3050 | return NULL; | |
3051 | } | |
3052 | ||
3053 | ||
3054 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3055 | PyObject *resultobj; | |
3056 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3057 | wxPoint result; | |
3058 | PyObject * obj0 = 0 ; | |
3059 | char *kwnames[] = { | |
3060 | (char *) "self", NULL | |
3061 | }; | |
3062 | ||
3063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
3064 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3065 | { | |
3066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3067 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3068 | ||
3069 | wxPyEndAllowThreads(__tstate); | |
3070 | if (PyErr_Occurred()) SWIG_fail; | |
3071 | } | |
3072 | { | |
3073 | wxPoint * resultptr; | |
3074 | resultptr = new wxPoint((wxPoint &) result); | |
3075 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
3076 | } | |
3077 | return resultobj; | |
3078 | fail: | |
3079 | return NULL; | |
3080 | } | |
3081 | ||
3082 | ||
3083 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3084 | PyObject *resultobj; | |
3085 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3086 | PyObject * obj0 = 0 ; | |
3087 | char *kwnames[] = { | |
3088 | (char *) "self", NULL | |
3089 | }; | |
3090 | ||
3091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
3092 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3093 | { | |
3094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3095 | (arg1)->SendSizeEvent(); | |
3096 | ||
3097 | wxPyEndAllowThreads(__tstate); | |
3098 | if (PyErr_Occurred()) SWIG_fail; | |
3099 | } | |
3100 | Py_INCREF(Py_None); resultobj = Py_None; | |
3101 | return resultobj; | |
3102 | fail: | |
3103 | return NULL; | |
3104 | } | |
3105 | ||
3106 | ||
3107 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3108 | PyObject *resultobj; | |
3109 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3110 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3111 | PyObject * obj0 = 0 ; | |
3112 | PyObject * obj1 = 0 ; | |
3113 | char *kwnames[] = { | |
3114 | (char *) "self",(char *) "menubar", NULL | |
3115 | }; | |
3116 | ||
3117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
3118 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3119 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3120 | { | |
3121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3122 | (arg1)->SetMenuBar(arg2); | |
3123 | ||
3124 | wxPyEndAllowThreads(__tstate); | |
3125 | if (PyErr_Occurred()) SWIG_fail; | |
3126 | } | |
3127 | Py_INCREF(Py_None); resultobj = Py_None; | |
3128 | return resultobj; | |
3129 | fail: | |
3130 | return NULL; | |
3131 | } | |
3132 | ||
3133 | ||
3134 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3135 | PyObject *resultobj; | |
3136 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3137 | wxMenuBar *result; | |
3138 | PyObject * obj0 = 0 ; | |
3139 | char *kwnames[] = { | |
3140 | (char *) "self", NULL | |
3141 | }; | |
3142 | ||
3143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
3144 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3145 | { | |
3146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3147 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3148 | ||
3149 | wxPyEndAllowThreads(__tstate); | |
3150 | if (PyErr_Occurred()) SWIG_fail; | |
3151 | } | |
3152 | { | |
3153 | resultobj = wxPyMake_wxObject(result); | |
3154 | } | |
3155 | return resultobj; | |
3156 | fail: | |
3157 | return NULL; | |
3158 | } | |
3159 | ||
3160 | ||
3161 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3162 | PyObject *resultobj; | |
3163 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3164 | int arg2 ; | |
3165 | bool result; | |
3166 | PyObject * obj0 = 0 ; | |
3167 | char *kwnames[] = { | |
3168 | (char *) "self",(char *) "winid", NULL | |
3169 | }; | |
3170 | ||
3171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail; | |
3172 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3173 | { | |
3174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3175 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3176 | ||
3177 | wxPyEndAllowThreads(__tstate); | |
3178 | if (PyErr_Occurred()) SWIG_fail; | |
3179 | } | |
3180 | resultobj = PyInt_FromLong((long)result); | |
3181 | return resultobj; | |
3182 | fail: | |
3183 | return NULL; | |
3184 | } | |
3185 | ||
3186 | ||
3187 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3188 | PyObject *resultobj; | |
3189 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3190 | int arg2 = (int) 1 ; | |
3191 | long arg3 = (long) wxST_SIZEGRIP ; | |
423f194a | 3192 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3193 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3194 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3195 | wxStatusBar *result; | |
423f194a | 3196 | bool temp5 = False ; |
d14a1e28 RD |
3197 | PyObject * obj0 = 0 ; |
3198 | PyObject * obj4 = 0 ; | |
3199 | char *kwnames[] = { | |
3200 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3201 | }; | |
3202 | ||
3203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail; | |
3204 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3205 | if (obj4) { | |
3206 | { | |
3207 | arg5 = wxString_in_helper(obj4); | |
3208 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 3209 | temp5 = True; |
d14a1e28 RD |
3210 | } |
3211 | } | |
3212 | { | |
3213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3214 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3215 | ||
3216 | wxPyEndAllowThreads(__tstate); | |
3217 | if (PyErr_Occurred()) SWIG_fail; | |
3218 | } | |
3219 | { | |
3220 | resultobj = wxPyMake_wxObject(result); | |
3221 | } | |
3222 | { | |
3223 | if (temp5) | |
3224 | delete arg5; | |
3225 | } | |
3226 | return resultobj; | |
3227 | fail: | |
3228 | { | |
3229 | if (temp5) | |
3230 | delete arg5; | |
3231 | } | |
3232 | return NULL; | |
3233 | } | |
3234 | ||
3235 | ||
3236 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3237 | PyObject *resultobj; | |
3238 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3239 | wxStatusBar *result; | |
3240 | PyObject * obj0 = 0 ; | |
3241 | char *kwnames[] = { | |
3242 | (char *) "self", NULL | |
3243 | }; | |
3244 | ||
3245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
3246 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3247 | { | |
3248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3249 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3250 | ||
3251 | wxPyEndAllowThreads(__tstate); | |
3252 | if (PyErr_Occurred()) SWIG_fail; | |
3253 | } | |
3254 | { | |
3255 | resultobj = wxPyMake_wxObject(result); | |
3256 | } | |
3257 | return resultobj; | |
3258 | fail: | |
3259 | return NULL; | |
3260 | } | |
3261 | ||
3262 | ||
3263 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3264 | PyObject *resultobj; | |
3265 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3266 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3267 | PyObject * obj0 = 0 ; | |
3268 | PyObject * obj1 = 0 ; | |
3269 | char *kwnames[] = { | |
3270 | (char *) "self",(char *) "statBar", NULL | |
3271 | }; | |
3272 | ||
3273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
3274 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3275 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3276 | { | |
3277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3278 | (arg1)->SetStatusBar(arg2); | |
3279 | ||
3280 | wxPyEndAllowThreads(__tstate); | |
3281 | if (PyErr_Occurred()) SWIG_fail; | |
3282 | } | |
3283 | Py_INCREF(Py_None); resultobj = Py_None; | |
3284 | return resultobj; | |
3285 | fail: | |
3286 | return NULL; | |
3287 | } | |
3288 | ||
3289 | ||
3290 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3291 | PyObject *resultobj; | |
3292 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3293 | wxString *arg2 = 0 ; | |
3294 | int arg3 = (int) 0 ; | |
423f194a | 3295 | bool temp2 = False ; |
d14a1e28 RD |
3296 | PyObject * obj0 = 0 ; |
3297 | PyObject * obj1 = 0 ; | |
3298 | char *kwnames[] = { | |
3299 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3300 | }; | |
3301 | ||
3302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
3303 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3304 | { | |
3305 | arg2 = wxString_in_helper(obj1); | |
3306 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3307 | temp2 = True; |
d14a1e28 RD |
3308 | } |
3309 | { | |
3310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3311 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3312 | ||
3313 | wxPyEndAllowThreads(__tstate); | |
3314 | if (PyErr_Occurred()) SWIG_fail; | |
3315 | } | |
3316 | Py_INCREF(Py_None); resultobj = Py_None; | |
3317 | { | |
3318 | if (temp2) | |
3319 | delete arg2; | |
3320 | } | |
3321 | return resultobj; | |
3322 | fail: | |
3323 | { | |
3324 | if (temp2) | |
3325 | delete arg2; | |
3326 | } | |
3327 | return NULL; | |
3328 | } | |
3329 | ||
3330 | ||
3331 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3332 | PyObject *resultobj; | |
3333 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3334 | int arg2 ; | |
3335 | int *arg3 = (int *) 0 ; | |
3336 | PyObject * obj0 = 0 ; | |
3337 | PyObject * obj1 = 0 ; | |
3338 | char *kwnames[] = { | |
3339 | (char *) "self",(char *) "widths", NULL | |
3340 | }; | |
3341 | ||
3342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
3343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3344 | { | |
3345 | arg2 = PyList_Size(obj1); | |
3346 | arg3 = int_LIST_helper(obj1); | |
3347 | if (arg3 == NULL) SWIG_fail; | |
3348 | } | |
3349 | { | |
3350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3351 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3352 | ||
3353 | wxPyEndAllowThreads(__tstate); | |
3354 | if (PyErr_Occurred()) SWIG_fail; | |
3355 | } | |
3356 | Py_INCREF(Py_None); resultobj = Py_None; | |
3357 | { | |
3358 | if (arg3) delete [] arg3; | |
3359 | } | |
3360 | return resultobj; | |
3361 | fail: | |
3362 | { | |
3363 | if (arg3) delete [] arg3; | |
3364 | } | |
3365 | return NULL; | |
3366 | } | |
3367 | ||
3368 | ||
3369 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3370 | PyObject *resultobj; | |
3371 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3372 | wxString *arg2 = 0 ; | |
3373 | int arg3 = (int) 0 ; | |
423f194a | 3374 | bool temp2 = False ; |
d14a1e28 RD |
3375 | PyObject * obj0 = 0 ; |
3376 | PyObject * obj1 = 0 ; | |
3377 | char *kwnames[] = { | |
3378 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3379 | }; | |
3380 | ||
3381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
3382 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3383 | { | |
3384 | arg2 = wxString_in_helper(obj1); | |
3385 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3386 | temp2 = True; |
d14a1e28 RD |
3387 | } |
3388 | { | |
3389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3390 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3391 | ||
3392 | wxPyEndAllowThreads(__tstate); | |
3393 | if (PyErr_Occurred()) SWIG_fail; | |
3394 | } | |
3395 | Py_INCREF(Py_None); resultobj = Py_None; | |
3396 | { | |
3397 | if (temp2) | |
3398 | delete arg2; | |
3399 | } | |
3400 | return resultobj; | |
3401 | fail: | |
3402 | { | |
3403 | if (temp2) | |
3404 | delete arg2; | |
3405 | } | |
3406 | return NULL; | |
3407 | } | |
3408 | ||
3409 | ||
3410 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3411 | PyObject *resultobj; | |
3412 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3413 | int arg2 = (int) 0 ; | |
3414 | PyObject * obj0 = 0 ; | |
3415 | char *kwnames[] = { | |
3416 | (char *) "self",(char *) "number", NULL | |
3417 | }; | |
3418 | ||
3419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail; | |
3420 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3421 | { | |
3422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3423 | (arg1)->PopStatusText(arg2); | |
3424 | ||
3425 | wxPyEndAllowThreads(__tstate); | |
3426 | if (PyErr_Occurred()) SWIG_fail; | |
3427 | } | |
3428 | Py_INCREF(Py_None); resultobj = Py_None; | |
3429 | return resultobj; | |
3430 | fail: | |
3431 | return NULL; | |
3432 | } | |
3433 | ||
3434 | ||
3435 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3436 | PyObject *resultobj; | |
3437 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3438 | int arg2 ; | |
3439 | PyObject * obj0 = 0 ; | |
3440 | char *kwnames[] = { | |
3441 | (char *) "self",(char *) "n", NULL | |
3442 | }; | |
3443 | ||
3444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail; | |
3445 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3446 | { | |
3447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3448 | (arg1)->SetStatusBarPane(arg2); | |
3449 | ||
3450 | wxPyEndAllowThreads(__tstate); | |
3451 | if (PyErr_Occurred()) SWIG_fail; | |
3452 | } | |
3453 | Py_INCREF(Py_None); resultobj = Py_None; | |
3454 | return resultobj; | |
3455 | fail: | |
3456 | return NULL; | |
3457 | } | |
3458 | ||
3459 | ||
3460 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3461 | PyObject *resultobj; | |
3462 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3463 | int result; | |
3464 | PyObject * obj0 = 0 ; | |
3465 | char *kwnames[] = { | |
3466 | (char *) "self", NULL | |
3467 | }; | |
3468 | ||
3469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
3470 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3471 | { | |
3472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3473 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3474 | ||
3475 | wxPyEndAllowThreads(__tstate); | |
3476 | if (PyErr_Occurred()) SWIG_fail; | |
3477 | } | |
3478 | resultobj = PyInt_FromLong((long)result); | |
3479 | return resultobj; | |
3480 | fail: | |
3481 | return NULL; | |
3482 | } | |
3483 | ||
3484 | ||
3485 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3486 | PyObject *resultobj; | |
3487 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3488 | long arg2 = (long) -1 ; | |
423f194a | 3489 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3490 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3491 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3492 | wxToolBar *result; | |
423f194a | 3493 | bool temp4 = False ; |
d14a1e28 RD |
3494 | PyObject * obj0 = 0 ; |
3495 | PyObject * obj3 = 0 ; | |
3496 | char *kwnames[] = { | |
3497 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3498 | }; | |
3499 | ||
3500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
3501 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3502 | if (obj3) { | |
3503 | { | |
3504 | arg4 = wxString_in_helper(obj3); | |
3505 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3506 | temp4 = True; |
d14a1e28 RD |
3507 | } |
3508 | } | |
3509 | { | |
3510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3511 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3512 | ||
3513 | wxPyEndAllowThreads(__tstate); | |
3514 | if (PyErr_Occurred()) SWIG_fail; | |
3515 | } | |
3516 | { | |
3517 | resultobj = wxPyMake_wxObject(result); | |
3518 | } | |
3519 | { | |
3520 | if (temp4) | |
3521 | delete arg4; | |
3522 | } | |
3523 | return resultobj; | |
3524 | fail: | |
3525 | { | |
3526 | if (temp4) | |
3527 | delete arg4; | |
3528 | } | |
3529 | return NULL; | |
3530 | } | |
3531 | ||
3532 | ||
3533 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3534 | PyObject *resultobj; | |
3535 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3536 | wxToolBar *result; | |
3537 | PyObject * obj0 = 0 ; | |
3538 | char *kwnames[] = { | |
3539 | (char *) "self", NULL | |
3540 | }; | |
3541 | ||
3542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
3543 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3544 | { | |
3545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3546 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3547 | ||
3548 | wxPyEndAllowThreads(__tstate); | |
3549 | if (PyErr_Occurred()) SWIG_fail; | |
3550 | } | |
3551 | { | |
3552 | resultobj = wxPyMake_wxObject(result); | |
3553 | } | |
3554 | return resultobj; | |
3555 | fail: | |
3556 | return NULL; | |
3557 | } | |
3558 | ||
3559 | ||
3560 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3561 | PyObject *resultobj; | |
3562 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3563 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3564 | PyObject * obj0 = 0 ; | |
3565 | PyObject * obj1 = 0 ; | |
3566 | char *kwnames[] = { | |
3567 | (char *) "self",(char *) "toolbar", NULL | |
3568 | }; | |
3569 | ||
3570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
3571 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3572 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3573 | { | |
3574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3575 | (arg1)->SetToolBar(arg2); | |
3576 | ||
3577 | wxPyEndAllowThreads(__tstate); | |
3578 | if (PyErr_Occurred()) SWIG_fail; | |
3579 | } | |
3580 | Py_INCREF(Py_None); resultobj = Py_None; | |
3581 | return resultobj; | |
3582 | fail: | |
3583 | return NULL; | |
3584 | } | |
3585 | ||
3586 | ||
3587 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3588 | PyObject *resultobj; | |
3589 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3590 | wxString *arg2 = 0 ; | |
3591 | bool arg3 ; | |
423f194a | 3592 | bool temp2 = False ; |
d14a1e28 RD |
3593 | PyObject * obj0 = 0 ; |
3594 | PyObject * obj1 = 0 ; | |
3595 | PyObject * obj2 = 0 ; | |
3596 | char *kwnames[] = { | |
3597 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3598 | }; | |
3599 | ||
3600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3601 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3602 | { | |
3603 | arg2 = wxString_in_helper(obj1); | |
3604 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3605 | temp2 = True; |
d14a1e28 RD |
3606 | } |
3607 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
3608 | if (PyErr_Occurred()) SWIG_fail; | |
3609 | { | |
3610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3611 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3612 | ||
3613 | wxPyEndAllowThreads(__tstate); | |
3614 | if (PyErr_Occurred()) SWIG_fail; | |
3615 | } | |
3616 | Py_INCREF(Py_None); resultobj = Py_None; | |
3617 | { | |
3618 | if (temp2) | |
3619 | delete arg2; | |
3620 | } | |
3621 | return resultobj; | |
3622 | fail: | |
3623 | { | |
3624 | if (temp2) | |
3625 | delete arg2; | |
3626 | } | |
3627 | return NULL; | |
3628 | } | |
3629 | ||
3630 | ||
3631 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3632 | PyObject *resultobj; | |
3633 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3634 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3635 | PyObject * obj0 = 0 ; | |
3636 | PyObject * obj1 = 0 ; | |
3637 | char *kwnames[] = { | |
3638 | (char *) "self",(char *) "menu", NULL | |
3639 | }; | |
3640 | ||
3641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
3642 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3643 | if (obj1) { | |
3644 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3645 | } | |
3646 | { | |
3647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3648 | (arg1)->DoMenuUpdates(arg2); | |
3649 | ||
3650 | wxPyEndAllowThreads(__tstate); | |
3651 | if (PyErr_Occurred()) SWIG_fail; | |
3652 | } | |
3653 | Py_INCREF(Py_None); resultobj = Py_None; | |
3654 | return resultobj; | |
3655 | fail: | |
3656 | return NULL; | |
3657 | } | |
3658 | ||
3659 | ||
3660 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3661 | PyObject *obj; | |
3662 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3663 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3664 | Py_INCREF(obj); | |
3665 | return Py_BuildValue((char *)""); | |
3666 | } | |
3667 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3668 | PyObject *resultobj; | |
3669 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 3670 | int arg2 ; |
d14a1e28 RD |
3671 | wxString *arg3 = 0 ; |
3672 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3673 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3674 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3675 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3676 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3677 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3678 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3679 | wxDialog *result; | |
423f194a | 3680 | bool temp3 = False ; |
d14a1e28 RD |
3681 | wxPoint temp4 ; |
3682 | wxSize temp5 ; | |
423f194a | 3683 | bool temp7 = False ; |
d14a1e28 RD |
3684 | PyObject * obj0 = 0 ; |
3685 | PyObject * obj2 = 0 ; | |
3686 | PyObject * obj3 = 0 ; | |
3687 | PyObject * obj4 = 0 ; | |
3688 | PyObject * obj6 = 0 ; | |
3689 | char *kwnames[] = { | |
3690 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3691 | }; | |
3692 | ||
3693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
3694 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3695 | { | |
3696 | arg3 = wxString_in_helper(obj2); | |
3697 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 3698 | temp3 = True; |
d14a1e28 RD |
3699 | } |
3700 | if (obj3) { | |
3701 | { | |
3702 | arg4 = &temp4; | |
3703 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3704 | } | |
3705 | } | |
3706 | if (obj4) { | |
3707 | { | |
3708 | arg5 = &temp5; | |
3709 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3710 | } | |
3711 | } | |
3712 | if (obj6) { | |
3713 | { | |
3714 | arg7 = wxString_in_helper(obj6); | |
3715 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 3716 | temp7 = True; |
d14a1e28 RD |
3717 | } |
3718 | } | |
3719 | { | |
3720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3721 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3722 | ||
3723 | wxPyEndAllowThreads(__tstate); | |
3724 | if (PyErr_Occurred()) SWIG_fail; | |
3725 | } | |
3726 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1); | |
3727 | { | |
3728 | if (temp3) | |
3729 | delete arg3; | |
3730 | } | |
3731 | { | |
3732 | if (temp7) | |
3733 | delete arg7; | |
3734 | } | |
3735 | return resultobj; | |
3736 | fail: | |
3737 | { | |
3738 | if (temp3) | |
3739 | delete arg3; | |
3740 | } | |
3741 | { | |
3742 | if (temp7) | |
3743 | delete arg7; | |
3744 | } | |
3745 | return NULL; | |
3746 | } | |
3747 | ||
3748 | ||
3749 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3750 | PyObject *resultobj; | |
3751 | wxDialog *result; | |
3752 | char *kwnames[] = { | |
3753 | NULL | |
3754 | }; | |
3755 | ||
3756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3757 | { | |
3758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3759 | result = (wxDialog *)new wxDialog(); | |
3760 | ||
3761 | wxPyEndAllowThreads(__tstate); | |
3762 | if (PyErr_Occurred()) SWIG_fail; | |
3763 | } | |
3764 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1); | |
3765 | return resultobj; | |
3766 | fail: | |
3767 | return NULL; | |
3768 | } | |
3769 | ||
3770 | ||
3771 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3772 | PyObject *resultobj; | |
3773 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3774 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 3775 | int arg3 ; |
d14a1e28 RD |
3776 | wxString *arg4 = 0 ; |
3777 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3778 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3779 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3780 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3781 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3782 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3783 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3784 | bool result; | |
423f194a | 3785 | bool temp4 = False ; |
d14a1e28 RD |
3786 | wxPoint temp5 ; |
3787 | wxSize temp6 ; | |
423f194a | 3788 | bool temp8 = False ; |
d14a1e28 RD |
3789 | PyObject * obj0 = 0 ; |
3790 | PyObject * obj1 = 0 ; | |
3791 | PyObject * obj3 = 0 ; | |
3792 | PyObject * obj4 = 0 ; | |
3793 | PyObject * obj5 = 0 ; | |
3794 | PyObject * obj7 = 0 ; | |
3795 | char *kwnames[] = { | |
3796 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3797 | }; | |
3798 | ||
3799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
3800 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3801 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3802 | { | |
3803 | arg4 = wxString_in_helper(obj3); | |
3804 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3805 | temp4 = True; |
d14a1e28 RD |
3806 | } |
3807 | if (obj4) { | |
3808 | { | |
3809 | arg5 = &temp5; | |
3810 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3811 | } | |
3812 | } | |
3813 | if (obj5) { | |
3814 | { | |
3815 | arg6 = &temp6; | |
3816 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3817 | } | |
3818 | } | |
3819 | if (obj7) { | |
3820 | { | |
3821 | arg8 = wxString_in_helper(obj7); | |
3822 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 3823 | temp8 = True; |
d14a1e28 RD |
3824 | } |
3825 | } | |
3826 | { | |
3827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3828 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3829 | ||
3830 | wxPyEndAllowThreads(__tstate); | |
3831 | if (PyErr_Occurred()) SWIG_fail; | |
3832 | } | |
3833 | resultobj = PyInt_FromLong((long)result); | |
3834 | { | |
3835 | if (temp4) | |
3836 | delete arg4; | |
3837 | } | |
3838 | { | |
3839 | if (temp8) | |
3840 | delete arg8; | |
3841 | } | |
3842 | return resultobj; | |
3843 | fail: | |
3844 | { | |
3845 | if (temp4) | |
3846 | delete arg4; | |
3847 | } | |
3848 | { | |
3849 | if (temp8) | |
3850 | delete arg8; | |
3851 | } | |
3852 | return NULL; | |
3853 | } | |
3854 | ||
3855 | ||
3856 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3857 | PyObject *resultobj; | |
3858 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3859 | int arg2 ; | |
3860 | PyObject * obj0 = 0 ; | |
3861 | char *kwnames[] = { | |
3862 | (char *) "self",(char *) "returnCode", NULL | |
3863 | }; | |
3864 | ||
3865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail; | |
3866 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3867 | { | |
3868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3869 | (arg1)->SetReturnCode(arg2); | |
3870 | ||
3871 | wxPyEndAllowThreads(__tstate); | |
3872 | if (PyErr_Occurred()) SWIG_fail; | |
3873 | } | |
3874 | Py_INCREF(Py_None); resultobj = Py_None; | |
3875 | return resultobj; | |
3876 | fail: | |
3877 | return NULL; | |
3878 | } | |
3879 | ||
3880 | ||
3881 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3882 | PyObject *resultobj; | |
3883 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3884 | int result; | |
3885 | PyObject * obj0 = 0 ; | |
3886 | char *kwnames[] = { | |
3887 | (char *) "self", NULL | |
3888 | }; | |
3889 | ||
3890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
3891 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3892 | { | |
3893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3894 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
3895 | ||
3896 | wxPyEndAllowThreads(__tstate); | |
3897 | if (PyErr_Occurred()) SWIG_fail; | |
3898 | } | |
3899 | resultobj = PyInt_FromLong((long)result); | |
3900 | return resultobj; | |
3901 | fail: | |
3902 | return NULL; | |
3903 | } | |
3904 | ||
3905 | ||
3906 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3907 | PyObject *resultobj; | |
3908 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3909 | wxString *arg2 = 0 ; | |
3910 | wxSizer *result; | |
423f194a | 3911 | bool temp2 = False ; |
d14a1e28 RD |
3912 | PyObject * obj0 = 0 ; |
3913 | PyObject * obj1 = 0 ; | |
3914 | char *kwnames[] = { | |
3915 | (char *) "self",(char *) "message", NULL | |
3916 | }; | |
3917 | ||
3918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
3919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3920 | { | |
3921 | arg2 = wxString_in_helper(obj1); | |
3922 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3923 | temp2 = True; |
d14a1e28 RD |
3924 | } |
3925 | { | |
3926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3927 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
3928 | ||
3929 | wxPyEndAllowThreads(__tstate); | |
3930 | if (PyErr_Occurred()) SWIG_fail; | |
3931 | } | |
3932 | { | |
3933 | resultobj = wxPyMake_wxSizer(result); | |
3934 | } | |
3935 | { | |
3936 | if (temp2) | |
3937 | delete arg2; | |
3938 | } | |
3939 | return resultobj; | |
3940 | fail: | |
3941 | { | |
3942 | if (temp2) | |
3943 | delete arg2; | |
3944 | } | |
3945 | return NULL; | |
3946 | } | |
3947 | ||
3948 | ||
3949 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3950 | PyObject *resultobj; | |
3951 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3952 | long arg2 ; | |
3953 | wxSizer *result; | |
3954 | PyObject * obj0 = 0 ; | |
3955 | char *kwnames[] = { | |
3956 | (char *) "self",(char *) "flags", NULL | |
3957 | }; | |
3958 | ||
3959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail; | |
3960 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3961 | { | |
3962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3963 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
3964 | ||
3965 | wxPyEndAllowThreads(__tstate); | |
3966 | if (PyErr_Occurred()) SWIG_fail; | |
3967 | } | |
3968 | { | |
3969 | resultobj = wxPyMake_wxSizer(result); | |
3970 | } | |
3971 | return resultobj; | |
3972 | fail: | |
3973 | return NULL; | |
3974 | } | |
3975 | ||
3976 | ||
3977 | static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3978 | PyObject *resultobj; | |
3979 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3980 | bool arg2 ; | |
3981 | PyObject * obj0 = 0 ; | |
3982 | PyObject * obj1 = 0 ; | |
3983 | char *kwnames[] = { | |
3984 | (char *) "self",(char *) "flag", NULL | |
3985 | }; | |
3986 | ||
3987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail; | |
3988 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3989 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3990 | if (PyErr_Occurred()) SWIG_fail; | |
3991 | { | |
3992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3993 | (arg1)->SetModal(arg2); | |
3994 | ||
3995 | wxPyEndAllowThreads(__tstate); | |
3996 | if (PyErr_Occurred()) SWIG_fail; | |
3997 | } | |
3998 | Py_INCREF(Py_None); resultobj = Py_None; | |
3999 | return resultobj; | |
4000 | fail: | |
4001 | return NULL; | |
4002 | } | |
4003 | ||
4004 | ||
4005 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4006 | PyObject *resultobj; | |
4007 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4008 | bool result; | |
4009 | PyObject * obj0 = 0 ; | |
4010 | char *kwnames[] = { | |
4011 | (char *) "self", NULL | |
4012 | }; | |
4013 | ||
4014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
4015 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4016 | { | |
4017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4018 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4019 | ||
4020 | wxPyEndAllowThreads(__tstate); | |
4021 | if (PyErr_Occurred()) SWIG_fail; | |
4022 | } | |
4023 | resultobj = PyInt_FromLong((long)result); | |
4024 | return resultobj; | |
4025 | fail: | |
4026 | return NULL; | |
4027 | } | |
4028 | ||
4029 | ||
4030 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4031 | PyObject *resultobj; | |
4032 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4033 | int result; | |
4034 | PyObject * obj0 = 0 ; | |
4035 | char *kwnames[] = { | |
4036 | (char *) "self", NULL | |
4037 | }; | |
4038 | ||
4039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
4040 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4041 | { | |
4042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4043 | result = (int)(arg1)->ShowModal(); | |
4044 | ||
4045 | wxPyEndAllowThreads(__tstate); | |
4046 | if (PyErr_Occurred()) SWIG_fail; | |
4047 | } | |
4048 | resultobj = PyInt_FromLong((long)result); | |
4049 | return resultobj; | |
4050 | fail: | |
4051 | return NULL; | |
4052 | } | |
4053 | ||
4054 | ||
4055 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4056 | PyObject *resultobj; | |
4057 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4058 | int arg2 ; | |
4059 | PyObject * obj0 = 0 ; | |
4060 | char *kwnames[] = { | |
4061 | (char *) "self",(char *) "retCode", NULL | |
4062 | }; | |
4063 | ||
4064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail; | |
4065 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4066 | { | |
4067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4068 | (arg1)->EndModal(arg2); | |
4069 | ||
4070 | wxPyEndAllowThreads(__tstate); | |
4071 | if (PyErr_Occurred()) SWIG_fail; | |
4072 | } | |
4073 | Py_INCREF(Py_None); resultobj = Py_None; | |
4074 | return resultobj; | |
4075 | fail: | |
4076 | return NULL; | |
4077 | } | |
4078 | ||
4079 | ||
4080 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4081 | PyObject *resultobj; | |
4082 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4083 | bool result; | |
4084 | PyObject * obj0 = 0 ; | |
4085 | char *kwnames[] = { | |
4086 | (char *) "self", NULL | |
4087 | }; | |
4088 | ||
4089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
4090 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4091 | { | |
4092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4093 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4094 | ||
4095 | wxPyEndAllowThreads(__tstate); | |
4096 | if (PyErr_Occurred()) SWIG_fail; | |
4097 | } | |
4098 | resultobj = PyInt_FromLong((long)result); | |
4099 | return resultobj; | |
4100 | fail: | |
4101 | return NULL; | |
4102 | } | |
4103 | ||
4104 | ||
4105 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
4106 | PyObject *obj; | |
4107 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4108 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4109 | Py_INCREF(obj); | |
4110 | return Py_BuildValue((char *)""); | |
4111 | } | |
4112 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4113 | PyObject *resultobj; | |
4114 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 4115 | int arg2 ; |
d14a1e28 RD |
4116 | wxString *arg3 = 0 ; |
4117 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4118 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4119 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4120 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4121 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4122 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4123 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4124 | wxMiniFrame *result; | |
423f194a | 4125 | bool temp3 = False ; |
d14a1e28 RD |
4126 | wxPoint temp4 ; |
4127 | wxSize temp5 ; | |
423f194a | 4128 | bool temp7 = False ; |
d14a1e28 RD |
4129 | PyObject * obj0 = 0 ; |
4130 | PyObject * obj2 = 0 ; | |
4131 | PyObject * obj3 = 0 ; | |
4132 | PyObject * obj4 = 0 ; | |
4133 | PyObject * obj6 = 0 ; | |
4134 | char *kwnames[] = { | |
4135 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4136 | }; | |
4137 | ||
4138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
4139 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4140 | { | |
4141 | arg3 = wxString_in_helper(obj2); | |
4142 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 4143 | temp3 = True; |
d14a1e28 RD |
4144 | } |
4145 | if (obj3) { | |
4146 | { | |
4147 | arg4 = &temp4; | |
4148 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4149 | } | |
4150 | } | |
4151 | if (obj4) { | |
4152 | { | |
4153 | arg5 = &temp5; | |
4154 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4155 | } | |
4156 | } | |
4157 | if (obj6) { | |
4158 | { | |
4159 | arg7 = wxString_in_helper(obj6); | |
4160 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 4161 | temp7 = True; |
d14a1e28 RD |
4162 | } |
4163 | } | |
4164 | { | |
4165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4166 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4167 | ||
4168 | wxPyEndAllowThreads(__tstate); | |
4169 | if (PyErr_Occurred()) SWIG_fail; | |
4170 | } | |
4171 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1); | |
4172 | { | |
4173 | if (temp3) | |
4174 | delete arg3; | |
4175 | } | |
4176 | { | |
4177 | if (temp7) | |
4178 | delete arg7; | |
4179 | } | |
4180 | return resultobj; | |
4181 | fail: | |
4182 | { | |
4183 | if (temp3) | |
4184 | delete arg3; | |
4185 | } | |
4186 | { | |
4187 | if (temp7) | |
4188 | delete arg7; | |
4189 | } | |
4190 | return NULL; | |
4191 | } | |
4192 | ||
4193 | ||
4194 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4195 | PyObject *resultobj; | |
4196 | wxMiniFrame *result; | |
4197 | char *kwnames[] = { | |
4198 | NULL | |
4199 | }; | |
4200 | ||
4201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4202 | { | |
4203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4204 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4205 | ||
4206 | wxPyEndAllowThreads(__tstate); | |
4207 | if (PyErr_Occurred()) SWIG_fail; | |
4208 | } | |
4209 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1); | |
4210 | return resultobj; | |
4211 | fail: | |
4212 | return NULL; | |
4213 | } | |
4214 | ||
4215 | ||
4216 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4217 | PyObject *resultobj; | |
4218 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4219 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4220 | int arg3 ; |
d14a1e28 RD |
4221 | wxString *arg4 = 0 ; |
4222 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4223 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4224 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4225 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4226 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4227 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4228 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4229 | bool result; | |
423f194a | 4230 | bool temp4 = False ; |
d14a1e28 RD |
4231 | wxPoint temp5 ; |
4232 | wxSize temp6 ; | |
423f194a | 4233 | bool temp8 = False ; |
d14a1e28 RD |
4234 | PyObject * obj0 = 0 ; |
4235 | PyObject * obj1 = 0 ; | |
4236 | PyObject * obj3 = 0 ; | |
4237 | PyObject * obj4 = 0 ; | |
4238 | PyObject * obj5 = 0 ; | |
4239 | PyObject * obj7 = 0 ; | |
4240 | char *kwnames[] = { | |
4241 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4242 | }; | |
4243 | ||
4244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
4245 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4246 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4247 | { | |
4248 | arg4 = wxString_in_helper(obj3); | |
4249 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 4250 | temp4 = True; |
d14a1e28 RD |
4251 | } |
4252 | if (obj4) { | |
4253 | { | |
4254 | arg5 = &temp5; | |
4255 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4256 | } | |
4257 | } | |
4258 | if (obj5) { | |
4259 | { | |
4260 | arg6 = &temp6; | |
4261 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4262 | } | |
4263 | } | |
4264 | if (obj7) { | |
4265 | { | |
4266 | arg8 = wxString_in_helper(obj7); | |
4267 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 4268 | temp8 = True; |
d14a1e28 RD |
4269 | } |
4270 | } | |
4271 | { | |
4272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4273 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4274 | ||
4275 | wxPyEndAllowThreads(__tstate); | |
4276 | if (PyErr_Occurred()) SWIG_fail; | |
4277 | } | |
4278 | resultobj = PyInt_FromLong((long)result); | |
4279 | { | |
4280 | if (temp4) | |
4281 | delete arg4; | |
4282 | } | |
4283 | { | |
4284 | if (temp8) | |
4285 | delete arg8; | |
4286 | } | |
4287 | return resultobj; | |
4288 | fail: | |
4289 | { | |
4290 | if (temp4) | |
4291 | delete arg4; | |
4292 | } | |
4293 | { | |
4294 | if (temp8) | |
4295 | delete arg8; | |
4296 | } | |
4297 | return NULL; | |
4298 | } | |
4299 | ||
4300 | ||
4301 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4302 | PyObject *obj; | |
4303 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4304 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4305 | Py_INCREF(obj); | |
4306 | return Py_BuildValue((char *)""); | |
4307 | } | |
4308 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4309 | PyObject *resultobj; | |
4310 | wxBitmap *arg1 = 0 ; | |
4311 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4312 | int arg3 ; |
d14a1e28 RD |
4313 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4314 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4315 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4316 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4317 | long arg6 = (long) wxNO_BORDER ; | |
4318 | wxSplashScreenWindow *result; | |
4319 | wxPoint temp4 ; | |
4320 | wxSize temp5 ; | |
4321 | PyObject * obj0 = 0 ; | |
4322 | PyObject * obj1 = 0 ; | |
4323 | PyObject * obj3 = 0 ; | |
4324 | PyObject * obj4 = 0 ; | |
4325 | char *kwnames[] = { | |
4326 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4327 | }; | |
4328 | ||
4329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail; | |
4330 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4331 | if (arg1 == NULL) { | |
4332 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4333 | } | |
4334 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4335 | if (obj3) { | |
4336 | { | |
4337 | arg4 = &temp4; | |
4338 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4339 | } | |
4340 | } | |
4341 | if (obj4) { | |
4342 | { | |
4343 | arg5 = &temp5; | |
4344 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4345 | } | |
4346 | } | |
4347 | { | |
4348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4349 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4350 | ||
4351 | wxPyEndAllowThreads(__tstate); | |
4352 | if (PyErr_Occurred()) SWIG_fail; | |
4353 | } | |
4354 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1); | |
4355 | return resultobj; | |
4356 | fail: | |
4357 | return NULL; | |
4358 | } | |
4359 | ||
4360 | ||
4361 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4362 | PyObject *resultobj; | |
4363 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4364 | wxBitmap *arg2 = 0 ; | |
4365 | PyObject * obj0 = 0 ; | |
4366 | PyObject * obj1 = 0 ; | |
4367 | char *kwnames[] = { | |
4368 | (char *) "self",(char *) "bitmap", NULL | |
4369 | }; | |
4370 | ||
4371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
4372 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4373 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4374 | if (arg2 == NULL) { | |
4375 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4376 | } | |
4377 | { | |
4378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4379 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4380 | ||
4381 | wxPyEndAllowThreads(__tstate); | |
4382 | if (PyErr_Occurred()) SWIG_fail; | |
4383 | } | |
4384 | Py_INCREF(Py_None); resultobj = Py_None; | |
4385 | return resultobj; | |
4386 | fail: | |
4387 | return NULL; | |
4388 | } | |
4389 | ||
4390 | ||
4391 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4392 | PyObject *resultobj; | |
4393 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4394 | wxBitmap *result; | |
4395 | PyObject * obj0 = 0 ; | |
4396 | char *kwnames[] = { | |
4397 | (char *) "self", NULL | |
4398 | }; | |
4399 | ||
4400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
4401 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4402 | { | |
4403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4404 | { | |
4405 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4406 | result = (wxBitmap *) &_result_ref; | |
4407 | } | |
4408 | ||
4409 | wxPyEndAllowThreads(__tstate); | |
4410 | if (PyErr_Occurred()) SWIG_fail; | |
4411 | } | |
4412 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0); | |
4413 | return resultobj; | |
4414 | fail: | |
4415 | return NULL; | |
4416 | } | |
4417 | ||
4418 | ||
4419 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4420 | PyObject *obj; | |
4421 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4422 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4423 | Py_INCREF(obj); | |
4424 | return Py_BuildValue((char *)""); | |
4425 | } | |
4426 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4427 | PyObject *resultobj; | |
4428 | wxBitmap *arg1 = 0 ; | |
4429 | long arg2 ; | |
4430 | int arg3 ; | |
4431 | wxWindow *arg4 = (wxWindow *) 0 ; | |
423f194a | 4432 | int arg5 ; |
d14a1e28 RD |
4433 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4434 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4435 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4436 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4437 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4438 | wxSplashScreen *result; | |
4439 | wxPoint temp6 ; | |
4440 | wxSize temp7 ; | |
4441 | PyObject * obj0 = 0 ; | |
4442 | PyObject * obj3 = 0 ; | |
4443 | PyObject * obj5 = 0 ; | |
4444 | PyObject * obj6 = 0 ; | |
4445 | char *kwnames[] = { | |
4446 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4447 | }; | |
4448 | ||
4449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail; | |
4450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4451 | if (arg1 == NULL) { | |
4452 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4453 | } | |
4454 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4455 | if (obj5) { | |
4456 | { | |
4457 | arg6 = &temp6; | |
4458 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4459 | } | |
4460 | } | |
4461 | if (obj6) { | |
4462 | { | |
4463 | arg7 = &temp7; | |
4464 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4465 | } | |
4466 | } | |
4467 | { | |
4468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4469 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4470 | ||
4471 | wxPyEndAllowThreads(__tstate); | |
4472 | if (PyErr_Occurred()) SWIG_fail; | |
4473 | } | |
4474 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1); | |
4475 | return resultobj; | |
4476 | fail: | |
4477 | return NULL; | |
4478 | } | |
4479 | ||
4480 | ||
4481 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4482 | PyObject *resultobj; | |
4483 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4484 | long result; | |
4485 | PyObject * obj0 = 0 ; | |
4486 | char *kwnames[] = { | |
4487 | (char *) "self", NULL | |
4488 | }; | |
4489 | ||
4490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
4491 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4492 | { | |
4493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4494 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4495 | ||
4496 | wxPyEndAllowThreads(__tstate); | |
4497 | if (PyErr_Occurred()) SWIG_fail; | |
4498 | } | |
4499 | resultobj = PyInt_FromLong((long)result); | |
4500 | return resultobj; | |
4501 | fail: | |
4502 | return NULL; | |
4503 | } | |
4504 | ||
4505 | ||
4506 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4507 | PyObject *resultobj; | |
4508 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4509 | wxSplashScreenWindow *result; | |
4510 | PyObject * obj0 = 0 ; | |
4511 | char *kwnames[] = { | |
4512 | (char *) "self", NULL | |
4513 | }; | |
4514 | ||
4515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
4516 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4517 | { | |
4518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4519 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4520 | ||
4521 | wxPyEndAllowThreads(__tstate); | |
4522 | if (PyErr_Occurred()) SWIG_fail; | |
4523 | } | |
4524 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0); | |
4525 | return resultobj; | |
4526 | fail: | |
4527 | return NULL; | |
4528 | } | |
4529 | ||
4530 | ||
4531 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4532 | PyObject *resultobj; | |
4533 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4534 | int result; | |
4535 | PyObject * obj0 = 0 ; | |
4536 | char *kwnames[] = { | |
4537 | (char *) "self", NULL | |
4538 | }; | |
4539 | ||
4540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
4541 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4542 | { | |
4543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4544 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4545 | ||
4546 | wxPyEndAllowThreads(__tstate); | |
4547 | if (PyErr_Occurred()) SWIG_fail; | |
4548 | } | |
4549 | resultobj = PyInt_FromLong((long)result); | |
4550 | return resultobj; | |
4551 | fail: | |
4552 | return NULL; | |
4553 | } | |
4554 | ||
4555 | ||
4556 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4557 | PyObject *obj; | |
4558 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4559 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4560 | Py_INCREF(obj); | |
4561 | return Py_BuildValue((char *)""); | |
4562 | } | |
4563 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4564 | PyObject *resultobj; | |
4565 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 4566 | int arg2 = (int) -1 ; |
d14a1e28 RD |
4567 | long arg3 = (long) wxST_SIZEGRIP ; |
4568 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
4569 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4570 | wxStatusBar *result; | |
423f194a | 4571 | bool temp4 = False ; |
d14a1e28 RD |
4572 | PyObject * obj0 = 0 ; |
4573 | PyObject * obj3 = 0 ; | |
4574 | char *kwnames[] = { | |
4575 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4576 | }; | |
4577 | ||
4578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
4579 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4580 | if (obj3) { | |
4581 | { | |
4582 | arg4 = wxString_in_helper(obj3); | |
4583 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 4584 | temp4 = True; |
d14a1e28 RD |
4585 | } |
4586 | } | |
4587 | { | |
4588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4589 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4590 | ||
4591 | wxPyEndAllowThreads(__tstate); | |
4592 | if (PyErr_Occurred()) SWIG_fail; | |
4593 | } | |
4594 | { | |
4595 | resultobj = wxPyMake_wxObject(result); | |
4596 | } | |
4597 | { | |
4598 | if (temp4) | |
4599 | delete arg4; | |
4600 | } | |
4601 | return resultobj; | |
4602 | fail: | |
4603 | { | |
4604 | if (temp4) | |
4605 | delete arg4; | |
4606 | } | |
4607 | return NULL; | |
4608 | } | |
4609 | ||
4610 | ||
4611 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4612 | PyObject *resultobj; | |
4613 | wxStatusBar *result; | |
4614 | char *kwnames[] = { | |
4615 | NULL | |
4616 | }; | |
4617 | ||
4618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4619 | { | |
4620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4621 | result = (wxStatusBar *)new wxStatusBar(); | |
4622 | ||
4623 | wxPyEndAllowThreads(__tstate); | |
4624 | if (PyErr_Occurred()) SWIG_fail; | |
4625 | } | |
4626 | { | |
4627 | resultobj = wxPyMake_wxObject(result); | |
4628 | } | |
4629 | return resultobj; | |
4630 | fail: | |
4631 | return NULL; | |
4632 | } | |
4633 | ||
4634 | ||
4635 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4636 | PyObject *resultobj; | |
4637 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4638 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4639 | int arg3 ; |
d14a1e28 RD |
4640 | long arg4 = (long) wxST_SIZEGRIP ; |
4641 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4642 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4643 | bool result; | |
423f194a | 4644 | bool temp5 = False ; |
d14a1e28 RD |
4645 | PyObject * obj0 = 0 ; |
4646 | PyObject * obj1 = 0 ; | |
4647 | PyObject * obj4 = 0 ; | |
4648 | char *kwnames[] = { | |
4649 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4650 | }; | |
4651 | ||
4652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
4653 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4654 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4655 | if (obj4) { | |
4656 | { | |
4657 | arg5 = wxString_in_helper(obj4); | |
4658 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 4659 | temp5 = True; |
d14a1e28 RD |
4660 | } |
4661 | } | |
4662 | { | |
4663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4664 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4665 | ||
4666 | wxPyEndAllowThreads(__tstate); | |
4667 | if (PyErr_Occurred()) SWIG_fail; | |
4668 | } | |
4669 | resultobj = PyInt_FromLong((long)result); | |
4670 | { | |
4671 | if (temp5) | |
4672 | delete arg5; | |
4673 | } | |
4674 | return resultobj; | |
4675 | fail: | |
4676 | { | |
4677 | if (temp5) | |
4678 | delete arg5; | |
4679 | } | |
4680 | return NULL; | |
4681 | } | |
4682 | ||
4683 | ||
4684 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4685 | PyObject *resultobj; | |
4686 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4687 | int arg2 = (int) 1 ; | |
4688 | PyObject * obj0 = 0 ; | |
4689 | char *kwnames[] = { | |
4690 | (char *) "self",(char *) "number", NULL | |
4691 | }; | |
4692 | ||
4693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail; | |
4694 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4695 | { | |
4696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4697 | (arg1)->SetFieldsCount(arg2); | |
4698 | ||
4699 | wxPyEndAllowThreads(__tstate); | |
4700 | if (PyErr_Occurred()) SWIG_fail; | |
4701 | } | |
4702 | Py_INCREF(Py_None); resultobj = Py_None; | |
4703 | return resultobj; | |
4704 | fail: | |
4705 | return NULL; | |
4706 | } | |
4707 | ||
4708 | ||
4709 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4710 | PyObject *resultobj; | |
4711 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4712 | int result; | |
4713 | PyObject * obj0 = 0 ; | |
4714 | char *kwnames[] = { | |
4715 | (char *) "self", NULL | |
4716 | }; | |
4717 | ||
4718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
4719 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4720 | { | |
4721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4722 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
4723 | ||
4724 | wxPyEndAllowThreads(__tstate); | |
4725 | if (PyErr_Occurred()) SWIG_fail; | |
4726 | } | |
4727 | resultobj = PyInt_FromLong((long)result); | |
4728 | return resultobj; | |
4729 | fail: | |
4730 | return NULL; | |
4731 | } | |
4732 | ||
4733 | ||
4734 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4735 | PyObject *resultobj; | |
4736 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4737 | wxString *arg2 = 0 ; | |
4738 | int arg3 = (int) 0 ; | |
423f194a | 4739 | bool temp2 = False ; |
d14a1e28 RD |
4740 | PyObject * obj0 = 0 ; |
4741 | PyObject * obj1 = 0 ; | |
4742 | char *kwnames[] = { | |
4743 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4744 | }; | |
4745 | ||
4746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
4747 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4748 | { | |
4749 | arg2 = wxString_in_helper(obj1); | |
4750 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 4751 | temp2 = True; |
d14a1e28 RD |
4752 | } |
4753 | { | |
4754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4755 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
4756 | ||
4757 | wxPyEndAllowThreads(__tstate); | |
4758 | if (PyErr_Occurred()) SWIG_fail; | |
4759 | } | |
4760 | Py_INCREF(Py_None); resultobj = Py_None; | |
4761 | { | |
4762 | if (temp2) | |
4763 | delete arg2; | |
4764 | } | |
4765 | return resultobj; | |
4766 | fail: | |
4767 | { | |
4768 | if (temp2) | |
4769 | delete arg2; | |
4770 | } | |
4771 | return NULL; | |
4772 | } | |
4773 | ||
4774 | ||
4775 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4776 | PyObject *resultobj; | |
4777 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4778 | int arg2 = (int) 0 ; | |
4779 | wxString result; | |
4780 | PyObject * obj0 = 0 ; | |
4781 | char *kwnames[] = { | |
4782 | (char *) "self",(char *) "number", NULL | |
4783 | }; | |
4784 | ||
4785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail; | |
4786 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4787 | { | |
4788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4789 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
4790 | ||
4791 | wxPyEndAllowThreads(__tstate); | |
4792 | if (PyErr_Occurred()) SWIG_fail; | |
4793 | } | |
4794 | { | |
4795 | #if wxUSE_UNICODE | |
4796 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4797 | #else | |
4798 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4799 | #endif | |
4800 | } | |
4801 | return resultobj; | |
4802 | fail: | |
4803 | return NULL; | |
4804 | } | |
4805 | ||
4806 | ||
4807 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4808 | PyObject *resultobj; | |
4809 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4810 | wxString *arg2 = 0 ; | |
4811 | int arg3 = (int) 0 ; | |
423f194a | 4812 | bool temp2 = False ; |
d14a1e28 RD |
4813 | PyObject * obj0 = 0 ; |
4814 | PyObject * obj1 = 0 ; | |
4815 | char *kwnames[] = { | |
4816 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4817 | }; | |
4818 | ||
4819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
4820 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4821 | { | |
4822 | arg2 = wxString_in_helper(obj1); | |
4823 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 4824 | temp2 = True; |
d14a1e28 RD |
4825 | } |
4826 | { | |
4827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4828 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
4829 | ||
4830 | wxPyEndAllowThreads(__tstate); | |
4831 | if (PyErr_Occurred()) SWIG_fail; | |
4832 | } | |
4833 | Py_INCREF(Py_None); resultobj = Py_None; | |
4834 | { | |
4835 | if (temp2) | |
4836 | delete arg2; | |
4837 | } | |
4838 | return resultobj; | |
4839 | fail: | |
4840 | { | |
4841 | if (temp2) | |
4842 | delete arg2; | |
4843 | } | |
4844 | return NULL; | |
4845 | } | |
4846 | ||
4847 | ||
4848 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4849 | PyObject *resultobj; | |
4850 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4851 | int arg2 = (int) 0 ; | |
4852 | PyObject * obj0 = 0 ; | |
4853 | char *kwnames[] = { | |
4854 | (char *) "self",(char *) "number", NULL | |
4855 | }; | |
4856 | ||
4857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail; | |
4858 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4859 | { | |
4860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4861 | (arg1)->PopStatusText(arg2); | |
4862 | ||
4863 | wxPyEndAllowThreads(__tstate); | |
4864 | if (PyErr_Occurred()) SWIG_fail; | |
4865 | } | |
4866 | Py_INCREF(Py_None); resultobj = Py_None; | |
4867 | return resultobj; | |
4868 | fail: | |
4869 | return NULL; | |
4870 | } | |
4871 | ||
4872 | ||
4873 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4874 | PyObject *resultobj; | |
4875 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4876 | int arg2 ; | |
4877 | int *arg3 = (int *) 0 ; | |
4878 | PyObject * obj0 = 0 ; | |
4879 | PyObject * obj1 = 0 ; | |
4880 | char *kwnames[] = { | |
4881 | (char *) "self",(char *) "widths", NULL | |
4882 | }; | |
4883 | ||
4884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
4885 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4886 | { | |
4887 | arg2 = PyList_Size(obj1); | |
4888 | arg3 = int_LIST_helper(obj1); | |
4889 | if (arg3 == NULL) SWIG_fail; | |
4890 | } | |
4891 | { | |
4892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4893 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
4894 | ||
4895 | wxPyEndAllowThreads(__tstate); | |
4896 | if (PyErr_Occurred()) SWIG_fail; | |
4897 | } | |
4898 | Py_INCREF(Py_None); resultobj = Py_None; | |
4899 | { | |
4900 | if (arg3) delete [] arg3; | |
4901 | } | |
4902 | return resultobj; | |
4903 | fail: | |
4904 | { | |
4905 | if (arg3) delete [] arg3; | |
4906 | } | |
4907 | return NULL; | |
4908 | } | |
4909 | ||
4910 | ||
4911 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4912 | PyObject *resultobj; | |
4913 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4914 | int arg2 ; | |
44127b65 | 4915 | wxRect result; |
d14a1e28 | 4916 | PyObject * obj0 = 0 ; |
d14a1e28 | 4917 | char *kwnames[] = { |
44127b65 | 4918 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
4919 | }; |
4920 | ||
44127b65 | 4921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail; |
d14a1e28 | 4922 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
d14a1e28 RD |
4923 | { |
4924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 4925 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
4926 | |
4927 | wxPyEndAllowThreads(__tstate); | |
4928 | if (PyErr_Occurred()) SWIG_fail; | |
4929 | } | |
44127b65 RD |
4930 | { |
4931 | wxRect * resultptr; | |
4932 | resultptr = new wxRect((wxRect &) result); | |
4933 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
4934 | } | |
d14a1e28 RD |
4935 | return resultobj; |
4936 | fail: | |
4937 | return NULL; | |
4938 | } | |
4939 | ||
4940 | ||
4941 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4942 | PyObject *resultobj; | |
4943 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4944 | int arg2 ; | |
4945 | PyObject * obj0 = 0 ; | |
4946 | char *kwnames[] = { | |
4947 | (char *) "self",(char *) "height", NULL | |
4948 | }; | |
4949 | ||
4950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail; | |
4951 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4952 | { | |
4953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4954 | (arg1)->SetMinHeight(arg2); | |
4955 | ||
4956 | wxPyEndAllowThreads(__tstate); | |
4957 | if (PyErr_Occurred()) SWIG_fail; | |
4958 | } | |
4959 | Py_INCREF(Py_None); resultobj = Py_None; | |
4960 | return resultobj; | |
4961 | fail: | |
4962 | return NULL; | |
4963 | } | |
4964 | ||
4965 | ||
4966 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4967 | PyObject *resultobj; | |
4968 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4969 | int result; | |
4970 | PyObject * obj0 = 0 ; | |
4971 | char *kwnames[] = { | |
4972 | (char *) "self", NULL | |
4973 | }; | |
4974 | ||
4975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
4976 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4977 | { | |
4978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4979 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
4980 | ||
4981 | wxPyEndAllowThreads(__tstate); | |
4982 | if (PyErr_Occurred()) SWIG_fail; | |
4983 | } | |
4984 | resultobj = PyInt_FromLong((long)result); | |
4985 | return resultobj; | |
4986 | fail: | |
4987 | return NULL; | |
4988 | } | |
4989 | ||
4990 | ||
4991 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4992 | PyObject *resultobj; | |
4993 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4994 | int result; | |
4995 | PyObject * obj0 = 0 ; | |
4996 | char *kwnames[] = { | |
4997 | (char *) "self", NULL | |
4998 | }; | |
4999 | ||
5000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
5001 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5002 | { | |
5003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5004 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5005 | ||
5006 | wxPyEndAllowThreads(__tstate); | |
5007 | if (PyErr_Occurred()) SWIG_fail; | |
5008 | } | |
5009 | resultobj = PyInt_FromLong((long)result); | |
5010 | return resultobj; | |
5011 | fail: | |
5012 | return NULL; | |
5013 | } | |
5014 | ||
5015 | ||
5016 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
5017 | PyObject *obj; | |
5018 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5019 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5020 | Py_INCREF(obj); | |
5021 | return Py_BuildValue((char *)""); | |
5022 | } | |
5023 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5024 | PyObject *resultobj; | |
5025 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 5026 | int arg2 ; |
d14a1e28 RD |
5027 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5028 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5029 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5030 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5031 | long arg5 = (long) wxSP_3D ; | |
5032 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5033 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5034 | wxSplitterWindow *result; | |
5035 | wxPoint temp3 ; | |
5036 | wxSize temp4 ; | |
423f194a | 5037 | bool temp6 = False ; |
d14a1e28 RD |
5038 | PyObject * obj0 = 0 ; |
5039 | PyObject * obj2 = 0 ; | |
5040 | PyObject * obj3 = 0 ; | |
5041 | PyObject * obj5 = 0 ; | |
5042 | char *kwnames[] = { | |
5043 | (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL | |
5044 | }; | |
5045 | ||
5046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
5047 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5048 | if (obj2) { | |
5049 | { | |
5050 | arg3 = &temp3; | |
5051 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5052 | } | |
5053 | } | |
5054 | if (obj3) { | |
5055 | { | |
5056 | arg4 = &temp4; | |
5057 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5058 | } | |
5059 | } | |
5060 | if (obj5) { | |
5061 | { | |
5062 | arg6 = wxString_in_helper(obj5); | |
5063 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 5064 | temp6 = True; |
d14a1e28 RD |
5065 | } |
5066 | } | |
5067 | { | |
5068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5069 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5070 | ||
5071 | wxPyEndAllowThreads(__tstate); | |
5072 | if (PyErr_Occurred()) SWIG_fail; | |
5073 | } | |
5074 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1); | |
5075 | { | |
5076 | if (temp6) | |
5077 | delete arg6; | |
5078 | } | |
5079 | return resultobj; | |
5080 | fail: | |
5081 | { | |
5082 | if (temp6) | |
5083 | delete arg6; | |
5084 | } | |
5085 | return NULL; | |
5086 | } | |
5087 | ||
5088 | ||
5089 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5090 | PyObject *resultobj; | |
5091 | wxSplitterWindow *result; | |
5092 | char *kwnames[] = { | |
5093 | NULL | |
5094 | }; | |
5095 | ||
5096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5097 | { | |
5098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5099 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5100 | ||
5101 | wxPyEndAllowThreads(__tstate); | |
5102 | if (PyErr_Occurred()) SWIG_fail; | |
5103 | } | |
5104 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1); | |
5105 | return resultobj; | |
5106 | fail: | |
5107 | return NULL; | |
5108 | } | |
5109 | ||
5110 | ||
5111 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5112 | PyObject *resultobj; | |
5113 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5114 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 5115 | int arg3 ; |
d14a1e28 RD |
5116 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5117 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5118 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5119 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5120 | long arg6 = (long) wxSP_3D ; | |
5121 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5122 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5123 | bool result; | |
5124 | wxPoint temp4 ; | |
5125 | wxSize temp5 ; | |
423f194a | 5126 | bool temp7 = False ; |
d14a1e28 RD |
5127 | PyObject * obj0 = 0 ; |
5128 | PyObject * obj1 = 0 ; | |
5129 | PyObject * obj3 = 0 ; | |
5130 | PyObject * obj4 = 0 ; | |
5131 | PyObject * obj6 = 0 ; | |
5132 | char *kwnames[] = { | |
5133 | (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL | |
5134 | }; | |
5135 | ||
5136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
5137 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5138 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5139 | if (obj3) { | |
5140 | { | |
5141 | arg4 = &temp4; | |
5142 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5143 | } | |
5144 | } | |
5145 | if (obj4) { | |
5146 | { | |
5147 | arg5 = &temp5; | |
5148 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5149 | } | |
5150 | } | |
5151 | if (obj6) { | |
5152 | { | |
5153 | arg7 = wxString_in_helper(obj6); | |
5154 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 5155 | temp7 = True; |
d14a1e28 RD |
5156 | } |
5157 | } | |
5158 | { | |
5159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5160 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5161 | ||
5162 | wxPyEndAllowThreads(__tstate); | |
5163 | if (PyErr_Occurred()) SWIG_fail; | |
5164 | } | |
5165 | resultobj = PyInt_FromLong((long)result); | |
5166 | { | |
5167 | if (temp7) | |
5168 | delete arg7; | |
5169 | } | |
5170 | return resultobj; | |
5171 | fail: | |
5172 | { | |
5173 | if (temp7) | |
5174 | delete arg7; | |
5175 | } | |
5176 | return NULL; | |
5177 | } | |
5178 | ||
5179 | ||
5180 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5181 | PyObject *resultobj; | |
5182 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5183 | wxWindow *result; | |
5184 | PyObject * obj0 = 0 ; | |
5185 | char *kwnames[] = { | |
5186 | (char *) "self", NULL | |
5187 | }; | |
5188 | ||
5189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
5190 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5191 | { | |
5192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5193 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5194 | ||
5195 | wxPyEndAllowThreads(__tstate); | |
5196 | if (PyErr_Occurred()) SWIG_fail; | |
5197 | } | |
5198 | { | |
5199 | resultobj = wxPyMake_wxObject(result); | |
5200 | } | |
5201 | return resultobj; | |
5202 | fail: | |
5203 | return NULL; | |
5204 | } | |
5205 | ||
5206 | ||
5207 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5208 | PyObject *resultobj; | |
5209 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5210 | wxWindow *result; | |
5211 | PyObject * obj0 = 0 ; | |
5212 | char *kwnames[] = { | |
5213 | (char *) "self", NULL | |
5214 | }; | |
5215 | ||
5216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
5217 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5218 | { | |
5219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5220 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5221 | ||
5222 | wxPyEndAllowThreads(__tstate); | |
5223 | if (PyErr_Occurred()) SWIG_fail; | |
5224 | } | |
5225 | { | |
5226 | resultobj = wxPyMake_wxObject(result); | |
5227 | } | |
5228 | return resultobj; | |
5229 | fail: | |
5230 | return NULL; | |
5231 | } | |
5232 | ||
5233 | ||
5234 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5235 | PyObject *resultobj; | |
5236 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5237 | int arg2 ; | |
5238 | PyObject * obj0 = 0 ; | |
5239 | char *kwnames[] = { | |
5240 | (char *) "self",(char *) "mode", NULL | |
5241 | }; | |
5242 | ||
5243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail; | |
5244 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5245 | { | |
5246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5247 | (arg1)->SetSplitMode(arg2); | |
5248 | ||
5249 | wxPyEndAllowThreads(__tstate); | |
5250 | if (PyErr_Occurred()) SWIG_fail; | |
5251 | } | |
5252 | Py_INCREF(Py_None); resultobj = Py_None; | |
5253 | return resultobj; | |
5254 | fail: | |
5255 | return NULL; | |
5256 | } | |
5257 | ||
5258 | ||
5259 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5260 | PyObject *resultobj; | |
5261 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5262 | int result; | |
5263 | PyObject * obj0 = 0 ; | |
5264 | char *kwnames[] = { | |
5265 | (char *) "self", NULL | |
5266 | }; | |
5267 | ||
5268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
5269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5270 | { | |
5271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5272 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5273 | ||
5274 | wxPyEndAllowThreads(__tstate); | |
5275 | if (PyErr_Occurred()) SWIG_fail; | |
5276 | } | |
5277 | resultobj = PyInt_FromLong((long)result); | |
5278 | return resultobj; | |
5279 | fail: | |
5280 | return NULL; | |
5281 | } | |
5282 | ||
5283 | ||
5284 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5285 | PyObject *resultobj; | |
5286 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5287 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5288 | PyObject * obj0 = 0 ; | |
5289 | PyObject * obj1 = 0 ; | |
5290 | char *kwnames[] = { | |
5291 | (char *) "self",(char *) "window", NULL | |
5292 | }; | |
5293 | ||
5294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
5295 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5296 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5297 | { | |
5298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5299 | (arg1)->Initialize(arg2); | |
5300 | ||
5301 | wxPyEndAllowThreads(__tstate); | |
5302 | if (PyErr_Occurred()) SWIG_fail; | |
5303 | } | |
5304 | Py_INCREF(Py_None); resultobj = Py_None; | |
5305 | return resultobj; | |
5306 | fail: | |
5307 | return NULL; | |
5308 | } | |
5309 | ||
5310 | ||
5311 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5312 | PyObject *resultobj; | |
5313 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5314 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5315 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5316 | int arg4 = (int) 0 ; | |
5317 | bool result; | |
5318 | PyObject * obj0 = 0 ; | |
5319 | PyObject * obj1 = 0 ; | |
5320 | PyObject * obj2 = 0 ; | |
5321 | char *kwnames[] = { | |
5322 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5323 | }; | |
5324 | ||
5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
5326 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5327 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5328 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5329 | { | |
5330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5331 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5332 | ||
5333 | wxPyEndAllowThreads(__tstate); | |
5334 | if (PyErr_Occurred()) SWIG_fail; | |
5335 | } | |
5336 | resultobj = PyInt_FromLong((long)result); | |
5337 | return resultobj; | |
5338 | fail: | |
5339 | return NULL; | |
5340 | } | |
5341 | ||
5342 | ||
5343 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5344 | PyObject *resultobj; | |
5345 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5346 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5347 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5348 | int arg4 = (int) 0 ; | |
5349 | bool result; | |
5350 | PyObject * obj0 = 0 ; | |
5351 | PyObject * obj1 = 0 ; | |
5352 | PyObject * obj2 = 0 ; | |
5353 | char *kwnames[] = { | |
5354 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5355 | }; | |
5356 | ||
5357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
5358 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5359 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5360 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5361 | { | |
5362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5363 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5364 | ||
5365 | wxPyEndAllowThreads(__tstate); | |
5366 | if (PyErr_Occurred()) SWIG_fail; | |
5367 | } | |
5368 | resultobj = PyInt_FromLong((long)result); | |
5369 | return resultobj; | |
5370 | fail: | |
5371 | return NULL; | |
5372 | } | |
5373 | ||
5374 | ||
5375 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5376 | PyObject *resultobj; | |
5377 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5378 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5379 | bool result; | |
5380 | PyObject * obj0 = 0 ; | |
5381 | PyObject * obj1 = 0 ; | |
5382 | char *kwnames[] = { | |
5383 | (char *) "self",(char *) "toRemove", NULL | |
5384 | }; | |
5385 | ||
5386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
5387 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5388 | if (obj1) { | |
5389 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5390 | } | |
5391 | { | |
5392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5393 | result = (bool)(arg1)->Unsplit(arg2); | |
5394 | ||
5395 | wxPyEndAllowThreads(__tstate); | |
5396 | if (PyErr_Occurred()) SWIG_fail; | |
5397 | } | |
5398 | resultobj = PyInt_FromLong((long)result); | |
5399 | return resultobj; | |
5400 | fail: | |
5401 | return NULL; | |
5402 | } | |
5403 | ||
5404 | ||
5405 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5406 | PyObject *resultobj; | |
5407 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5408 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5409 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5410 | bool result; | |
5411 | PyObject * obj0 = 0 ; | |
5412 | PyObject * obj1 = 0 ; | |
5413 | PyObject * obj2 = 0 ; | |
5414 | char *kwnames[] = { | |
5415 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5416 | }; | |
5417 | ||
5418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5419 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5420 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5421 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5422 | { | |
5423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5424 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5425 | ||
5426 | wxPyEndAllowThreads(__tstate); | |
5427 | if (PyErr_Occurred()) SWIG_fail; | |
5428 | } | |
5429 | resultobj = PyInt_FromLong((long)result); | |
5430 | return resultobj; | |
5431 | fail: | |
5432 | return NULL; | |
5433 | } | |
5434 | ||
5435 | ||
5436 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5437 | PyObject *resultobj; | |
5438 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5439 | bool result; | |
5440 | PyObject * obj0 = 0 ; | |
5441 | char *kwnames[] = { | |
5442 | (char *) "self", NULL | |
5443 | }; | |
5444 | ||
5445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
5446 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5447 | { | |
5448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5449 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5450 | ||
5451 | wxPyEndAllowThreads(__tstate); | |
5452 | if (PyErr_Occurred()) SWIG_fail; | |
5453 | } | |
5454 | resultobj = PyInt_FromLong((long)result); | |
5455 | return resultobj; | |
5456 | fail: | |
5457 | return NULL; | |
5458 | } | |
5459 | ||
5460 | ||
5461 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5462 | PyObject *resultobj; | |
5463 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5464 | int arg2 ; | |
5465 | PyObject * obj0 = 0 ; | |
5466 | char *kwnames[] = { | |
5467 | (char *) "self",(char *) "width", NULL | |
5468 | }; | |
5469 | ||
5470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail; | |
5471 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5472 | { | |
5473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5474 | (arg1)->SetSashSize(arg2); | |
5475 | ||
5476 | wxPyEndAllowThreads(__tstate); | |
5477 | if (PyErr_Occurred()) SWIG_fail; | |
5478 | } | |
5479 | Py_INCREF(Py_None); resultobj = Py_None; | |
5480 | return resultobj; | |
5481 | fail: | |
5482 | return NULL; | |
5483 | } | |
5484 | ||
5485 | ||
5486 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5487 | PyObject *resultobj; | |
5488 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5489 | int arg2 ; | |
5490 | PyObject * obj0 = 0 ; | |
5491 | char *kwnames[] = { | |
5492 | (char *) "self",(char *) "width", NULL | |
5493 | }; | |
5494 | ||
5495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail; | |
5496 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5497 | { | |
5498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5499 | (arg1)->SetBorderSize(arg2); | |
5500 | ||
5501 | wxPyEndAllowThreads(__tstate); | |
5502 | if (PyErr_Occurred()) SWIG_fail; | |
5503 | } | |
5504 | Py_INCREF(Py_None); resultobj = Py_None; | |
5505 | return resultobj; | |
5506 | fail: | |
5507 | return NULL; | |
5508 | } | |
5509 | ||
5510 | ||
5511 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5512 | PyObject *resultobj; | |
5513 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5514 | int result; | |
5515 | PyObject * obj0 = 0 ; | |
5516 | char *kwnames[] = { | |
5517 | (char *) "self", NULL | |
5518 | }; | |
5519 | ||
5520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
5521 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5522 | { | |
5523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5524 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5525 | ||
5526 | wxPyEndAllowThreads(__tstate); | |
5527 | if (PyErr_Occurred()) SWIG_fail; | |
5528 | } | |
5529 | resultobj = PyInt_FromLong((long)result); | |
5530 | return resultobj; | |
5531 | fail: | |
5532 | return NULL; | |
5533 | } | |
5534 | ||
5535 | ||
5536 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5537 | PyObject *resultobj; | |
5538 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5539 | int result; | |
5540 | PyObject * obj0 = 0 ; | |
5541 | char *kwnames[] = { | |
5542 | (char *) "self", NULL | |
5543 | }; | |
5544 | ||
5545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
5546 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5547 | { | |
5548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5549 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5550 | ||
5551 | wxPyEndAllowThreads(__tstate); | |
5552 | if (PyErr_Occurred()) SWIG_fail; | |
5553 | } | |
5554 | resultobj = PyInt_FromLong((long)result); | |
5555 | return resultobj; | |
5556 | fail: | |
5557 | return NULL; | |
5558 | } | |
5559 | ||
5560 | ||
5561 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5562 | PyObject *resultobj; | |
5563 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5564 | int arg2 ; | |
423f194a | 5565 | bool arg3 = (bool) True ; |
d14a1e28 RD |
5566 | PyObject * obj0 = 0 ; |
5567 | PyObject * obj2 = 0 ; | |
5568 | char *kwnames[] = { | |
5569 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
5570 | }; | |
5571 | ||
5572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
5573 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5574 | if (obj2) { | |
5575 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
5576 | if (PyErr_Occurred()) SWIG_fail; | |
5577 | } | |
5578 | { | |
5579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5580 | (arg1)->SetSashPosition(arg2,arg3); | |
5581 | ||
5582 | wxPyEndAllowThreads(__tstate); | |
5583 | if (PyErr_Occurred()) SWIG_fail; | |
5584 | } | |
5585 | Py_INCREF(Py_None); resultobj = Py_None; | |
5586 | return resultobj; | |
5587 | fail: | |
5588 | return NULL; | |
5589 | } | |
5590 | ||
5591 | ||
5592 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5593 | PyObject *resultobj; | |
5594 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5595 | int result; | |
5596 | PyObject * obj0 = 0 ; | |
5597 | char *kwnames[] = { | |
5598 | (char *) "self", NULL | |
5599 | }; | |
5600 | ||
5601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
5602 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5603 | { | |
5604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5605 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
5606 | ||
5607 | wxPyEndAllowThreads(__tstate); | |
5608 | if (PyErr_Occurred()) SWIG_fail; | |
5609 | } | |
5610 | resultobj = PyInt_FromLong((long)result); | |
5611 | return resultobj; | |
5612 | fail: | |
5613 | return NULL; | |
5614 | } | |
5615 | ||
5616 | ||
5617 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5618 | PyObject *resultobj; | |
5619 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5620 | int arg2 ; | |
5621 | PyObject * obj0 = 0 ; | |
5622 | char *kwnames[] = { | |
5623 | (char *) "self",(char *) "min", NULL | |
5624 | }; | |
5625 | ||
5626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail; | |
5627 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5628 | { | |
5629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5630 | (arg1)->SetMinimumPaneSize(arg2); | |
5631 | ||
5632 | wxPyEndAllowThreads(__tstate); | |
5633 | if (PyErr_Occurred()) SWIG_fail; | |
5634 | } | |
5635 | Py_INCREF(Py_None); resultobj = Py_None; | |
5636 | return resultobj; | |
5637 | fail: | |
5638 | return NULL; | |
5639 | } | |
5640 | ||
5641 | ||
5642 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5643 | PyObject *resultobj; | |
5644 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5645 | int result; | |
5646 | PyObject * obj0 = 0 ; | |
5647 | char *kwnames[] = { | |
5648 | (char *) "self", NULL | |
5649 | }; | |
5650 | ||
5651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
5652 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5653 | { | |
5654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5655 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
5656 | ||
5657 | wxPyEndAllowThreads(__tstate); | |
5658 | if (PyErr_Occurred()) SWIG_fail; | |
5659 | } | |
5660 | resultobj = PyInt_FromLong((long)result); | |
5661 | return resultobj; | |
5662 | fail: | |
5663 | return NULL; | |
5664 | } | |
5665 | ||
5666 | ||
5667 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5668 | PyObject *resultobj; | |
5669 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5670 | int arg2 ; | |
5671 | int arg3 ; | |
5672 | int arg4 = (int) 5 ; | |
5673 | bool result; | |
5674 | PyObject * obj0 = 0 ; | |
5675 | char *kwnames[] = { | |
5676 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
5677 | }; | |
5678 | ||
5679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
5680 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5681 | { | |
5682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5683 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
5684 | ||
5685 | wxPyEndAllowThreads(__tstate); | |
5686 | if (PyErr_Occurred()) SWIG_fail; | |
5687 | } | |
5688 | resultobj = PyInt_FromLong((long)result); | |
5689 | return resultobj; | |
5690 | fail: | |
5691 | return NULL; | |
5692 | } | |
5693 | ||
5694 | ||
5695 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5696 | PyObject *resultobj; | |
5697 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5698 | PyObject * obj0 = 0 ; | |
5699 | char *kwnames[] = { | |
5700 | (char *) "self", NULL | |
5701 | }; | |
5702 | ||
5703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
5704 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5705 | { | |
5706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5707 | (arg1)->SizeWindows(); | |
5708 | ||
5709 | wxPyEndAllowThreads(__tstate); | |
5710 | if (PyErr_Occurred()) SWIG_fail; | |
5711 | } | |
5712 | Py_INCREF(Py_None); resultobj = Py_None; | |
5713 | return resultobj; | |
5714 | fail: | |
5715 | return NULL; | |
5716 | } | |
5717 | ||
5718 | ||
5719 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5720 | PyObject *resultobj; | |
5721 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5722 | bool arg2 ; | |
5723 | PyObject * obj0 = 0 ; | |
5724 | PyObject * obj1 = 0 ; | |
5725 | char *kwnames[] = { | |
5726 | (char *) "self",(char *) "needUpdating", NULL | |
5727 | }; | |
5728 | ||
5729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
5730 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5731 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
5732 | if (PyErr_Occurred()) SWIG_fail; | |
5733 | { | |
5734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5735 | (arg1)->SetNeedUpdating(arg2); | |
5736 | ||
5737 | wxPyEndAllowThreads(__tstate); | |
5738 | if (PyErr_Occurred()) SWIG_fail; | |
5739 | } | |
5740 | Py_INCREF(Py_None); resultobj = Py_None; | |
5741 | return resultobj; | |
5742 | fail: | |
5743 | return NULL; | |
5744 | } | |
5745 | ||
5746 | ||
5747 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5748 | PyObject *resultobj; | |
5749 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5750 | bool result; | |
5751 | PyObject * obj0 = 0 ; | |
5752 | char *kwnames[] = { | |
5753 | (char *) "self", NULL | |
5754 | }; | |
5755 | ||
5756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
5757 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5758 | { | |
5759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5760 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
5761 | ||
5762 | wxPyEndAllowThreads(__tstate); | |
5763 | if (PyErr_Occurred()) SWIG_fail; | |
5764 | } | |
5765 | resultobj = PyInt_FromLong((long)result); | |
5766 | return resultobj; | |
5767 | fail: | |
5768 | return NULL; | |
5769 | } | |
5770 | ||
5771 | ||
5772 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
5773 | PyObject *obj; | |
5774 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5775 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
5776 | Py_INCREF(obj); | |
5777 | return Py_BuildValue((char *)""); | |
5778 | } | |
5779 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5780 | PyObject *resultobj; | |
5781 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
5782 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
5783 | wxSplitterEvent *result; | |
5784 | PyObject * obj1 = 0 ; | |
5785 | char *kwnames[] = { | |
5786 | (char *) "type",(char *) "splitter", NULL | |
5787 | }; | |
5788 | ||
5789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail; | |
5790 | if (obj1) { | |
5791 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5792 | } | |
5793 | { | |
5794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5795 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
5796 | ||
5797 | wxPyEndAllowThreads(__tstate); | |
5798 | if (PyErr_Occurred()) SWIG_fail; | |
5799 | } | |
5800 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1); | |
5801 | return resultobj; | |
5802 | fail: | |
5803 | return NULL; | |
5804 | } | |
5805 | ||
5806 | ||
5807 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5808 | PyObject *resultobj; | |
5809 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5810 | int arg2 ; | |
5811 | PyObject * obj0 = 0 ; | |
5812 | char *kwnames[] = { | |
5813 | (char *) "self",(char *) "pos", NULL | |
5814 | }; | |
5815 | ||
5816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail; | |
5817 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5818 | { | |
5819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5820 | (arg1)->SetSashPosition(arg2); | |
5821 | ||
5822 | wxPyEndAllowThreads(__tstate); | |
5823 | if (PyErr_Occurred()) SWIG_fail; | |
5824 | } | |
5825 | Py_INCREF(Py_None); resultobj = Py_None; | |
5826 | return resultobj; | |
5827 | fail: | |
5828 | return NULL; | |
5829 | } | |
5830 | ||
5831 | ||
5832 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5833 | PyObject *resultobj; | |
5834 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5835 | int result; | |
5836 | PyObject * obj0 = 0 ; | |
5837 | char *kwnames[] = { | |
5838 | (char *) "self", NULL | |
5839 | }; | |
5840 | ||
5841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
5842 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5843 | { | |
5844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5845 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
5846 | ||
5847 | wxPyEndAllowThreads(__tstate); | |
5848 | if (PyErr_Occurred()) SWIG_fail; | |
5849 | } | |
5850 | resultobj = PyInt_FromLong((long)result); | |
5851 | return resultobj; | |
5852 | fail: | |
5853 | return NULL; | |
5854 | } | |
5855 | ||
5856 | ||
5857 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5858 | PyObject *resultobj; | |
5859 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5860 | wxWindow *result; | |
5861 | PyObject * obj0 = 0 ; | |
5862 | char *kwnames[] = { | |
5863 | (char *) "self", NULL | |
5864 | }; | |
5865 | ||
5866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
5867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5868 | { | |
5869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5870 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
5871 | ||
5872 | wxPyEndAllowThreads(__tstate); | |
5873 | if (PyErr_Occurred()) SWIG_fail; | |
5874 | } | |
5875 | { | |
5876 | resultobj = wxPyMake_wxObject(result); | |
5877 | } | |
5878 | return resultobj; | |
5879 | fail: | |
5880 | return NULL; | |
5881 | } | |
5882 | ||
5883 | ||
5884 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5885 | PyObject *resultobj; | |
5886 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5887 | int result; | |
5888 | PyObject * obj0 = 0 ; | |
5889 | char *kwnames[] = { | |
5890 | (char *) "self", NULL | |
5891 | }; | |
5892 | ||
5893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
5894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5895 | { | |
5896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5897 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
5898 | ||
5899 | wxPyEndAllowThreads(__tstate); | |
5900 | if (PyErr_Occurred()) SWIG_fail; | |
5901 | } | |
5902 | resultobj = PyInt_FromLong((long)result); | |
5903 | return resultobj; | |
5904 | fail: | |
5905 | return NULL; | |
5906 | } | |
5907 | ||
5908 | ||
5909 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5910 | PyObject *resultobj; | |
5911 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
5912 | int result; | |
5913 | PyObject * obj0 = 0 ; | |
5914 | char *kwnames[] = { | |
5915 | (char *) "self", NULL | |
5916 | }; | |
5917 | ||
5918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
5919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5920 | { | |
5921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5922 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
5923 | ||
5924 | wxPyEndAllowThreads(__tstate); | |
5925 | if (PyErr_Occurred()) SWIG_fail; | |
5926 | } | |
5927 | resultobj = PyInt_FromLong((long)result); | |
5928 | return resultobj; | |
5929 | fail: | |
5930 | return NULL; | |
5931 | } | |
5932 | ||
5933 | ||
5934 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
5935 | PyObject *obj; | |
5936 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5937 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
5938 | Py_INCREF(obj); | |
5939 | return Py_BuildValue((char *)""); | |
5940 | } | |
5941 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5942 | PyObject *resultobj; | |
5943 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 5944 | int arg2 ; |
d14a1e28 RD |
5945 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5946 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5947 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5948 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5949 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
5950 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
5951 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5952 | wxSashWindow *result; | |
5953 | wxPoint temp3 ; | |
5954 | wxSize temp4 ; | |
423f194a | 5955 | bool temp6 = False ; |
d14a1e28 RD |
5956 | PyObject * obj0 = 0 ; |
5957 | PyObject * obj2 = 0 ; | |
5958 | PyObject * obj3 = 0 ; | |
5959 | PyObject * obj5 = 0 ; | |
5960 | char *kwnames[] = { | |
5961 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
5962 | }; | |
5963 | ||
5964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
5965 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5966 | if (obj2) { | |
5967 | { | |
5968 | arg3 = &temp3; | |
5969 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5970 | } | |
5971 | } | |
5972 | if (obj3) { | |
5973 | { | |
5974 | arg4 = &temp4; | |
5975 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5976 | } | |
5977 | } | |
5978 | if (obj5) { | |
5979 | { | |
5980 | arg6 = wxString_in_helper(obj5); | |
5981 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 5982 | temp6 = True; |
d14a1e28 RD |
5983 | } |
5984 | } | |
5985 | { | |
5986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5987 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5988 | ||
5989 | wxPyEndAllowThreads(__tstate); | |
5990 | if (PyErr_Occurred()) SWIG_fail; | |
5991 | } | |
5992 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1); | |
5993 | { | |
5994 | if (temp6) | |
5995 | delete arg6; | |
5996 | } | |
5997 | return resultobj; | |
5998 | fail: | |
5999 | { | |
6000 | if (temp6) | |
6001 | delete arg6; | |
6002 | } | |
6003 | return NULL; | |
6004 | } | |
6005 | ||
6006 | ||
6007 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6008 | PyObject *resultobj; | |
6009 | wxSashWindow *result; | |
6010 | char *kwnames[] = { | |
6011 | NULL | |
6012 | }; | |
6013 | ||
6014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6015 | { | |
6016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6017 | result = (wxSashWindow *)new wxSashWindow(); | |
6018 | ||
6019 | wxPyEndAllowThreads(__tstate); | |
6020 | if (PyErr_Occurred()) SWIG_fail; | |
6021 | } | |
6022 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1); | |
6023 | return resultobj; | |
6024 | fail: | |
6025 | return NULL; | |
6026 | } | |
6027 | ||
6028 | ||
6029 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6030 | PyObject *resultobj; | |
6031 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6032 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 6033 | int arg3 ; |
d14a1e28 RD |
6034 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6035 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6036 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6037 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6038 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6039 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6040 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6041 | bool result; | |
6042 | wxPoint temp4 ; | |
6043 | wxSize temp5 ; | |
423f194a | 6044 | bool temp7 = False ; |
d14a1e28 RD |
6045 | PyObject * obj0 = 0 ; |
6046 | PyObject * obj1 = 0 ; | |
6047 | PyObject * obj3 = 0 ; | |
6048 | PyObject * obj4 = 0 ; | |
6049 | PyObject * obj6 = 0 ; | |
6050 | char *kwnames[] = { | |
6051 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6052 | }; | |
6053 | ||
6054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
6055 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6056 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6057 | if (obj3) { | |
6058 | { | |
6059 | arg4 = &temp4; | |
6060 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6061 | } | |
6062 | } | |
6063 | if (obj4) { | |
6064 | { | |
6065 | arg5 = &temp5; | |
6066 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6067 | } | |
6068 | } | |
6069 | if (obj6) { | |
6070 | { | |
6071 | arg7 = wxString_in_helper(obj6); | |
6072 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 6073 | temp7 = True; |
d14a1e28 RD |
6074 | } |
6075 | } | |
6076 | { | |
6077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6078 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6079 | ||
6080 | wxPyEndAllowThreads(__tstate); | |
6081 | if (PyErr_Occurred()) SWIG_fail; | |
6082 | } | |
6083 | resultobj = PyInt_FromLong((long)result); | |
6084 | { | |
6085 | if (temp7) | |
6086 | delete arg7; | |
6087 | } | |
6088 | return resultobj; | |
6089 | fail: | |
6090 | { | |
6091 | if (temp7) | |
6092 | delete arg7; | |
6093 | } | |
6094 | return NULL; | |
6095 | } | |
6096 | ||
6097 | ||
6098 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6099 | PyObject *resultobj; | |
6100 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6101 | int arg2 ; | |
6102 | bool arg3 ; | |
6103 | PyObject * obj0 = 0 ; | |
6104 | PyObject * obj2 = 0 ; | |
6105 | char *kwnames[] = { | |
6106 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6107 | }; | |
6108 | ||
6109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
6110 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6111 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
6112 | if (PyErr_Occurred()) SWIG_fail; | |
6113 | { | |
6114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6115 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6116 | ||
6117 | wxPyEndAllowThreads(__tstate); | |
6118 | if (PyErr_Occurred()) SWIG_fail; | |
6119 | } | |
6120 | Py_INCREF(Py_None); resultobj = Py_None; | |
6121 | return resultobj; | |
6122 | fail: | |
6123 | return NULL; | |
6124 | } | |
6125 | ||
6126 | ||
6127 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6128 | PyObject *resultobj; | |
6129 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6130 | int arg2 ; | |
6131 | bool result; | |
6132 | PyObject * obj0 = 0 ; | |
6133 | char *kwnames[] = { | |
6134 | (char *) "self",(char *) "edge", NULL | |
6135 | }; | |
6136 | ||
6137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail; | |
6138 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6139 | { | |
6140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6141 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6142 | ||
6143 | wxPyEndAllowThreads(__tstate); | |
6144 | if (PyErr_Occurred()) SWIG_fail; | |
6145 | } | |
6146 | resultobj = PyInt_FromLong((long)result); | |
6147 | return resultobj; | |
6148 | fail: | |
6149 | return NULL; | |
6150 | } | |
6151 | ||
6152 | ||
6153 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6154 | PyObject *resultobj; | |
6155 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6156 | int arg2 ; | |
6157 | bool arg3 ; | |
6158 | PyObject * obj0 = 0 ; | |
6159 | PyObject * obj2 = 0 ; | |
6160 | char *kwnames[] = { | |
6161 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6162 | }; | |
6163 | ||
6164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
6165 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6166 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
6167 | if (PyErr_Occurred()) SWIG_fail; | |
6168 | { | |
6169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6170 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6171 | ||
6172 | wxPyEndAllowThreads(__tstate); | |
6173 | if (PyErr_Occurred()) SWIG_fail; | |
6174 | } | |
6175 | Py_INCREF(Py_None); resultobj = Py_None; | |
6176 | return resultobj; | |
6177 | fail: | |
6178 | return NULL; | |
6179 | } | |
6180 | ||
6181 | ||
6182 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6183 | PyObject *resultobj; | |
6184 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6185 | int arg2 ; | |
6186 | bool result; | |
6187 | PyObject * obj0 = 0 ; | |
6188 | char *kwnames[] = { | |
6189 | (char *) "self",(char *) "edge", NULL | |
6190 | }; | |
6191 | ||
6192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail; | |
6193 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6194 | { | |
6195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6196 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6197 | ||
6198 | wxPyEndAllowThreads(__tstate); | |
6199 | if (PyErr_Occurred()) SWIG_fail; | |
6200 | } | |
6201 | resultobj = PyInt_FromLong((long)result); | |
6202 | return resultobj; | |
6203 | fail: | |
6204 | return NULL; | |
6205 | } | |
6206 | ||
6207 | ||
6208 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6209 | PyObject *resultobj; | |
6210 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6211 | int arg2 ; | |
6212 | int result; | |
6213 | PyObject * obj0 = 0 ; | |
6214 | char *kwnames[] = { | |
6215 | (char *) "self",(char *) "edge", NULL | |
6216 | }; | |
6217 | ||
6218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail; | |
6219 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6220 | { | |
6221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6222 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6223 | ||
6224 | wxPyEndAllowThreads(__tstate); | |
6225 | if (PyErr_Occurred()) SWIG_fail; | |
6226 | } | |
6227 | resultobj = PyInt_FromLong((long)result); | |
6228 | return resultobj; | |
6229 | fail: | |
6230 | return NULL; | |
6231 | } | |
6232 | ||
6233 | ||
6234 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6235 | PyObject *resultobj; | |
6236 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6237 | int arg2 ; | |
6238 | PyObject * obj0 = 0 ; | |
6239 | char *kwnames[] = { | |
6240 | (char *) "self",(char *) "width", NULL | |
6241 | }; | |
6242 | ||
6243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail; | |
6244 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6245 | { | |
6246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6247 | (arg1)->SetDefaultBorderSize(arg2); | |
6248 | ||
6249 | wxPyEndAllowThreads(__tstate); | |
6250 | if (PyErr_Occurred()) SWIG_fail; | |
6251 | } | |
6252 | Py_INCREF(Py_None); resultobj = Py_None; | |
6253 | return resultobj; | |
6254 | fail: | |
6255 | return NULL; | |
6256 | } | |
6257 | ||
6258 | ||
6259 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6260 | PyObject *resultobj; | |
6261 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6262 | int result; | |
6263 | PyObject * obj0 = 0 ; | |
6264 | char *kwnames[] = { | |
6265 | (char *) "self", NULL | |
6266 | }; | |
6267 | ||
6268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
6269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6270 | { | |
6271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6272 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
6273 | ||
6274 | wxPyEndAllowThreads(__tstate); | |
6275 | if (PyErr_Occurred()) SWIG_fail; | |
6276 | } | |
6277 | resultobj = PyInt_FromLong((long)result); | |
6278 | return resultobj; | |
6279 | fail: | |
6280 | return NULL; | |
6281 | } | |
6282 | ||
6283 | ||
6284 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6285 | PyObject *resultobj; | |
6286 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6287 | int arg2 ; | |
6288 | PyObject * obj0 = 0 ; | |
6289 | char *kwnames[] = { | |
6290 | (char *) "self",(char *) "width", NULL | |
6291 | }; | |
6292 | ||
6293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail; | |
6294 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6295 | { | |
6296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6297 | (arg1)->SetExtraBorderSize(arg2); | |
6298 | ||
6299 | wxPyEndAllowThreads(__tstate); | |
6300 | if (PyErr_Occurred()) SWIG_fail; | |
6301 | } | |
6302 | Py_INCREF(Py_None); resultobj = Py_None; | |
6303 | return resultobj; | |
6304 | fail: | |
6305 | return NULL; | |
6306 | } | |
6307 | ||
6308 | ||
6309 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6310 | PyObject *resultobj; | |
6311 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6312 | int result; | |
6313 | PyObject * obj0 = 0 ; | |
6314 | char *kwnames[] = { | |
6315 | (char *) "self", NULL | |
6316 | }; | |
6317 | ||
6318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
6319 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6320 | { | |
6321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6322 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
6323 | ||
6324 | wxPyEndAllowThreads(__tstate); | |
6325 | if (PyErr_Occurred()) SWIG_fail; | |
6326 | } | |
6327 | resultobj = PyInt_FromLong((long)result); | |
6328 | return resultobj; | |
6329 | fail: | |
6330 | return NULL; | |
6331 | } | |
6332 | ||
6333 | ||
6334 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6335 | PyObject *resultobj; | |
6336 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6337 | int arg2 ; | |
6338 | PyObject * obj0 = 0 ; | |
6339 | char *kwnames[] = { | |
6340 | (char *) "self",(char *) "min", NULL | |
6341 | }; | |
6342 | ||
6343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail; | |
6344 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6345 | { | |
6346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6347 | (arg1)->SetMinimumSizeX(arg2); | |
6348 | ||
6349 | wxPyEndAllowThreads(__tstate); | |
6350 | if (PyErr_Occurred()) SWIG_fail; | |
6351 | } | |
6352 | Py_INCREF(Py_None); resultobj = Py_None; | |
6353 | return resultobj; | |
6354 | fail: | |
6355 | return NULL; | |
6356 | } | |
6357 | ||
6358 | ||
6359 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6360 | PyObject *resultobj; | |
6361 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6362 | int arg2 ; | |
6363 | PyObject * obj0 = 0 ; | |
6364 | char *kwnames[] = { | |
6365 | (char *) "self",(char *) "min", NULL | |
6366 | }; | |
6367 | ||
6368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail; | |
6369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6370 | { | |
6371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6372 | (arg1)->SetMinimumSizeY(arg2); | |
6373 | ||
6374 | wxPyEndAllowThreads(__tstate); | |
6375 | if (PyErr_Occurred()) SWIG_fail; | |
6376 | } | |
6377 | Py_INCREF(Py_None); resultobj = Py_None; | |
6378 | return resultobj; | |
6379 | fail: | |
6380 | return NULL; | |
6381 | } | |
6382 | ||
6383 | ||
6384 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6385 | PyObject *resultobj; | |
6386 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6387 | int result; | |
6388 | PyObject * obj0 = 0 ; | |
6389 | char *kwnames[] = { | |
6390 | (char *) "self", NULL | |
6391 | }; | |
6392 | ||
6393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
6394 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6395 | { | |
6396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6397 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6398 | ||
6399 | wxPyEndAllowThreads(__tstate); | |
6400 | if (PyErr_Occurred()) SWIG_fail; | |
6401 | } | |
6402 | resultobj = PyInt_FromLong((long)result); | |
6403 | return resultobj; | |
6404 | fail: | |
6405 | return NULL; | |
6406 | } | |
6407 | ||
6408 | ||
6409 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6410 | PyObject *resultobj; | |
6411 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6412 | int result; | |
6413 | PyObject * obj0 = 0 ; | |
6414 | char *kwnames[] = { | |
6415 | (char *) "self", NULL | |
6416 | }; | |
6417 | ||
6418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
6419 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6420 | { | |
6421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6422 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
6423 | ||
6424 | wxPyEndAllowThreads(__tstate); | |
6425 | if (PyErr_Occurred()) SWIG_fail; | |
6426 | } | |
6427 | resultobj = PyInt_FromLong((long)result); | |
6428 | return resultobj; | |
6429 | fail: | |
6430 | return NULL; | |
6431 | } | |
6432 | ||
6433 | ||
6434 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6435 | PyObject *resultobj; | |
6436 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6437 | int arg2 ; | |
6438 | PyObject * obj0 = 0 ; | |
6439 | char *kwnames[] = { | |
6440 | (char *) "self",(char *) "max", NULL | |
6441 | }; | |
6442 | ||
6443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail; | |
6444 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6445 | { | |
6446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6447 | (arg1)->SetMaximumSizeX(arg2); | |
6448 | ||
6449 | wxPyEndAllowThreads(__tstate); | |
6450 | if (PyErr_Occurred()) SWIG_fail; | |
6451 | } | |
6452 | Py_INCREF(Py_None); resultobj = Py_None; | |
6453 | return resultobj; | |
6454 | fail: | |
6455 | return NULL; | |
6456 | } | |
6457 | ||
6458 | ||
6459 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6460 | PyObject *resultobj; | |
6461 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6462 | int arg2 ; | |
6463 | PyObject * obj0 = 0 ; | |
6464 | char *kwnames[] = { | |
6465 | (char *) "self",(char *) "max", NULL | |
6466 | }; | |
6467 | ||
6468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail; | |
6469 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6470 | { | |
6471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6472 | (arg1)->SetMaximumSizeY(arg2); | |
6473 | ||
6474 | wxPyEndAllowThreads(__tstate); | |
6475 | if (PyErr_Occurred()) SWIG_fail; | |
6476 | } | |
6477 | Py_INCREF(Py_None); resultobj = Py_None; | |
6478 | return resultobj; | |
6479 | fail: | |
6480 | return NULL; | |
6481 | } | |
6482 | ||
6483 | ||
6484 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6485 | PyObject *resultobj; | |
6486 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6487 | int result; | |
6488 | PyObject * obj0 = 0 ; | |
6489 | char *kwnames[] = { | |
6490 | (char *) "self", NULL | |
6491 | }; | |
6492 | ||
6493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
6494 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6495 | { | |
6496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6497 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
6498 | ||
6499 | wxPyEndAllowThreads(__tstate); | |
6500 | if (PyErr_Occurred()) SWIG_fail; | |
6501 | } | |
6502 | resultobj = PyInt_FromLong((long)result); | |
6503 | return resultobj; | |
6504 | fail: | |
6505 | return NULL; | |
6506 | } | |
6507 | ||
6508 | ||
6509 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6510 | PyObject *resultobj; | |
6511 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6512 | int result; | |
6513 | PyObject * obj0 = 0 ; | |
6514 | char *kwnames[] = { | |
6515 | (char *) "self", NULL | |
6516 | }; | |
6517 | ||
6518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
6519 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6520 | { | |
6521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6522 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
6523 | ||
6524 | wxPyEndAllowThreads(__tstate); | |
6525 | if (PyErr_Occurred()) SWIG_fail; | |
6526 | } | |
6527 | resultobj = PyInt_FromLong((long)result); | |
6528 | return resultobj; | |
6529 | fail: | |
6530 | return NULL; | |
6531 | } | |
6532 | ||
6533 | ||
6534 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6535 | PyObject *resultobj; | |
6536 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6537 | int arg2 ; | |
6538 | int arg3 ; | |
6539 | int arg4 = (int) 2 ; | |
6540 | int result; | |
6541 | PyObject * obj0 = 0 ; | |
6542 | char *kwnames[] = { | |
6543 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6544 | }; | |
6545 | ||
6546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
6547 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6548 | { | |
6549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6550 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6551 | ||
6552 | wxPyEndAllowThreads(__tstate); | |
6553 | if (PyErr_Occurred()) SWIG_fail; | |
6554 | } | |
6555 | resultobj = PyInt_FromLong((long)result); | |
6556 | return resultobj; | |
6557 | fail: | |
6558 | return NULL; | |
6559 | } | |
6560 | ||
6561 | ||
6562 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6563 | PyObject *resultobj; | |
6564 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6565 | PyObject * obj0 = 0 ; | |
6566 | char *kwnames[] = { | |
6567 | (char *) "self", NULL | |
6568 | }; | |
6569 | ||
6570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
6571 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6572 | { | |
6573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6574 | (arg1)->SizeWindows(); | |
6575 | ||
6576 | wxPyEndAllowThreads(__tstate); | |
6577 | if (PyErr_Occurred()) SWIG_fail; | |
6578 | } | |
6579 | Py_INCREF(Py_None); resultobj = Py_None; | |
6580 | return resultobj; | |
6581 | fail: | |
6582 | return NULL; | |
6583 | } | |
6584 | ||
6585 | ||
6586 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
6587 | PyObject *obj; | |
6588 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6589 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
6590 | Py_INCREF(obj); | |
6591 | return Py_BuildValue((char *)""); | |
6592 | } | |
6593 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6594 | PyObject *resultobj; | |
6595 | int arg1 = (int) 0 ; | |
6596 | int arg2 = (int) wxSASH_NONE ; | |
6597 | wxSashEvent *result; | |
6598 | char *kwnames[] = { | |
6599 | (char *) "id",(char *) "edge", NULL | |
6600 | }; | |
6601 | ||
6602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail; | |
6603 | { | |
6604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6605 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
6606 | ||
6607 | wxPyEndAllowThreads(__tstate); | |
6608 | if (PyErr_Occurred()) SWIG_fail; | |
6609 | } | |
6610 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1); | |
6611 | return resultobj; | |
6612 | fail: | |
6613 | return NULL; | |
6614 | } | |
6615 | ||
6616 | ||
6617 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6618 | PyObject *resultobj; | |
6619 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6620 | int arg2 ; | |
6621 | PyObject * obj0 = 0 ; | |
6622 | char *kwnames[] = { | |
6623 | (char *) "self",(char *) "edge", NULL | |
6624 | }; | |
6625 | ||
6626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail; | |
6627 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6628 | { | |
6629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6630 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
6631 | ||
6632 | wxPyEndAllowThreads(__tstate); | |
6633 | if (PyErr_Occurred()) SWIG_fail; | |
6634 | } | |
6635 | Py_INCREF(Py_None); resultobj = Py_None; | |
6636 | return resultobj; | |
6637 | fail: | |
6638 | return NULL; | |
6639 | } | |
6640 | ||
6641 | ||
6642 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6643 | PyObject *resultobj; | |
6644 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6645 | int result; | |
6646 | PyObject * obj0 = 0 ; | |
6647 | char *kwnames[] = { | |
6648 | (char *) "self", NULL | |
6649 | }; | |
6650 | ||
6651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
6652 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6653 | { | |
6654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6655 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
6656 | ||
6657 | wxPyEndAllowThreads(__tstate); | |
6658 | if (PyErr_Occurred()) SWIG_fail; | |
6659 | } | |
6660 | resultobj = PyInt_FromLong((long)result); | |
6661 | return resultobj; | |
6662 | fail: | |
6663 | return NULL; | |
6664 | } | |
6665 | ||
6666 | ||
6667 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6668 | PyObject *resultobj; | |
6669 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6670 | wxRect *arg2 = 0 ; | |
6671 | wxRect temp2 ; | |
6672 | PyObject * obj0 = 0 ; | |
6673 | PyObject * obj1 = 0 ; | |
6674 | char *kwnames[] = { | |
6675 | (char *) "self",(char *) "rect", NULL | |
6676 | }; | |
6677 | ||
6678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
6679 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6680 | { | |
6681 | arg2 = &temp2; | |
6682 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
6683 | } | |
6684 | { | |
6685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6686 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
6687 | ||
6688 | wxPyEndAllowThreads(__tstate); | |
6689 | if (PyErr_Occurred()) SWIG_fail; | |
6690 | } | |
6691 | Py_INCREF(Py_None); resultobj = Py_None; | |
6692 | return resultobj; | |
6693 | fail: | |
6694 | return NULL; | |
6695 | } | |
6696 | ||
6697 | ||
6698 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6699 | PyObject *resultobj; | |
6700 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6701 | wxRect result; | |
6702 | PyObject * obj0 = 0 ; | |
6703 | char *kwnames[] = { | |
6704 | (char *) "self", NULL | |
6705 | }; | |
6706 | ||
6707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
6708 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6709 | { | |
6710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6711 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
6712 | ||
6713 | wxPyEndAllowThreads(__tstate); | |
6714 | if (PyErr_Occurred()) SWIG_fail; | |
6715 | } | |
6716 | { | |
6717 | wxRect * resultptr; | |
6718 | resultptr = new wxRect((wxRect &) result); | |
6719 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
6720 | } | |
6721 | return resultobj; | |
6722 | fail: | |
6723 | return NULL; | |
6724 | } | |
6725 | ||
6726 | ||
6727 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6728 | PyObject *resultobj; | |
6729 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6730 | int arg2 ; | |
6731 | PyObject * obj0 = 0 ; | |
6732 | char *kwnames[] = { | |
6733 | (char *) "self",(char *) "status", NULL | |
6734 | }; | |
6735 | ||
6736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail; | |
6737 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6738 | { | |
6739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6740 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
6741 | ||
6742 | wxPyEndAllowThreads(__tstate); | |
6743 | if (PyErr_Occurred()) SWIG_fail; | |
6744 | } | |
6745 | Py_INCREF(Py_None); resultobj = Py_None; | |
6746 | return resultobj; | |
6747 | fail: | |
6748 | return NULL; | |
6749 | } | |
6750 | ||
6751 | ||
6752 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6753 | PyObject *resultobj; | |
6754 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
6755 | int result; | |
6756 | PyObject * obj0 = 0 ; | |
6757 | char *kwnames[] = { | |
6758 | (char *) "self", NULL | |
6759 | }; | |
6760 | ||
6761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
6762 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6763 | { | |
6764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6765 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
6766 | ||
6767 | wxPyEndAllowThreads(__tstate); | |
6768 | if (PyErr_Occurred()) SWIG_fail; | |
6769 | } | |
6770 | resultobj = PyInt_FromLong((long)result); | |
6771 | return resultobj; | |
6772 | fail: | |
6773 | return NULL; | |
6774 | } | |
6775 | ||
6776 | ||
6777 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
6778 | PyObject *obj; | |
6779 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6780 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
6781 | Py_INCREF(obj); | |
6782 | return Py_BuildValue((char *)""); | |
6783 | } | |
6784 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6785 | PyObject *resultobj; | |
423f194a | 6786 | int arg1 = (int) 0 ; |
d14a1e28 RD |
6787 | wxQueryLayoutInfoEvent *result; |
6788 | char *kwnames[] = { | |
6789 | (char *) "id", NULL | |
6790 | }; | |
6791 | ||
6792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail; | |
6793 | { | |
6794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6795 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
6796 | ||
6797 | wxPyEndAllowThreads(__tstate); | |
6798 | if (PyErr_Occurred()) SWIG_fail; | |
6799 | } | |
6800 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); | |
6801 | return resultobj; | |
6802 | fail: | |
6803 | return NULL; | |
6804 | } | |
6805 | ||
6806 | ||
6807 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6808 | PyObject *resultobj; | |
6809 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6810 | int arg2 ; | |
6811 | PyObject * obj0 = 0 ; | |
6812 | char *kwnames[] = { | |
6813 | (char *) "self",(char *) "length", NULL | |
6814 | }; | |
6815 | ||
6816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail; | |
6817 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6818 | { | |
6819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6820 | (arg1)->SetRequestedLength(arg2); | |
6821 | ||
6822 | wxPyEndAllowThreads(__tstate); | |
6823 | if (PyErr_Occurred()) SWIG_fail; | |
6824 | } | |
6825 | Py_INCREF(Py_None); resultobj = Py_None; | |
6826 | return resultobj; | |
6827 | fail: | |
6828 | return NULL; | |
6829 | } | |
6830 | ||
6831 | ||
6832 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6833 | PyObject *resultobj; | |
6834 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6835 | int result; | |
6836 | PyObject * obj0 = 0 ; | |
6837 | char *kwnames[] = { | |
6838 | (char *) "self", NULL | |
6839 | }; | |
6840 | ||
6841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
6842 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6843 | { | |
6844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6845 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
6846 | ||
6847 | wxPyEndAllowThreads(__tstate); | |
6848 | if (PyErr_Occurred()) SWIG_fail; | |
6849 | } | |
6850 | resultobj = PyInt_FromLong((long)result); | |
6851 | return resultobj; | |
6852 | fail: | |
6853 | return NULL; | |
6854 | } | |
6855 | ||
6856 | ||
6857 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6858 | PyObject *resultobj; | |
6859 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6860 | int arg2 ; | |
6861 | PyObject * obj0 = 0 ; | |
6862 | char *kwnames[] = { | |
6863 | (char *) "self",(char *) "flags", NULL | |
6864 | }; | |
6865 | ||
6866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail; | |
6867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6868 | { | |
6869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6870 | (arg1)->SetFlags(arg2); | |
6871 | ||
6872 | wxPyEndAllowThreads(__tstate); | |
6873 | if (PyErr_Occurred()) SWIG_fail; | |
6874 | } | |
6875 | Py_INCREF(Py_None); resultobj = Py_None; | |
6876 | return resultobj; | |
6877 | fail: | |
6878 | return NULL; | |
6879 | } | |
6880 | ||
6881 | ||
6882 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6883 | PyObject *resultobj; | |
6884 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6885 | int result; | |
6886 | PyObject * obj0 = 0 ; | |
6887 | char *kwnames[] = { | |
6888 | (char *) "self", NULL | |
6889 | }; | |
6890 | ||
6891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
6892 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6893 | { | |
6894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6895 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
6896 | ||
6897 | wxPyEndAllowThreads(__tstate); | |
6898 | if (PyErr_Occurred()) SWIG_fail; | |
6899 | } | |
6900 | resultobj = PyInt_FromLong((long)result); | |
6901 | return resultobj; | |
6902 | fail: | |
6903 | return NULL; | |
6904 | } | |
6905 | ||
6906 | ||
6907 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6908 | PyObject *resultobj; | |
6909 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6910 | wxSize *arg2 = 0 ; | |
6911 | wxSize temp2 ; | |
6912 | PyObject * obj0 = 0 ; | |
6913 | PyObject * obj1 = 0 ; | |
6914 | char *kwnames[] = { | |
6915 | (char *) "self",(char *) "size", NULL | |
6916 | }; | |
6917 | ||
6918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
6919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6920 | { | |
6921 | arg2 = &temp2; | |
6922 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
6923 | } | |
6924 | { | |
6925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6926 | (arg1)->SetSize((wxSize const &)*arg2); | |
6927 | ||
6928 | wxPyEndAllowThreads(__tstate); | |
6929 | if (PyErr_Occurred()) SWIG_fail; | |
6930 | } | |
6931 | Py_INCREF(Py_None); resultobj = Py_None; | |
6932 | return resultobj; | |
6933 | fail: | |
6934 | return NULL; | |
6935 | } | |
6936 | ||
6937 | ||
6938 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6939 | PyObject *resultobj; | |
6940 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6941 | wxSize result; | |
6942 | PyObject * obj0 = 0 ; | |
6943 | char *kwnames[] = { | |
6944 | (char *) "self", NULL | |
6945 | }; | |
6946 | ||
6947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
6948 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6949 | { | |
6950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6951 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
6952 | ||
6953 | wxPyEndAllowThreads(__tstate); | |
6954 | if (PyErr_Occurred()) SWIG_fail; | |
6955 | } | |
6956 | { | |
6957 | wxSize * resultptr; | |
6958 | resultptr = new wxSize((wxSize &) result); | |
6959 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
6960 | } | |
6961 | return resultobj; | |
6962 | fail: | |
6963 | return NULL; | |
6964 | } | |
6965 | ||
6966 | ||
6967 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6968 | PyObject *resultobj; | |
6969 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6970 | int arg2 ; | |
6971 | PyObject * obj0 = 0 ; | |
6972 | char *kwnames[] = { | |
6973 | (char *) "self",(char *) "orient", NULL | |
6974 | }; | |
6975 | ||
6976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail; | |
6977 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6978 | { | |
6979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6980 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
6981 | ||
6982 | wxPyEndAllowThreads(__tstate); | |
6983 | if (PyErr_Occurred()) SWIG_fail; | |
6984 | } | |
6985 | Py_INCREF(Py_None); resultobj = Py_None; | |
6986 | return resultobj; | |
6987 | fail: | |
6988 | return NULL; | |
6989 | } | |
6990 | ||
6991 | ||
6992 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6993 | PyObject *resultobj; | |
6994 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
6995 | int result; | |
6996 | PyObject * obj0 = 0 ; | |
6997 | char *kwnames[] = { | |
6998 | (char *) "self", NULL | |
6999 | }; | |
7000 | ||
7001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
7002 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7003 | { | |
7004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7005 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7006 | ||
7007 | wxPyEndAllowThreads(__tstate); | |
7008 | if (PyErr_Occurred()) SWIG_fail; | |
7009 | } | |
7010 | resultobj = PyInt_FromLong((long)result); | |
7011 | return resultobj; | |
7012 | fail: | |
7013 | return NULL; | |
7014 | } | |
7015 | ||
7016 | ||
7017 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7018 | PyObject *resultobj; | |
7019 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7020 | int arg2 ; | |
7021 | PyObject * obj0 = 0 ; | |
7022 | char *kwnames[] = { | |
7023 | (char *) "self",(char *) "align", NULL | |
7024 | }; | |
7025 | ||
7026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail; | |
7027 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7028 | { | |
7029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7030 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7031 | ||
7032 | wxPyEndAllowThreads(__tstate); | |
7033 | if (PyErr_Occurred()) SWIG_fail; | |
7034 | } | |
7035 | Py_INCREF(Py_None); resultobj = Py_None; | |
7036 | return resultobj; | |
7037 | fail: | |
7038 | return NULL; | |
7039 | } | |
7040 | ||
7041 | ||
7042 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7043 | PyObject *resultobj; | |
7044 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7045 | int result; | |
7046 | PyObject * obj0 = 0 ; | |
7047 | char *kwnames[] = { | |
7048 | (char *) "self", NULL | |
7049 | }; | |
7050 | ||
7051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
7052 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7053 | { | |
7054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7055 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
7056 | ||
7057 | wxPyEndAllowThreads(__tstate); | |
7058 | if (PyErr_Occurred()) SWIG_fail; | |
7059 | } | |
7060 | resultobj = PyInt_FromLong((long)result); | |
7061 | return resultobj; | |
7062 | fail: | |
7063 | return NULL; | |
7064 | } | |
7065 | ||
7066 | ||
7067 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
7068 | PyObject *obj; | |
7069 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7070 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7071 | Py_INCREF(obj); | |
7072 | return Py_BuildValue((char *)""); | |
7073 | } | |
7074 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7075 | PyObject *resultobj; | |
423f194a | 7076 | int arg1 = (int) 0 ; |
d14a1e28 RD |
7077 | wxCalculateLayoutEvent *result; |
7078 | char *kwnames[] = { | |
7079 | (char *) "id", NULL | |
7080 | }; | |
7081 | ||
7082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail; | |
7083 | { | |
7084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7085 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7086 | ||
7087 | wxPyEndAllowThreads(__tstate); | |
7088 | if (PyErr_Occurred()) SWIG_fail; | |
7089 | } | |
7090 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1); | |
7091 | return resultobj; | |
7092 | fail: | |
7093 | return NULL; | |
7094 | } | |
7095 | ||
7096 | ||
7097 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7098 | PyObject *resultobj; | |
7099 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7100 | int arg2 ; | |
7101 | PyObject * obj0 = 0 ; | |
7102 | char *kwnames[] = { | |
7103 | (char *) "self",(char *) "flags", NULL | |
7104 | }; | |
7105 | ||
7106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail; | |
7107 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7108 | { | |
7109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7110 | (arg1)->SetFlags(arg2); | |
7111 | ||
7112 | wxPyEndAllowThreads(__tstate); | |
7113 | if (PyErr_Occurred()) SWIG_fail; | |
7114 | } | |
7115 | Py_INCREF(Py_None); resultobj = Py_None; | |
7116 | return resultobj; | |
7117 | fail: | |
7118 | return NULL; | |
7119 | } | |
7120 | ||
7121 | ||
7122 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7123 | PyObject *resultobj; | |
7124 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7125 | int result; | |
7126 | PyObject * obj0 = 0 ; | |
7127 | char *kwnames[] = { | |
7128 | (char *) "self", NULL | |
7129 | }; | |
7130 | ||
7131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
7132 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7133 | { | |
7134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7135 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7136 | ||
7137 | wxPyEndAllowThreads(__tstate); | |
7138 | if (PyErr_Occurred()) SWIG_fail; | |
7139 | } | |
7140 | resultobj = PyInt_FromLong((long)result); | |
7141 | return resultobj; | |
7142 | fail: | |
7143 | return NULL; | |
7144 | } | |
7145 | ||
7146 | ||
7147 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7148 | PyObject *resultobj; | |
7149 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7150 | wxRect *arg2 = 0 ; | |
7151 | wxRect temp2 ; | |
7152 | PyObject * obj0 = 0 ; | |
7153 | PyObject * obj1 = 0 ; | |
7154 | char *kwnames[] = { | |
7155 | (char *) "self",(char *) "rect", NULL | |
7156 | }; | |
7157 | ||
7158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
7159 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7160 | { | |
7161 | arg2 = &temp2; | |
7162 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7163 | } | |
7164 | { | |
7165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7166 | (arg1)->SetRect((wxRect const &)*arg2); | |
7167 | ||
7168 | wxPyEndAllowThreads(__tstate); | |
7169 | if (PyErr_Occurred()) SWIG_fail; | |
7170 | } | |
7171 | Py_INCREF(Py_None); resultobj = Py_None; | |
7172 | return resultobj; | |
7173 | fail: | |
7174 | return NULL; | |
7175 | } | |
7176 | ||
7177 | ||
7178 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7179 | PyObject *resultobj; | |
7180 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7181 | wxRect result; | |
7182 | PyObject * obj0 = 0 ; | |
7183 | char *kwnames[] = { | |
7184 | (char *) "self", NULL | |
7185 | }; | |
7186 | ||
7187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
7188 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7189 | { | |
7190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7191 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7192 | ||
7193 | wxPyEndAllowThreads(__tstate); | |
7194 | if (PyErr_Occurred()) SWIG_fail; | |
7195 | } | |
7196 | { | |
7197 | wxRect * resultptr; | |
7198 | resultptr = new wxRect((wxRect &) result); | |
7199 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1); | |
7200 | } | |
7201 | return resultobj; | |
7202 | fail: | |
7203 | return NULL; | |
7204 | } | |
7205 | ||
7206 | ||
7207 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
7208 | PyObject *obj; | |
7209 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7210 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7211 | Py_INCREF(obj); | |
7212 | return Py_BuildValue((char *)""); | |
7213 | } | |
7214 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7215 | PyObject *resultobj; | |
7216 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 7217 | int arg2 ; |
d14a1e28 RD |
7218 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7219 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7220 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7221 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7222 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7223 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7224 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7225 | wxSashLayoutWindow *result; | |
7226 | wxPoint temp3 ; | |
7227 | wxSize temp4 ; | |
423f194a | 7228 | bool temp6 = False ; |
d14a1e28 RD |
7229 | PyObject * obj0 = 0 ; |
7230 | PyObject * obj2 = 0 ; | |
7231 | PyObject * obj3 = 0 ; | |
7232 | PyObject * obj5 = 0 ; | |
7233 | char *kwnames[] = { | |
7234 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7235 | }; | |
7236 | ||
7237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
7238 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7239 | if (obj2) { | |
7240 | { | |
7241 | arg3 = &temp3; | |
7242 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7243 | } | |
7244 | } | |
7245 | if (obj3) { | |
7246 | { | |
7247 | arg4 = &temp4; | |
7248 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7249 | } | |
7250 | } | |
7251 | if (obj5) { | |
7252 | { | |
7253 | arg6 = wxString_in_helper(obj5); | |
7254 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 7255 | temp6 = True; |
d14a1e28 RD |
7256 | } |
7257 | } | |
7258 | { | |
7259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7260 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7261 | ||
7262 | wxPyEndAllowThreads(__tstate); | |
7263 | if (PyErr_Occurred()) SWIG_fail; | |
7264 | } | |
7265 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1); | |
7266 | { | |
7267 | if (temp6) | |
7268 | delete arg6; | |
7269 | } | |
7270 | return resultobj; | |
7271 | fail: | |
7272 | { | |
7273 | if (temp6) | |
7274 | delete arg6; | |
7275 | } | |
7276 | return NULL; | |
7277 | } | |
7278 | ||
7279 | ||
7280 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7281 | PyObject *resultobj; | |
7282 | wxSashLayoutWindow *result; | |
7283 | char *kwnames[] = { | |
7284 | NULL | |
7285 | }; | |
7286 | ||
7287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7288 | { | |
7289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7290 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7291 | ||
7292 | wxPyEndAllowThreads(__tstate); | |
7293 | if (PyErr_Occurred()) SWIG_fail; | |
7294 | } | |
7295 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1); | |
7296 | return resultobj; | |
7297 | fail: | |
7298 | return NULL; | |
7299 | } | |
7300 | ||
7301 | ||
7302 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7303 | PyObject *resultobj; | |
7304 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7305 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 7306 | int arg3 ; |
d14a1e28 RD |
7307 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7308 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7309 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7310 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7311 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7312 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7313 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7314 | bool result; | |
7315 | wxPoint temp4 ; | |
7316 | wxSize temp5 ; | |
423f194a | 7317 | bool temp7 = False ; |
d14a1e28 RD |
7318 | PyObject * obj0 = 0 ; |
7319 | PyObject * obj1 = 0 ; | |
7320 | PyObject * obj3 = 0 ; | |
7321 | PyObject * obj4 = 0 ; | |
7322 | PyObject * obj6 = 0 ; | |
7323 | char *kwnames[] = { | |
7324 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7325 | }; | |
7326 | ||
7327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
7328 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7329 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7330 | if (obj3) { | |
7331 | { | |
7332 | arg4 = &temp4; | |
7333 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7334 | } | |
7335 | } | |
7336 | if (obj4) { | |
7337 | { | |
7338 | arg5 = &temp5; | |
7339 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7340 | } | |
7341 | } | |
7342 | if (obj6) { | |
7343 | { | |
7344 | arg7 = wxString_in_helper(obj6); | |
7345 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 7346 | temp7 = True; |
d14a1e28 RD |
7347 | } |
7348 | } | |
7349 | { | |
7350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7351 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7352 | ||
7353 | wxPyEndAllowThreads(__tstate); | |
7354 | if (PyErr_Occurred()) SWIG_fail; | |
7355 | } | |
7356 | resultobj = PyInt_FromLong((long)result); | |
7357 | { | |
7358 | if (temp7) | |
7359 | delete arg7; | |
7360 | } | |
7361 | return resultobj; | |
7362 | fail: | |
7363 | { | |
7364 | if (temp7) | |
7365 | delete arg7; | |
7366 | } | |
7367 | return NULL; | |
7368 | } | |
7369 | ||
7370 | ||
7371 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7372 | PyObject *resultobj; | |
7373 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7374 | int result; | |
7375 | PyObject * obj0 = 0 ; | |
7376 | char *kwnames[] = { | |
7377 | (char *) "self", NULL | |
7378 | }; | |
7379 | ||
7380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
7381 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7382 | { | |
7383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7384 | result = (int)(arg1)->GetAlignment(); | |
7385 | ||
7386 | wxPyEndAllowThreads(__tstate); | |
7387 | if (PyErr_Occurred()) SWIG_fail; | |
7388 | } | |
7389 | resultobj = PyInt_FromLong((long)result); | |
7390 | return resultobj; | |
7391 | fail: | |
7392 | return NULL; | |
7393 | } | |
7394 | ||
7395 | ||
7396 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7397 | PyObject *resultobj; | |
7398 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7399 | int result; | |
7400 | PyObject * obj0 = 0 ; | |
7401 | char *kwnames[] = { | |
7402 | (char *) "self", NULL | |
7403 | }; | |
7404 | ||
7405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
7406 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7407 | { | |
7408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7409 | result = (int)(arg1)->GetOrientation(); | |
7410 | ||
7411 | wxPyEndAllowThreads(__tstate); | |
7412 | if (PyErr_Occurred()) SWIG_fail; | |
7413 | } | |
7414 | resultobj = PyInt_FromLong((long)result); | |
7415 | return resultobj; | |
7416 | fail: | |
7417 | return NULL; | |
7418 | } | |
7419 | ||
7420 | ||
7421 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7422 | PyObject *resultobj; | |
7423 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7424 | int arg2 ; | |
7425 | PyObject * obj0 = 0 ; | |
7426 | char *kwnames[] = { | |
7427 | (char *) "self",(char *) "alignment", NULL | |
7428 | }; | |
7429 | ||
7430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail; | |
7431 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7432 | { | |
7433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7434 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7435 | ||
7436 | wxPyEndAllowThreads(__tstate); | |
7437 | if (PyErr_Occurred()) SWIG_fail; | |
7438 | } | |
7439 | Py_INCREF(Py_None); resultobj = Py_None; | |
7440 | return resultobj; | |
7441 | fail: | |
7442 | return NULL; | |
7443 | } | |
7444 | ||
7445 | ||
7446 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7447 | PyObject *resultobj; | |
7448 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7449 | wxSize *arg2 = 0 ; | |
7450 | wxSize temp2 ; | |
7451 | PyObject * obj0 = 0 ; | |
7452 | PyObject * obj1 = 0 ; | |
7453 | char *kwnames[] = { | |
7454 | (char *) "self",(char *) "size", NULL | |
7455 | }; | |
7456 | ||
7457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
7458 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7459 | { | |
7460 | arg2 = &temp2; | |
7461 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7462 | } | |
7463 | { | |
7464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7465 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
7466 | ||
7467 | wxPyEndAllowThreads(__tstate); | |
7468 | if (PyErr_Occurred()) SWIG_fail; | |
7469 | } | |
7470 | Py_INCREF(Py_None); resultobj = Py_None; | |
7471 | return resultobj; | |
7472 | fail: | |
7473 | return NULL; | |
7474 | } | |
7475 | ||
7476 | ||
7477 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7478 | PyObject *resultobj; | |
7479 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7480 | int arg2 ; | |
7481 | PyObject * obj0 = 0 ; | |
7482 | char *kwnames[] = { | |
7483 | (char *) "self",(char *) "orientation", NULL | |
7484 | }; | |
7485 | ||
7486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail; | |
7487 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7488 | { | |
7489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7490 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7491 | ||
7492 | wxPyEndAllowThreads(__tstate); | |
7493 | if (PyErr_Occurred()) SWIG_fail; | |
7494 | } | |
7495 | Py_INCREF(Py_None); resultobj = Py_None; | |
7496 | return resultobj; | |
7497 | fail: | |
7498 | return NULL; | |
7499 | } | |
7500 | ||
7501 | ||
7502 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
7503 | PyObject *obj; | |
7504 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7505 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
7506 | Py_INCREF(obj); | |
7507 | return Py_BuildValue((char *)""); | |
7508 | } | |
7509 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7510 | PyObject *resultobj; | |
7511 | wxLayoutAlgorithm *result; | |
7512 | char *kwnames[] = { | |
7513 | NULL | |
7514 | }; | |
7515 | ||
7516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
7517 | { | |
7518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7519 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
7520 | ||
7521 | wxPyEndAllowThreads(__tstate); | |
7522 | if (PyErr_Occurred()) SWIG_fail; | |
7523 | } | |
7524 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1); | |
7525 | return resultobj; | |
7526 | fail: | |
7527 | return NULL; | |
7528 | } | |
7529 | ||
7530 | ||
7531 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7532 | PyObject *resultobj; | |
7533 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
7534 | PyObject * obj0 = 0 ; | |
7535 | char *kwnames[] = { | |
7536 | (char *) "self", NULL | |
7537 | }; | |
7538 | ||
7539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
7540 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7541 | { | |
7542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7543 | delete arg1; | |
7544 | ||
7545 | wxPyEndAllowThreads(__tstate); | |
7546 | if (PyErr_Occurred()) SWIG_fail; | |
7547 | } | |
7548 | Py_INCREF(Py_None); resultobj = Py_None; | |
7549 | return resultobj; | |
7550 | fail: | |
7551 | return NULL; | |
7552 | } | |
7553 | ||
7554 | ||
7555 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7556 | PyObject *resultobj; | |
7557 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
7558 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
7559 | wxRect *arg3 = (wxRect *) NULL ; | |
7560 | bool result; | |
7561 | PyObject * obj0 = 0 ; | |
7562 | PyObject * obj1 = 0 ; | |
7563 | PyObject * obj2 = 0 ; | |
7564 | char *kwnames[] = { | |
7565 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
7566 | }; | |
7567 | ||
7568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7569 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7570 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7571 | if (obj2) { | |
7572 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7573 | } | |
7574 | { | |
7575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7576 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
7577 | ||
7578 | wxPyEndAllowThreads(__tstate); | |
7579 | if (PyErr_Occurred()) SWIG_fail; | |
7580 | } | |
7581 | resultobj = PyInt_FromLong((long)result); | |
7582 | return resultobj; | |
7583 | fail: | |
7584 | return NULL; | |
7585 | } | |
7586 | ||
7587 | ||
7588 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7589 | PyObject *resultobj; | |
7590 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
7591 | wxFrame *arg2 = (wxFrame *) 0 ; | |
7592 | wxWindow *arg3 = (wxWindow *) NULL ; | |
7593 | bool result; | |
7594 | PyObject * obj0 = 0 ; | |
7595 | PyObject * obj1 = 0 ; | |
7596 | PyObject * obj2 = 0 ; | |
7597 | char *kwnames[] = { | |
7598 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
7599 | }; | |
7600 | ||
7601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7602 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7603 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7604 | if (obj2) { | |
7605 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7606 | } | |
7607 | { | |
7608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7609 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
7610 | ||
7611 | wxPyEndAllowThreads(__tstate); | |
7612 | if (PyErr_Occurred()) SWIG_fail; | |
7613 | } | |
7614 | resultobj = PyInt_FromLong((long)result); | |
7615 | return resultobj; | |
7616 | fail: | |
7617 | return NULL; | |
7618 | } | |
7619 | ||
7620 | ||
7621 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7622 | PyObject *resultobj; | |
7623 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
7624 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7625 | wxWindow *arg3 = (wxWindow *) NULL ; | |
7626 | bool result; | |
7627 | PyObject * obj0 = 0 ; | |
7628 | PyObject * obj1 = 0 ; | |
7629 | PyObject * obj2 = 0 ; | |
7630 | char *kwnames[] = { | |
7631 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
7632 | }; | |
7633 | ||
7634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7635 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7636 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7637 | if (obj2) { | |
7638 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7639 | } | |
7640 | { | |
7641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7642 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
7643 | ||
7644 | wxPyEndAllowThreads(__tstate); | |
7645 | if (PyErr_Occurred()) SWIG_fail; | |
7646 | } | |
7647 | resultobj = PyInt_FromLong((long)result); | |
7648 | return resultobj; | |
7649 | fail: | |
7650 | return NULL; | |
7651 | } | |
7652 | ||
7653 | ||
7654 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
7655 | PyObject *obj; | |
7656 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7657 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
7658 | Py_INCREF(obj); | |
7659 | return Py_BuildValue((char *)""); | |
7660 | } | |
7661 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7662 | PyObject *resultobj; | |
7663 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7664 | int arg2 = (int) wxBORDER_NONE ; | |
7665 | wxPopupWindow *result; | |
7666 | PyObject * obj0 = 0 ; | |
7667 | char *kwnames[] = { | |
7668 | (char *) "parent",(char *) "flags", NULL | |
7669 | }; | |
7670 | ||
7671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail; | |
7672 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7673 | { | |
7674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7675 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
7676 | ||
7677 | wxPyEndAllowThreads(__tstate); | |
7678 | if (PyErr_Occurred()) SWIG_fail; | |
7679 | } | |
7680 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1); | |
7681 | return resultobj; | |
7682 | fail: | |
7683 | return NULL; | |
7684 | } | |
7685 | ||
7686 | ||
7687 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7688 | PyObject *resultobj; | |
7689 | wxPopupWindow *result; | |
7690 | char *kwnames[] = { | |
7691 | NULL | |
7692 | }; | |
7693 | ||
7694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
7695 | { | |
7696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7697 | result = (wxPopupWindow *)new wxPopupWindow(); | |
7698 | ||
7699 | wxPyEndAllowThreads(__tstate); | |
7700 | if (PyErr_Occurred()) SWIG_fail; | |
7701 | } | |
7702 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1); | |
7703 | return resultobj; | |
7704 | fail: | |
7705 | return NULL; | |
7706 | } | |
7707 | ||
7708 | ||
7709 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7710 | PyObject *resultobj; | |
7711 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
7712 | wxWindow *arg2 = (wxWindow *) 0 ; | |
7713 | int arg3 = (int) wxBORDER_NONE ; | |
7714 | bool result; | |
7715 | PyObject * obj0 = 0 ; | |
7716 | PyObject * obj1 = 0 ; | |
7717 | char *kwnames[] = { | |
7718 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
7719 | }; | |
7720 | ||
7721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
7722 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7723 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7724 | { | |
7725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7726 | result = (bool)(arg1)->Create(arg2,arg3); | |
7727 | ||
7728 | wxPyEndAllowThreads(__tstate); | |
7729 | if (PyErr_Occurred()) SWIG_fail; | |
7730 | } | |
7731 | resultobj = PyInt_FromLong((long)result); | |
7732 | return resultobj; | |
7733 | fail: | |
7734 | return NULL; | |
7735 | } | |
7736 | ||
7737 | ||
7738 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7739 | PyObject *resultobj; | |
7740 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
7741 | wxPoint *arg2 = 0 ; | |
7742 | wxSize *arg3 = 0 ; | |
7743 | wxPoint temp2 ; | |
7744 | wxSize temp3 ; | |
7745 | PyObject * obj0 = 0 ; | |
7746 | PyObject * obj1 = 0 ; | |
7747 | PyObject * obj2 = 0 ; | |
7748 | char *kwnames[] = { | |
7749 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
7750 | }; | |
7751 | ||
7752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7753 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7754 | { | |
7755 | arg2 = &temp2; | |
7756 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7757 | } | |
7758 | { | |
7759 | arg3 = &temp3; | |
7760 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
7761 | } | |
7762 | { | |
7763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7764 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
7765 | ||
7766 | wxPyEndAllowThreads(__tstate); | |
7767 | if (PyErr_Occurred()) SWIG_fail; | |
7768 | } | |
7769 | Py_INCREF(Py_None); resultobj = Py_None; | |
7770 | return resultobj; | |
7771 | fail: | |
7772 | return NULL; | |
7773 | } | |
7774 | ||
7775 | ||
7776 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
7777 | PyObject *obj; | |
7778 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7779 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
7780 | Py_INCREF(obj); | |
7781 | return Py_BuildValue((char *)""); | |
7782 | } | |
7783 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7784 | PyObject *resultobj; | |
7785 | wxWindow *arg1 = (wxWindow *) 0 ; | |
7786 | int arg2 = (int) wxBORDER_NONE ; | |
7787 | wxPyPopupTransientWindow *result; | |
7788 | PyObject * obj0 = 0 ; | |
7789 | char *kwnames[] = { | |
7790 | (char *) "parent",(char *) "style", NULL | |
7791 | }; | |
7792 | ||
7793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail; | |
7794 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7795 | { | |
7796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7797 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
7798 | ||
7799 | wxPyEndAllowThreads(__tstate); | |
7800 | if (PyErr_Occurred()) SWIG_fail; | |
7801 | } | |
7802 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
7803 | return resultobj; | |
7804 | fail: | |
7805 | return NULL; | |
7806 | } | |
7807 | ||
7808 | ||
7809 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7810 | PyObject *resultobj; | |
7811 | wxPyPopupTransientWindow *result; | |
7812 | char *kwnames[] = { | |
7813 | NULL | |
7814 | }; | |
7815 | ||
7816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
7817 | { | |
7818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7819 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
7820 | ||
7821 | wxPyEndAllowThreads(__tstate); | |
7822 | if (PyErr_Occurred()) SWIG_fail; | |
7823 | } | |
7824 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1); | |
7825 | return resultobj; | |
7826 | fail: | |
7827 | return NULL; | |
7828 | } | |
7829 | ||
7830 | ||
7831 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7832 | PyObject *resultobj; | |
7833 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
7834 | PyObject *arg2 = (PyObject *) 0 ; | |
7835 | PyObject *arg3 = (PyObject *) 0 ; | |
7836 | PyObject * obj0 = 0 ; | |
7837 | PyObject * obj1 = 0 ; | |
7838 | PyObject * obj2 = 0 ; | |
7839 | char *kwnames[] = { | |
7840 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
7841 | }; | |
7842 | ||
7843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7844 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7845 | arg2 = obj1; | |
7846 | arg3 = obj2; | |
7847 | { | |
7848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7849 | (arg1)->_setCallbackInfo(arg2,arg3); | |
7850 | ||
7851 | wxPyEndAllowThreads(__tstate); | |
7852 | if (PyErr_Occurred()) SWIG_fail; | |
7853 | } | |
7854 | Py_INCREF(Py_None); resultobj = Py_None; | |
7855 | return resultobj; | |
7856 | fail: | |
7857 | return NULL; | |
7858 | } | |
7859 | ||
7860 | ||
7861 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7862 | PyObject *resultobj; | |
7863 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
7864 | wxWindow *arg2 = (wxWindow *) NULL ; | |
7865 | PyObject * obj0 = 0 ; | |
7866 | PyObject * obj1 = 0 ; | |
7867 | char *kwnames[] = { | |
7868 | (char *) "self",(char *) "focus", NULL | |
7869 | }; | |
7870 | ||
7871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
7872 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7873 | if (obj1) { | |
7874 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7875 | } | |
7876 | { | |
7877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7878 | (arg1)->Popup(arg2); | |
7879 | ||
7880 | wxPyEndAllowThreads(__tstate); | |
7881 | if (PyErr_Occurred()) SWIG_fail; | |
7882 | } | |
7883 | Py_INCREF(Py_None); resultobj = Py_None; | |
7884 | return resultobj; | |
7885 | fail: | |
7886 | return NULL; | |
7887 | } | |
7888 | ||
7889 | ||
7890 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7891 | PyObject *resultobj; | |
7892 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
7893 | PyObject * obj0 = 0 ; | |
7894 | char *kwnames[] = { | |
7895 | (char *) "self", NULL | |
7896 | }; | |
7897 | ||
7898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
7899 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7900 | { | |
7901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7902 | (arg1)->Dismiss(); | |
7903 | ||
7904 | wxPyEndAllowThreads(__tstate); | |
7905 | if (PyErr_Occurred()) SWIG_fail; | |
7906 | } | |
7907 | Py_INCREF(Py_None); resultobj = Py_None; | |
7908 | return resultobj; | |
7909 | fail: | |
7910 | return NULL; | |
7911 | } | |
7912 | ||
7913 | ||
7914 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
7915 | PyObject *obj; | |
7916 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7917 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
7918 | Py_INCREF(obj); | |
7919 | return Py_BuildValue((char *)""); | |
7920 | } | |
7921 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7922 | PyObject *resultobj; | |
7923 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8a0b029b | 7924 | wxString *arg2 = 0 ; |
423f194a | 7925 | int arg3 = (int) 100 ; |
d14a1e28 RD |
7926 | wxRect *arg4 = (wxRect *) NULL ; |
7927 | wxTipWindow *result; | |
8a0b029b | 7928 | bool temp2 = False ; |
d14a1e28 RD |
7929 | PyObject * obj0 = 0 ; |
7930 | PyObject * obj1 = 0 ; | |
7931 | PyObject * obj3 = 0 ; | |
7932 | char *kwnames[] = { | |
7933 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
7934 | }; | |
7935 | ||
7936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail; | |
7937 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8a0b029b RD |
7938 | { |
7939 | arg2 = wxString_in_helper(obj1); | |
7940 | if (arg2 == NULL) SWIG_fail; | |
7941 | temp2 = True; | |
7942 | } | |
d14a1e28 RD |
7943 | if (obj3) { |
7944 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7945 | } | |
7946 | { | |
7947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8a0b029b | 7948 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
7949 | |
7950 | wxPyEndAllowThreads(__tstate); | |
7951 | if (PyErr_Occurred()) SWIG_fail; | |
7952 | } | |
7953 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1); | |
8a0b029b RD |
7954 | { |
7955 | if (temp2) | |
7956 | delete arg2; | |
7957 | } | |
d14a1e28 RD |
7958 | return resultobj; |
7959 | fail: | |
8a0b029b RD |
7960 | { |
7961 | if (temp2) | |
7962 | delete arg2; | |
7963 | } | |
d14a1e28 RD |
7964 | return NULL; |
7965 | } | |
7966 | ||
7967 | ||
7968 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7969 | PyObject *resultobj; | |
7970 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
7971 | wxRect *arg2 = 0 ; | |
7972 | wxRect temp2 ; | |
7973 | PyObject * obj0 = 0 ; | |
7974 | PyObject * obj1 = 0 ; | |
7975 | char *kwnames[] = { | |
7976 | (char *) "self",(char *) "rectBound", NULL | |
7977 | }; | |
7978 | ||
7979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
7980 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7981 | { | |
7982 | arg2 = &temp2; | |
7983 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7984 | } | |
7985 | { | |
7986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7987 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
7988 | ||
7989 | wxPyEndAllowThreads(__tstate); | |
7990 | if (PyErr_Occurred()) SWIG_fail; | |
7991 | } | |
7992 | Py_INCREF(Py_None); resultobj = Py_None; | |
7993 | return resultobj; | |
7994 | fail: | |
7995 | return NULL; | |
7996 | } | |
7997 | ||
7998 | ||
7999 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8000 | PyObject *resultobj; | |
8001 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8002 | PyObject * obj0 = 0 ; | |
8003 | char *kwnames[] = { | |
8004 | (char *) "self", NULL | |
8005 | }; | |
8006 | ||
8007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
8008 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8009 | { | |
8010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8011 | (arg1)->Close(); | |
8012 | ||
8013 | wxPyEndAllowThreads(__tstate); | |
8014 | if (PyErr_Occurred()) SWIG_fail; | |
8015 | } | |
8016 | Py_INCREF(Py_None); resultobj = Py_None; | |
8017 | return resultobj; | |
8018 | fail: | |
8019 | return NULL; | |
8020 | } | |
8021 | ||
8022 | ||
8023 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
8024 | PyObject *obj; | |
8025 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8026 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8027 | Py_INCREF(obj); | |
8028 | return Py_BuildValue((char *)""); | |
8029 | } | |
8030 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8031 | PyObject *resultobj; | |
8032 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 8033 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8034 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8035 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8036 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8037 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8038 | long arg5 = (long) 0 ; | |
8039 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8040 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8041 | wxPyVScrolledWindow *result; | |
8042 | wxPoint temp3 ; | |
8043 | wxSize temp4 ; | |
423f194a | 8044 | bool temp6 = False ; |
d14a1e28 RD |
8045 | PyObject * obj0 = 0 ; |
8046 | PyObject * obj2 = 0 ; | |
8047 | PyObject * obj3 = 0 ; | |
8048 | PyObject * obj5 = 0 ; | |
8049 | char *kwnames[] = { | |
8050 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8051 | }; | |
8052 | ||
8053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
8054 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8055 | if (obj2) { | |
8056 | { | |
8057 | arg3 = &temp3; | |
8058 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8059 | } | |
8060 | } | |
8061 | if (obj3) { | |
8062 | { | |
8063 | arg4 = &temp4; | |
8064 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8065 | } | |
8066 | } | |
8067 | if (obj5) { | |
8068 | { | |
8069 | arg6 = wxString_in_helper(obj5); | |
8070 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 8071 | temp6 = True; |
d14a1e28 RD |
8072 | } |
8073 | } | |
8074 | { | |
8075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8076 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8077 | ||
8078 | wxPyEndAllowThreads(__tstate); | |
8079 | if (PyErr_Occurred()) SWIG_fail; | |
8080 | } | |
8081 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
8082 | { | |
8083 | if (temp6) | |
8084 | delete arg6; | |
8085 | } | |
8086 | return resultobj; | |
8087 | fail: | |
8088 | { | |
8089 | if (temp6) | |
8090 | delete arg6; | |
8091 | } | |
8092 | return NULL; | |
8093 | } | |
8094 | ||
8095 | ||
8096 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8097 | PyObject *resultobj; | |
8098 | wxPyVScrolledWindow *result; | |
8099 | char *kwnames[] = { | |
8100 | NULL | |
8101 | }; | |
8102 | ||
8103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8104 | { | |
8105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8106 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8107 | ||
8108 | wxPyEndAllowThreads(__tstate); | |
8109 | if (PyErr_Occurred()) SWIG_fail; | |
8110 | } | |
8111 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1); | |
8112 | return resultobj; | |
8113 | fail: | |
8114 | return NULL; | |
8115 | } | |
8116 | ||
8117 | ||
8118 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8119 | PyObject *resultobj; | |
8120 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8121 | PyObject *arg2 = (PyObject *) 0 ; | |
8122 | PyObject *arg3 = (PyObject *) 0 ; | |
8123 | PyObject * obj0 = 0 ; | |
8124 | PyObject * obj1 = 0 ; | |
8125 | PyObject * obj2 = 0 ; | |
8126 | char *kwnames[] = { | |
8127 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8128 | }; | |
8129 | ||
8130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8131 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8132 | arg2 = obj1; | |
8133 | arg3 = obj2; | |
8134 | { | |
8135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8136 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8137 | ||
8138 | wxPyEndAllowThreads(__tstate); | |
8139 | if (PyErr_Occurred()) SWIG_fail; | |
8140 | } | |
8141 | Py_INCREF(Py_None); resultobj = Py_None; | |
8142 | return resultobj; | |
8143 | fail: | |
8144 | return NULL; | |
8145 | } | |
8146 | ||
8147 | ||
8148 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8149 | PyObject *resultobj; | |
8150 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8151 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 8152 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8153 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8154 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8155 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8156 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8157 | long arg6 = (long) 0 ; | |
8158 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8159 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8160 | bool result; | |
8161 | wxPoint temp4 ; | |
8162 | wxSize temp5 ; | |
423f194a | 8163 | bool temp7 = False ; |
d14a1e28 RD |
8164 | PyObject * obj0 = 0 ; |
8165 | PyObject * obj1 = 0 ; | |
8166 | PyObject * obj3 = 0 ; | |
8167 | PyObject * obj4 = 0 ; | |
8168 | PyObject * obj6 = 0 ; | |
8169 | char *kwnames[] = { | |
8170 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8171 | }; | |
8172 | ||
8173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
8174 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8175 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8176 | if (obj3) { | |
8177 | { | |
8178 | arg4 = &temp4; | |
8179 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8180 | } | |
8181 | } | |
8182 | if (obj4) { | |
8183 | { | |
8184 | arg5 = &temp5; | |
8185 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8186 | } | |
8187 | } | |
8188 | if (obj6) { | |
8189 | { | |
8190 | arg7 = wxString_in_helper(obj6); | |
8191 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 8192 | temp7 = True; |
d14a1e28 RD |
8193 | } |
8194 | } | |
8195 | { | |
8196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8197 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8198 | ||
8199 | wxPyEndAllowThreads(__tstate); | |
8200 | if (PyErr_Occurred()) SWIG_fail; | |
8201 | } | |
8202 | resultobj = PyInt_FromLong((long)result); | |
8203 | { | |
8204 | if (temp7) | |
8205 | delete arg7; | |
8206 | } | |
8207 | return resultobj; | |
8208 | fail: | |
8209 | { | |
8210 | if (temp7) | |
8211 | delete arg7; | |
8212 | } | |
8213 | return NULL; | |
8214 | } | |
8215 | ||
8216 | ||
8217 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8218 | PyObject *resultobj; | |
8219 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8220 | size_t arg2 ; | |
8221 | PyObject * obj0 = 0 ; | |
8222 | PyObject * obj1 = 0 ; | |
8223 | char *kwnames[] = { | |
8224 | (char *) "self",(char *) "count", NULL | |
8225 | }; | |
8226 | ||
8227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
8228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8229 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8230 | if (PyErr_Occurred()) SWIG_fail; | |
8231 | { | |
8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8233 | (arg1)->SetLineCount(arg2); | |
8234 | ||
8235 | wxPyEndAllowThreads(__tstate); | |
8236 | if (PyErr_Occurred()) SWIG_fail; | |
8237 | } | |
8238 | Py_INCREF(Py_None); resultobj = Py_None; | |
8239 | return resultobj; | |
8240 | fail: | |
8241 | return NULL; | |
8242 | } | |
8243 | ||
8244 | ||
8245 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8246 | PyObject *resultobj; | |
8247 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8248 | size_t arg2 ; | |
8249 | bool result; | |
8250 | PyObject * obj0 = 0 ; | |
8251 | PyObject * obj1 = 0 ; | |
8252 | char *kwnames[] = { | |
8253 | (char *) "self",(char *) "line", NULL | |
8254 | }; | |
8255 | ||
8256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
8257 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8258 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8259 | if (PyErr_Occurred()) SWIG_fail; | |
8260 | { | |
8261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8262 | result = (bool)(arg1)->ScrollToLine(arg2); | |
8263 | ||
8264 | wxPyEndAllowThreads(__tstate); | |
8265 | if (PyErr_Occurred()) SWIG_fail; | |
8266 | } | |
8267 | resultobj = PyInt_FromLong((long)result); | |
8268 | return resultobj; | |
8269 | fail: | |
8270 | return NULL; | |
8271 | } | |
8272 | ||
8273 | ||
8274 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8275 | PyObject *resultobj; | |
8276 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8277 | int arg2 ; | |
8278 | bool result; | |
8279 | PyObject * obj0 = 0 ; | |
8280 | char *kwnames[] = { | |
8281 | (char *) "self",(char *) "lines", NULL | |
8282 | }; | |
8283 | ||
8284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail; | |
8285 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8286 | { | |
8287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8288 | result = (bool)(arg1)->ScrollLines(arg2); | |
8289 | ||
8290 | wxPyEndAllowThreads(__tstate); | |
8291 | if (PyErr_Occurred()) SWIG_fail; | |
8292 | } | |
8293 | resultobj = PyInt_FromLong((long)result); | |
8294 | return resultobj; | |
8295 | fail: | |
8296 | return NULL; | |
8297 | } | |
8298 | ||
8299 | ||
8300 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8301 | PyObject *resultobj; | |
8302 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8303 | int arg2 ; | |
8304 | bool result; | |
8305 | PyObject * obj0 = 0 ; | |
8306 | char *kwnames[] = { | |
8307 | (char *) "self",(char *) "pages", NULL | |
8308 | }; | |
8309 | ||
8310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail; | |
8311 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8312 | { | |
8313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8314 | result = (bool)(arg1)->ScrollPages(arg2); | |
8315 | ||
8316 | wxPyEndAllowThreads(__tstate); | |
8317 | if (PyErr_Occurred()) SWIG_fail; | |
8318 | } | |
8319 | resultobj = PyInt_FromLong((long)result); | |
8320 | return resultobj; | |
8321 | fail: | |
8322 | return NULL; | |
8323 | } | |
8324 | ||
8325 | ||
8326 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8327 | PyObject *resultobj; | |
8328 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8329 | size_t arg2 ; | |
8330 | PyObject * obj0 = 0 ; | |
8331 | PyObject * obj1 = 0 ; | |
8332 | char *kwnames[] = { | |
8333 | (char *) "self",(char *) "line", NULL | |
8334 | }; | |
8335 | ||
8336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
8337 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8338 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8339 | if (PyErr_Occurred()) SWIG_fail; | |
8340 | { | |
8341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8342 | (arg1)->RefreshLine(arg2); | |
8343 | ||
8344 | wxPyEndAllowThreads(__tstate); | |
8345 | if (PyErr_Occurred()) SWIG_fail; | |
8346 | } | |
8347 | Py_INCREF(Py_None); resultobj = Py_None; | |
8348 | return resultobj; | |
8349 | fail: | |
8350 | return NULL; | |
8351 | } | |
8352 | ||
8353 | ||
8354 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8355 | PyObject *resultobj; | |
8356 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8357 | size_t arg2 ; | |
8358 | size_t arg3 ; | |
8359 | PyObject * obj0 = 0 ; | |
8360 | PyObject * obj1 = 0 ; | |
8361 | PyObject * obj2 = 0 ; | |
8362 | char *kwnames[] = { | |
8363 | (char *) "self",(char *) "from",(char *) "to", NULL | |
8364 | }; | |
8365 | ||
8366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8367 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8368 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8369 | if (PyErr_Occurred()) SWIG_fail; | |
8370 | arg3 = (size_t) PyInt_AsLong(obj2); | |
8371 | if (PyErr_Occurred()) SWIG_fail; | |
8372 | { | |
8373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8374 | (arg1)->RefreshLines(arg2,arg3); | |
8375 | ||
8376 | wxPyEndAllowThreads(__tstate); | |
8377 | if (PyErr_Occurred()) SWIG_fail; | |
8378 | } | |
8379 | Py_INCREF(Py_None); resultobj = Py_None; | |
8380 | return resultobj; | |
8381 | fail: | |
8382 | return NULL; | |
8383 | } | |
8384 | ||
8385 | ||
8386 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8387 | PyObject *resultobj; | |
8388 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
423f194a RD |
8389 | int arg2 ; |
8390 | int arg3 ; | |
d14a1e28 RD |
8391 | int result; |
8392 | PyObject * obj0 = 0 ; | |
8393 | char *kwnames[] = { | |
8394 | (char *) "self",(char *) "x",(char *) "y", NULL | |
8395 | }; | |
8396 | ||
8397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
8398 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8399 | { | |
8400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8401 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
8402 | ||
8403 | wxPyEndAllowThreads(__tstate); | |
8404 | if (PyErr_Occurred()) SWIG_fail; | |
8405 | } | |
8406 | resultobj = PyInt_FromLong((long)result); | |
8407 | return resultobj; | |
8408 | fail: | |
8409 | return NULL; | |
8410 | } | |
8411 | ||
8412 | ||
8413 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8414 | PyObject *resultobj; | |
8415 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8416 | wxPoint *arg2 = 0 ; | |
8417 | int result; | |
8418 | wxPoint temp2 ; | |
8419 | PyObject * obj0 = 0 ; | |
8420 | PyObject * obj1 = 0 ; | |
8421 | char *kwnames[] = { | |
8422 | (char *) "self",(char *) "pt", NULL | |
8423 | }; | |
8424 | ||
8425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
8426 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8427 | { | |
8428 | arg2 = &temp2; | |
8429 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8430 | } | |
8431 | { | |
8432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8433 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
8434 | ||
8435 | wxPyEndAllowThreads(__tstate); | |
8436 | if (PyErr_Occurred()) SWIG_fail; | |
8437 | } | |
8438 | resultobj = PyInt_FromLong((long)result); | |
8439 | return resultobj; | |
8440 | fail: | |
8441 | return NULL; | |
8442 | } | |
8443 | ||
8444 | ||
8445 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8446 | PyObject *resultobj; | |
8447 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8448 | PyObject * obj0 = 0 ; | |
8449 | char *kwnames[] = { | |
8450 | (char *) "self", NULL | |
8451 | }; | |
8452 | ||
8453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
8454 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8455 | { | |
8456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8457 | (arg1)->RefreshAll(); | |
8458 | ||
8459 | wxPyEndAllowThreads(__tstate); | |
8460 | if (PyErr_Occurred()) SWIG_fail; | |
8461 | } | |
8462 | Py_INCREF(Py_None); resultobj = Py_None; | |
8463 | return resultobj; | |
8464 | fail: | |
8465 | return NULL; | |
8466 | } | |
8467 | ||
8468 | ||
8469 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8470 | PyObject *resultobj; | |
8471 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8472 | size_t result; | |
8473 | PyObject * obj0 = 0 ; | |
8474 | char *kwnames[] = { | |
8475 | (char *) "self", NULL | |
8476 | }; | |
8477 | ||
8478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
8479 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8480 | { | |
8481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8482 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
8483 | ||
8484 | wxPyEndAllowThreads(__tstate); | |
8485 | if (PyErr_Occurred()) SWIG_fail; | |
8486 | } | |
8487 | resultobj = PyInt_FromLong((long)result); | |
8488 | return resultobj; | |
8489 | fail: | |
8490 | return NULL; | |
8491 | } | |
8492 | ||
8493 | ||
8494 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8495 | PyObject *resultobj; | |
8496 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8497 | size_t result; | |
8498 | PyObject * obj0 = 0 ; | |
8499 | char *kwnames[] = { | |
8500 | (char *) "self", NULL | |
8501 | }; | |
8502 | ||
8503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
8504 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8505 | { | |
8506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8507 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
8508 | ||
8509 | wxPyEndAllowThreads(__tstate); | |
8510 | if (PyErr_Occurred()) SWIG_fail; | |
8511 | } | |
8512 | resultobj = PyInt_FromLong((long)result); | |
8513 | return resultobj; | |
8514 | fail: | |
8515 | return NULL; | |
8516 | } | |
8517 | ||
8518 | ||
8519 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8520 | PyObject *resultobj; | |
8521 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8522 | size_t result; | |
8523 | PyObject * obj0 = 0 ; | |
8524 | char *kwnames[] = { | |
8525 | (char *) "self", NULL | |
8526 | }; | |
8527 | ||
8528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
8529 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8530 | { | |
8531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8532 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
8533 | ||
8534 | wxPyEndAllowThreads(__tstate); | |
8535 | if (PyErr_Occurred()) SWIG_fail; | |
8536 | } | |
8537 | resultobj = PyInt_FromLong((long)result); | |
8538 | return resultobj; | |
8539 | fail: | |
8540 | return NULL; | |
8541 | } | |
8542 | ||
8543 | ||
8544 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8545 | PyObject *resultobj; | |
8546 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8547 | size_t arg2 ; | |
8548 | bool result; | |
8549 | PyObject * obj0 = 0 ; | |
8550 | PyObject * obj1 = 0 ; | |
8551 | char *kwnames[] = { | |
8552 | (char *) "self",(char *) "line", NULL | |
8553 | }; | |
8554 | ||
8555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
8556 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8557 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8558 | if (PyErr_Occurred()) SWIG_fail; | |
8559 | { | |
8560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8561 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
8562 | ||
8563 | wxPyEndAllowThreads(__tstate); | |
8564 | if (PyErr_Occurred()) SWIG_fail; | |
8565 | } | |
8566 | resultobj = PyInt_FromLong((long)result); | |
8567 | return resultobj; | |
8568 | fail: | |
8569 | return NULL; | |
8570 | } | |
8571 | ||
8572 | ||
8573 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
8574 | PyObject *obj; | |
8575 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8576 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
8577 | Py_INCREF(obj); | |
8578 | return Py_BuildValue((char *)""); | |
8579 | } | |
8580 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8581 | PyObject *resultobj; | |
8582 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 8583 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8584 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8585 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8586 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8587 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8588 | long arg5 = (long) 0 ; | |
8589 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
8590 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8591 | wxPyVListBox *result; | |
8592 | wxPoint temp3 ; | |
8593 | wxSize temp4 ; | |
423f194a | 8594 | bool temp6 = False ; |
d14a1e28 RD |
8595 | PyObject * obj0 = 0 ; |
8596 | PyObject * obj2 = 0 ; | |
8597 | PyObject * obj3 = 0 ; | |
8598 | PyObject * obj5 = 0 ; | |
8599 | char *kwnames[] = { | |
8600 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8601 | }; | |
8602 | ||
8603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
8604 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8605 | if (obj2) { | |
8606 | { | |
8607 | arg3 = &temp3; | |
8608 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8609 | } | |
8610 | } | |
8611 | if (obj3) { | |
8612 | { | |
8613 | arg4 = &temp4; | |
8614 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8615 | } | |
8616 | } | |
8617 | if (obj5) { | |
8618 | { | |
8619 | arg6 = wxString_in_helper(obj5); | |
8620 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 8621 | temp6 = True; |
d14a1e28 RD |
8622 | } |
8623 | } | |
8624 | { | |
8625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8626 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8627 | ||
8628 | wxPyEndAllowThreads(__tstate); | |
8629 | if (PyErr_Occurred()) SWIG_fail; | |
8630 | } | |
8631 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1); | |
8632 | { | |
8633 | if (temp6) | |
8634 | delete arg6; | |
8635 | } | |
8636 | return resultobj; | |
8637 | fail: | |
8638 | { | |
8639 | if (temp6) | |
8640 | delete arg6; | |
8641 | } | |
8642 | return NULL; | |
8643 | } | |
8644 | ||
8645 | ||
8646 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8647 | PyObject *resultobj; | |
8648 | wxPyVListBox *result; | |
8649 | char *kwnames[] = { | |
8650 | NULL | |
8651 | }; | |
8652 | ||
8653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
8654 | { | |
8655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8656 | result = (wxPyVListBox *)new wxPyVListBox(); | |
8657 | ||
8658 | wxPyEndAllowThreads(__tstate); | |
8659 | if (PyErr_Occurred()) SWIG_fail; | |
8660 | } | |
8661 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1); | |
8662 | return resultobj; | |
8663 | fail: | |
8664 | return NULL; | |
8665 | } | |
8666 | ||
8667 | ||
8668 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8669 | PyObject *resultobj; | |
8670 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8671 | PyObject *arg2 = (PyObject *) 0 ; | |
8672 | PyObject *arg3 = (PyObject *) 0 ; | |
8673 | PyObject * obj0 = 0 ; | |
8674 | PyObject * obj1 = 0 ; | |
8675 | PyObject * obj2 = 0 ; | |
8676 | char *kwnames[] = { | |
8677 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8678 | }; | |
8679 | ||
8680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8681 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8682 | arg2 = obj1; | |
8683 | arg3 = obj2; | |
8684 | { | |
8685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8686 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8687 | ||
8688 | wxPyEndAllowThreads(__tstate); | |
8689 | if (PyErr_Occurred()) SWIG_fail; | |
8690 | } | |
8691 | Py_INCREF(Py_None); resultobj = Py_None; | |
8692 | return resultobj; | |
8693 | fail: | |
8694 | return NULL; | |
8695 | } | |
8696 | ||
8697 | ||
8698 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8699 | PyObject *resultobj; | |
8700 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8701 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 8702 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8703 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8704 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8705 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8706 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8707 | long arg6 = (long) 0 ; | |
8708 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
8709 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8710 | bool result; | |
8711 | wxPoint temp4 ; | |
8712 | wxSize temp5 ; | |
423f194a | 8713 | bool temp7 = False ; |
d14a1e28 RD |
8714 | PyObject * obj0 = 0 ; |
8715 | PyObject * obj1 = 0 ; | |
8716 | PyObject * obj3 = 0 ; | |
8717 | PyObject * obj4 = 0 ; | |
8718 | PyObject * obj6 = 0 ; | |
8719 | char *kwnames[] = { | |
8720 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8721 | }; | |
8722 | ||
8723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
8724 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8725 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8726 | if (obj3) { | |
8727 | { | |
8728 | arg4 = &temp4; | |
8729 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8730 | } | |
8731 | } | |
8732 | if (obj4) { | |
8733 | { | |
8734 | arg5 = &temp5; | |
8735 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8736 | } | |
8737 | } | |
8738 | if (obj6) { | |
8739 | { | |
8740 | arg7 = wxString_in_helper(obj6); | |
8741 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 8742 | temp7 = True; |
d14a1e28 RD |
8743 | } |
8744 | } | |
8745 | { | |
8746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8747 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8748 | ||
8749 | wxPyEndAllowThreads(__tstate); | |
8750 | if (PyErr_Occurred()) SWIG_fail; | |
8751 | } | |
8752 | resultobj = PyInt_FromLong((long)result); | |
8753 | { | |
8754 | if (temp7) | |
8755 | delete arg7; | |
8756 | } | |
8757 | return resultobj; | |
8758 | fail: | |
8759 | { | |
8760 | if (temp7) | |
8761 | delete arg7; | |
8762 | } | |
8763 | return NULL; | |
8764 | } | |
8765 | ||
8766 | ||
8767 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8768 | PyObject *resultobj; | |
8769 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8770 | size_t result; | |
8771 | PyObject * obj0 = 0 ; | |
8772 | char *kwnames[] = { | |
8773 | (char *) "self", NULL | |
8774 | }; | |
8775 | ||
8776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
8777 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8778 | { | |
8779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8780 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
8781 | ||
8782 | wxPyEndAllowThreads(__tstate); | |
8783 | if (PyErr_Occurred()) SWIG_fail; | |
8784 | } | |
8785 | resultobj = PyInt_FromLong((long)result); | |
8786 | return resultobj; | |
8787 | fail: | |
8788 | return NULL; | |
8789 | } | |
8790 | ||
8791 | ||
8792 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8793 | PyObject *resultobj; | |
8794 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8795 | bool result; | |
8796 | PyObject * obj0 = 0 ; | |
8797 | char *kwnames[] = { | |
8798 | (char *) "self", NULL | |
8799 | }; | |
8800 | ||
8801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
8802 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8803 | { | |
8804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8805 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
8806 | ||
8807 | wxPyEndAllowThreads(__tstate); | |
8808 | if (PyErr_Occurred()) SWIG_fail; | |
8809 | } | |
8810 | resultobj = PyInt_FromLong((long)result); | |
8811 | return resultobj; | |
8812 | fail: | |
8813 | return NULL; | |
8814 | } | |
8815 | ||
8816 | ||
8817 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8818 | PyObject *resultobj; | |
8819 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8820 | int result; | |
8821 | PyObject * obj0 = 0 ; | |
8822 | char *kwnames[] = { | |
8823 | (char *) "self", NULL | |
8824 | }; | |
8825 | ||
8826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
8827 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8828 | { | |
8829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8830 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
8831 | ||
8832 | wxPyEndAllowThreads(__tstate); | |
8833 | if (PyErr_Occurred()) SWIG_fail; | |
8834 | } | |
8835 | resultobj = PyInt_FromLong((long)result); | |
8836 | return resultobj; | |
8837 | fail: | |
8838 | return NULL; | |
8839 | } | |
8840 | ||
8841 | ||
8842 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8843 | PyObject *resultobj; | |
8844 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8845 | size_t arg2 ; | |
8846 | bool result; | |
8847 | PyObject * obj0 = 0 ; | |
8848 | PyObject * obj1 = 0 ; | |
8849 | char *kwnames[] = { | |
8850 | (char *) "self",(char *) "item", NULL | |
8851 | }; | |
8852 | ||
8853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
8854 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8855 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8856 | if (PyErr_Occurred()) SWIG_fail; | |
8857 | { | |
8858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8859 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
8860 | ||
8861 | wxPyEndAllowThreads(__tstate); | |
8862 | if (PyErr_Occurred()) SWIG_fail; | |
8863 | } | |
8864 | resultobj = PyInt_FromLong((long)result); | |
8865 | return resultobj; | |
8866 | fail: | |
8867 | return NULL; | |
8868 | } | |
8869 | ||
8870 | ||
8871 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8872 | PyObject *resultobj; | |
8873 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8874 | size_t arg2 ; | |
8875 | bool result; | |
8876 | PyObject * obj0 = 0 ; | |
8877 | PyObject * obj1 = 0 ; | |
8878 | char *kwnames[] = { | |
8879 | (char *) "self",(char *) "item", NULL | |
8880 | }; | |
8881 | ||
8882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
8883 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8884 | arg2 = (size_t) PyInt_AsLong(obj1); | |
8885 | if (PyErr_Occurred()) SWIG_fail; | |
8886 | { | |
8887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8888 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
8889 | ||
8890 | wxPyEndAllowThreads(__tstate); | |
8891 | if (PyErr_Occurred()) SWIG_fail; | |
8892 | } | |
8893 | resultobj = PyInt_FromLong((long)result); | |
8894 | return resultobj; | |
8895 | fail: | |
8896 | return NULL; | |
8897 | } | |
8898 | ||
8899 | ||
8900 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8901 | PyObject *resultobj; | |
8902 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8903 | size_t result; | |
8904 | PyObject * obj0 = 0 ; | |
8905 | char *kwnames[] = { | |
8906 | (char *) "self", NULL | |
8907 | }; | |
8908 | ||
8909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
8910 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8911 | { | |
8912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8913 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
8914 | ||
8915 | wxPyEndAllowThreads(__tstate); | |
8916 | if (PyErr_Occurred()) SWIG_fail; | |
8917 | } | |
8918 | resultobj = PyInt_FromLong((long)result); | |
8919 | return resultobj; | |
8920 | fail: | |
8921 | return NULL; | |
8922 | } | |
8923 | ||
8924 | ||
8925 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8926 | PyObject *resultobj; | |
8927 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8928 | unsigned long *arg2 = 0 ; | |
8929 | int result; | |
8930 | PyObject * obj0 = 0 ; | |
8931 | PyObject * obj1 = 0 ; | |
8932 | char *kwnames[] = { | |
8933 | (char *) "self",(char *) "cookie", NULL | |
8934 | }; | |
8935 | ||
8936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
8937 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8938 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8939 | if (arg2 == NULL) { | |
8940 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
8941 | } | |
8942 | { | |
8943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8944 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
8945 | ||
8946 | wxPyEndAllowThreads(__tstate); | |
8947 | if (PyErr_Occurred()) SWIG_fail; | |
8948 | } | |
8949 | resultobj = PyInt_FromLong((long)result); | |
8950 | return resultobj; | |
8951 | fail: | |
8952 | return NULL; | |
8953 | } | |
8954 | ||
8955 | ||
8956 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8957 | PyObject *resultobj; | |
8958 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8959 | unsigned long *arg2 = 0 ; | |
8960 | int result; | |
8961 | PyObject * obj0 = 0 ; | |
8962 | PyObject * obj1 = 0 ; | |
8963 | char *kwnames[] = { | |
8964 | (char *) "self",(char *) "cookie", NULL | |
8965 | }; | |
8966 | ||
8967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
8968 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8969 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8970 | if (arg2 == NULL) { | |
8971 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
8972 | } | |
8973 | { | |
8974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8975 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
8976 | ||
8977 | wxPyEndAllowThreads(__tstate); | |
8978 | if (PyErr_Occurred()) SWIG_fail; | |
8979 | } | |
8980 | resultobj = PyInt_FromLong((long)result); | |
8981 | return resultobj; | |
8982 | fail: | |
8983 | return NULL; | |
8984 | } | |
8985 | ||
8986 | ||
8987 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8988 | PyObject *resultobj; | |
8989 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
8990 | wxPoint result; | |
8991 | PyObject * obj0 = 0 ; | |
8992 | char *kwnames[] = { | |
8993 | (char *) "self", NULL | |
8994 | }; | |
8995 | ||
8996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
8997 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8998 | { | |
8999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9000 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9001 | ||
9002 | wxPyEndAllowThreads(__tstate); | |
9003 | if (PyErr_Occurred()) SWIG_fail; | |
9004 | } | |
9005 | { | |
9006 | wxPoint * resultptr; | |
9007 | resultptr = new wxPoint((wxPoint &) result); | |
9008 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
9009 | } | |
9010 | return resultobj; | |
9011 | fail: | |
9012 | return NULL; | |
9013 | } | |
9014 | ||
9015 | ||
9016 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9017 | PyObject *resultobj; | |
9018 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9019 | wxColour *result; | |
9020 | PyObject * obj0 = 0 ; | |
9021 | char *kwnames[] = { | |
9022 | (char *) "self", NULL | |
9023 | }; | |
9024 | ||
9025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
9026 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9027 | { | |
9028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9029 | { | |
9030 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9031 | result = (wxColour *) &_result_ref; | |
9032 | } | |
9033 | ||
9034 | wxPyEndAllowThreads(__tstate); | |
9035 | if (PyErr_Occurred()) SWIG_fail; | |
9036 | } | |
9037 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0); | |
9038 | return resultobj; | |
9039 | fail: | |
9040 | return NULL; | |
9041 | } | |
9042 | ||
9043 | ||
9044 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9045 | PyObject *resultobj; | |
9046 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9047 | size_t arg2 ; | |
9048 | PyObject * obj0 = 0 ; | |
9049 | PyObject * obj1 = 0 ; | |
9050 | char *kwnames[] = { | |
9051 | (char *) "self",(char *) "count", NULL | |
9052 | }; | |
9053 | ||
9054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
9055 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9056 | arg2 = (size_t) PyInt_AsLong(obj1); | |
9057 | if (PyErr_Occurred()) SWIG_fail; | |
9058 | { | |
9059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9060 | (arg1)->SetItemCount(arg2); | |
9061 | ||
9062 | wxPyEndAllowThreads(__tstate); | |
9063 | if (PyErr_Occurred()) SWIG_fail; | |
9064 | } | |
9065 | Py_INCREF(Py_None); resultobj = Py_None; | |
9066 | return resultobj; | |
9067 | fail: | |
9068 | return NULL; | |
9069 | } | |
9070 | ||
9071 | ||
9072 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9073 | PyObject *resultobj; | |
9074 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9075 | PyObject * obj0 = 0 ; | |
9076 | char *kwnames[] = { | |
9077 | (char *) "self", NULL | |
9078 | }; | |
9079 | ||
9080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
9081 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9082 | { | |
9083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9084 | (arg1)->Clear(); | |
9085 | ||
9086 | wxPyEndAllowThreads(__tstate); | |
9087 | if (PyErr_Occurred()) SWIG_fail; | |
9088 | } | |
9089 | Py_INCREF(Py_None); resultobj = Py_None; | |
9090 | return resultobj; | |
9091 | fail: | |
9092 | return NULL; | |
9093 | } | |
9094 | ||
9095 | ||
9096 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9097 | PyObject *resultobj; | |
9098 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9099 | int arg2 ; | |
9100 | PyObject * obj0 = 0 ; | |
9101 | char *kwnames[] = { | |
9102 | (char *) "self",(char *) "selection", NULL | |
9103 | }; | |
9104 | ||
9105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail; | |
9106 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9107 | { | |
9108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9109 | (arg1)->SetSelection(arg2); | |
9110 | ||
9111 | wxPyEndAllowThreads(__tstate); | |
9112 | if (PyErr_Occurred()) SWIG_fail; | |
9113 | } | |
9114 | Py_INCREF(Py_None); resultobj = Py_None; | |
9115 | return resultobj; | |
9116 | fail: | |
9117 | return NULL; | |
9118 | } | |
9119 | ||
9120 | ||
9121 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9122 | PyObject *resultobj; | |
9123 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9124 | size_t arg2 ; | |
423f194a | 9125 | bool arg3 = (bool) True ; |
d14a1e28 RD |
9126 | bool result; |
9127 | PyObject * obj0 = 0 ; | |
9128 | PyObject * obj1 = 0 ; | |
9129 | PyObject * obj2 = 0 ; | |
9130 | char *kwnames[] = { | |
9131 | (char *) "self",(char *) "item",(char *) "select", NULL | |
9132 | }; | |
9133 | ||
9134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9135 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9136 | arg2 = (size_t) PyInt_AsLong(obj1); | |
9137 | if (PyErr_Occurred()) SWIG_fail; | |
9138 | if (obj2) { | |
9139 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
9140 | if (PyErr_Occurred()) SWIG_fail; | |
9141 | } | |
9142 | { | |
9143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9144 | result = (bool)(arg1)->Select(arg2,arg3); | |
9145 | ||
9146 | wxPyEndAllowThreads(__tstate); | |
9147 | if (PyErr_Occurred()) SWIG_fail; | |
9148 | } | |
9149 | resultobj = PyInt_FromLong((long)result); | |
9150 | return resultobj; | |
9151 | fail: | |
9152 | return NULL; | |
9153 | } | |
9154 | ||
9155 | ||
9156 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9157 | PyObject *resultobj; | |
9158 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9159 | size_t arg2 ; | |
9160 | size_t arg3 ; | |
9161 | bool result; | |
9162 | PyObject * obj0 = 0 ; | |
9163 | PyObject * obj1 = 0 ; | |
9164 | PyObject * obj2 = 0 ; | |
9165 | char *kwnames[] = { | |
9166 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9167 | }; | |
9168 | ||
9169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9170 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9171 | arg2 = (size_t) PyInt_AsLong(obj1); | |
9172 | if (PyErr_Occurred()) SWIG_fail; | |
9173 | arg3 = (size_t) PyInt_AsLong(obj2); | |
9174 | if (PyErr_Occurred()) SWIG_fail; | |
9175 | { | |
9176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9177 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
9178 | ||
9179 | wxPyEndAllowThreads(__tstate); | |
9180 | if (PyErr_Occurred()) SWIG_fail; | |
9181 | } | |
9182 | resultobj = PyInt_FromLong((long)result); | |
9183 | return resultobj; | |
9184 | fail: | |
9185 | return NULL; | |
9186 | } | |
9187 | ||
9188 | ||
9189 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9190 | PyObject *resultobj; | |
9191 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9192 | size_t arg2 ; | |
9193 | PyObject * obj0 = 0 ; | |
9194 | PyObject * obj1 = 0 ; | |
9195 | char *kwnames[] = { | |
9196 | (char *) "self",(char *) "item", NULL | |
9197 | }; | |
9198 | ||
9199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
9200 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9201 | arg2 = (size_t) PyInt_AsLong(obj1); | |
9202 | if (PyErr_Occurred()) SWIG_fail; | |
9203 | { | |
9204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9205 | (arg1)->Toggle(arg2); | |
9206 | ||
9207 | wxPyEndAllowThreads(__tstate); | |
9208 | if (PyErr_Occurred()) SWIG_fail; | |
9209 | } | |
9210 | Py_INCREF(Py_None); resultobj = Py_None; | |
9211 | return resultobj; | |
9212 | fail: | |
9213 | return NULL; | |
9214 | } | |
9215 | ||
9216 | ||
9217 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9218 | PyObject *resultobj; | |
9219 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9220 | bool result; | |
9221 | PyObject * obj0 = 0 ; | |
9222 | char *kwnames[] = { | |
9223 | (char *) "self", NULL | |
9224 | }; | |
9225 | ||
9226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
9227 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9228 | { | |
9229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9230 | result = (bool)(arg1)->SelectAll(); | |
9231 | ||
9232 | wxPyEndAllowThreads(__tstate); | |
9233 | if (PyErr_Occurred()) SWIG_fail; | |
9234 | } | |
9235 | resultobj = PyInt_FromLong((long)result); | |
9236 | return resultobj; | |
9237 | fail: | |
9238 | return NULL; | |
9239 | } | |
9240 | ||
9241 | ||
9242 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9243 | PyObject *resultobj; | |
9244 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9245 | bool result; | |
9246 | PyObject * obj0 = 0 ; | |
9247 | char *kwnames[] = { | |
9248 | (char *) "self", NULL | |
9249 | }; | |
9250 | ||
9251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
9252 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9253 | { | |
9254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9255 | result = (bool)(arg1)->DeselectAll(); | |
9256 | ||
9257 | wxPyEndAllowThreads(__tstate); | |
9258 | if (PyErr_Occurred()) SWIG_fail; | |
9259 | } | |
9260 | resultobj = PyInt_FromLong((long)result); | |
9261 | return resultobj; | |
9262 | fail: | |
9263 | return NULL; | |
9264 | } | |
9265 | ||
9266 | ||
9267 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9268 | PyObject *resultobj; | |
9269 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9270 | wxPoint *arg2 = 0 ; | |
9271 | wxPoint temp2 ; | |
9272 | PyObject * obj0 = 0 ; | |
9273 | PyObject * obj1 = 0 ; | |
9274 | char *kwnames[] = { | |
9275 | (char *) "self",(char *) "pt", NULL | |
9276 | }; | |
9277 | ||
9278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
9279 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9280 | { | |
9281 | arg2 = &temp2; | |
9282 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9283 | } | |
9284 | { | |
9285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9286 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
9287 | ||
9288 | wxPyEndAllowThreads(__tstate); | |
9289 | if (PyErr_Occurred()) SWIG_fail; | |
9290 | } | |
9291 | Py_INCREF(Py_None); resultobj = Py_None; | |
9292 | return resultobj; | |
9293 | fail: | |
9294 | return NULL; | |
9295 | } | |
9296 | ||
9297 | ||
9298 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9299 | PyObject *resultobj; | |
9300 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
423f194a RD |
9301 | int arg2 ; |
9302 | int arg3 ; | |
d14a1e28 RD |
9303 | PyObject * obj0 = 0 ; |
9304 | char *kwnames[] = { | |
9305 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9306 | }; | |
9307 | ||
9308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
9309 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9310 | { | |
9311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9312 | (arg1)->SetMargins(arg2,arg3); | |
9313 | ||
9314 | wxPyEndAllowThreads(__tstate); | |
9315 | if (PyErr_Occurred()) SWIG_fail; | |
9316 | } | |
9317 | Py_INCREF(Py_None); resultobj = Py_None; | |
9318 | return resultobj; | |
9319 | fail: | |
9320 | return NULL; | |
9321 | } | |
9322 | ||
9323 | ||
9324 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9325 | PyObject *resultobj; | |
9326 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9327 | wxColour *arg2 = 0 ; | |
9328 | wxColour temp2 ; | |
9329 | PyObject * obj0 = 0 ; | |
9330 | PyObject * obj1 = 0 ; | |
9331 | char *kwnames[] = { | |
9332 | (char *) "self",(char *) "col", NULL | |
9333 | }; | |
9334 | ||
9335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
9336 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9337 | { | |
9338 | arg2 = &temp2; | |
9339 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
9340 | } | |
9341 | { | |
9342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9343 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
9344 | ||
9345 | wxPyEndAllowThreads(__tstate); | |
9346 | if (PyErr_Occurred()) SWIG_fail; | |
9347 | } | |
9348 | Py_INCREF(Py_None); resultobj = Py_None; | |
9349 | return resultobj; | |
9350 | fail: | |
9351 | return NULL; | |
9352 | } | |
9353 | ||
9354 | ||
9355 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
9356 | PyObject *obj; | |
9357 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9358 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
9359 | Py_INCREF(obj); | |
9360 | return Py_BuildValue((char *)""); | |
9361 | } | |
9362 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9363 | PyObject *resultobj; | |
9364 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 9365 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9366 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9367 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9368 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9369 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9370 | long arg5 = (long) 0 ; | |
9371 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9372 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9373 | wxPyHtmlListBox *result; | |
9374 | wxPoint temp3 ; | |
9375 | wxSize temp4 ; | |
423f194a | 9376 | bool temp6 = False ; |
d14a1e28 RD |
9377 | PyObject * obj0 = 0 ; |
9378 | PyObject * obj2 = 0 ; | |
9379 | PyObject * obj3 = 0 ; | |
9380 | PyObject * obj5 = 0 ; | |
9381 | char *kwnames[] = { | |
9382 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9383 | }; | |
9384 | ||
9385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
9386 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9387 | if (obj2) { | |
9388 | { | |
9389 | arg3 = &temp3; | |
9390 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9391 | } | |
9392 | } | |
9393 | if (obj3) { | |
9394 | { | |
9395 | arg4 = &temp4; | |
9396 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9397 | } | |
9398 | } | |
9399 | if (obj5) { | |
9400 | { | |
9401 | arg6 = wxString_in_helper(obj5); | |
9402 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 9403 | temp6 = True; |
d14a1e28 RD |
9404 | } |
9405 | } | |
9406 | { | |
9407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9408 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9409 | ||
9410 | wxPyEndAllowThreads(__tstate); | |
9411 | if (PyErr_Occurred()) SWIG_fail; | |
9412 | } | |
9413 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1); | |
9414 | { | |
9415 | if (temp6) | |
9416 | delete arg6; | |
9417 | } | |
9418 | return resultobj; | |
9419 | fail: | |
9420 | { | |
9421 | if (temp6) | |
9422 | delete arg6; | |
9423 | } | |
9424 | return NULL; | |
9425 | } | |
9426 | ||
9427 | ||
9428 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9429 | PyObject *resultobj; | |
9430 | wxPyHtmlListBox *result; | |
9431 | char *kwnames[] = { | |
9432 | NULL | |
9433 | }; | |
9434 | ||
9435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
9436 | { | |
9437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9438 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
9439 | ||
9440 | wxPyEndAllowThreads(__tstate); | |
9441 | if (PyErr_Occurred()) SWIG_fail; | |
9442 | } | |
9443 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1); | |
9444 | return resultobj; | |
9445 | fail: | |
9446 | return NULL; | |
9447 | } | |
9448 | ||
9449 | ||
9450 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9451 | PyObject *resultobj; | |
9452 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
9453 | PyObject *arg2 = (PyObject *) 0 ; | |
9454 | PyObject *arg3 = (PyObject *) 0 ; | |
9455 | PyObject * obj0 = 0 ; | |
9456 | PyObject * obj1 = 0 ; | |
9457 | PyObject * obj2 = 0 ; | |
9458 | char *kwnames[] = { | |
9459 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9460 | }; | |
9461 | ||
9462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9463 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9464 | arg2 = obj1; | |
9465 | arg3 = obj2; | |
9466 | { | |
9467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9468 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9469 | ||
9470 | wxPyEndAllowThreads(__tstate); | |
9471 | if (PyErr_Occurred()) SWIG_fail; | |
9472 | } | |
9473 | Py_INCREF(Py_None); resultobj = Py_None; | |
9474 | return resultobj; | |
9475 | fail: | |
9476 | return NULL; | |
9477 | } | |
9478 | ||
9479 | ||
9480 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9481 | PyObject *resultobj; | |
9482 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
9483 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 9484 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9485 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9486 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9487 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9488 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9489 | long arg6 = (long) 0 ; | |
9490 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9491 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9492 | bool result; | |
9493 | wxPoint temp4 ; | |
9494 | wxSize temp5 ; | |
423f194a | 9495 | bool temp7 = False ; |
d14a1e28 RD |
9496 | PyObject * obj0 = 0 ; |
9497 | PyObject * obj1 = 0 ; | |
9498 | PyObject * obj3 = 0 ; | |
9499 | PyObject * obj4 = 0 ; | |
9500 | PyObject * obj6 = 0 ; | |
9501 | char *kwnames[] = { | |
9502 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9503 | }; | |
9504 | ||
9505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
9506 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9507 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9508 | if (obj3) { | |
9509 | { | |
9510 | arg4 = &temp4; | |
9511 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9512 | } | |
9513 | } | |
9514 | if (obj4) { | |
9515 | { | |
9516 | arg5 = &temp5; | |
9517 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9518 | } | |
9519 | } | |
9520 | if (obj6) { | |
9521 | { | |
9522 | arg7 = wxString_in_helper(obj6); | |
9523 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 9524 | temp7 = True; |
d14a1e28 RD |
9525 | } |
9526 | } | |
9527 | { | |
9528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9529 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9530 | ||
9531 | wxPyEndAllowThreads(__tstate); | |
9532 | if (PyErr_Occurred()) SWIG_fail; | |
9533 | } | |
9534 | resultobj = PyInt_FromLong((long)result); | |
9535 | { | |
9536 | if (temp7) | |
9537 | delete arg7; | |
9538 | } | |
9539 | return resultobj; | |
9540 | fail: | |
9541 | { | |
9542 | if (temp7) | |
9543 | delete arg7; | |
9544 | } | |
9545 | return NULL; | |
9546 | } | |
9547 | ||
9548 | ||
9549 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9550 | PyObject *resultobj; | |
9551 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
9552 | PyObject * obj0 = 0 ; | |
9553 | char *kwnames[] = { | |
9554 | (char *) "self", NULL | |
9555 | }; | |
9556 | ||
9557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
9558 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9559 | { | |
9560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9561 | (arg1)->RefreshAll(); | |
9562 | ||
9563 | wxPyEndAllowThreads(__tstate); | |
9564 | if (PyErr_Occurred()) SWIG_fail; | |
9565 | } | |
9566 | Py_INCREF(Py_None); resultobj = Py_None; | |
9567 | return resultobj; | |
9568 | fail: | |
9569 | return NULL; | |
9570 | } | |
9571 | ||
9572 | ||
9573 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9574 | PyObject *resultobj; | |
9575 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
9576 | size_t arg2 ; | |
9577 | PyObject * obj0 = 0 ; | |
9578 | PyObject * obj1 = 0 ; | |
9579 | char *kwnames[] = { | |
9580 | (char *) "self",(char *) "count", NULL | |
9581 | }; | |
9582 | ||
9583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
9584 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9585 | arg2 = (size_t) PyInt_AsLong(obj1); | |
9586 | if (PyErr_Occurred()) SWIG_fail; | |
9587 | { | |
9588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9589 | (arg1)->SetItemCount(arg2); | |
9590 | ||
9591 | wxPyEndAllowThreads(__tstate); | |
9592 | if (PyErr_Occurred()) SWIG_fail; | |
9593 | } | |
9594 | Py_INCREF(Py_None); resultobj = Py_None; | |
9595 | return resultobj; | |
9596 | fail: | |
9597 | return NULL; | |
9598 | } | |
9599 | ||
9600 | ||
9601 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
9602 | PyObject *obj; | |
9603 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9604 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
9605 | Py_INCREF(obj); | |
9606 | return Py_BuildValue((char *)""); | |
9607 | } | |
9608 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9609 | PyObject *resultobj; | |
9610 | wxTaskBarIcon *result; | |
9611 | char *kwnames[] = { | |
9612 | NULL | |
9613 | }; | |
9614 | ||
9615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
9616 | { | |
9617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9618 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
9619 | ||
9620 | wxPyEndAllowThreads(__tstate); | |
9621 | if (PyErr_Occurred()) SWIG_fail; | |
9622 | } | |
9623 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1); | |
9624 | return resultobj; | |
9625 | fail: | |
9626 | return NULL; | |
9627 | } | |
9628 | ||
9629 | ||
9630 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9631 | PyObject *resultobj; | |
9632 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
9633 | PyObject * obj0 = 0 ; | |
9634 | char *kwnames[] = { | |
9635 | (char *) "self", NULL | |
9636 | }; | |
9637 | ||
9638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
9639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9640 | { | |
9641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9642 | delete arg1; | |
9643 | ||
9644 | wxPyEndAllowThreads(__tstate); | |
9645 | if (PyErr_Occurred()) SWIG_fail; | |
9646 | } | |
9647 | Py_INCREF(Py_None); resultobj = Py_None; | |
9648 | return resultobj; | |
9649 | fail: | |
9650 | return NULL; | |
9651 | } | |
9652 | ||
9653 | ||
9654 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9655 | PyObject *resultobj; | |
9656 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
9657 | bool result; | |
9658 | PyObject * obj0 = 0 ; | |
9659 | char *kwnames[] = { | |
9660 | (char *) "self", NULL | |
9661 | }; | |
9662 | ||
9663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
9664 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9665 | { | |
9666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9667 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
9668 | ||
9669 | wxPyEndAllowThreads(__tstate); | |
9670 | if (PyErr_Occurred()) SWIG_fail; | |
9671 | } | |
9672 | resultobj = PyInt_FromLong((long)result); | |
9673 | return resultobj; | |
9674 | fail: | |
9675 | return NULL; | |
9676 | } | |
9677 | ||
9678 | ||
9679 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9680 | PyObject *resultobj; | |
9681 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
9682 | bool result; | |
9683 | PyObject * obj0 = 0 ; | |
9684 | char *kwnames[] = { | |
9685 | (char *) "self", NULL | |
9686 | }; | |
9687 | ||
9688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
9689 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9690 | { | |
9691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9692 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
9693 | ||
9694 | wxPyEndAllowThreads(__tstate); | |
9695 | if (PyErr_Occurred()) SWIG_fail; | |
9696 | } | |
9697 | resultobj = PyInt_FromLong((long)result); | |
9698 | return resultobj; | |
9699 | fail: | |
9700 | return NULL; | |
9701 | } | |
9702 | ||
9703 | ||
9704 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9705 | PyObject *resultobj; | |
9706 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
9707 | wxIcon *arg2 = 0 ; | |
9708 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
9709 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
9710 | bool result; | |
423f194a | 9711 | bool temp3 = False ; |
d14a1e28 RD |
9712 | PyObject * obj0 = 0 ; |
9713 | PyObject * obj1 = 0 ; | |
9714 | PyObject * obj2 = 0 ; | |
9715 | char *kwnames[] = { | |
9716 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
9717 | }; | |
9718 | ||
9719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9720 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9721 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9722 | if (arg2 == NULL) { | |
9723 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
9724 | } | |
9725 | if (obj2) { | |
9726 | { | |
9727 | arg3 = wxString_in_helper(obj2); | |
9728 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 9729 | temp3 = True; |
d14a1e28 RD |
9730 | } |
9731 | } | |
9732 | { | |
9733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9734 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
9735 | ||
9736 | wxPyEndAllowThreads(__tstate); | |
9737 | if (PyErr_Occurred()) SWIG_fail; | |
9738 | } | |
9739 | resultobj = PyInt_FromLong((long)result); | |
9740 | { | |
9741 | if (temp3) | |
9742 | delete arg3; | |
9743 | } | |
9744 | return resultobj; | |
9745 | fail: | |
9746 | { | |
9747 | if (temp3) | |
9748 | delete arg3; | |
9749 | } | |
9750 | return NULL; | |
9751 | } | |
9752 | ||
9753 | ||
9754 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9755 | PyObject *resultobj; | |
9756 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
9757 | bool result; | |
9758 | PyObject * obj0 = 0 ; | |
9759 | char *kwnames[] = { | |
9760 | (char *) "self", NULL | |
9761 | }; | |
9762 | ||
9763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
9764 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9765 | { | |
9766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9767 | result = (bool)(arg1)->RemoveIcon(); | |
9768 | ||
9769 | wxPyEndAllowThreads(__tstate); | |
9770 | if (PyErr_Occurred()) SWIG_fail; | |
9771 | } | |
9772 | resultobj = PyInt_FromLong((long)result); | |
9773 | return resultobj; | |
9774 | fail: | |
9775 | return NULL; | |
9776 | } | |
9777 | ||
9778 | ||
9779 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9780 | PyObject *resultobj; | |
9781 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
9782 | wxMenu *arg2 = (wxMenu *) 0 ; | |
9783 | bool result; | |
9784 | PyObject * obj0 = 0 ; | |
9785 | PyObject * obj1 = 0 ; | |
9786 | char *kwnames[] = { | |
9787 | (char *) "self",(char *) "menu", NULL | |
9788 | }; | |
9789 | ||
9790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
9791 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9792 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9793 | { | |
9794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9795 | result = (bool)(arg1)->PopupMenu(arg2); | |
9796 | ||
9797 | wxPyEndAllowThreads(__tstate); | |
9798 | if (PyErr_Occurred()) SWIG_fail; | |
9799 | } | |
9800 | resultobj = PyInt_FromLong((long)result); | |
9801 | return resultobj; | |
9802 | fail: | |
9803 | return NULL; | |
9804 | } | |
9805 | ||
9806 | ||
9807 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
9808 | PyObject *obj; | |
9809 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9810 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
9811 | Py_INCREF(obj); | |
9812 | return Py_BuildValue((char *)""); | |
9813 | } | |
9814 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9815 | PyObject *resultobj; | |
9816 | wxEventType arg1 ; | |
9817 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
9818 | wxTaskBarIconEvent *result; | |
9819 | PyObject * obj1 = 0 ; | |
9820 | char *kwnames[] = { | |
9821 | (char *) "evtType",(char *) "tbIcon", NULL | |
9822 | }; | |
9823 | ||
9824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail; | |
9825 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9826 | { | |
9827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9828 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
9829 | ||
9830 | wxPyEndAllowThreads(__tstate); | |
9831 | if (PyErr_Occurred()) SWIG_fail; | |
9832 | } | |
9833 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1); | |
9834 | return resultobj; | |
9835 | fail: | |
9836 | return NULL; | |
9837 | } | |
9838 | ||
9839 | ||
9840 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
9841 | PyObject *obj; | |
9842 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9843 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
9844 | Py_INCREF(obj); | |
9845 | return Py_BuildValue((char *)""); | |
9846 | } | |
9847 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9848 | PyObject *resultobj; | |
9849 | wxColourData *result; | |
9850 | char *kwnames[] = { | |
9851 | NULL | |
9852 | }; | |
9853 | ||
9854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
9855 | { | |
9856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9857 | result = (wxColourData *)new wxColourData(); | |
9858 | ||
9859 | wxPyEndAllowThreads(__tstate); | |
9860 | if (PyErr_Occurred()) SWIG_fail; | |
9861 | } | |
9862 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1); | |
9863 | return resultobj; | |
9864 | fail: | |
9865 | return NULL; | |
9866 | } | |
9867 | ||
9868 | ||
9869 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9870 | PyObject *resultobj; | |
9871 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9872 | PyObject * obj0 = 0 ; | |
9873 | char *kwnames[] = { | |
9874 | (char *) "self", NULL | |
9875 | }; | |
9876 | ||
9877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
9878 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9879 | { | |
9880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9881 | delete arg1; | |
9882 | ||
9883 | wxPyEndAllowThreads(__tstate); | |
9884 | if (PyErr_Occurred()) SWIG_fail; | |
9885 | } | |
9886 | Py_INCREF(Py_None); resultobj = Py_None; | |
9887 | return resultobj; | |
9888 | fail: | |
9889 | return NULL; | |
9890 | } | |
9891 | ||
9892 | ||
9893 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9894 | PyObject *resultobj; | |
9895 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9896 | bool result; | |
9897 | PyObject * obj0 = 0 ; | |
9898 | char *kwnames[] = { | |
9899 | (char *) "self", NULL | |
9900 | }; | |
9901 | ||
9902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
9903 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9904 | { | |
9905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9906 | result = (bool)(arg1)->GetChooseFull(); | |
9907 | ||
9908 | wxPyEndAllowThreads(__tstate); | |
9909 | if (PyErr_Occurred()) SWIG_fail; | |
9910 | } | |
9911 | resultobj = PyInt_FromLong((long)result); | |
9912 | return resultobj; | |
9913 | fail: | |
9914 | return NULL; | |
9915 | } | |
9916 | ||
9917 | ||
9918 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9919 | PyObject *resultobj; | |
9920 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9921 | wxColour result; | |
9922 | PyObject * obj0 = 0 ; | |
9923 | char *kwnames[] = { | |
9924 | (char *) "self", NULL | |
9925 | }; | |
9926 | ||
9927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
9928 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9929 | { | |
9930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9931 | result = (arg1)->GetColour(); | |
9932 | ||
9933 | wxPyEndAllowThreads(__tstate); | |
9934 | if (PyErr_Occurred()) SWIG_fail; | |
9935 | } | |
9936 | { | |
9937 | wxColour * resultptr; | |
9938 | resultptr = new wxColour((wxColour &) result); | |
9939 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
9940 | } | |
9941 | return resultobj; | |
9942 | fail: | |
9943 | return NULL; | |
9944 | } | |
9945 | ||
9946 | ||
9947 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9948 | PyObject *resultobj; | |
9949 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9950 | int arg2 ; | |
9951 | wxColour result; | |
9952 | PyObject * obj0 = 0 ; | |
9953 | char *kwnames[] = { | |
9954 | (char *) "self",(char *) "i", NULL | |
9955 | }; | |
9956 | ||
9957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail; | |
9958 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9959 | { | |
9960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9961 | result = (arg1)->GetCustomColour(arg2); | |
9962 | ||
9963 | wxPyEndAllowThreads(__tstate); | |
9964 | if (PyErr_Occurred()) SWIG_fail; | |
9965 | } | |
9966 | { | |
9967 | wxColour * resultptr; | |
9968 | resultptr = new wxColour((wxColour &) result); | |
9969 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
9970 | } | |
9971 | return resultobj; | |
9972 | fail: | |
9973 | return NULL; | |
9974 | } | |
9975 | ||
9976 | ||
9977 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9978 | PyObject *resultobj; | |
9979 | wxColourData *arg1 = (wxColourData *) 0 ; | |
9980 | int arg2 ; | |
9981 | PyObject * obj0 = 0 ; | |
9982 | char *kwnames[] = { | |
9983 | (char *) "self",(char *) "flag", NULL | |
9984 | }; | |
9985 | ||
9986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail; | |
9987 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9988 | { | |
9989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9990 | (arg1)->SetChooseFull(arg2); | |
9991 | ||
9992 | wxPyEndAllowThreads(__tstate); | |
9993 | if (PyErr_Occurred()) SWIG_fail; | |
9994 | } | |
9995 | Py_INCREF(Py_None); resultobj = Py_None; | |
9996 | return resultobj; | |
9997 | fail: | |
9998 | return NULL; | |
9999 | } | |
10000 | ||
10001 | ||
10002 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10003 | PyObject *resultobj; | |
10004 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10005 | wxColour *arg2 = 0 ; | |
10006 | wxColour temp2 ; | |
10007 | PyObject * obj0 = 0 ; | |
10008 | PyObject * obj1 = 0 ; | |
10009 | char *kwnames[] = { | |
10010 | (char *) "self",(char *) "colour", NULL | |
10011 | }; | |
10012 | ||
10013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
10014 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10015 | { | |
10016 | arg2 = &temp2; | |
10017 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10018 | } | |
10019 | { | |
10020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10021 | (arg1)->SetColour((wxColour const &)*arg2); | |
10022 | ||
10023 | wxPyEndAllowThreads(__tstate); | |
10024 | if (PyErr_Occurred()) SWIG_fail; | |
10025 | } | |
10026 | Py_INCREF(Py_None); resultobj = Py_None; | |
10027 | return resultobj; | |
10028 | fail: | |
10029 | return NULL; | |
10030 | } | |
10031 | ||
10032 | ||
10033 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10034 | PyObject *resultobj; | |
10035 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10036 | int arg2 ; | |
10037 | wxColour *arg3 = 0 ; | |
10038 | wxColour temp3 ; | |
10039 | PyObject * obj0 = 0 ; | |
10040 | PyObject * obj2 = 0 ; | |
10041 | char *kwnames[] = { | |
10042 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
10043 | }; | |
10044 | ||
10045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
10046 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10047 | { | |
10048 | arg3 = &temp3; | |
10049 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10050 | } | |
10051 | { | |
10052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10053 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
10054 | ||
10055 | wxPyEndAllowThreads(__tstate); | |
10056 | if (PyErr_Occurred()) SWIG_fail; | |
10057 | } | |
10058 | Py_INCREF(Py_None); resultobj = Py_None; | |
10059 | return resultobj; | |
10060 | fail: | |
10061 | return NULL; | |
10062 | } | |
10063 | ||
10064 | ||
10065 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
10066 | PyObject *obj; | |
10067 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10068 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
10069 | Py_INCREF(obj); | |
10070 | return Py_BuildValue((char *)""); | |
10071 | } | |
10072 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10073 | PyObject *resultobj; | |
10074 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10075 | wxColourData *arg2 = (wxColourData *) NULL ; | |
10076 | wxColourDialog *result; | |
10077 | PyObject * obj0 = 0 ; | |
10078 | PyObject * obj1 = 0 ; | |
10079 | char *kwnames[] = { | |
10080 | (char *) "parent",(char *) "data", NULL | |
10081 | }; | |
10082 | ||
10083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
10084 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10085 | if (obj1) { | |
10086 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10087 | } | |
10088 | { | |
10089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10090 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
10091 | ||
10092 | wxPyEndAllowThreads(__tstate); | |
10093 | if (PyErr_Occurred()) SWIG_fail; | |
10094 | } | |
10095 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1); | |
10096 | return resultobj; | |
10097 | fail: | |
10098 | return NULL; | |
10099 | } | |
10100 | ||
10101 | ||
10102 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10103 | PyObject *resultobj; | |
10104 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
10105 | wxColourData *result; | |
10106 | PyObject * obj0 = 0 ; | |
10107 | char *kwnames[] = { | |
10108 | (char *) "self", NULL | |
10109 | }; | |
10110 | ||
10111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
10112 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10113 | { | |
10114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10115 | { | |
10116 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
10117 | result = (wxColourData *) &_result_ref; | |
10118 | } | |
10119 | ||
10120 | wxPyEndAllowThreads(__tstate); | |
10121 | if (PyErr_Occurred()) SWIG_fail; | |
10122 | } | |
10123 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0); | |
10124 | return resultobj; | |
10125 | fail: | |
10126 | return NULL; | |
10127 | } | |
10128 | ||
10129 | ||
10130 | static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10131 | PyObject *resultobj; | |
10132 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
10133 | int result; | |
10134 | PyObject * obj0 = 0 ; | |
10135 | char *kwnames[] = { | |
10136 | (char *) "self", NULL | |
10137 | }; | |
10138 | ||
10139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail; | |
10140 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10141 | { | |
10142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10143 | result = (int)(arg1)->ShowModal(); | |
10144 | ||
10145 | wxPyEndAllowThreads(__tstate); | |
10146 | if (PyErr_Occurred()) SWIG_fail; | |
10147 | } | |
10148 | resultobj = PyInt_FromLong((long)result); | |
10149 | return resultobj; | |
10150 | fail: | |
10151 | return NULL; | |
10152 | } | |
10153 | ||
10154 | ||
10155 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { | |
10156 | PyObject *obj; | |
10157 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10158 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
10159 | Py_INCREF(obj); | |
10160 | return Py_BuildValue((char *)""); | |
10161 | } | |
10162 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10163 | PyObject *resultobj; | |
10164 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10165 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
10166 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
10167 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10168 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10169 | long arg4 = (long) 0 ; | |
10170 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
10171 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
10172 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
10173 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
10174 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
10175 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10176 | wxDirDialog *result; | |
423f194a RD |
10177 | bool temp2 = False ; |
10178 | bool temp3 = False ; | |
d14a1e28 RD |
10179 | wxPoint temp5 ; |
10180 | wxSize temp6 ; | |
423f194a | 10181 | bool temp7 = False ; |
d14a1e28 RD |
10182 | PyObject * obj0 = 0 ; |
10183 | PyObject * obj1 = 0 ; | |
10184 | PyObject * obj2 = 0 ; | |
10185 | PyObject * obj4 = 0 ; | |
10186 | PyObject * obj5 = 0 ; | |
10187 | PyObject * obj6 = 0 ; | |
10188 | char *kwnames[] = { | |
10189 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
10190 | }; | |
10191 | ||
10192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail; | |
10193 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10194 | if (obj1) { | |
10195 | { | |
10196 | arg2 = wxString_in_helper(obj1); | |
10197 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10198 | temp2 = True; |
d14a1e28 RD |
10199 | } |
10200 | } | |
10201 | if (obj2) { | |
10202 | { | |
10203 | arg3 = wxString_in_helper(obj2); | |
10204 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 10205 | temp3 = True; |
d14a1e28 RD |
10206 | } |
10207 | } | |
10208 | if (obj4) { | |
10209 | { | |
10210 | arg5 = &temp5; | |
10211 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
10212 | } | |
10213 | } | |
10214 | if (obj5) { | |
10215 | { | |
10216 | arg6 = &temp6; | |
10217 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
10218 | } | |
10219 | } | |
10220 | if (obj6) { | |
10221 | { | |
10222 | arg7 = wxString_in_helper(obj6); | |
10223 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 10224 | temp7 = True; |
d14a1e28 RD |
10225 | } |
10226 | } | |
10227 | { | |
10228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10229 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
10230 | ||
10231 | wxPyEndAllowThreads(__tstate); | |
10232 | if (PyErr_Occurred()) SWIG_fail; | |
10233 | } | |
10234 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1); | |
10235 | { | |
10236 | if (temp2) | |
10237 | delete arg2; | |
10238 | } | |
10239 | { | |
10240 | if (temp3) | |
10241 | delete arg3; | |
10242 | } | |
10243 | { | |
10244 | if (temp7) | |
10245 | delete arg7; | |
10246 | } | |
10247 | return resultobj; | |
10248 | fail: | |
10249 | { | |
10250 | if (temp2) | |
10251 | delete arg2; | |
10252 | } | |
10253 | { | |
10254 | if (temp3) | |
10255 | delete arg3; | |
10256 | } | |
10257 | { | |
10258 | if (temp7) | |
10259 | delete arg7; | |
10260 | } | |
10261 | return NULL; | |
10262 | } | |
10263 | ||
10264 | ||
10265 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10266 | PyObject *resultobj; | |
10267 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10268 | wxString result; | |
10269 | PyObject * obj0 = 0 ; | |
10270 | char *kwnames[] = { | |
10271 | (char *) "self", NULL | |
10272 | }; | |
10273 | ||
10274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
10275 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10276 | { | |
10277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10278 | result = (arg1)->GetPath(); | |
10279 | ||
10280 | wxPyEndAllowThreads(__tstate); | |
10281 | if (PyErr_Occurred()) SWIG_fail; | |
10282 | } | |
10283 | { | |
10284 | #if wxUSE_UNICODE | |
10285 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10286 | #else | |
10287 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10288 | #endif | |
10289 | } | |
10290 | return resultobj; | |
10291 | fail: | |
10292 | return NULL; | |
10293 | } | |
10294 | ||
10295 | ||
10296 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10297 | PyObject *resultobj; | |
10298 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10299 | wxString result; | |
10300 | PyObject * obj0 = 0 ; | |
10301 | char *kwnames[] = { | |
10302 | (char *) "self", NULL | |
10303 | }; | |
10304 | ||
10305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
10306 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10307 | { | |
10308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10309 | result = (arg1)->GetMessage(); | |
10310 | ||
10311 | wxPyEndAllowThreads(__tstate); | |
10312 | if (PyErr_Occurred()) SWIG_fail; | |
10313 | } | |
10314 | { | |
10315 | #if wxUSE_UNICODE | |
10316 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10317 | #else | |
10318 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10319 | #endif | |
10320 | } | |
10321 | return resultobj; | |
10322 | fail: | |
10323 | return NULL; | |
10324 | } | |
10325 | ||
10326 | ||
10327 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10328 | PyObject *resultobj; | |
10329 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10330 | long result; | |
10331 | PyObject * obj0 = 0 ; | |
10332 | char *kwnames[] = { | |
10333 | (char *) "self", NULL | |
10334 | }; | |
10335 | ||
10336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
10337 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10338 | { | |
10339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10340 | result = (long)(arg1)->GetStyle(); | |
10341 | ||
10342 | wxPyEndAllowThreads(__tstate); | |
10343 | if (PyErr_Occurred()) SWIG_fail; | |
10344 | } | |
10345 | resultobj = PyInt_FromLong((long)result); | |
10346 | return resultobj; | |
10347 | fail: | |
10348 | return NULL; | |
10349 | } | |
10350 | ||
10351 | ||
10352 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10353 | PyObject *resultobj; | |
10354 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10355 | wxString *arg2 = 0 ; | |
423f194a | 10356 | bool temp2 = False ; |
d14a1e28 RD |
10357 | PyObject * obj0 = 0 ; |
10358 | PyObject * obj1 = 0 ; | |
10359 | char *kwnames[] = { | |
10360 | (char *) "self",(char *) "message", NULL | |
10361 | }; | |
10362 | ||
10363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
10364 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10365 | { | |
10366 | arg2 = wxString_in_helper(obj1); | |
10367 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10368 | temp2 = True; |
d14a1e28 RD |
10369 | } |
10370 | { | |
10371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10372 | (arg1)->SetMessage((wxString const &)*arg2); | |
10373 | ||
10374 | wxPyEndAllowThreads(__tstate); | |
10375 | if (PyErr_Occurred()) SWIG_fail; | |
10376 | } | |
10377 | Py_INCREF(Py_None); resultobj = Py_None; | |
10378 | { | |
10379 | if (temp2) | |
10380 | delete arg2; | |
10381 | } | |
10382 | return resultobj; | |
10383 | fail: | |
10384 | { | |
10385 | if (temp2) | |
10386 | delete arg2; | |
10387 | } | |
10388 | return NULL; | |
10389 | } | |
10390 | ||
10391 | ||
10392 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10393 | PyObject *resultobj; | |
10394 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10395 | wxString *arg2 = 0 ; | |
423f194a | 10396 | bool temp2 = False ; |
d14a1e28 RD |
10397 | PyObject * obj0 = 0 ; |
10398 | PyObject * obj1 = 0 ; | |
10399 | char *kwnames[] = { | |
10400 | (char *) "self",(char *) "path", NULL | |
10401 | }; | |
10402 | ||
10403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
10404 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10405 | { | |
10406 | arg2 = wxString_in_helper(obj1); | |
10407 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10408 | temp2 = True; |
d14a1e28 RD |
10409 | } |
10410 | { | |
10411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10412 | (arg1)->SetPath((wxString const &)*arg2); | |
10413 | ||
10414 | wxPyEndAllowThreads(__tstate); | |
10415 | if (PyErr_Occurred()) SWIG_fail; | |
10416 | } | |
10417 | Py_INCREF(Py_None); resultobj = Py_None; | |
10418 | { | |
10419 | if (temp2) | |
10420 | delete arg2; | |
10421 | } | |
10422 | return resultobj; | |
10423 | fail: | |
10424 | { | |
10425 | if (temp2) | |
10426 | delete arg2; | |
10427 | } | |
10428 | return NULL; | |
10429 | } | |
10430 | ||
10431 | ||
10432 | static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10433 | PyObject *resultobj; | |
10434 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10435 | int result; | |
10436 | PyObject * obj0 = 0 ; | |
10437 | char *kwnames[] = { | |
10438 | (char *) "self", NULL | |
10439 | }; | |
10440 | ||
10441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail; | |
10442 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10443 | { | |
10444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10445 | result = (int)(arg1)->ShowModal(); | |
10446 | ||
10447 | wxPyEndAllowThreads(__tstate); | |
10448 | if (PyErr_Occurred()) SWIG_fail; | |
10449 | } | |
10450 | resultobj = PyInt_FromLong((long)result); | |
10451 | return resultobj; | |
10452 | fail: | |
10453 | return NULL; | |
10454 | } | |
10455 | ||
10456 | ||
10457 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { | |
10458 | PyObject *obj; | |
10459 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10460 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
10461 | Py_INCREF(obj); | |
10462 | return Py_BuildValue((char *)""); | |
10463 | } | |
10464 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10465 | PyObject *resultobj; | |
10466 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10467 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
10468 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
10469 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10470 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10471 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
10472 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
10473 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
10474 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
10475 | long arg6 = (long) 0 ; | |
10476 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
10477 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
10478 | wxFileDialog *result; | |
423f194a RD |
10479 | bool temp2 = False ; |
10480 | bool temp3 = False ; | |
10481 | bool temp4 = False ; | |
10482 | bool temp5 = False ; | |
d14a1e28 RD |
10483 | wxPoint temp7 ; |
10484 | PyObject * obj0 = 0 ; | |
10485 | PyObject * obj1 = 0 ; | |
10486 | PyObject * obj2 = 0 ; | |
10487 | PyObject * obj3 = 0 ; | |
10488 | PyObject * obj4 = 0 ; | |
10489 | PyObject * obj6 = 0 ; | |
10490 | char *kwnames[] = { | |
10491 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
10492 | }; | |
10493 | ||
10494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
10495 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10496 | if (obj1) { | |
10497 | { | |
10498 | arg2 = wxString_in_helper(obj1); | |
10499 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10500 | temp2 = True; |
d14a1e28 RD |
10501 | } |
10502 | } | |
10503 | if (obj2) { | |
10504 | { | |
10505 | arg3 = wxString_in_helper(obj2); | |
10506 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 10507 | temp3 = True; |
d14a1e28 RD |
10508 | } |
10509 | } | |
10510 | if (obj3) { | |
10511 | { | |
10512 | arg4 = wxString_in_helper(obj3); | |
10513 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 10514 | temp4 = True; |
d14a1e28 RD |
10515 | } |
10516 | } | |
10517 | if (obj4) { | |
10518 | { | |
10519 | arg5 = wxString_in_helper(obj4); | |
10520 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 10521 | temp5 = True; |
d14a1e28 RD |
10522 | } |
10523 | } | |
10524 | if (obj6) { | |
10525 | { | |
10526 | arg7 = &temp7; | |
10527 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
10528 | } | |
10529 | } | |
10530 | { | |
10531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10532 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
10533 | ||
10534 | wxPyEndAllowThreads(__tstate); | |
10535 | if (PyErr_Occurred()) SWIG_fail; | |
10536 | } | |
10537 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1); | |
10538 | { | |
10539 | if (temp2) | |
10540 | delete arg2; | |
10541 | } | |
10542 | { | |
10543 | if (temp3) | |
10544 | delete arg3; | |
10545 | } | |
10546 | { | |
10547 | if (temp4) | |
10548 | delete arg4; | |
10549 | } | |
10550 | { | |
10551 | if (temp5) | |
10552 | delete arg5; | |
10553 | } | |
10554 | return resultobj; | |
10555 | fail: | |
10556 | { | |
10557 | if (temp2) | |
10558 | delete arg2; | |
10559 | } | |
10560 | { | |
10561 | if (temp3) | |
10562 | delete arg3; | |
10563 | } | |
10564 | { | |
10565 | if (temp4) | |
10566 | delete arg4; | |
10567 | } | |
10568 | { | |
10569 | if (temp5) | |
10570 | delete arg5; | |
10571 | } | |
10572 | return NULL; | |
10573 | } | |
10574 | ||
10575 | ||
10576 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10577 | PyObject *resultobj; | |
10578 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10579 | wxString *arg2 = 0 ; | |
423f194a | 10580 | bool temp2 = False ; |
d14a1e28 RD |
10581 | PyObject * obj0 = 0 ; |
10582 | PyObject * obj1 = 0 ; | |
10583 | char *kwnames[] = { | |
10584 | (char *) "self",(char *) "message", NULL | |
10585 | }; | |
10586 | ||
10587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
10588 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10589 | { | |
10590 | arg2 = wxString_in_helper(obj1); | |
10591 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10592 | temp2 = True; |
d14a1e28 RD |
10593 | } |
10594 | { | |
10595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10596 | (arg1)->SetMessage((wxString const &)*arg2); | |
10597 | ||
10598 | wxPyEndAllowThreads(__tstate); | |
10599 | if (PyErr_Occurred()) SWIG_fail; | |
10600 | } | |
10601 | Py_INCREF(Py_None); resultobj = Py_None; | |
10602 | { | |
10603 | if (temp2) | |
10604 | delete arg2; | |
10605 | } | |
10606 | return resultobj; | |
10607 | fail: | |
10608 | { | |
10609 | if (temp2) | |
10610 | delete arg2; | |
10611 | } | |
10612 | return NULL; | |
10613 | } | |
10614 | ||
10615 | ||
10616 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10617 | PyObject *resultobj; | |
10618 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10619 | wxString *arg2 = 0 ; | |
423f194a | 10620 | bool temp2 = False ; |
d14a1e28 RD |
10621 | PyObject * obj0 = 0 ; |
10622 | PyObject * obj1 = 0 ; | |
10623 | char *kwnames[] = { | |
10624 | (char *) "self",(char *) "path", NULL | |
10625 | }; | |
10626 | ||
10627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
10628 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10629 | { | |
10630 | arg2 = wxString_in_helper(obj1); | |
10631 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10632 | temp2 = True; |
d14a1e28 RD |
10633 | } |
10634 | { | |
10635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10636 | (arg1)->SetPath((wxString const &)*arg2); | |
10637 | ||
10638 | wxPyEndAllowThreads(__tstate); | |
10639 | if (PyErr_Occurred()) SWIG_fail; | |
10640 | } | |
10641 | Py_INCREF(Py_None); resultobj = Py_None; | |
10642 | { | |
10643 | if (temp2) | |
10644 | delete arg2; | |
10645 | } | |
10646 | return resultobj; | |
10647 | fail: | |
10648 | { | |
10649 | if (temp2) | |
10650 | delete arg2; | |
10651 | } | |
10652 | return NULL; | |
10653 | } | |
10654 | ||
10655 | ||
10656 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10657 | PyObject *resultobj; | |
10658 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10659 | wxString *arg2 = 0 ; | |
423f194a | 10660 | bool temp2 = False ; |
d14a1e28 RD |
10661 | PyObject * obj0 = 0 ; |
10662 | PyObject * obj1 = 0 ; | |
10663 | char *kwnames[] = { | |
10664 | (char *) "self",(char *) "dir", NULL | |
10665 | }; | |
10666 | ||
10667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
10668 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10669 | { | |
10670 | arg2 = wxString_in_helper(obj1); | |
10671 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10672 | temp2 = True; |
d14a1e28 RD |
10673 | } |
10674 | { | |
10675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10676 | (arg1)->SetDirectory((wxString const &)*arg2); | |
10677 | ||
10678 | wxPyEndAllowThreads(__tstate); | |
10679 | if (PyErr_Occurred()) SWIG_fail; | |
10680 | } | |
10681 | Py_INCREF(Py_None); resultobj = Py_None; | |
10682 | { | |
10683 | if (temp2) | |
10684 | delete arg2; | |
10685 | } | |
10686 | return resultobj; | |
10687 | fail: | |
10688 | { | |
10689 | if (temp2) | |
10690 | delete arg2; | |
10691 | } | |
10692 | return NULL; | |
10693 | } | |
10694 | ||
10695 | ||
10696 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10697 | PyObject *resultobj; | |
10698 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10699 | wxString *arg2 = 0 ; | |
423f194a | 10700 | bool temp2 = False ; |
d14a1e28 RD |
10701 | PyObject * obj0 = 0 ; |
10702 | PyObject * obj1 = 0 ; | |
10703 | char *kwnames[] = { | |
10704 | (char *) "self",(char *) "name", NULL | |
10705 | }; | |
10706 | ||
10707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
10708 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10709 | { | |
10710 | arg2 = wxString_in_helper(obj1); | |
10711 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10712 | temp2 = True; |
d14a1e28 RD |
10713 | } |
10714 | { | |
10715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10716 | (arg1)->SetFilename((wxString const &)*arg2); | |
10717 | ||
10718 | wxPyEndAllowThreads(__tstate); | |
10719 | if (PyErr_Occurred()) SWIG_fail; | |
10720 | } | |
10721 | Py_INCREF(Py_None); resultobj = Py_None; | |
10722 | { | |
10723 | if (temp2) | |
10724 | delete arg2; | |
10725 | } | |
10726 | return resultobj; | |
10727 | fail: | |
10728 | { | |
10729 | if (temp2) | |
10730 | delete arg2; | |
10731 | } | |
10732 | return NULL; | |
10733 | } | |
10734 | ||
10735 | ||
10736 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10737 | PyObject *resultobj; | |
10738 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10739 | wxString *arg2 = 0 ; | |
423f194a | 10740 | bool temp2 = False ; |
d14a1e28 RD |
10741 | PyObject * obj0 = 0 ; |
10742 | PyObject * obj1 = 0 ; | |
10743 | char *kwnames[] = { | |
10744 | (char *) "self",(char *) "wildCard", NULL | |
10745 | }; | |
10746 | ||
10747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
10748 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10749 | { | |
10750 | arg2 = wxString_in_helper(obj1); | |
10751 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10752 | temp2 = True; |
d14a1e28 RD |
10753 | } |
10754 | { | |
10755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10756 | (arg1)->SetWildcard((wxString const &)*arg2); | |
10757 | ||
10758 | wxPyEndAllowThreads(__tstate); | |
10759 | if (PyErr_Occurred()) SWIG_fail; | |
10760 | } | |
10761 | Py_INCREF(Py_None); resultobj = Py_None; | |
10762 | { | |
10763 | if (temp2) | |
10764 | delete arg2; | |
10765 | } | |
10766 | return resultobj; | |
10767 | fail: | |
10768 | { | |
10769 | if (temp2) | |
10770 | delete arg2; | |
10771 | } | |
10772 | return NULL; | |
10773 | } | |
10774 | ||
10775 | ||
10776 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10777 | PyObject *resultobj; | |
10778 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10779 | long arg2 ; | |
10780 | PyObject * obj0 = 0 ; | |
10781 | char *kwnames[] = { | |
10782 | (char *) "self",(char *) "style", NULL | |
10783 | }; | |
10784 | ||
10785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail; | |
10786 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10787 | { | |
10788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10789 | (arg1)->SetStyle(arg2); | |
10790 | ||
10791 | wxPyEndAllowThreads(__tstate); | |
10792 | if (PyErr_Occurred()) SWIG_fail; | |
10793 | } | |
10794 | Py_INCREF(Py_None); resultobj = Py_None; | |
10795 | return resultobj; | |
10796 | fail: | |
10797 | return NULL; | |
10798 | } | |
10799 | ||
10800 | ||
10801 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10802 | PyObject *resultobj; | |
10803 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10804 | int arg2 ; | |
10805 | PyObject * obj0 = 0 ; | |
10806 | char *kwnames[] = { | |
10807 | (char *) "self",(char *) "filterIndex", NULL | |
10808 | }; | |
10809 | ||
10810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail; | |
10811 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10812 | { | |
10813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10814 | (arg1)->SetFilterIndex(arg2); | |
10815 | ||
10816 | wxPyEndAllowThreads(__tstate); | |
10817 | if (PyErr_Occurred()) SWIG_fail; | |
10818 | } | |
10819 | Py_INCREF(Py_None); resultobj = Py_None; | |
10820 | return resultobj; | |
10821 | fail: | |
10822 | return NULL; | |
10823 | } | |
10824 | ||
10825 | ||
10826 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10827 | PyObject *resultobj; | |
10828 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10829 | wxString result; | |
10830 | PyObject * obj0 = 0 ; | |
10831 | char *kwnames[] = { | |
10832 | (char *) "self", NULL | |
10833 | }; | |
10834 | ||
10835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
10836 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10837 | { | |
10838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10839 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
10840 | ||
10841 | wxPyEndAllowThreads(__tstate); | |
10842 | if (PyErr_Occurred()) SWIG_fail; | |
10843 | } | |
10844 | { | |
10845 | #if wxUSE_UNICODE | |
10846 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10847 | #else | |
10848 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10849 | #endif | |
10850 | } | |
10851 | return resultobj; | |
10852 | fail: | |
10853 | return NULL; | |
10854 | } | |
10855 | ||
10856 | ||
10857 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10858 | PyObject *resultobj; | |
10859 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10860 | wxString result; | |
10861 | PyObject * obj0 = 0 ; | |
10862 | char *kwnames[] = { | |
10863 | (char *) "self", NULL | |
10864 | }; | |
10865 | ||
10866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
10867 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10868 | { | |
10869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10870 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
10871 | ||
10872 | wxPyEndAllowThreads(__tstate); | |
10873 | if (PyErr_Occurred()) SWIG_fail; | |
10874 | } | |
10875 | { | |
10876 | #if wxUSE_UNICODE | |
10877 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10878 | #else | |
10879 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10880 | #endif | |
10881 | } | |
10882 | return resultobj; | |
10883 | fail: | |
10884 | return NULL; | |
10885 | } | |
10886 | ||
10887 | ||
10888 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10889 | PyObject *resultobj; | |
10890 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10891 | wxString result; | |
10892 | PyObject * obj0 = 0 ; | |
10893 | char *kwnames[] = { | |
10894 | (char *) "self", NULL | |
10895 | }; | |
10896 | ||
10897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
10898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10899 | { | |
10900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10901 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
10902 | ||
10903 | wxPyEndAllowThreads(__tstate); | |
10904 | if (PyErr_Occurred()) SWIG_fail; | |
10905 | } | |
10906 | { | |
10907 | #if wxUSE_UNICODE | |
10908 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10909 | #else | |
10910 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10911 | #endif | |
10912 | } | |
10913 | return resultobj; | |
10914 | fail: | |
10915 | return NULL; | |
10916 | } | |
10917 | ||
10918 | ||
10919 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10920 | PyObject *resultobj; | |
10921 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10922 | wxString result; | |
10923 | PyObject * obj0 = 0 ; | |
10924 | char *kwnames[] = { | |
10925 | (char *) "self", NULL | |
10926 | }; | |
10927 | ||
10928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
10929 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10930 | { | |
10931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10932 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
10933 | ||
10934 | wxPyEndAllowThreads(__tstate); | |
10935 | if (PyErr_Occurred()) SWIG_fail; | |
10936 | } | |
10937 | { | |
10938 | #if wxUSE_UNICODE | |
10939 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10940 | #else | |
10941 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10942 | #endif | |
10943 | } | |
10944 | return resultobj; | |
10945 | fail: | |
10946 | return NULL; | |
10947 | } | |
10948 | ||
10949 | ||
10950 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10951 | PyObject *resultobj; | |
10952 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10953 | wxString result; | |
10954 | PyObject * obj0 = 0 ; | |
10955 | char *kwnames[] = { | |
10956 | (char *) "self", NULL | |
10957 | }; | |
10958 | ||
10959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
10960 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10961 | { | |
10962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10963 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
10964 | ||
10965 | wxPyEndAllowThreads(__tstate); | |
10966 | if (PyErr_Occurred()) SWIG_fail; | |
10967 | } | |
10968 | { | |
10969 | #if wxUSE_UNICODE | |
10970 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10971 | #else | |
10972 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10973 | #endif | |
10974 | } | |
10975 | return resultobj; | |
10976 | fail: | |
10977 | return NULL; | |
10978 | } | |
10979 | ||
10980 | ||
10981 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10982 | PyObject *resultobj; | |
10983 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
10984 | long result; | |
10985 | PyObject * obj0 = 0 ; | |
10986 | char *kwnames[] = { | |
10987 | (char *) "self", NULL | |
10988 | }; | |
10989 | ||
10990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
10991 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10992 | { | |
10993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10994 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
10995 | ||
10996 | wxPyEndAllowThreads(__tstate); | |
10997 | if (PyErr_Occurred()) SWIG_fail; | |
10998 | } | |
10999 | resultobj = PyInt_FromLong((long)result); | |
11000 | return resultobj; | |
11001 | fail: | |
11002 | return NULL; | |
11003 | } | |
11004 | ||
11005 | ||
11006 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11007 | PyObject *resultobj; | |
11008 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11009 | int result; | |
11010 | PyObject * obj0 = 0 ; | |
11011 | char *kwnames[] = { | |
11012 | (char *) "self", NULL | |
11013 | }; | |
11014 | ||
11015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
11016 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11017 | { | |
11018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11019 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
11020 | ||
11021 | wxPyEndAllowThreads(__tstate); | |
11022 | if (PyErr_Occurred()) SWIG_fail; | |
11023 | } | |
11024 | resultobj = PyInt_FromLong((long)result); | |
11025 | return resultobj; | |
11026 | fail: | |
11027 | return NULL; | |
11028 | } | |
11029 | ||
11030 | ||
11031 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11032 | PyObject *resultobj; | |
11033 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11034 | PyObject *result; | |
11035 | PyObject * obj0 = 0 ; | |
11036 | char *kwnames[] = { | |
11037 | (char *) "self", NULL | |
11038 | }; | |
11039 | ||
11040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
11041 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11042 | { | |
11043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11044 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
11045 | ||
11046 | wxPyEndAllowThreads(__tstate); | |
11047 | if (PyErr_Occurred()) SWIG_fail; | |
11048 | } | |
11049 | resultobj = result; | |
11050 | return resultobj; | |
11051 | fail: | |
11052 | return NULL; | |
11053 | } | |
11054 | ||
11055 | ||
11056 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11057 | PyObject *resultobj; | |
11058 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11059 | PyObject *result; | |
11060 | PyObject * obj0 = 0 ; | |
11061 | char *kwnames[] = { | |
11062 | (char *) "self", NULL | |
11063 | }; | |
11064 | ||
11065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
11066 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11067 | { | |
11068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11069 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
11070 | ||
11071 | wxPyEndAllowThreads(__tstate); | |
11072 | if (PyErr_Occurred()) SWIG_fail; | |
11073 | } | |
11074 | resultobj = result; | |
11075 | return resultobj; | |
11076 | fail: | |
11077 | return NULL; | |
11078 | } | |
11079 | ||
11080 | ||
11081 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
11082 | PyObject *obj; | |
11083 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11084 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
11085 | Py_INCREF(obj); | |
11086 | return Py_BuildValue((char *)""); | |
11087 | } | |
11088 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11089 | PyObject *resultobj; | |
11090 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11091 | wxString *arg2 = 0 ; | |
11092 | wxString *arg3 = 0 ; | |
11093 | int arg4 ; | |
11094 | wxString *arg5 = (wxString *) 0 ; | |
11095 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
11096 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11097 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11098 | wxMultiChoiceDialog *result; | |
423f194a RD |
11099 | bool temp2 = False ; |
11100 | bool temp3 = False ; | |
d14a1e28 RD |
11101 | wxPoint temp7 ; |
11102 | PyObject * obj0 = 0 ; | |
11103 | PyObject * obj1 = 0 ; | |
11104 | PyObject * obj2 = 0 ; | |
11105 | PyObject * obj4 = 0 ; | |
11106 | PyObject * obj6 = 0 ; | |
11107 | char *kwnames[] = { | |
11108 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
11109 | }; | |
11110 | ||
11111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail; | |
11112 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11113 | { | |
11114 | arg2 = wxString_in_helper(obj1); | |
11115 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11116 | temp2 = True; |
d14a1e28 RD |
11117 | } |
11118 | { | |
11119 | arg3 = wxString_in_helper(obj2); | |
11120 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11121 | temp3 = True; |
d14a1e28 RD |
11122 | } |
11123 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11124 | if (obj6) { | |
11125 | { | |
11126 | arg7 = &temp7; | |
11127 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11128 | } | |
11129 | } | |
11130 | { | |
11131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11132 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
11133 | ||
11134 | wxPyEndAllowThreads(__tstate); | |
11135 | if (PyErr_Occurred()) SWIG_fail; | |
11136 | } | |
11137 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1); | |
11138 | { | |
11139 | if (temp2) | |
11140 | delete arg2; | |
11141 | } | |
11142 | { | |
11143 | if (temp3) | |
11144 | delete arg3; | |
11145 | } | |
11146 | return resultobj; | |
11147 | fail: | |
11148 | { | |
11149 | if (temp2) | |
11150 | delete arg2; | |
11151 | } | |
11152 | { | |
11153 | if (temp3) | |
11154 | delete arg3; | |
11155 | } | |
11156 | return NULL; | |
11157 | } | |
11158 | ||
11159 | ||
11160 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11161 | PyObject *resultobj; | |
11162 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
11163 | wxArrayInt *arg2 = 0 ; | |
11164 | PyObject * obj0 = 0 ; | |
11165 | PyObject * obj1 = 0 ; | |
11166 | char *kwnames[] = { | |
11167 | (char *) "self",(char *) "selections", NULL | |
11168 | }; | |
11169 | ||
11170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
11171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11172 | { | |
11173 | if (! PySequence_Check(obj1)) { | |
11174 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
11175 | SWIG_fail; | |
11176 | } | |
11177 | arg2 = new wxArrayInt; | |
11178 | int i, len=PySequence_Length(obj1); | |
11179 | for (i=0; i<len; i++) { | |
11180 | PyObject* item = PySequence_GetItem(obj1, i); | |
11181 | PyObject* number = PyNumber_Int(item); | |
11182 | arg2->Add(PyInt_AS_LONG(number)); | |
11183 | Py_DECREF(item); | |
11184 | Py_DECREF(number); | |
11185 | } | |
11186 | } | |
11187 | { | |
11188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11189 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
11190 | ||
11191 | wxPyEndAllowThreads(__tstate); | |
11192 | if (PyErr_Occurred()) SWIG_fail; | |
11193 | } | |
11194 | Py_INCREF(Py_None); resultobj = Py_None; | |
11195 | { | |
11196 | if (arg2) delete arg2; | |
11197 | } | |
11198 | return resultobj; | |
11199 | fail: | |
11200 | { | |
11201 | if (arg2) delete arg2; | |
11202 | } | |
11203 | return NULL; | |
11204 | } | |
11205 | ||
11206 | ||
11207 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11208 | PyObject *resultobj; | |
11209 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
11210 | PyObject *result; | |
11211 | PyObject * obj0 = 0 ; | |
11212 | char *kwnames[] = { | |
11213 | (char *) "self", NULL | |
11214 | }; | |
11215 | ||
11216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
11217 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11218 | { | |
11219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11220 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
11221 | ||
11222 | wxPyEndAllowThreads(__tstate); | |
11223 | if (PyErr_Occurred()) SWIG_fail; | |
11224 | } | |
11225 | resultobj = result; | |
11226 | return resultobj; | |
11227 | fail: | |
11228 | return NULL; | |
11229 | } | |
11230 | ||
11231 | ||
11232 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
11233 | PyObject *obj; | |
11234 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11235 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
11236 | Py_INCREF(obj); | |
11237 | return Py_BuildValue((char *)""); | |
11238 | } | |
11239 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11240 | PyObject *resultobj; | |
11241 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11242 | wxString *arg2 = 0 ; | |
11243 | wxString *arg3 = 0 ; | |
11244 | int arg4 ; | |
11245 | wxString *arg5 = (wxString *) 0 ; | |
11246 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
11247 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11248 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11249 | wxSingleChoiceDialog *result; | |
423f194a RD |
11250 | bool temp2 = False ; |
11251 | bool temp3 = False ; | |
d14a1e28 RD |
11252 | wxPoint temp6 ; |
11253 | PyObject * obj0 = 0 ; | |
11254 | PyObject * obj1 = 0 ; | |
11255 | PyObject * obj2 = 0 ; | |
11256 | PyObject * obj3 = 0 ; | |
11257 | PyObject * obj5 = 0 ; | |
11258 | char *kwnames[] = { | |
11259 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
11260 | }; | |
11261 | ||
11262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail; | |
11263 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11264 | { | |
11265 | arg2 = wxString_in_helper(obj1); | |
11266 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11267 | temp2 = True; |
d14a1e28 RD |
11268 | } |
11269 | { | |
11270 | arg3 = wxString_in_helper(obj2); | |
11271 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11272 | temp3 = True; |
d14a1e28 RD |
11273 | } |
11274 | { | |
11275 | arg4 = PyList_Size(obj3); | |
11276 | arg5 = wxString_LIST_helper(obj3); | |
11277 | if (arg5 == NULL) SWIG_fail; | |
11278 | } | |
11279 | if (obj5) { | |
11280 | { | |
11281 | arg7 = &temp6; | |
11282 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
11283 | } | |
11284 | } | |
11285 | { | |
11286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11287 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
11288 | ||
11289 | wxPyEndAllowThreads(__tstate); | |
11290 | if (PyErr_Occurred()) SWIG_fail; | |
11291 | } | |
11292 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1); | |
11293 | { | |
11294 | if (temp2) | |
11295 | delete arg2; | |
11296 | } | |
11297 | { | |
11298 | if (temp3) | |
11299 | delete arg3; | |
11300 | } | |
11301 | { | |
11302 | if (arg5) delete [] arg5; | |
11303 | } | |
11304 | return resultobj; | |
11305 | fail: | |
11306 | { | |
11307 | if (temp2) | |
11308 | delete arg2; | |
11309 | } | |
11310 | { | |
11311 | if (temp3) | |
11312 | delete arg3; | |
11313 | } | |
11314 | { | |
11315 | if (arg5) delete [] arg5; | |
11316 | } | |
11317 | return NULL; | |
11318 | } | |
11319 | ||
11320 | ||
11321 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11322 | PyObject *resultobj; | |
11323 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
11324 | int result; | |
11325 | PyObject * obj0 = 0 ; | |
11326 | char *kwnames[] = { | |
11327 | (char *) "self", NULL | |
11328 | }; | |
11329 | ||
11330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
11331 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11332 | { | |
11333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11334 | result = (int)(arg1)->GetSelection(); | |
11335 | ||
11336 | wxPyEndAllowThreads(__tstate); | |
11337 | if (PyErr_Occurred()) SWIG_fail; | |
11338 | } | |
11339 | resultobj = PyInt_FromLong((long)result); | |
11340 | return resultobj; | |
11341 | fail: | |
11342 | return NULL; | |
11343 | } | |
11344 | ||
11345 | ||
11346 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11347 | PyObject *resultobj; | |
11348 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
11349 | wxString result; | |
11350 | PyObject * obj0 = 0 ; | |
11351 | char *kwnames[] = { | |
11352 | (char *) "self", NULL | |
11353 | }; | |
11354 | ||
11355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
11356 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11357 | { | |
11358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11359 | result = (arg1)->GetStringSelection(); | |
11360 | ||
11361 | wxPyEndAllowThreads(__tstate); | |
11362 | if (PyErr_Occurred()) SWIG_fail; | |
11363 | } | |
11364 | { | |
11365 | #if wxUSE_UNICODE | |
11366 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11367 | #else | |
11368 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11369 | #endif | |
11370 | } | |
11371 | return resultobj; | |
11372 | fail: | |
11373 | return NULL; | |
11374 | } | |
11375 | ||
11376 | ||
11377 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11378 | PyObject *resultobj; | |
11379 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
11380 | int arg2 ; | |
11381 | PyObject * obj0 = 0 ; | |
11382 | char *kwnames[] = { | |
11383 | (char *) "self",(char *) "sel", NULL | |
11384 | }; | |
11385 | ||
11386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail; | |
11387 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11388 | { | |
11389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11390 | (arg1)->SetSelection(arg2); | |
11391 | ||
11392 | wxPyEndAllowThreads(__tstate); | |
11393 | if (PyErr_Occurred()) SWIG_fail; | |
11394 | } | |
11395 | Py_INCREF(Py_None); resultobj = Py_None; | |
11396 | return resultobj; | |
11397 | fail: | |
11398 | return NULL; | |
11399 | } | |
11400 | ||
11401 | ||
11402 | static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11403 | PyObject *resultobj; | |
11404 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
11405 | int result; | |
11406 | PyObject * obj0 = 0 ; | |
11407 | char *kwnames[] = { | |
11408 | (char *) "self", NULL | |
11409 | }; | |
11410 | ||
11411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail; | |
11412 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11413 | { | |
11414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11415 | result = (int)(arg1)->ShowModal(); | |
11416 | ||
11417 | wxPyEndAllowThreads(__tstate); | |
11418 | if (PyErr_Occurred()) SWIG_fail; | |
11419 | } | |
11420 | resultobj = PyInt_FromLong((long)result); | |
11421 | return resultobj; | |
11422 | fail: | |
11423 | return NULL; | |
11424 | } | |
11425 | ||
11426 | ||
11427 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
11428 | PyObject *obj; | |
11429 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11430 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
11431 | Py_INCREF(obj); | |
11432 | return Py_BuildValue((char *)""); | |
11433 | } | |
11434 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11435 | PyObject *resultobj; | |
11436 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11437 | wxString *arg2 = 0 ; | |
11438 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
11439 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11440 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11441 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11442 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
11443 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
11444 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
11445 | wxTextEntryDialog *result; | |
423f194a RD |
11446 | bool temp2 = False ; |
11447 | bool temp3 = False ; | |
11448 | bool temp4 = False ; | |
d14a1e28 RD |
11449 | wxPoint temp6 ; |
11450 | PyObject * obj0 = 0 ; | |
11451 | PyObject * obj1 = 0 ; | |
11452 | PyObject * obj2 = 0 ; | |
11453 | PyObject * obj3 = 0 ; | |
11454 | PyObject * obj5 = 0 ; | |
11455 | char *kwnames[] = { | |
11456 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
11457 | }; | |
11458 | ||
11459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
11460 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11461 | { | |
11462 | arg2 = wxString_in_helper(obj1); | |
11463 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11464 | temp2 = True; |
d14a1e28 RD |
11465 | } |
11466 | if (obj2) { | |
11467 | { | |
11468 | arg3 = wxString_in_helper(obj2); | |
11469 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11470 | temp3 = True; |
d14a1e28 RD |
11471 | } |
11472 | } | |
11473 | if (obj3) { | |
11474 | { | |
11475 | arg4 = wxString_in_helper(obj3); | |
11476 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 11477 | temp4 = True; |
d14a1e28 RD |
11478 | } |
11479 | } | |
11480 | if (obj5) { | |
11481 | { | |
11482 | arg6 = &temp6; | |
11483 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
11484 | } | |
11485 | } | |
11486 | { | |
11487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11488 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
11489 | ||
11490 | wxPyEndAllowThreads(__tstate); | |
11491 | if (PyErr_Occurred()) SWIG_fail; | |
11492 | } | |
11493 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1); | |
11494 | { | |
11495 | if (temp2) | |
11496 | delete arg2; | |
11497 | } | |
11498 | { | |
11499 | if (temp3) | |
11500 | delete arg3; | |
11501 | } | |
11502 | { | |
11503 | if (temp4) | |
11504 | delete arg4; | |
11505 | } | |
11506 | return resultobj; | |
11507 | fail: | |
11508 | { | |
11509 | if (temp2) | |
11510 | delete arg2; | |
11511 | } | |
11512 | { | |
11513 | if (temp3) | |
11514 | delete arg3; | |
11515 | } | |
11516 | { | |
11517 | if (temp4) | |
11518 | delete arg4; | |
11519 | } | |
11520 | return NULL; | |
11521 | } | |
11522 | ||
11523 | ||
11524 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11525 | PyObject *resultobj; | |
11526 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
11527 | wxString result; | |
11528 | PyObject * obj0 = 0 ; | |
11529 | char *kwnames[] = { | |
11530 | (char *) "self", NULL | |
11531 | }; | |
11532 | ||
11533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
11534 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11535 | { | |
11536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11537 | result = (arg1)->GetValue(); | |
11538 | ||
11539 | wxPyEndAllowThreads(__tstate); | |
11540 | if (PyErr_Occurred()) SWIG_fail; | |
11541 | } | |
11542 | { | |
11543 | #if wxUSE_UNICODE | |
11544 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11545 | #else | |
11546 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11547 | #endif | |
11548 | } | |
11549 | return resultobj; | |
11550 | fail: | |
11551 | return NULL; | |
11552 | } | |
11553 | ||
11554 | ||
11555 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11556 | PyObject *resultobj; | |
11557 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
11558 | wxString *arg2 = 0 ; | |
423f194a | 11559 | bool temp2 = False ; |
d14a1e28 RD |
11560 | PyObject * obj0 = 0 ; |
11561 | PyObject * obj1 = 0 ; | |
11562 | char *kwnames[] = { | |
11563 | (char *) "self",(char *) "value", NULL | |
11564 | }; | |
11565 | ||
11566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
11567 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11568 | { | |
11569 | arg2 = wxString_in_helper(obj1); | |
11570 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11571 | temp2 = True; |
d14a1e28 RD |
11572 | } |
11573 | { | |
11574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11575 | (arg1)->SetValue((wxString const &)*arg2); | |
11576 | ||
11577 | wxPyEndAllowThreads(__tstate); | |
11578 | if (PyErr_Occurred()) SWIG_fail; | |
11579 | } | |
11580 | Py_INCREF(Py_None); resultobj = Py_None; | |
11581 | { | |
11582 | if (temp2) | |
11583 | delete arg2; | |
11584 | } | |
11585 | return resultobj; | |
11586 | fail: | |
11587 | { | |
11588 | if (temp2) | |
11589 | delete arg2; | |
11590 | } | |
11591 | return NULL; | |
11592 | } | |
11593 | ||
11594 | ||
11595 | static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11596 | PyObject *resultobj; | |
11597 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
11598 | int result; | |
11599 | PyObject * obj0 = 0 ; | |
11600 | char *kwnames[] = { | |
11601 | (char *) "self", NULL | |
11602 | }; | |
11603 | ||
11604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail; | |
11605 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11606 | { | |
11607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11608 | result = (int)(arg1)->ShowModal(); | |
11609 | ||
11610 | wxPyEndAllowThreads(__tstate); | |
11611 | if (PyErr_Occurred()) SWIG_fail; | |
11612 | } | |
11613 | resultobj = PyInt_FromLong((long)result); | |
11614 | return resultobj; | |
11615 | fail: | |
11616 | return NULL; | |
11617 | } | |
11618 | ||
11619 | ||
11620 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { | |
11621 | PyObject *obj; | |
11622 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11623 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
11624 | Py_INCREF(obj); | |
11625 | return Py_BuildValue((char *)""); | |
11626 | } | |
11627 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11628 | PyObject *resultobj; | |
11629 | wxFontData *result; | |
11630 | char *kwnames[] = { | |
11631 | NULL | |
11632 | }; | |
11633 | ||
11634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
11635 | { | |
11636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11637 | result = (wxFontData *)new wxFontData(); | |
11638 | ||
11639 | wxPyEndAllowThreads(__tstate); | |
11640 | if (PyErr_Occurred()) SWIG_fail; | |
11641 | } | |
11642 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1); | |
11643 | return resultobj; | |
11644 | fail: | |
11645 | return NULL; | |
11646 | } | |
11647 | ||
11648 | ||
11649 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11650 | PyObject *resultobj; | |
11651 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11652 | PyObject * obj0 = 0 ; | |
11653 | char *kwnames[] = { | |
11654 | (char *) "self", NULL | |
11655 | }; | |
11656 | ||
11657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
11658 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11659 | { | |
11660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11661 | delete arg1; | |
11662 | ||
11663 | wxPyEndAllowThreads(__tstate); | |
11664 | if (PyErr_Occurred()) SWIG_fail; | |
11665 | } | |
11666 | Py_INCREF(Py_None); resultobj = Py_None; | |
11667 | return resultobj; | |
11668 | fail: | |
11669 | return NULL; | |
11670 | } | |
11671 | ||
11672 | ||
11673 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11674 | PyObject *resultobj; | |
11675 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11676 | bool arg2 ; | |
11677 | PyObject * obj0 = 0 ; | |
11678 | PyObject * obj1 = 0 ; | |
11679 | char *kwnames[] = { | |
11680 | (char *) "self",(char *) "enable", NULL | |
11681 | }; | |
11682 | ||
11683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
11684 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11685 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
11686 | if (PyErr_Occurred()) SWIG_fail; | |
11687 | { | |
11688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11689 | (arg1)->EnableEffects(arg2); | |
11690 | ||
11691 | wxPyEndAllowThreads(__tstate); | |
11692 | if (PyErr_Occurred()) SWIG_fail; | |
11693 | } | |
11694 | Py_INCREF(Py_None); resultobj = Py_None; | |
11695 | return resultobj; | |
11696 | fail: | |
11697 | return NULL; | |
11698 | } | |
11699 | ||
11700 | ||
11701 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11702 | PyObject *resultobj; | |
11703 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11704 | bool result; | |
11705 | PyObject * obj0 = 0 ; | |
11706 | char *kwnames[] = { | |
11707 | (char *) "self", NULL | |
11708 | }; | |
11709 | ||
11710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
11711 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11712 | { | |
11713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11714 | result = (bool)(arg1)->GetAllowSymbols(); | |
11715 | ||
11716 | wxPyEndAllowThreads(__tstate); | |
11717 | if (PyErr_Occurred()) SWIG_fail; | |
11718 | } | |
11719 | resultobj = PyInt_FromLong((long)result); | |
11720 | return resultobj; | |
11721 | fail: | |
11722 | return NULL; | |
11723 | } | |
11724 | ||
11725 | ||
11726 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11727 | PyObject *resultobj; | |
11728 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11729 | wxColour result; | |
11730 | PyObject * obj0 = 0 ; | |
11731 | char *kwnames[] = { | |
11732 | (char *) "self", NULL | |
11733 | }; | |
11734 | ||
11735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
11736 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11737 | { | |
11738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11739 | result = (arg1)->GetColour(); | |
11740 | ||
11741 | wxPyEndAllowThreads(__tstate); | |
11742 | if (PyErr_Occurred()) SWIG_fail; | |
11743 | } | |
11744 | { | |
11745 | wxColour * resultptr; | |
11746 | resultptr = new wxColour((wxColour &) result); | |
11747 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
11748 | } | |
11749 | return resultobj; | |
11750 | fail: | |
11751 | return NULL; | |
11752 | } | |
11753 | ||
11754 | ||
11755 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11756 | PyObject *resultobj; | |
11757 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11758 | wxFont result; | |
11759 | PyObject * obj0 = 0 ; | |
11760 | char *kwnames[] = { | |
11761 | (char *) "self", NULL | |
11762 | }; | |
11763 | ||
11764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
11765 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11766 | { | |
11767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11768 | result = (arg1)->GetChosenFont(); | |
11769 | ||
11770 | wxPyEndAllowThreads(__tstate); | |
11771 | if (PyErr_Occurred()) SWIG_fail; | |
11772 | } | |
11773 | { | |
11774 | wxFont * resultptr; | |
11775 | resultptr = new wxFont((wxFont &) result); | |
11776 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
11777 | } | |
11778 | return resultobj; | |
11779 | fail: | |
11780 | return NULL; | |
11781 | } | |
11782 | ||
11783 | ||
11784 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11785 | PyObject *resultobj; | |
11786 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11787 | bool result; | |
11788 | PyObject * obj0 = 0 ; | |
11789 | char *kwnames[] = { | |
11790 | (char *) "self", NULL | |
11791 | }; | |
11792 | ||
11793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
11794 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11795 | { | |
11796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11797 | result = (bool)(arg1)->GetEnableEffects(); | |
11798 | ||
11799 | wxPyEndAllowThreads(__tstate); | |
11800 | if (PyErr_Occurred()) SWIG_fail; | |
11801 | } | |
11802 | resultobj = PyInt_FromLong((long)result); | |
11803 | return resultobj; | |
11804 | fail: | |
11805 | return NULL; | |
11806 | } | |
11807 | ||
11808 | ||
11809 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11810 | PyObject *resultobj; | |
11811 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11812 | wxFont result; | |
11813 | PyObject * obj0 = 0 ; | |
11814 | char *kwnames[] = { | |
11815 | (char *) "self", NULL | |
11816 | }; | |
11817 | ||
11818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
11819 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11820 | { | |
11821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11822 | result = (arg1)->GetInitialFont(); | |
11823 | ||
11824 | wxPyEndAllowThreads(__tstate); | |
11825 | if (PyErr_Occurred()) SWIG_fail; | |
11826 | } | |
11827 | { | |
11828 | wxFont * resultptr; | |
11829 | resultptr = new wxFont((wxFont &) result); | |
11830 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
11831 | } | |
11832 | return resultobj; | |
11833 | fail: | |
11834 | return NULL; | |
11835 | } | |
11836 | ||
11837 | ||
11838 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11839 | PyObject *resultobj; | |
11840 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11841 | bool result; | |
11842 | PyObject * obj0 = 0 ; | |
11843 | char *kwnames[] = { | |
11844 | (char *) "self", NULL | |
11845 | }; | |
11846 | ||
11847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
11848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11849 | { | |
11850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11851 | result = (bool)(arg1)->GetShowHelp(); | |
11852 | ||
11853 | wxPyEndAllowThreads(__tstate); | |
11854 | if (PyErr_Occurred()) SWIG_fail; | |
11855 | } | |
11856 | resultobj = PyInt_FromLong((long)result); | |
11857 | return resultobj; | |
11858 | fail: | |
11859 | return NULL; | |
11860 | } | |
11861 | ||
11862 | ||
11863 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11864 | PyObject *resultobj; | |
11865 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11866 | bool arg2 ; | |
11867 | PyObject * obj0 = 0 ; | |
11868 | PyObject * obj1 = 0 ; | |
11869 | char *kwnames[] = { | |
11870 | (char *) "self",(char *) "allowSymbols", NULL | |
11871 | }; | |
11872 | ||
11873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
11874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11875 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
11876 | if (PyErr_Occurred()) SWIG_fail; | |
11877 | { | |
11878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11879 | (arg1)->SetAllowSymbols(arg2); | |
11880 | ||
11881 | wxPyEndAllowThreads(__tstate); | |
11882 | if (PyErr_Occurred()) SWIG_fail; | |
11883 | } | |
11884 | Py_INCREF(Py_None); resultobj = Py_None; | |
11885 | return resultobj; | |
11886 | fail: | |
11887 | return NULL; | |
11888 | } | |
11889 | ||
11890 | ||
11891 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11892 | PyObject *resultobj; | |
11893 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11894 | wxFont *arg2 = 0 ; | |
11895 | PyObject * obj0 = 0 ; | |
11896 | PyObject * obj1 = 0 ; | |
11897 | char *kwnames[] = { | |
11898 | (char *) "self",(char *) "font", NULL | |
11899 | }; | |
11900 | ||
11901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
11902 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11903 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11904 | if (arg2 == NULL) { | |
11905 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
11906 | } | |
11907 | { | |
11908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11909 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
11910 | ||
11911 | wxPyEndAllowThreads(__tstate); | |
11912 | if (PyErr_Occurred()) SWIG_fail; | |
11913 | } | |
11914 | Py_INCREF(Py_None); resultobj = Py_None; | |
11915 | return resultobj; | |
11916 | fail: | |
11917 | return NULL; | |
11918 | } | |
11919 | ||
11920 | ||
11921 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11922 | PyObject *resultobj; | |
11923 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11924 | wxColour *arg2 = 0 ; | |
11925 | wxColour temp2 ; | |
11926 | PyObject * obj0 = 0 ; | |
11927 | PyObject * obj1 = 0 ; | |
11928 | char *kwnames[] = { | |
11929 | (char *) "self",(char *) "colour", NULL | |
11930 | }; | |
11931 | ||
11932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
11933 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11934 | { | |
11935 | arg2 = &temp2; | |
11936 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11937 | } | |
11938 | { | |
11939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11940 | (arg1)->SetColour((wxColour const &)*arg2); | |
11941 | ||
11942 | wxPyEndAllowThreads(__tstate); | |
11943 | if (PyErr_Occurred()) SWIG_fail; | |
11944 | } | |
11945 | Py_INCREF(Py_None); resultobj = Py_None; | |
11946 | return resultobj; | |
11947 | fail: | |
11948 | return NULL; | |
11949 | } | |
11950 | ||
11951 | ||
11952 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11953 | PyObject *resultobj; | |
11954 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11955 | wxFont *arg2 = 0 ; | |
11956 | PyObject * obj0 = 0 ; | |
11957 | PyObject * obj1 = 0 ; | |
11958 | char *kwnames[] = { | |
11959 | (char *) "self",(char *) "font", NULL | |
11960 | }; | |
11961 | ||
11962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
11963 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11964 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11965 | if (arg2 == NULL) { | |
11966 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
11967 | } | |
11968 | { | |
11969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11970 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
11971 | ||
11972 | wxPyEndAllowThreads(__tstate); | |
11973 | if (PyErr_Occurred()) SWIG_fail; | |
11974 | } | |
11975 | Py_INCREF(Py_None); resultobj = Py_None; | |
11976 | return resultobj; | |
11977 | fail: | |
11978 | return NULL; | |
11979 | } | |
11980 | ||
11981 | ||
11982 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11983 | PyObject *resultobj; | |
11984 | wxFontData *arg1 = (wxFontData *) 0 ; | |
11985 | int arg2 ; | |
11986 | int arg3 ; | |
11987 | PyObject * obj0 = 0 ; | |
11988 | char *kwnames[] = { | |
11989 | (char *) "self",(char *) "min",(char *) "max", NULL | |
11990 | }; | |
11991 | ||
11992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
11993 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11994 | { | |
11995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11996 | (arg1)->SetRange(arg2,arg3); | |
11997 | ||
11998 | wxPyEndAllowThreads(__tstate); | |
11999 | if (PyErr_Occurred()) SWIG_fail; | |
12000 | } | |
12001 | Py_INCREF(Py_None); resultobj = Py_None; | |
12002 | return resultobj; | |
12003 | fail: | |
12004 | return NULL; | |
12005 | } | |
12006 | ||
12007 | ||
12008 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12009 | PyObject *resultobj; | |
12010 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12011 | bool arg2 ; | |
12012 | PyObject * obj0 = 0 ; | |
12013 | PyObject * obj1 = 0 ; | |
12014 | char *kwnames[] = { | |
12015 | (char *) "self",(char *) "showHelp", NULL | |
12016 | }; | |
12017 | ||
12018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
12019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12020 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
12021 | if (PyErr_Occurred()) SWIG_fail; | |
12022 | { | |
12023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12024 | (arg1)->SetShowHelp(arg2); | |
12025 | ||
12026 | wxPyEndAllowThreads(__tstate); | |
12027 | if (PyErr_Occurred()) SWIG_fail; | |
12028 | } | |
12029 | Py_INCREF(Py_None); resultobj = Py_None; | |
12030 | return resultobj; | |
12031 | fail: | |
12032 | return NULL; | |
12033 | } | |
12034 | ||
12035 | ||
12036 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
12037 | PyObject *obj; | |
12038 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12039 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
12040 | Py_INCREF(obj); | |
12041 | return Py_BuildValue((char *)""); | |
12042 | } | |
12043 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12044 | PyObject *resultobj; | |
12045 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12046 | wxFontData *arg2 = 0 ; | |
12047 | wxFontDialog *result; | |
12048 | PyObject * obj0 = 0 ; | |
12049 | PyObject * obj1 = 0 ; | |
12050 | char *kwnames[] = { | |
12051 | (char *) "parent",(char *) "data", NULL | |
12052 | }; | |
12053 | ||
12054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
12055 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12056 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12057 | if (arg2 == NULL) { | |
12058 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
12059 | } | |
12060 | { | |
12061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12062 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
12063 | ||
12064 | wxPyEndAllowThreads(__tstate); | |
12065 | if (PyErr_Occurred()) SWIG_fail; | |
12066 | } | |
12067 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1); | |
12068 | return resultobj; | |
12069 | fail: | |
12070 | return NULL; | |
12071 | } | |
12072 | ||
12073 | ||
12074 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12075 | PyObject *resultobj; | |
12076 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
12077 | wxFontData *result; | |
12078 | PyObject * obj0 = 0 ; | |
12079 | char *kwnames[] = { | |
12080 | (char *) "self", NULL | |
12081 | }; | |
12082 | ||
12083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
12084 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12085 | { | |
12086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12087 | { | |
12088 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
12089 | result = (wxFontData *) &_result_ref; | |
12090 | } | |
12091 | ||
12092 | wxPyEndAllowThreads(__tstate); | |
12093 | if (PyErr_Occurred()) SWIG_fail; | |
12094 | } | |
12095 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0); | |
12096 | return resultobj; | |
12097 | fail: | |
12098 | return NULL; | |
12099 | } | |
12100 | ||
12101 | ||
12102 | static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12103 | PyObject *resultobj; | |
12104 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
12105 | int result; | |
12106 | PyObject * obj0 = 0 ; | |
12107 | char *kwnames[] = { | |
12108 | (char *) "self", NULL | |
12109 | }; | |
12110 | ||
12111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail; | |
12112 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12113 | { | |
12114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12115 | result = (int)(arg1)->ShowModal(); | |
12116 | ||
12117 | wxPyEndAllowThreads(__tstate); | |
12118 | if (PyErr_Occurred()) SWIG_fail; | |
12119 | } | |
12120 | resultobj = PyInt_FromLong((long)result); | |
12121 | return resultobj; | |
12122 | fail: | |
12123 | return NULL; | |
12124 | } | |
12125 | ||
12126 | ||
12127 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
12128 | PyObject *obj; | |
12129 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12130 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
12131 | Py_INCREF(obj); | |
12132 | return Py_BuildValue((char *)""); | |
12133 | } | |
12134 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12135 | PyObject *resultobj; | |
12136 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12137 | wxString *arg2 = 0 ; | |
12138 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
12139 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12140 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12141 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
12142 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
12143 | wxMessageDialog *result; | |
423f194a RD |
12144 | bool temp2 = False ; |
12145 | bool temp3 = False ; | |
d14a1e28 RD |
12146 | wxPoint temp5 ; |
12147 | PyObject * obj0 = 0 ; | |
12148 | PyObject * obj1 = 0 ; | |
12149 | PyObject * obj2 = 0 ; | |
12150 | PyObject * obj4 = 0 ; | |
12151 | char *kwnames[] = { | |
12152 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
12153 | }; | |
12154 | ||
12155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail; | |
12156 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12157 | { | |
12158 | arg2 = wxString_in_helper(obj1); | |
12159 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12160 | temp2 = True; |
d14a1e28 RD |
12161 | } |
12162 | if (obj2) { | |
12163 | { | |
12164 | arg3 = wxString_in_helper(obj2); | |
12165 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12166 | temp3 = True; |
d14a1e28 RD |
12167 | } |
12168 | } | |
12169 | if (obj4) { | |
12170 | { | |
12171 | arg5 = &temp5; | |
12172 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
12173 | } | |
12174 | } | |
12175 | { | |
12176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12177 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
12178 | ||
12179 | wxPyEndAllowThreads(__tstate); | |
12180 | if (PyErr_Occurred()) SWIG_fail; | |
12181 | } | |
12182 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1); | |
12183 | { | |
12184 | if (temp2) | |
12185 | delete arg2; | |
12186 | } | |
12187 | { | |
12188 | if (temp3) | |
12189 | delete arg3; | |
12190 | } | |
12191 | return resultobj; | |
12192 | fail: | |
12193 | { | |
12194 | if (temp2) | |
12195 | delete arg2; | |
12196 | } | |
12197 | { | |
12198 | if (temp3) | |
12199 | delete arg3; | |
12200 | } | |
12201 | return NULL; | |
12202 | } | |
12203 | ||
12204 | ||
12205 | static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12206 | PyObject *resultobj; | |
12207 | wxMessageDialog *arg1 = (wxMessageDialog *) 0 ; | |
12208 | int result; | |
12209 | PyObject * obj0 = 0 ; | |
12210 | char *kwnames[] = { | |
12211 | (char *) "self", NULL | |
12212 | }; | |
12213 | ||
12214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail; | |
12215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12216 | { | |
12217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12218 | result = (int)(arg1)->ShowModal(); | |
12219 | ||
12220 | wxPyEndAllowThreads(__tstate); | |
12221 | if (PyErr_Occurred()) SWIG_fail; | |
12222 | } | |
12223 | resultobj = PyInt_FromLong((long)result); | |
12224 | return resultobj; | |
12225 | fail: | |
12226 | return NULL; | |
12227 | } | |
12228 | ||
12229 | ||
12230 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { | |
12231 | PyObject *obj; | |
12232 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12233 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
12234 | Py_INCREF(obj); | |
12235 | return Py_BuildValue((char *)""); | |
12236 | } | |
12237 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12238 | PyObject *resultobj; | |
12239 | wxString *arg1 = 0 ; | |
12240 | wxString *arg2 = 0 ; | |
12241 | int arg3 = (int) 100 ; | |
12242 | wxWindow *arg4 = (wxWindow *) NULL ; | |
12243 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
12244 | wxProgressDialog *result; | |
423f194a RD |
12245 | bool temp1 = False ; |
12246 | bool temp2 = False ; | |
d14a1e28 RD |
12247 | PyObject * obj0 = 0 ; |
12248 | PyObject * obj1 = 0 ; | |
12249 | PyObject * obj3 = 0 ; | |
12250 | char *kwnames[] = { | |
12251 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
12252 | }; | |
12253 | ||
12254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail; | |
12255 | { | |
12256 | arg1 = wxString_in_helper(obj0); | |
12257 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 12258 | temp1 = True; |
d14a1e28 RD |
12259 | } |
12260 | { | |
12261 | arg2 = wxString_in_helper(obj1); | |
12262 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12263 | temp2 = True; |
d14a1e28 RD |
12264 | } |
12265 | if (obj3) { | |
12266 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12267 | } | |
12268 | { | |
12269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12270 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
12271 | ||
12272 | wxPyEndAllowThreads(__tstate); | |
12273 | if (PyErr_Occurred()) SWIG_fail; | |
12274 | } | |
12275 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1); | |
12276 | { | |
12277 | if (temp1) | |
12278 | delete arg1; | |
12279 | } | |
12280 | { | |
12281 | if (temp2) | |
12282 | delete arg2; | |
12283 | } | |
12284 | return resultobj; | |
12285 | fail: | |
12286 | { | |
12287 | if (temp1) | |
12288 | delete arg1; | |
12289 | } | |
12290 | { | |
12291 | if (temp2) | |
12292 | delete arg2; | |
12293 | } | |
12294 | return NULL; | |
12295 | } | |
12296 | ||
12297 | ||
12298 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12299 | PyObject *resultobj; | |
12300 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
12301 | int arg2 ; | |
12302 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12303 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12304 | bool result; | |
423f194a | 12305 | bool temp3 = False ; |
d14a1e28 RD |
12306 | PyObject * obj0 = 0 ; |
12307 | PyObject * obj2 = 0 ; | |
12308 | char *kwnames[] = { | |
12309 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
12310 | }; | |
12311 | ||
12312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
12313 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12314 | if (obj2) { | |
12315 | { | |
12316 | arg3 = wxString_in_helper(obj2); | |
12317 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12318 | temp3 = True; |
d14a1e28 RD |
12319 | } |
12320 | } | |
12321 | { | |
12322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12323 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
12324 | ||
12325 | wxPyEndAllowThreads(__tstate); | |
12326 | if (PyErr_Occurred()) SWIG_fail; | |
12327 | } | |
12328 | resultobj = PyInt_FromLong((long)result); | |
12329 | { | |
12330 | if (temp3) | |
12331 | delete arg3; | |
12332 | } | |
12333 | return resultobj; | |
12334 | fail: | |
12335 | { | |
12336 | if (temp3) | |
12337 | delete arg3; | |
12338 | } | |
12339 | return NULL; | |
12340 | } | |
12341 | ||
12342 | ||
12343 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12344 | PyObject *resultobj; | |
12345 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
12346 | PyObject * obj0 = 0 ; | |
12347 | char *kwnames[] = { | |
12348 | (char *) "self", NULL | |
12349 | }; | |
12350 | ||
12351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
12352 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12353 | { | |
12354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12355 | (arg1)->Resume(); | |
12356 | ||
12357 | wxPyEndAllowThreads(__tstate); | |
12358 | if (PyErr_Occurred()) SWIG_fail; | |
12359 | } | |
12360 | Py_INCREF(Py_None); resultobj = Py_None; | |
12361 | return resultobj; | |
12362 | fail: | |
12363 | return NULL; | |
12364 | } | |
12365 | ||
12366 | ||
12367 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
12368 | PyObject *obj; | |
12369 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12370 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
12371 | Py_INCREF(obj); | |
12372 | return Py_BuildValue((char *)""); | |
12373 | } | |
12374 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12375 | PyObject *resultobj; | |
12376 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
12377 | int arg2 = (int) 0 ; | |
12378 | wxFindDialogEvent *result; | |
12379 | char *kwnames[] = { | |
12380 | (char *) "commandType",(char *) "id", NULL | |
12381 | }; | |
12382 | ||
12383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail; | |
12384 | { | |
12385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12386 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
12387 | ||
12388 | wxPyEndAllowThreads(__tstate); | |
12389 | if (PyErr_Occurred()) SWIG_fail; | |
12390 | } | |
12391 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1); | |
12392 | return resultobj; | |
12393 | fail: | |
12394 | return NULL; | |
12395 | } | |
12396 | ||
12397 | ||
12398 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12399 | PyObject *resultobj; | |
12400 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
12401 | int result; | |
12402 | PyObject * obj0 = 0 ; | |
12403 | char *kwnames[] = { | |
12404 | (char *) "self", NULL | |
12405 | }; | |
12406 | ||
12407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
12408 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12409 | { | |
12410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12411 | result = (int)(arg1)->GetFlags(); | |
12412 | ||
12413 | wxPyEndAllowThreads(__tstate); | |
12414 | if (PyErr_Occurred()) SWIG_fail; | |
12415 | } | |
12416 | resultobj = PyInt_FromLong((long)result); | |
12417 | return resultobj; | |
12418 | fail: | |
12419 | return NULL; | |
12420 | } | |
12421 | ||
12422 | ||
12423 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12424 | PyObject *resultobj; | |
12425 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
12426 | wxString result; | |
12427 | PyObject * obj0 = 0 ; | |
12428 | char *kwnames[] = { | |
12429 | (char *) "self", NULL | |
12430 | }; | |
12431 | ||
12432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
12433 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12434 | { | |
12435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12436 | result = (arg1)->GetFindString(); | |
12437 | ||
12438 | wxPyEndAllowThreads(__tstate); | |
12439 | if (PyErr_Occurred()) SWIG_fail; | |
12440 | } | |
12441 | { | |
12442 | #if wxUSE_UNICODE | |
12443 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12444 | #else | |
12445 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12446 | #endif | |
12447 | } | |
12448 | return resultobj; | |
12449 | fail: | |
12450 | return NULL; | |
12451 | } | |
12452 | ||
12453 | ||
12454 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12455 | PyObject *resultobj; | |
12456 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
12457 | wxString *result; | |
12458 | PyObject * obj0 = 0 ; | |
12459 | char *kwnames[] = { | |
12460 | (char *) "self", NULL | |
12461 | }; | |
12462 | ||
12463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
12464 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12465 | { | |
12466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12467 | { | |
12468 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
12469 | result = (wxString *) &_result_ref; | |
12470 | } | |
12471 | ||
12472 | wxPyEndAllowThreads(__tstate); | |
12473 | if (PyErr_Occurred()) SWIG_fail; | |
12474 | } | |
12475 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
12476 | return resultobj; | |
12477 | fail: | |
12478 | return NULL; | |
12479 | } | |
12480 | ||
12481 | ||
12482 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12483 | PyObject *resultobj; | |
12484 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
12485 | wxFindReplaceDialog *result; | |
12486 | PyObject * obj0 = 0 ; | |
12487 | char *kwnames[] = { | |
12488 | (char *) "self", NULL | |
12489 | }; | |
12490 | ||
12491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
12492 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12493 | { | |
12494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12495 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
12496 | ||
12497 | wxPyEndAllowThreads(__tstate); | |
12498 | if (PyErr_Occurred()) SWIG_fail; | |
12499 | } | |
12500 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0); | |
12501 | return resultobj; | |
12502 | fail: | |
12503 | return NULL; | |
12504 | } | |
12505 | ||
12506 | ||
12507 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12508 | PyObject *resultobj; | |
12509 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
12510 | int arg2 ; | |
12511 | PyObject * obj0 = 0 ; | |
12512 | char *kwnames[] = { | |
12513 | (char *) "self",(char *) "flags", NULL | |
12514 | }; | |
12515 | ||
12516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail; | |
12517 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12518 | { | |
12519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12520 | (arg1)->SetFlags(arg2); | |
12521 | ||
12522 | wxPyEndAllowThreads(__tstate); | |
12523 | if (PyErr_Occurred()) SWIG_fail; | |
12524 | } | |
12525 | Py_INCREF(Py_None); resultobj = Py_None; | |
12526 | return resultobj; | |
12527 | fail: | |
12528 | return NULL; | |
12529 | } | |
12530 | ||
12531 | ||
12532 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12533 | PyObject *resultobj; | |
12534 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
12535 | wxString *arg2 = 0 ; | |
423f194a | 12536 | bool temp2 = False ; |
d14a1e28 RD |
12537 | PyObject * obj0 = 0 ; |
12538 | PyObject * obj1 = 0 ; | |
12539 | char *kwnames[] = { | |
12540 | (char *) "self",(char *) "str", NULL | |
12541 | }; | |
12542 | ||
12543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
12544 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12545 | { | |
12546 | arg2 = wxString_in_helper(obj1); | |
12547 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12548 | temp2 = True; |
d14a1e28 RD |
12549 | } |
12550 | { | |
12551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12552 | (arg1)->SetFindString((wxString const &)*arg2); | |
12553 | ||
12554 | wxPyEndAllowThreads(__tstate); | |
12555 | if (PyErr_Occurred()) SWIG_fail; | |
12556 | } | |
12557 | Py_INCREF(Py_None); resultobj = Py_None; | |
12558 | { | |
12559 | if (temp2) | |
12560 | delete arg2; | |
12561 | } | |
12562 | return resultobj; | |
12563 | fail: | |
12564 | { | |
12565 | if (temp2) | |
12566 | delete arg2; | |
12567 | } | |
12568 | return NULL; | |
12569 | } | |
12570 | ||
12571 | ||
12572 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12573 | PyObject *resultobj; | |
12574 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
12575 | wxString *arg2 = 0 ; | |
423f194a | 12576 | bool temp2 = False ; |
d14a1e28 RD |
12577 | PyObject * obj0 = 0 ; |
12578 | PyObject * obj1 = 0 ; | |
12579 | char *kwnames[] = { | |
12580 | (char *) "self",(char *) "str", NULL | |
12581 | }; | |
12582 | ||
12583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
12584 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12585 | { | |
12586 | arg2 = wxString_in_helper(obj1); | |
12587 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12588 | temp2 = True; |
d14a1e28 RD |
12589 | } |
12590 | { | |
12591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12592 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
12593 | ||
12594 | wxPyEndAllowThreads(__tstate); | |
12595 | if (PyErr_Occurred()) SWIG_fail; | |
12596 | } | |
12597 | Py_INCREF(Py_None); resultobj = Py_None; | |
12598 | { | |
12599 | if (temp2) | |
12600 | delete arg2; | |
12601 | } | |
12602 | return resultobj; | |
12603 | fail: | |
12604 | { | |
12605 | if (temp2) | |
12606 | delete arg2; | |
12607 | } | |
12608 | return NULL; | |
12609 | } | |
12610 | ||
12611 | ||
12612 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
12613 | PyObject *obj; | |
12614 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12615 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
12616 | Py_INCREF(obj); | |
12617 | return Py_BuildValue((char *)""); | |
12618 | } | |
12619 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12620 | PyObject *resultobj; | |
12621 | int arg1 = (int) 0 ; | |
12622 | wxFindReplaceData *result; | |
12623 | char *kwnames[] = { | |
12624 | (char *) "flags", NULL | |
12625 | }; | |
12626 | ||
12627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail; | |
12628 | { | |
12629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12630 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
12631 | ||
12632 | wxPyEndAllowThreads(__tstate); | |
12633 | if (PyErr_Occurred()) SWIG_fail; | |
12634 | } | |
12635 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1); | |
12636 | return resultobj; | |
12637 | fail: | |
12638 | return NULL; | |
12639 | } | |
12640 | ||
12641 | ||
12642 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12643 | PyObject *resultobj; | |
12644 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12645 | PyObject * obj0 = 0 ; | |
12646 | char *kwnames[] = { | |
12647 | (char *) "self", NULL | |
12648 | }; | |
12649 | ||
12650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
12651 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12652 | { | |
12653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12654 | delete arg1; | |
12655 | ||
12656 | wxPyEndAllowThreads(__tstate); | |
12657 | if (PyErr_Occurred()) SWIG_fail; | |
12658 | } | |
12659 | Py_INCREF(Py_None); resultobj = Py_None; | |
12660 | return resultobj; | |
12661 | fail: | |
12662 | return NULL; | |
12663 | } | |
12664 | ||
12665 | ||
12666 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12667 | PyObject *resultobj; | |
12668 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12669 | wxString *result; | |
12670 | PyObject * obj0 = 0 ; | |
12671 | char *kwnames[] = { | |
12672 | (char *) "self", NULL | |
12673 | }; | |
12674 | ||
12675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
12676 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12677 | { | |
12678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12679 | { | |
12680 | wxString const &_result_ref = (arg1)->GetFindString(); | |
12681 | result = (wxString *) &_result_ref; | |
12682 | } | |
12683 | ||
12684 | wxPyEndAllowThreads(__tstate); | |
12685 | if (PyErr_Occurred()) SWIG_fail; | |
12686 | } | |
12687 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
12688 | return resultobj; | |
12689 | fail: | |
12690 | return NULL; | |
12691 | } | |
12692 | ||
12693 | ||
12694 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12695 | PyObject *resultobj; | |
12696 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12697 | wxString *result; | |
12698 | PyObject * obj0 = 0 ; | |
12699 | char *kwnames[] = { | |
12700 | (char *) "self", NULL | |
12701 | }; | |
12702 | ||
12703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
12704 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12705 | { | |
12706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12707 | { | |
12708 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
12709 | result = (wxString *) &_result_ref; | |
12710 | } | |
12711 | ||
12712 | wxPyEndAllowThreads(__tstate); | |
12713 | if (PyErr_Occurred()) SWIG_fail; | |
12714 | } | |
12715 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
12716 | return resultobj; | |
12717 | fail: | |
12718 | return NULL; | |
12719 | } | |
12720 | ||
12721 | ||
12722 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12723 | PyObject *resultobj; | |
12724 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12725 | int result; | |
12726 | PyObject * obj0 = 0 ; | |
12727 | char *kwnames[] = { | |
12728 | (char *) "self", NULL | |
12729 | }; | |
12730 | ||
12731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
12732 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12733 | { | |
12734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12735 | result = (int)(arg1)->GetFlags(); | |
12736 | ||
12737 | wxPyEndAllowThreads(__tstate); | |
12738 | if (PyErr_Occurred()) SWIG_fail; | |
12739 | } | |
12740 | resultobj = PyInt_FromLong((long)result); | |
12741 | return resultobj; | |
12742 | fail: | |
12743 | return NULL; | |
12744 | } | |
12745 | ||
12746 | ||
12747 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12748 | PyObject *resultobj; | |
12749 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12750 | int arg2 ; | |
12751 | PyObject * obj0 = 0 ; | |
12752 | char *kwnames[] = { | |
12753 | (char *) "self",(char *) "flags", NULL | |
12754 | }; | |
12755 | ||
12756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail; | |
12757 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12758 | { | |
12759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12760 | (arg1)->SetFlags(arg2); | |
12761 | ||
12762 | wxPyEndAllowThreads(__tstate); | |
12763 | if (PyErr_Occurred()) SWIG_fail; | |
12764 | } | |
12765 | Py_INCREF(Py_None); resultobj = Py_None; | |
12766 | return resultobj; | |
12767 | fail: | |
12768 | return NULL; | |
12769 | } | |
12770 | ||
12771 | ||
12772 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12773 | PyObject *resultobj; | |
12774 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12775 | wxString *arg2 = 0 ; | |
423f194a | 12776 | bool temp2 = False ; |
d14a1e28 RD |
12777 | PyObject * obj0 = 0 ; |
12778 | PyObject * obj1 = 0 ; | |
12779 | char *kwnames[] = { | |
12780 | (char *) "self",(char *) "str", NULL | |
12781 | }; | |
12782 | ||
12783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
12784 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12785 | { | |
12786 | arg2 = wxString_in_helper(obj1); | |
12787 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12788 | temp2 = True; |
d14a1e28 RD |
12789 | } |
12790 | { | |
12791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12792 | (arg1)->SetFindString((wxString const &)*arg2); | |
12793 | ||
12794 | wxPyEndAllowThreads(__tstate); | |
12795 | if (PyErr_Occurred()) SWIG_fail; | |
12796 | } | |
12797 | Py_INCREF(Py_None); resultobj = Py_None; | |
12798 | { | |
12799 | if (temp2) | |
12800 | delete arg2; | |
12801 | } | |
12802 | return resultobj; | |
12803 | fail: | |
12804 | { | |
12805 | if (temp2) | |
12806 | delete arg2; | |
12807 | } | |
12808 | return NULL; | |
12809 | } | |
12810 | ||
12811 | ||
12812 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12813 | PyObject *resultobj; | |
12814 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
12815 | wxString *arg2 = 0 ; | |
423f194a | 12816 | bool temp2 = False ; |
d14a1e28 RD |
12817 | PyObject * obj0 = 0 ; |
12818 | PyObject * obj1 = 0 ; | |
12819 | char *kwnames[] = { | |
12820 | (char *) "self",(char *) "str", NULL | |
12821 | }; | |
12822 | ||
12823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
12824 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12825 | { | |
12826 | arg2 = wxString_in_helper(obj1); | |
12827 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12828 | temp2 = True; |
d14a1e28 RD |
12829 | } |
12830 | { | |
12831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12832 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
12833 | ||
12834 | wxPyEndAllowThreads(__tstate); | |
12835 | if (PyErr_Occurred()) SWIG_fail; | |
12836 | } | |
12837 | Py_INCREF(Py_None); resultobj = Py_None; | |
12838 | { | |
12839 | if (temp2) | |
12840 | delete arg2; | |
12841 | } | |
12842 | return resultobj; | |
12843 | fail: | |
12844 | { | |
12845 | if (temp2) | |
12846 | delete arg2; | |
12847 | } | |
12848 | return NULL; | |
12849 | } | |
12850 | ||
12851 | ||
12852 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
12853 | PyObject *obj; | |
12854 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12855 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
12856 | Py_INCREF(obj); | |
12857 | return Py_BuildValue((char *)""); | |
12858 | } | |
12859 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12860 | PyObject *resultobj; | |
12861 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12862 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
12863 | wxString *arg3 = 0 ; | |
12864 | int arg4 = (int) 0 ; | |
12865 | wxFindReplaceDialog *result; | |
423f194a | 12866 | bool temp3 = False ; |
d14a1e28 RD |
12867 | PyObject * obj0 = 0 ; |
12868 | PyObject * obj1 = 0 ; | |
12869 | PyObject * obj2 = 0 ; | |
12870 | char *kwnames[] = { | |
12871 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
12872 | }; | |
12873 | ||
12874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
12875 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12876 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12877 | { | |
12878 | arg3 = wxString_in_helper(obj2); | |
12879 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12880 | temp3 = True; |
d14a1e28 RD |
12881 | } |
12882 | { | |
12883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12884 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
12885 | ||
12886 | wxPyEndAllowThreads(__tstate); | |
12887 | if (PyErr_Occurred()) SWIG_fail; | |
12888 | } | |
12889 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1); | |
12890 | { | |
12891 | if (temp3) | |
12892 | delete arg3; | |
12893 | } | |
12894 | return resultobj; | |
12895 | fail: | |
12896 | { | |
12897 | if (temp3) | |
12898 | delete arg3; | |
12899 | } | |
12900 | return NULL; | |
12901 | } | |
12902 | ||
12903 | ||
12904 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12905 | PyObject *resultobj; | |
12906 | wxFindReplaceDialog *result; | |
12907 | char *kwnames[] = { | |
12908 | NULL | |
12909 | }; | |
12910 | ||
12911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
12912 | { | |
12913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12914 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
12915 | ||
12916 | wxPyEndAllowThreads(__tstate); | |
12917 | if (PyErr_Occurred()) SWIG_fail; | |
12918 | } | |
12919 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1); | |
12920 | return resultobj; | |
12921 | fail: | |
12922 | return NULL; | |
12923 | } | |
12924 | ||
12925 | ||
12926 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12927 | PyObject *resultobj; | |
12928 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
12929 | wxWindow *arg2 = (wxWindow *) 0 ; | |
12930 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
12931 | wxString *arg4 = 0 ; | |
12932 | int arg5 = (int) 0 ; | |
12933 | bool result; | |
423f194a | 12934 | bool temp4 = False ; |
d14a1e28 RD |
12935 | PyObject * obj0 = 0 ; |
12936 | PyObject * obj1 = 0 ; | |
12937 | PyObject * obj2 = 0 ; | |
12938 | PyObject * obj3 = 0 ; | |
12939 | char *kwnames[] = { | |
12940 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
12941 | }; | |
12942 | ||
12943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail; | |
12944 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12945 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12946 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12947 | { | |
12948 | arg4 = wxString_in_helper(obj3); | |
12949 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 12950 | temp4 = True; |
d14a1e28 RD |
12951 | } |
12952 | { | |
12953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12954 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
12955 | ||
12956 | wxPyEndAllowThreads(__tstate); | |
12957 | if (PyErr_Occurred()) SWIG_fail; | |
12958 | } | |
12959 | resultobj = PyInt_FromLong((long)result); | |
12960 | { | |
12961 | if (temp4) | |
12962 | delete arg4; | |
12963 | } | |
12964 | return resultobj; | |
12965 | fail: | |
12966 | { | |
12967 | if (temp4) | |
12968 | delete arg4; | |
12969 | } | |
12970 | return NULL; | |
12971 | } | |
12972 | ||
12973 | ||
12974 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12975 | PyObject *resultobj; | |
12976 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
12977 | wxFindReplaceData *result; | |
12978 | PyObject * obj0 = 0 ; | |
12979 | char *kwnames[] = { | |
12980 | (char *) "self", NULL | |
12981 | }; | |
12982 | ||
12983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
12984 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
12985 | { | |
12986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12987 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
12988 | ||
12989 | wxPyEndAllowThreads(__tstate); | |
12990 | if (PyErr_Occurred()) SWIG_fail; | |
12991 | } | |
12992 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0); | |
12993 | return resultobj; | |
12994 | fail: | |
12995 | return NULL; | |
12996 | } | |
12997 | ||
12998 | ||
12999 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13000 | PyObject *resultobj; | |
13001 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13002 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13003 | PyObject * obj0 = 0 ; | |
13004 | PyObject * obj1 = 0 ; | |
13005 | char *kwnames[] = { | |
13006 | (char *) "self",(char *) "data", NULL | |
13007 | }; | |
13008 | ||
13009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
13010 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13011 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13012 | { | |
13013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13014 | (arg1)->SetData(arg2); | |
13015 | ||
13016 | wxPyEndAllowThreads(__tstate); | |
13017 | if (PyErr_Occurred()) SWIG_fail; | |
13018 | } | |
13019 | Py_INCREF(Py_None); resultobj = Py_None; | |
13020 | return resultobj; | |
13021 | fail: | |
13022 | return NULL; | |
13023 | } | |
13024 | ||
13025 | ||
13026 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
13027 | PyObject *obj; | |
13028 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13029 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
13030 | Py_INCREF(obj); | |
13031 | return Py_BuildValue((char *)""); | |
13032 | } | |
13033 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13034 | PyObject *resultobj; | |
13035 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 13036 | int arg2 ; |
d14a1e28 RD |
13037 | wxString *arg3 = 0 ; |
13038 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
13039 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13040 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
13041 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
13042 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
13043 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
13044 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13045 | wxMDIParentFrame *result; | |
423f194a | 13046 | bool temp3 = False ; |
d14a1e28 RD |
13047 | wxPoint temp4 ; |
13048 | wxSize temp5 ; | |
423f194a | 13049 | bool temp7 = False ; |
d14a1e28 RD |
13050 | PyObject * obj0 = 0 ; |
13051 | PyObject * obj2 = 0 ; | |
13052 | PyObject * obj3 = 0 ; | |
13053 | PyObject * obj4 = 0 ; | |
13054 | PyObject * obj6 = 0 ; | |
13055 | char *kwnames[] = { | |
13056 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13057 | }; | |
13058 | ||
13059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
13060 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13061 | { | |
13062 | arg3 = wxString_in_helper(obj2); | |
13063 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13064 | temp3 = True; |
d14a1e28 RD |
13065 | } |
13066 | if (obj3) { | |
13067 | { | |
13068 | arg4 = &temp4; | |
13069 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
13070 | } | |
13071 | } | |
13072 | if (obj4) { | |
13073 | { | |
13074 | arg5 = &temp5; | |
13075 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
13076 | } | |
13077 | } | |
13078 | if (obj6) { | |
13079 | { | |
13080 | arg7 = wxString_in_helper(obj6); | |
13081 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 13082 | temp7 = True; |
d14a1e28 RD |
13083 | } |
13084 | } | |
13085 | { | |
13086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13087 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
13088 | ||
13089 | wxPyEndAllowThreads(__tstate); | |
13090 | if (PyErr_Occurred()) SWIG_fail; | |
13091 | } | |
13092 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1); | |
13093 | { | |
13094 | if (temp3) | |
13095 | delete arg3; | |
13096 | } | |
13097 | { | |
13098 | if (temp7) | |
13099 | delete arg7; | |
13100 | } | |
13101 | return resultobj; | |
13102 | fail: | |
13103 | { | |
13104 | if (temp3) | |
13105 | delete arg3; | |
13106 | } | |
13107 | { | |
13108 | if (temp7) | |
13109 | delete arg7; | |
13110 | } | |
13111 | return NULL; | |
13112 | } | |
13113 | ||
13114 | ||
13115 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13116 | PyObject *resultobj; | |
13117 | wxMDIParentFrame *result; | |
13118 | char *kwnames[] = { | |
13119 | NULL | |
13120 | }; | |
13121 | ||
13122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
13123 | { | |
13124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13125 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
13126 | ||
13127 | wxPyEndAllowThreads(__tstate); | |
13128 | if (PyErr_Occurred()) SWIG_fail; | |
13129 | } | |
13130 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1); | |
13131 | return resultobj; | |
13132 | fail: | |
13133 | return NULL; | |
13134 | } | |
13135 | ||
13136 | ||
13137 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13138 | PyObject *resultobj; | |
13139 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13140 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 13141 | int arg3 ; |
d14a1e28 RD |
13142 | wxString *arg4 = 0 ; |
13143 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13144 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13145 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
13146 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
13147 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
13148 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
13149 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
13150 | bool result; | |
423f194a | 13151 | bool temp4 = False ; |
d14a1e28 RD |
13152 | wxPoint temp5 ; |
13153 | wxSize temp6 ; | |
423f194a | 13154 | bool temp8 = False ; |
d14a1e28 RD |
13155 | PyObject * obj0 = 0 ; |
13156 | PyObject * obj1 = 0 ; | |
13157 | PyObject * obj3 = 0 ; | |
13158 | PyObject * obj4 = 0 ; | |
13159 | PyObject * obj5 = 0 ; | |
13160 | PyObject * obj7 = 0 ; | |
13161 | char *kwnames[] = { | |
13162 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13163 | }; | |
13164 | ||
13165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
13166 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13167 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13168 | { | |
13169 | arg4 = wxString_in_helper(obj3); | |
13170 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 13171 | temp4 = True; |
d14a1e28 RD |
13172 | } |
13173 | if (obj4) { | |
13174 | { | |
13175 | arg5 = &temp5; | |
13176 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13177 | } | |
13178 | } | |
13179 | if (obj5) { | |
13180 | { | |
13181 | arg6 = &temp6; | |
13182 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
13183 | } | |
13184 | } | |
13185 | if (obj7) { | |
13186 | { | |
13187 | arg8 = wxString_in_helper(obj7); | |
13188 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 13189 | temp8 = True; |
d14a1e28 RD |
13190 | } |
13191 | } | |
13192 | { | |
13193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13194 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
13195 | ||
13196 | wxPyEndAllowThreads(__tstate); | |
13197 | if (PyErr_Occurred()) SWIG_fail; | |
13198 | } | |
13199 | resultobj = PyInt_FromLong((long)result); | |
13200 | { | |
13201 | if (temp4) | |
13202 | delete arg4; | |
13203 | } | |
13204 | { | |
13205 | if (temp8) | |
13206 | delete arg8; | |
13207 | } | |
13208 | return resultobj; | |
13209 | fail: | |
13210 | { | |
13211 | if (temp4) | |
13212 | delete arg4; | |
13213 | } | |
13214 | { | |
13215 | if (temp8) | |
13216 | delete arg8; | |
13217 | } | |
13218 | return NULL; | |
13219 | } | |
13220 | ||
13221 | ||
13222 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13223 | PyObject *resultobj; | |
13224 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13225 | PyObject * obj0 = 0 ; | |
13226 | char *kwnames[] = { | |
13227 | (char *) "self", NULL | |
13228 | }; | |
13229 | ||
13230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
13231 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13232 | { | |
13233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13234 | (arg1)->ActivateNext(); | |
13235 | ||
13236 | wxPyEndAllowThreads(__tstate); | |
13237 | if (PyErr_Occurred()) SWIG_fail; | |
13238 | } | |
13239 | Py_INCREF(Py_None); resultobj = Py_None; | |
13240 | return resultobj; | |
13241 | fail: | |
13242 | return NULL; | |
13243 | } | |
13244 | ||
13245 | ||
13246 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13247 | PyObject *resultobj; | |
13248 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13249 | PyObject * obj0 = 0 ; | |
13250 | char *kwnames[] = { | |
13251 | (char *) "self", NULL | |
13252 | }; | |
13253 | ||
13254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
13255 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13256 | { | |
13257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13258 | (arg1)->ActivatePrevious(); | |
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_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13271 | PyObject *resultobj; | |
13272 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13273 | PyObject * obj0 = 0 ; | |
13274 | char *kwnames[] = { | |
13275 | (char *) "self", NULL | |
13276 | }; | |
13277 | ||
13278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
13279 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13280 | { | |
13281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13282 | (arg1)->ArrangeIcons(); | |
13283 | ||
13284 | wxPyEndAllowThreads(__tstate); | |
13285 | if (PyErr_Occurred()) SWIG_fail; | |
13286 | } | |
13287 | Py_INCREF(Py_None); resultobj = Py_None; | |
13288 | return resultobj; | |
13289 | fail: | |
13290 | return NULL; | |
13291 | } | |
13292 | ||
13293 | ||
13294 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13295 | PyObject *resultobj; | |
13296 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13297 | PyObject * obj0 = 0 ; | |
13298 | char *kwnames[] = { | |
13299 | (char *) "self", NULL | |
13300 | }; | |
13301 | ||
13302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
13303 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13304 | { | |
13305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13306 | (arg1)->Cascade(); | |
13307 | ||
13308 | wxPyEndAllowThreads(__tstate); | |
13309 | if (PyErr_Occurred()) SWIG_fail; | |
13310 | } | |
13311 | Py_INCREF(Py_None); resultobj = Py_None; | |
13312 | return resultobj; | |
13313 | fail: | |
13314 | return NULL; | |
13315 | } | |
13316 | ||
13317 | ||
13318 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13319 | PyObject *resultobj; | |
13320 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13321 | wxMDIChildFrame *result; | |
13322 | PyObject * obj0 = 0 ; | |
13323 | char *kwnames[] = { | |
13324 | (char *) "self", NULL | |
13325 | }; | |
13326 | ||
13327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
13328 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13329 | { | |
13330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13331 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
13332 | ||
13333 | wxPyEndAllowThreads(__tstate); | |
13334 | if (PyErr_Occurred()) SWIG_fail; | |
13335 | } | |
13336 | { | |
13337 | resultobj = wxPyMake_wxObject(result); | |
13338 | } | |
13339 | return resultobj; | |
13340 | fail: | |
13341 | return NULL; | |
13342 | } | |
13343 | ||
13344 | ||
13345 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13346 | PyObject *resultobj; | |
13347 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13348 | wxMDIClientWindow *result; | |
13349 | PyObject * obj0 = 0 ; | |
13350 | char *kwnames[] = { | |
13351 | (char *) "self", NULL | |
13352 | }; | |
13353 | ||
13354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
13355 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13356 | { | |
13357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13358 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
13359 | ||
13360 | wxPyEndAllowThreads(__tstate); | |
13361 | if (PyErr_Occurred()) SWIG_fail; | |
13362 | } | |
13363 | { | |
13364 | resultobj = wxPyMake_wxObject(result); | |
13365 | } | |
13366 | return resultobj; | |
13367 | fail: | |
13368 | return NULL; | |
13369 | } | |
13370 | ||
13371 | ||
13372 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13373 | PyObject *resultobj; | |
13374 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13375 | wxWindow *result; | |
13376 | PyObject * obj0 = 0 ; | |
13377 | char *kwnames[] = { | |
13378 | (char *) "self", NULL | |
13379 | }; | |
13380 | ||
13381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
13382 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13383 | { | |
13384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13385 | result = (wxWindow *)(arg1)->GetToolBar(); | |
13386 | ||
13387 | wxPyEndAllowThreads(__tstate); | |
13388 | if (PyErr_Occurred()) SWIG_fail; | |
13389 | } | |
13390 | { | |
13391 | resultobj = wxPyMake_wxObject(result); | |
13392 | } | |
13393 | return resultobj; | |
13394 | fail: | |
13395 | return NULL; | |
13396 | } | |
13397 | ||
13398 | ||
13399 | static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13400 | PyObject *resultobj; | |
13401 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13402 | wxMenu *result; | |
13403 | PyObject * obj0 = 0 ; | |
13404 | char *kwnames[] = { | |
13405 | (char *) "self", NULL | |
13406 | }; | |
13407 | ||
13408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail; | |
13409 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13410 | { | |
13411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13412 | result = (wxMenu *)(arg1)->GetWindowMenu(); | |
13413 | ||
13414 | wxPyEndAllowThreads(__tstate); | |
13415 | if (PyErr_Occurred()) SWIG_fail; | |
13416 | } | |
13417 | { | |
13418 | resultobj = wxPyMake_wxObject(result); | |
13419 | } | |
13420 | return resultobj; | |
13421 | fail: | |
13422 | return NULL; | |
13423 | } | |
13424 | ||
13425 | ||
13426 | static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13427 | PyObject *resultobj; | |
13428 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13429 | wxMenu *arg2 = (wxMenu *) 0 ; | |
13430 | PyObject * obj0 = 0 ; | |
13431 | PyObject * obj1 = 0 ; | |
13432 | char *kwnames[] = { | |
13433 | (char *) "self",(char *) "menu", NULL | |
13434 | }; | |
13435 | ||
13436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail; | |
13437 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13438 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13439 | { | |
13440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13441 | (arg1)->SetWindowMenu(arg2); | |
13442 | ||
13443 | wxPyEndAllowThreads(__tstate); | |
13444 | if (PyErr_Occurred()) SWIG_fail; | |
13445 | } | |
13446 | Py_INCREF(Py_None); resultobj = Py_None; | |
13447 | return resultobj; | |
13448 | fail: | |
13449 | return NULL; | |
13450 | } | |
13451 | ||
13452 | ||
13453 | static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13454 | PyObject *resultobj; | |
13455 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13456 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
13457 | PyObject * obj0 = 0 ; | |
13458 | PyObject * obj1 = 0 ; | |
13459 | char *kwnames[] = { | |
13460 | (char *) "self",(char *) "toolbar", NULL | |
13461 | }; | |
13462 | ||
13463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
13464 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13465 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13466 | { | |
13467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13468 | (arg1)->SetToolBar(arg2); | |
13469 | ||
13470 | wxPyEndAllowThreads(__tstate); | |
13471 | if (PyErr_Occurred()) SWIG_fail; | |
13472 | } | |
13473 | Py_INCREF(Py_None); resultobj = Py_None; | |
13474 | return resultobj; | |
13475 | fail: | |
13476 | return NULL; | |
13477 | } | |
13478 | ||
13479 | ||
13480 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13481 | PyObject *resultobj; | |
13482 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13483 | PyObject * obj0 = 0 ; | |
13484 | char *kwnames[] = { | |
13485 | (char *) "self", NULL | |
13486 | }; | |
13487 | ||
13488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
13489 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13490 | { | |
13491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13492 | (arg1)->Tile(); | |
13493 | ||
13494 | wxPyEndAllowThreads(__tstate); | |
13495 | if (PyErr_Occurred()) SWIG_fail; | |
13496 | } | |
13497 | Py_INCREF(Py_None); resultobj = Py_None; | |
13498 | return resultobj; | |
13499 | fail: | |
13500 | return NULL; | |
13501 | } | |
13502 | ||
13503 | ||
13504 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
13505 | PyObject *obj; | |
13506 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13507 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
13508 | Py_INCREF(obj); | |
13509 | return Py_BuildValue((char *)""); | |
13510 | } | |
13511 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13512 | PyObject *resultobj; | |
13513 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
423f194a | 13514 | int arg2 ; |
d14a1e28 RD |
13515 | wxString *arg3 = 0 ; |
13516 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
13517 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13518 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
13519 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
13520 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
13521 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
13522 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13523 | wxMDIChildFrame *result; | |
423f194a | 13524 | bool temp3 = False ; |
d14a1e28 RD |
13525 | wxPoint temp4 ; |
13526 | wxSize temp5 ; | |
423f194a | 13527 | bool temp7 = False ; |
d14a1e28 RD |
13528 | PyObject * obj0 = 0 ; |
13529 | PyObject * obj2 = 0 ; | |
13530 | PyObject * obj3 = 0 ; | |
13531 | PyObject * obj4 = 0 ; | |
13532 | PyObject * obj6 = 0 ; | |
13533 | char *kwnames[] = { | |
13534 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13535 | }; | |
13536 | ||
13537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
13538 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13539 | { | |
13540 | arg3 = wxString_in_helper(obj2); | |
13541 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13542 | temp3 = True; |
d14a1e28 RD |
13543 | } |
13544 | if (obj3) { | |
13545 | { | |
13546 | arg4 = &temp4; | |
13547 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
13548 | } | |
13549 | } | |
13550 | if (obj4) { | |
13551 | { | |
13552 | arg5 = &temp5; | |
13553 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
13554 | } | |
13555 | } | |
13556 | if (obj6) { | |
13557 | { | |
13558 | arg7 = wxString_in_helper(obj6); | |
13559 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 13560 | temp7 = True; |
d14a1e28 RD |
13561 | } |
13562 | } | |
13563 | { | |
13564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13565 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
13566 | ||
13567 | wxPyEndAllowThreads(__tstate); | |
13568 | if (PyErr_Occurred()) SWIG_fail; | |
13569 | } | |
13570 | { | |
13571 | resultobj = wxPyMake_wxObject(result); | |
13572 | } | |
13573 | { | |
13574 | if (temp3) | |
13575 | delete arg3; | |
13576 | } | |
13577 | { | |
13578 | if (temp7) | |
13579 | delete arg7; | |
13580 | } | |
13581 | return resultobj; | |
13582 | fail: | |
13583 | { | |
13584 | if (temp3) | |
13585 | delete arg3; | |
13586 | } | |
13587 | { | |
13588 | if (temp7) | |
13589 | delete arg7; | |
13590 | } | |
13591 | return NULL; | |
13592 | } | |
13593 | ||
13594 | ||
13595 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13596 | PyObject *resultobj; | |
13597 | wxMDIChildFrame *result; | |
13598 | char *kwnames[] = { | |
13599 | NULL | |
13600 | }; | |
13601 | ||
13602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
13603 | { | |
13604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13605 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
13606 | ||
13607 | wxPyEndAllowThreads(__tstate); | |
13608 | if (PyErr_Occurred()) SWIG_fail; | |
13609 | } | |
13610 | { | |
13611 | resultobj = wxPyMake_wxObject(result); | |
13612 | } | |
13613 | return resultobj; | |
13614 | fail: | |
13615 | return NULL; | |
13616 | } | |
13617 | ||
13618 | ||
13619 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13620 | PyObject *resultobj; | |
13621 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
13622 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
423f194a | 13623 | int arg3 ; |
d14a1e28 RD |
13624 | wxString *arg4 = 0 ; |
13625 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13626 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13627 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
13628 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
13629 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
13630 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
13631 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
13632 | bool result; | |
423f194a | 13633 | bool temp4 = False ; |
d14a1e28 RD |
13634 | wxPoint temp5 ; |
13635 | wxSize temp6 ; | |
423f194a | 13636 | bool temp8 = False ; |
d14a1e28 RD |
13637 | PyObject * obj0 = 0 ; |
13638 | PyObject * obj1 = 0 ; | |
13639 | PyObject * obj3 = 0 ; | |
13640 | PyObject * obj4 = 0 ; | |
13641 | PyObject * obj5 = 0 ; | |
13642 | PyObject * obj7 = 0 ; | |
13643 | char *kwnames[] = { | |
13644 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13645 | }; | |
13646 | ||
13647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail; | |
13648 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13649 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13650 | { | |
13651 | arg4 = wxString_in_helper(obj3); | |
13652 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 13653 | temp4 = True; |
d14a1e28 RD |
13654 | } |
13655 | if (obj4) { | |
13656 | { | |
13657 | arg5 = &temp5; | |
13658 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13659 | } | |
13660 | } | |
13661 | if (obj5) { | |
13662 | { | |
13663 | arg6 = &temp6; | |
13664 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
13665 | } | |
13666 | } | |
13667 | if (obj7) { | |
13668 | { | |
13669 | arg8 = wxString_in_helper(obj7); | |
13670 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 13671 | temp8 = True; |
d14a1e28 RD |
13672 | } |
13673 | } | |
13674 | { | |
13675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13676 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
13677 | ||
13678 | wxPyEndAllowThreads(__tstate); | |
13679 | if (PyErr_Occurred()) SWIG_fail; | |
13680 | } | |
13681 | resultobj = PyInt_FromLong((long)result); | |
13682 | { | |
13683 | if (temp4) | |
13684 | delete arg4; | |
13685 | } | |
13686 | { | |
13687 | if (temp8) | |
13688 | delete arg8; | |
13689 | } | |
13690 | return resultobj; | |
13691 | fail: | |
13692 | { | |
13693 | if (temp4) | |
13694 | delete arg4; | |
13695 | } | |
13696 | { | |
13697 | if (temp8) | |
13698 | delete arg8; | |
13699 | } | |
13700 | return NULL; | |
13701 | } | |
13702 | ||
13703 | ||
13704 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13705 | PyObject *resultobj; | |
13706 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
13707 | PyObject * obj0 = 0 ; | |
13708 | char *kwnames[] = { | |
13709 | (char *) "self", NULL | |
13710 | }; | |
13711 | ||
13712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
13713 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13714 | { | |
13715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13716 | (arg1)->Activate(); | |
13717 | ||
13718 | wxPyEndAllowThreads(__tstate); | |
13719 | if (PyErr_Occurred()) SWIG_fail; | |
13720 | } | |
13721 | Py_INCREF(Py_None); resultobj = Py_None; | |
13722 | return resultobj; | |
13723 | fail: | |
13724 | return NULL; | |
13725 | } | |
13726 | ||
13727 | ||
13728 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13729 | PyObject *resultobj; | |
13730 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
13731 | bool arg2 ; | |
13732 | PyObject * obj0 = 0 ; | |
13733 | PyObject * obj1 = 0 ; | |
13734 | char *kwnames[] = { | |
13735 | (char *) "self",(char *) "maximize", NULL | |
13736 | }; | |
13737 | ||
13738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
13739 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13740 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
13741 | if (PyErr_Occurred()) SWIG_fail; | |
13742 | { | |
13743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13744 | (arg1)->Maximize(arg2); | |
13745 | ||
13746 | wxPyEndAllowThreads(__tstate); | |
13747 | if (PyErr_Occurred()) SWIG_fail; | |
13748 | } | |
13749 | Py_INCREF(Py_None); resultobj = Py_None; | |
13750 | return resultobj; | |
13751 | fail: | |
13752 | return NULL; | |
13753 | } | |
13754 | ||
13755 | ||
13756 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13757 | PyObject *resultobj; | |
13758 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
13759 | PyObject * obj0 = 0 ; | |
13760 | char *kwnames[] = { | |
13761 | (char *) "self", NULL | |
13762 | }; | |
13763 | ||
13764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
13765 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13766 | { | |
13767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13768 | (arg1)->Restore(); | |
13769 | ||
13770 | wxPyEndAllowThreads(__tstate); | |
13771 | if (PyErr_Occurred()) SWIG_fail; | |
13772 | } | |
13773 | Py_INCREF(Py_None); resultobj = Py_None; | |
13774 | return resultobj; | |
13775 | fail: | |
13776 | return NULL; | |
13777 | } | |
13778 | ||
13779 | ||
13780 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
13781 | PyObject *obj; | |
13782 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13783 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
13784 | Py_INCREF(obj); | |
13785 | return Py_BuildValue((char *)""); | |
13786 | } | |
13787 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13788 | PyObject *resultobj; | |
13789 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13790 | long arg2 = (long) 0 ; | |
13791 | wxMDIClientWindow *result; | |
13792 | PyObject * obj0 = 0 ; | |
13793 | char *kwnames[] = { | |
13794 | (char *) "parent",(char *) "style", NULL | |
13795 | }; | |
13796 | ||
13797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail; | |
13798 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13799 | { | |
13800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13801 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
13802 | ||
13803 | wxPyEndAllowThreads(__tstate); | |
13804 | if (PyErr_Occurred()) SWIG_fail; | |
13805 | } | |
13806 | { | |
13807 | resultobj = wxPyMake_wxObject(result); | |
13808 | } | |
13809 | return resultobj; | |
13810 | fail: | |
13811 | return NULL; | |
13812 | } | |
13813 | ||
13814 | ||
13815 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13816 | PyObject *resultobj; | |
13817 | wxMDIClientWindow *result; | |
13818 | char *kwnames[] = { | |
13819 | NULL | |
13820 | }; | |
13821 | ||
13822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
13823 | { | |
13824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13825 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
13826 | ||
13827 | wxPyEndAllowThreads(__tstate); | |
13828 | if (PyErr_Occurred()) SWIG_fail; | |
13829 | } | |
13830 | { | |
13831 | resultobj = wxPyMake_wxObject(result); | |
13832 | } | |
13833 | return resultobj; | |
13834 | fail: | |
13835 | return NULL; | |
13836 | } | |
13837 | ||
13838 | ||
13839 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13840 | PyObject *resultobj; | |
13841 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
13842 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
13843 | long arg3 = (long) 0 ; | |
13844 | bool result; | |
13845 | PyObject * obj0 = 0 ; | |
13846 | PyObject * obj1 = 0 ; | |
13847 | char *kwnames[] = { | |
13848 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
13849 | }; | |
13850 | ||
13851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
13852 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13853 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13854 | { | |
13855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13856 | result = (bool)(arg1)->Create(arg2,arg3); | |
13857 | ||
13858 | wxPyEndAllowThreads(__tstate); | |
13859 | if (PyErr_Occurred()) SWIG_fail; | |
13860 | } | |
13861 | resultobj = PyInt_FromLong((long)result); | |
13862 | return resultobj; | |
13863 | fail: | |
13864 | return NULL; | |
13865 | } | |
13866 | ||
13867 | ||
13868 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
13869 | PyObject *obj; | |
13870 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13871 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
13872 | Py_INCREF(obj); | |
13873 | return Py_BuildValue((char *)""); | |
13874 | } | |
13875 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13876 | PyObject *resultobj; | |
13877 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 13878 | int arg2 ; |
d14a1e28 RD |
13879 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
13880 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
13881 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
13882 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
13883 | long arg5 = (long) 0 ; | |
13884 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
13885 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
13886 | wxPyWindow *result; | |
13887 | wxPoint temp3 ; | |
13888 | wxSize temp4 ; | |
423f194a | 13889 | bool temp6 = False ; |
d14a1e28 RD |
13890 | PyObject * obj0 = 0 ; |
13891 | PyObject * obj2 = 0 ; | |
13892 | PyObject * obj3 = 0 ; | |
13893 | PyObject * obj5 = 0 ; | |
13894 | char *kwnames[] = { | |
13895 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13896 | }; | |
13897 | ||
13898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
13899 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13900 | if (obj2) { | |
13901 | { | |
13902 | arg3 = &temp3; | |
13903 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
13904 | } | |
13905 | } | |
13906 | if (obj3) { | |
13907 | { | |
13908 | arg4 = &temp4; | |
13909 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
13910 | } | |
13911 | } | |
13912 | if (obj5) { | |
13913 | { | |
13914 | arg6 = wxString_in_helper(obj5); | |
13915 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 13916 | temp6 = True; |
d14a1e28 RD |
13917 | } |
13918 | } | |
13919 | { | |
13920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13921 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
13922 | ||
13923 | wxPyEndAllowThreads(__tstate); | |
13924 | if (PyErr_Occurred()) SWIG_fail; | |
13925 | } | |
13926 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1); | |
13927 | { | |
13928 | if (temp6) | |
13929 | delete arg6; | |
13930 | } | |
13931 | return resultobj; | |
13932 | fail: | |
13933 | { | |
13934 | if (temp6) | |
13935 | delete arg6; | |
13936 | } | |
13937 | return NULL; | |
13938 | } | |
13939 | ||
13940 | ||
13941 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13942 | PyObject *resultobj; | |
13943 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13944 | PyObject *arg2 = (PyObject *) 0 ; | |
13945 | PyObject *arg3 = (PyObject *) 0 ; | |
13946 | PyObject * obj0 = 0 ; | |
13947 | PyObject * obj1 = 0 ; | |
13948 | PyObject * obj2 = 0 ; | |
13949 | char *kwnames[] = { | |
13950 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
13951 | }; | |
13952 | ||
13953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13954 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13955 | arg2 = obj1; | |
13956 | arg3 = obj2; | |
13957 | { | |
13958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13959 | (arg1)->_setCallbackInfo(arg2,arg3); | |
13960 | ||
13961 | wxPyEndAllowThreads(__tstate); | |
13962 | if (PyErr_Occurred()) SWIG_fail; | |
13963 | } | |
13964 | Py_INCREF(Py_None); resultobj = Py_None; | |
13965 | return resultobj; | |
13966 | fail: | |
13967 | return NULL; | |
13968 | } | |
13969 | ||
13970 | ||
13971 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13972 | PyObject *resultobj; | |
13973 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
13974 | int arg2 ; | |
13975 | int arg3 ; | |
13976 | int arg4 ; | |
13977 | int arg5 ; | |
13978 | PyObject * obj0 = 0 ; | |
13979 | char *kwnames[] = { | |
13980 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
13981 | }; | |
13982 | ||
13983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail; | |
13984 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
13985 | { | |
13986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13987 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
13988 | ||
13989 | wxPyEndAllowThreads(__tstate); | |
13990 | if (PyErr_Occurred()) SWIG_fail; | |
13991 | } | |
13992 | Py_INCREF(Py_None); resultobj = Py_None; | |
13993 | return resultobj; | |
13994 | fail: | |
13995 | return NULL; | |
13996 | } | |
13997 | ||
13998 | ||
13999 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14000 | PyObject *resultobj; | |
14001 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14002 | int arg2 ; | |
14003 | int arg3 ; | |
14004 | int arg4 ; | |
14005 | int arg5 ; | |
14006 | int arg6 = (int) wxSIZE_AUTO ; | |
14007 | PyObject * obj0 = 0 ; | |
14008 | char *kwnames[] = { | |
14009 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
14010 | }; | |
14011 | ||
14012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
14013 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14014 | { | |
14015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14016 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
14017 | ||
14018 | wxPyEndAllowThreads(__tstate); | |
14019 | if (PyErr_Occurred()) SWIG_fail; | |
14020 | } | |
14021 | Py_INCREF(Py_None); resultobj = Py_None; | |
14022 | return resultobj; | |
14023 | fail: | |
14024 | return NULL; | |
14025 | } | |
14026 | ||
14027 | ||
14028 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14029 | PyObject *resultobj; | |
14030 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14031 | int arg2 ; | |
14032 | int arg3 ; | |
14033 | PyObject * obj0 = 0 ; | |
14034 | char *kwnames[] = { | |
14035 | (char *) "self",(char *) "width",(char *) "height", NULL | |
14036 | }; | |
14037 | ||
14038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
14039 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14040 | { | |
14041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14042 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
14043 | ||
14044 | wxPyEndAllowThreads(__tstate); | |
14045 | if (PyErr_Occurred()) SWIG_fail; | |
14046 | } | |
14047 | Py_INCREF(Py_None); resultobj = Py_None; | |
14048 | return resultobj; | |
14049 | fail: | |
14050 | return NULL; | |
14051 | } | |
14052 | ||
14053 | ||
14054 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14055 | PyObject *resultobj; | |
14056 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14057 | int arg2 ; | |
14058 | int arg3 ; | |
14059 | PyObject * obj0 = 0 ; | |
14060 | char *kwnames[] = { | |
14061 | (char *) "self",(char *) "x",(char *) "y", NULL | |
14062 | }; | |
14063 | ||
14064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
14065 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14066 | { | |
14067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14068 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
14069 | ||
14070 | wxPyEndAllowThreads(__tstate); | |
14071 | if (PyErr_Occurred()) SWIG_fail; | |
14072 | } | |
14073 | Py_INCREF(Py_None); resultobj = Py_None; | |
14074 | return resultobj; | |
14075 | fail: | |
14076 | return NULL; | |
14077 | } | |
14078 | ||
14079 | ||
14080 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14081 | PyObject *resultobj; | |
14082 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14083 | int *arg2 = (int *) 0 ; | |
14084 | int *arg3 = (int *) 0 ; | |
14085 | int temp2 ; | |
14086 | int temp3 ; | |
14087 | PyObject * obj0 = 0 ; | |
14088 | char *kwnames[] = { | |
14089 | (char *) "self", NULL | |
14090 | }; | |
14091 | ||
14092 | arg2 = &temp2; | |
14093 | arg3 = &temp3; | |
14094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
14095 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14096 | { | |
14097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14098 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
14099 | ||
14100 | wxPyEndAllowThreads(__tstate); | |
14101 | if (PyErr_Occurred()) SWIG_fail; | |
14102 | } | |
14103 | Py_INCREF(Py_None); resultobj = Py_None; | |
14104 | { | |
14105 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14106 | resultobj = t_output_helper(resultobj,o); | |
14107 | } | |
14108 | { | |
14109 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14110 | resultobj = t_output_helper(resultobj,o); | |
14111 | } | |
14112 | return resultobj; | |
14113 | fail: | |
14114 | return NULL; | |
14115 | } | |
14116 | ||
14117 | ||
14118 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14119 | PyObject *resultobj; | |
14120 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14121 | int *arg2 = (int *) 0 ; | |
14122 | int *arg3 = (int *) 0 ; | |
14123 | int temp2 ; | |
14124 | int temp3 ; | |
14125 | PyObject * obj0 = 0 ; | |
14126 | char *kwnames[] = { | |
14127 | (char *) "self", NULL | |
14128 | }; | |
14129 | ||
14130 | arg2 = &temp2; | |
14131 | arg3 = &temp3; | |
14132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
14133 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14134 | { | |
14135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14136 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
14137 | ||
14138 | wxPyEndAllowThreads(__tstate); | |
14139 | if (PyErr_Occurred()) SWIG_fail; | |
14140 | } | |
14141 | Py_INCREF(Py_None); resultobj = Py_None; | |
14142 | { | |
14143 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14144 | resultobj = t_output_helper(resultobj,o); | |
14145 | } | |
14146 | { | |
14147 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14148 | resultobj = t_output_helper(resultobj,o); | |
14149 | } | |
14150 | return resultobj; | |
14151 | fail: | |
14152 | return NULL; | |
14153 | } | |
14154 | ||
14155 | ||
14156 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14157 | PyObject *resultobj; | |
14158 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14159 | int *arg2 = (int *) 0 ; | |
14160 | int *arg3 = (int *) 0 ; | |
14161 | int temp2 ; | |
14162 | int temp3 ; | |
14163 | PyObject * obj0 = 0 ; | |
14164 | char *kwnames[] = { | |
14165 | (char *) "self", NULL | |
14166 | }; | |
14167 | ||
14168 | arg2 = &temp2; | |
14169 | arg3 = &temp3; | |
14170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
14171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14172 | { | |
14173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14174 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
14175 | ||
14176 | wxPyEndAllowThreads(__tstate); | |
14177 | if (PyErr_Occurred()) SWIG_fail; | |
14178 | } | |
14179 | Py_INCREF(Py_None); resultobj = Py_None; | |
14180 | { | |
14181 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14182 | resultobj = t_output_helper(resultobj,o); | |
14183 | } | |
14184 | { | |
14185 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14186 | resultobj = t_output_helper(resultobj,o); | |
14187 | } | |
14188 | return resultobj; | |
14189 | fail: | |
14190 | return NULL; | |
14191 | } | |
14192 | ||
14193 | ||
14194 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14195 | PyObject *resultobj; | |
14196 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14197 | wxSize result; | |
14198 | PyObject * obj0 = 0 ; | |
14199 | char *kwnames[] = { | |
14200 | (char *) "self", NULL | |
14201 | }; | |
14202 | ||
14203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
14204 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14205 | { | |
14206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14207 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
14208 | ||
14209 | wxPyEndAllowThreads(__tstate); | |
14210 | if (PyErr_Occurred()) SWIG_fail; | |
14211 | } | |
14212 | { | |
14213 | wxSize * resultptr; | |
14214 | resultptr = new wxSize((wxSize &) result); | |
14215 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
14216 | } | |
14217 | return resultobj; | |
14218 | fail: | |
14219 | return NULL; | |
14220 | } | |
14221 | ||
14222 | ||
14223 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14224 | PyObject *resultobj; | |
14225 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14226 | wxSize result; | |
14227 | PyObject * obj0 = 0 ; | |
14228 | char *kwnames[] = { | |
14229 | (char *) "self", NULL | |
14230 | }; | |
14231 | ||
14232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
14233 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14234 | { | |
14235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14236 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
14237 | ||
14238 | wxPyEndAllowThreads(__tstate); | |
14239 | if (PyErr_Occurred()) SWIG_fail; | |
14240 | } | |
14241 | { | |
14242 | wxSize * resultptr; | |
14243 | resultptr = new wxSize((wxSize &) result); | |
14244 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
14245 | } | |
14246 | return resultobj; | |
14247 | fail: | |
14248 | return NULL; | |
14249 | } | |
14250 | ||
14251 | ||
14252 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14253 | PyObject *resultobj; | |
14254 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14255 | PyObject * obj0 = 0 ; | |
14256 | char *kwnames[] = { | |
14257 | (char *) "self", NULL | |
14258 | }; | |
14259 | ||
14260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
14261 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14262 | { | |
14263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14264 | (arg1)->base_InitDialog(); | |
14265 | ||
14266 | wxPyEndAllowThreads(__tstate); | |
14267 | if (PyErr_Occurred()) SWIG_fail; | |
14268 | } | |
14269 | Py_INCREF(Py_None); resultobj = Py_None; | |
14270 | return resultobj; | |
14271 | fail: | |
14272 | return NULL; | |
14273 | } | |
14274 | ||
14275 | ||
14276 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14277 | PyObject *resultobj; | |
14278 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14279 | bool result; | |
14280 | PyObject * obj0 = 0 ; | |
14281 | char *kwnames[] = { | |
14282 | (char *) "self", NULL | |
14283 | }; | |
14284 | ||
14285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
14286 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14287 | { | |
14288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14289 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
14290 | ||
14291 | wxPyEndAllowThreads(__tstate); | |
14292 | if (PyErr_Occurred()) SWIG_fail; | |
14293 | } | |
14294 | resultobj = PyInt_FromLong((long)result); | |
14295 | return resultobj; | |
14296 | fail: | |
14297 | return NULL; | |
14298 | } | |
14299 | ||
14300 | ||
14301 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14302 | PyObject *resultobj; | |
14303 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14304 | bool result; | |
14305 | PyObject * obj0 = 0 ; | |
14306 | char *kwnames[] = { | |
14307 | (char *) "self", NULL | |
14308 | }; | |
14309 | ||
14310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
14311 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14312 | { | |
14313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14314 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
14315 | ||
14316 | wxPyEndAllowThreads(__tstate); | |
14317 | if (PyErr_Occurred()) SWIG_fail; | |
14318 | } | |
14319 | resultobj = PyInt_FromLong((long)result); | |
14320 | return resultobj; | |
14321 | fail: | |
14322 | return NULL; | |
14323 | } | |
14324 | ||
14325 | ||
14326 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14327 | PyObject *resultobj; | |
14328 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14329 | bool result; | |
14330 | PyObject * obj0 = 0 ; | |
14331 | char *kwnames[] = { | |
14332 | (char *) "self", NULL | |
14333 | }; | |
14334 | ||
14335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
14336 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14337 | { | |
14338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14339 | result = (bool)(arg1)->base_Validate(); | |
14340 | ||
14341 | wxPyEndAllowThreads(__tstate); | |
14342 | if (PyErr_Occurred()) SWIG_fail; | |
14343 | } | |
14344 | resultobj = PyInt_FromLong((long)result); | |
14345 | return resultobj; | |
14346 | fail: | |
14347 | return NULL; | |
14348 | } | |
14349 | ||
14350 | ||
14351 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14352 | PyObject *resultobj; | |
14353 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14354 | bool result; | |
14355 | PyObject * obj0 = 0 ; | |
14356 | char *kwnames[] = { | |
14357 | (char *) "self", NULL | |
14358 | }; | |
14359 | ||
14360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
14361 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14362 | { | |
14363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14364 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
14365 | ||
14366 | wxPyEndAllowThreads(__tstate); | |
14367 | if (PyErr_Occurred()) SWIG_fail; | |
14368 | } | |
14369 | resultobj = PyInt_FromLong((long)result); | |
14370 | return resultobj; | |
14371 | fail: | |
14372 | return NULL; | |
14373 | } | |
14374 | ||
14375 | ||
14376 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14377 | PyObject *resultobj; | |
14378 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14379 | bool result; | |
14380 | PyObject * obj0 = 0 ; | |
14381 | char *kwnames[] = { | |
14382 | (char *) "self", NULL | |
14383 | }; | |
14384 | ||
14385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
14386 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14387 | { | |
14388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14389 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
14390 | ||
14391 | wxPyEndAllowThreads(__tstate); | |
14392 | if (PyErr_Occurred()) SWIG_fail; | |
14393 | } | |
14394 | resultobj = PyInt_FromLong((long)result); | |
14395 | return resultobj; | |
14396 | fail: | |
14397 | return NULL; | |
14398 | } | |
14399 | ||
14400 | ||
14401 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14402 | PyObject *resultobj; | |
14403 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14404 | wxSize result; | |
14405 | PyObject * obj0 = 0 ; | |
14406 | char *kwnames[] = { | |
14407 | (char *) "self", NULL | |
14408 | }; | |
14409 | ||
14410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
14411 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14412 | { | |
14413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14414 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
14415 | ||
14416 | wxPyEndAllowThreads(__tstate); | |
14417 | if (PyErr_Occurred()) SWIG_fail; | |
14418 | } | |
14419 | { | |
14420 | wxSize * resultptr; | |
14421 | resultptr = new wxSize((wxSize &) result); | |
14422 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
14423 | } | |
14424 | return resultobj; | |
14425 | fail: | |
14426 | return NULL; | |
14427 | } | |
14428 | ||
14429 | ||
14430 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14431 | PyObject *resultobj; | |
14432 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14433 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14434 | PyObject * obj0 = 0 ; | |
14435 | PyObject * obj1 = 0 ; | |
14436 | char *kwnames[] = { | |
14437 | (char *) "self",(char *) "child", NULL | |
14438 | }; | |
14439 | ||
14440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
14441 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14442 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14443 | { | |
14444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14445 | (arg1)->base_AddChild(arg2); | |
14446 | ||
14447 | wxPyEndAllowThreads(__tstate); | |
14448 | if (PyErr_Occurred()) SWIG_fail; | |
14449 | } | |
14450 | Py_INCREF(Py_None); resultobj = Py_None; | |
14451 | return resultobj; | |
14452 | fail: | |
14453 | return NULL; | |
14454 | } | |
14455 | ||
14456 | ||
14457 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14458 | PyObject *resultobj; | |
14459 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14460 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14461 | PyObject * obj0 = 0 ; | |
14462 | PyObject * obj1 = 0 ; | |
14463 | char *kwnames[] = { | |
14464 | (char *) "self",(char *) "child", NULL | |
14465 | }; | |
14466 | ||
14467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
14468 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14469 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14470 | { | |
14471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14472 | (arg1)->base_RemoveChild(arg2); | |
14473 | ||
14474 | wxPyEndAllowThreads(__tstate); | |
14475 | if (PyErr_Occurred()) SWIG_fail; | |
14476 | } | |
14477 | Py_INCREF(Py_None); resultobj = Py_None; | |
14478 | return resultobj; | |
14479 | fail: | |
14480 | return NULL; | |
14481 | } | |
14482 | ||
14483 | ||
14484 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { | |
14485 | PyObject *obj; | |
14486 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14487 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
14488 | Py_INCREF(obj); | |
14489 | return Py_BuildValue((char *)""); | |
14490 | } | |
14491 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14492 | PyObject *resultobj; | |
14493 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 14494 | int arg2 ; |
d14a1e28 RD |
14495 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
14496 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14497 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14498 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14499 | long arg5 = (long) 0 ; | |
14500 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
14501 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
14502 | wxPyPanel *result; | |
14503 | wxPoint temp3 ; | |
14504 | wxSize temp4 ; | |
423f194a | 14505 | bool temp6 = False ; |
d14a1e28 RD |
14506 | PyObject * obj0 = 0 ; |
14507 | PyObject * obj2 = 0 ; | |
14508 | PyObject * obj3 = 0 ; | |
14509 | PyObject * obj5 = 0 ; | |
14510 | char *kwnames[] = { | |
14511 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14512 | }; | |
14513 | ||
14514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
14515 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14516 | if (obj2) { | |
14517 | { | |
14518 | arg3 = &temp3; | |
14519 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14520 | } | |
14521 | } | |
14522 | if (obj3) { | |
14523 | { | |
14524 | arg4 = &temp4; | |
14525 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14526 | } | |
14527 | } | |
14528 | if (obj5) { | |
14529 | { | |
14530 | arg6 = wxString_in_helper(obj5); | |
14531 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 14532 | temp6 = True; |
d14a1e28 RD |
14533 | } |
14534 | } | |
14535 | { | |
14536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14537 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
14538 | ||
14539 | wxPyEndAllowThreads(__tstate); | |
14540 | if (PyErr_Occurred()) SWIG_fail; | |
14541 | } | |
14542 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1); | |
14543 | { | |
14544 | if (temp6) | |
14545 | delete arg6; | |
14546 | } | |
14547 | return resultobj; | |
14548 | fail: | |
14549 | { | |
14550 | if (temp6) | |
14551 | delete arg6; | |
14552 | } | |
14553 | return NULL; | |
14554 | } | |
14555 | ||
14556 | ||
14557 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14558 | PyObject *resultobj; | |
14559 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14560 | PyObject *arg2 = (PyObject *) 0 ; | |
14561 | PyObject *arg3 = (PyObject *) 0 ; | |
14562 | PyObject * obj0 = 0 ; | |
14563 | PyObject * obj1 = 0 ; | |
14564 | PyObject * obj2 = 0 ; | |
14565 | char *kwnames[] = { | |
14566 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
14567 | }; | |
14568 | ||
14569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14570 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14571 | arg2 = obj1; | |
14572 | arg3 = obj2; | |
14573 | { | |
14574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14575 | (arg1)->_setCallbackInfo(arg2,arg3); | |
14576 | ||
14577 | wxPyEndAllowThreads(__tstate); | |
14578 | if (PyErr_Occurred()) SWIG_fail; | |
14579 | } | |
14580 | Py_INCREF(Py_None); resultobj = Py_None; | |
14581 | return resultobj; | |
14582 | fail: | |
14583 | return NULL; | |
14584 | } | |
14585 | ||
14586 | ||
14587 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14588 | PyObject *resultobj; | |
14589 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14590 | int arg2 ; | |
14591 | int arg3 ; | |
14592 | int arg4 ; | |
14593 | int arg5 ; | |
14594 | PyObject * obj0 = 0 ; | |
14595 | char *kwnames[] = { | |
14596 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
14597 | }; | |
14598 | ||
14599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail; | |
14600 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14601 | { | |
14602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14603 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
14604 | ||
14605 | wxPyEndAllowThreads(__tstate); | |
14606 | if (PyErr_Occurred()) SWIG_fail; | |
14607 | } | |
14608 | Py_INCREF(Py_None); resultobj = Py_None; | |
14609 | return resultobj; | |
14610 | fail: | |
14611 | return NULL; | |
14612 | } | |
14613 | ||
14614 | ||
14615 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14616 | PyObject *resultobj; | |
14617 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14618 | int arg2 ; | |
14619 | int arg3 ; | |
14620 | int arg4 ; | |
14621 | int arg5 ; | |
14622 | int arg6 = (int) wxSIZE_AUTO ; | |
14623 | PyObject * obj0 = 0 ; | |
14624 | char *kwnames[] = { | |
14625 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
14626 | }; | |
14627 | ||
14628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; | |
14629 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14630 | { | |
14631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14632 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
14633 | ||
14634 | wxPyEndAllowThreads(__tstate); | |
14635 | if (PyErr_Occurred()) SWIG_fail; | |
14636 | } | |
14637 | Py_INCREF(Py_None); resultobj = Py_None; | |
14638 | return resultobj; | |
14639 | fail: | |
14640 | return NULL; | |
14641 | } | |
14642 | ||
14643 | ||
14644 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14645 | PyObject *resultobj; | |
14646 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14647 | int arg2 ; | |
14648 | int arg3 ; | |
14649 | PyObject * obj0 = 0 ; | |
14650 | char *kwnames[] = { | |
14651 | (char *) "self",(char *) "width",(char *) "height", NULL | |
14652 | }; | |
14653 | ||
14654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
14655 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14656 | { | |
14657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14658 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
14659 | ||
14660 | wxPyEndAllowThreads(__tstate); | |
14661 | if (PyErr_Occurred()) SWIG_fail; | |
14662 | } | |
14663 | Py_INCREF(Py_None); resultobj = Py_None; | |
14664 | return resultobj; | |
14665 | fail: | |
14666 | return NULL; | |
14667 | } | |
14668 | ||
14669 | ||
14670 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14671 | PyObject *resultobj; | |
14672 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14673 | int arg2 ; | |
14674 | int arg3 ; | |
14675 | PyObject * obj0 = 0 ; | |
14676 | char *kwnames[] = { | |
14677 | (char *) "self",(char *) "x",(char *) "y", NULL | |
14678 | }; | |
14679 | ||
14680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
14681 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14682 | { | |
14683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14684 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
14685 | ||
14686 | wxPyEndAllowThreads(__tstate); | |
14687 | if (PyErr_Occurred()) SWIG_fail; | |
14688 | } | |
14689 | Py_INCREF(Py_None); resultobj = Py_None; | |
14690 | return resultobj; | |
14691 | fail: | |
14692 | return NULL; | |
14693 | } | |
14694 | ||
14695 | ||
14696 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14697 | PyObject *resultobj; | |
14698 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14699 | int *arg2 = (int *) 0 ; | |
14700 | int *arg3 = (int *) 0 ; | |
14701 | int temp2 ; | |
14702 | int temp3 ; | |
14703 | PyObject * obj0 = 0 ; | |
14704 | char *kwnames[] = { | |
14705 | (char *) "self", NULL | |
14706 | }; | |
14707 | ||
14708 | arg2 = &temp2; | |
14709 | arg3 = &temp3; | |
14710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
14711 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14712 | { | |
14713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14714 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
14715 | ||
14716 | wxPyEndAllowThreads(__tstate); | |
14717 | if (PyErr_Occurred()) SWIG_fail; | |
14718 | } | |
14719 | Py_INCREF(Py_None); resultobj = Py_None; | |
14720 | { | |
14721 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14722 | resultobj = t_output_helper(resultobj,o); | |
14723 | } | |
14724 | { | |
14725 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14726 | resultobj = t_output_helper(resultobj,o); | |
14727 | } | |
14728 | return resultobj; | |
14729 | fail: | |
14730 | return NULL; | |
14731 | } | |
14732 | ||
14733 | ||
14734 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14735 | PyObject *resultobj; | |
14736 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14737 | int *arg2 = (int *) 0 ; | |
14738 | int *arg3 = (int *) 0 ; | |
14739 | int temp2 ; | |
14740 | int temp3 ; | |
14741 | PyObject * obj0 = 0 ; | |
14742 | char *kwnames[] = { | |
14743 | (char *) "self", NULL | |
14744 | }; | |
14745 | ||
14746 | arg2 = &temp2; | |
14747 | arg3 = &temp3; | |
14748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
14749 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14750 | { | |
14751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14752 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
14753 | ||
14754 | wxPyEndAllowThreads(__tstate); | |
14755 | if (PyErr_Occurred()) SWIG_fail; | |
14756 | } | |
14757 | Py_INCREF(Py_None); resultobj = Py_None; | |
14758 | { | |
14759 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14760 | resultobj = t_output_helper(resultobj,o); | |
14761 | } | |
14762 | { | |
14763 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14764 | resultobj = t_output_helper(resultobj,o); | |
14765 | } | |
14766 | return resultobj; | |
14767 | fail: | |
14768 | return NULL; | |
14769 | } | |
14770 | ||
14771 | ||
14772 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14773 | PyObject *resultobj; | |
14774 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14775 | int *arg2 = (int *) 0 ; | |
14776 | int *arg3 = (int *) 0 ; | |
14777 | int temp2 ; | |
14778 | int temp3 ; | |
14779 | PyObject * obj0 = 0 ; | |
14780 | char *kwnames[] = { | |
14781 | (char *) "self", NULL | |
14782 | }; | |
14783 | ||
14784 | arg2 = &temp2; | |
14785 | arg3 = &temp3; | |
14786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
14787 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14788 | { | |
14789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14790 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
14791 | ||
14792 | wxPyEndAllowThreads(__tstate); | |
14793 | if (PyErr_Occurred()) SWIG_fail; | |
14794 | } | |
14795 | Py_INCREF(Py_None); resultobj = Py_None; | |
14796 | { | |
14797 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14798 | resultobj = t_output_helper(resultobj,o); | |
14799 | } | |
14800 | { | |
14801 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14802 | resultobj = t_output_helper(resultobj,o); | |
14803 | } | |
14804 | return resultobj; | |
14805 | fail: | |
14806 | return NULL; | |
14807 | } | |
14808 | ||
14809 | ||
14810 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14811 | PyObject *resultobj; | |
14812 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14813 | wxSize result; | |
14814 | PyObject * obj0 = 0 ; | |
14815 | char *kwnames[] = { | |
14816 | (char *) "self", NULL | |
14817 | }; | |
14818 | ||
14819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
14820 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14821 | { | |
14822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14823 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
14824 | ||
14825 | wxPyEndAllowThreads(__tstate); | |
14826 | if (PyErr_Occurred()) SWIG_fail; | |
14827 | } | |
14828 | { | |
14829 | wxSize * resultptr; | |
14830 | resultptr = new wxSize((wxSize &) result); | |
14831 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
14832 | } | |
14833 | return resultobj; | |
14834 | fail: | |
14835 | return NULL; | |
14836 | } | |
14837 | ||
14838 | ||
14839 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14840 | PyObject *resultobj; | |
14841 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14842 | wxSize result; | |
14843 | PyObject * obj0 = 0 ; | |
14844 | char *kwnames[] = { | |
14845 | (char *) "self", NULL | |
14846 | }; | |
14847 | ||
14848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
14849 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14850 | { | |
14851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14852 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
14853 | ||
14854 | wxPyEndAllowThreads(__tstate); | |
14855 | if (PyErr_Occurred()) SWIG_fail; | |
14856 | } | |
14857 | { | |
14858 | wxSize * resultptr; | |
14859 | resultptr = new wxSize((wxSize &) result); | |
14860 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
14861 | } | |
14862 | return resultobj; | |
14863 | fail: | |
14864 | return NULL; | |
14865 | } | |
14866 | ||
14867 | ||
14868 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14869 | PyObject *resultobj; | |
14870 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14871 | PyObject * obj0 = 0 ; | |
14872 | char *kwnames[] = { | |
14873 | (char *) "self", NULL | |
14874 | }; | |
14875 | ||
14876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
14877 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14878 | { | |
14879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14880 | (arg1)->base_InitDialog(); | |
14881 | ||
14882 | wxPyEndAllowThreads(__tstate); | |
14883 | if (PyErr_Occurred()) SWIG_fail; | |
14884 | } | |
14885 | Py_INCREF(Py_None); resultobj = Py_None; | |
14886 | return resultobj; | |
14887 | fail: | |
14888 | return NULL; | |
14889 | } | |
14890 | ||
14891 | ||
14892 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14893 | PyObject *resultobj; | |
14894 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14895 | bool result; | |
14896 | PyObject * obj0 = 0 ; | |
14897 | char *kwnames[] = { | |
14898 | (char *) "self", NULL | |
14899 | }; | |
14900 | ||
14901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
14902 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14903 | { | |
14904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14905 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
14906 | ||
14907 | wxPyEndAllowThreads(__tstate); | |
14908 | if (PyErr_Occurred()) SWIG_fail; | |
14909 | } | |
14910 | resultobj = PyInt_FromLong((long)result); | |
14911 | return resultobj; | |
14912 | fail: | |
14913 | return NULL; | |
14914 | } | |
14915 | ||
14916 | ||
14917 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14918 | PyObject *resultobj; | |
14919 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14920 | bool result; | |
14921 | PyObject * obj0 = 0 ; | |
14922 | char *kwnames[] = { | |
14923 | (char *) "self", NULL | |
14924 | }; | |
14925 | ||
14926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
14927 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14928 | { | |
14929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14930 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
14931 | ||
14932 | wxPyEndAllowThreads(__tstate); | |
14933 | if (PyErr_Occurred()) SWIG_fail; | |
14934 | } | |
14935 | resultobj = PyInt_FromLong((long)result); | |
14936 | return resultobj; | |
14937 | fail: | |
14938 | return NULL; | |
14939 | } | |
14940 | ||
14941 | ||
14942 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14943 | PyObject *resultobj; | |
14944 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14945 | bool result; | |
14946 | PyObject * obj0 = 0 ; | |
14947 | char *kwnames[] = { | |
14948 | (char *) "self", NULL | |
14949 | }; | |
14950 | ||
14951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
14952 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14953 | { | |
14954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14955 | result = (bool)(arg1)->base_Validate(); | |
14956 | ||
14957 | wxPyEndAllowThreads(__tstate); | |
14958 | if (PyErr_Occurred()) SWIG_fail; | |
14959 | } | |
14960 | resultobj = PyInt_FromLong((long)result); | |
14961 | return resultobj; | |
14962 | fail: | |
14963 | return NULL; | |
14964 | } | |
14965 | ||
14966 | ||
14967 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14968 | PyObject *resultobj; | |
14969 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14970 | bool result; | |
14971 | PyObject * obj0 = 0 ; | |
14972 | char *kwnames[] = { | |
14973 | (char *) "self", NULL | |
14974 | }; | |
14975 | ||
14976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
14977 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
14978 | { | |
14979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14980 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
14981 | ||
14982 | wxPyEndAllowThreads(__tstate); | |
14983 | if (PyErr_Occurred()) SWIG_fail; | |
14984 | } | |
14985 | resultobj = PyInt_FromLong((long)result); | |
14986 | return resultobj; | |
14987 | fail: | |
14988 | return NULL; | |
14989 | } | |
14990 | ||
14991 | ||
14992 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14993 | PyObject *resultobj; | |
14994 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
14995 | bool result; | |
14996 | PyObject * obj0 = 0 ; | |
14997 | char *kwnames[] = { | |
14998 | (char *) "self", NULL | |
14999 | }; | |
15000 | ||
15001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15002 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15003 | { | |
15004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15005 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15006 | ||
15007 | wxPyEndAllowThreads(__tstate); | |
15008 | if (PyErr_Occurred()) SWIG_fail; | |
15009 | } | |
15010 | resultobj = PyInt_FromLong((long)result); | |
15011 | return resultobj; | |
15012 | fail: | |
15013 | return NULL; | |
15014 | } | |
15015 | ||
15016 | ||
15017 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15018 | PyObject *resultobj; | |
15019 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15020 | wxSize result; | |
15021 | PyObject * obj0 = 0 ; | |
15022 | char *kwnames[] = { | |
15023 | (char *) "self", NULL | |
15024 | }; | |
15025 | ||
15026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15027 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15028 | { | |
15029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15030 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
15031 | ||
15032 | wxPyEndAllowThreads(__tstate); | |
15033 | if (PyErr_Occurred()) SWIG_fail; | |
15034 | } | |
15035 | { | |
15036 | wxSize * resultptr; | |
15037 | resultptr = new wxSize((wxSize &) result); | |
15038 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
15039 | } | |
15040 | return resultobj; | |
15041 | fail: | |
15042 | return NULL; | |
15043 | } | |
15044 | ||
15045 | ||
15046 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15047 | PyObject *resultobj; | |
15048 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15049 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15050 | PyObject * obj0 = 0 ; | |
15051 | PyObject * obj1 = 0 ; | |
15052 | char *kwnames[] = { | |
15053 | (char *) "self",(char *) "child", NULL | |
15054 | }; | |
15055 | ||
15056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15057 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15058 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15059 | { | |
15060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15061 | (arg1)->base_AddChild(arg2); | |
15062 | ||
15063 | wxPyEndAllowThreads(__tstate); | |
15064 | if (PyErr_Occurred()) SWIG_fail; | |
15065 | } | |
15066 | Py_INCREF(Py_None); resultobj = Py_None; | |
15067 | return resultobj; | |
15068 | fail: | |
15069 | return NULL; | |
15070 | } | |
15071 | ||
15072 | ||
15073 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15074 | PyObject *resultobj; | |
15075 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15076 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15077 | PyObject * obj0 = 0 ; | |
15078 | PyObject * obj1 = 0 ; | |
15079 | char *kwnames[] = { | |
15080 | (char *) "self",(char *) "child", NULL | |
15081 | }; | |
15082 | ||
15083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15084 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15085 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15086 | { | |
15087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15088 | (arg1)->base_RemoveChild(arg2); | |
15089 | ||
15090 | wxPyEndAllowThreads(__tstate); | |
15091 | if (PyErr_Occurred()) SWIG_fail; | |
15092 | } | |
15093 | Py_INCREF(Py_None); resultobj = Py_None; | |
15094 | return resultobj; | |
15095 | fail: | |
15096 | return NULL; | |
15097 | } | |
15098 | ||
15099 | ||
15100 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { | |
15101 | PyObject *obj; | |
15102 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15103 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
15104 | Py_INCREF(obj); | |
15105 | return Py_BuildValue((char *)""); | |
15106 | } | |
15107 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15108 | PyObject *resultobj; | |
15109 | wxPrintData *result; | |
15110 | char *kwnames[] = { | |
15111 | NULL | |
15112 | }; | |
15113 | ||
15114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
15115 | { | |
15116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15117 | result = (wxPrintData *)new wxPrintData(); | |
15118 | ||
15119 | wxPyEndAllowThreads(__tstate); | |
15120 | if (PyErr_Occurred()) SWIG_fail; | |
15121 | } | |
15122 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1); | |
15123 | return resultobj; | |
15124 | fail: | |
15125 | return NULL; | |
15126 | } | |
15127 | ||
15128 | ||
15129 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15130 | PyObject *resultobj; | |
15131 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15132 | PyObject * obj0 = 0 ; | |
15133 | char *kwnames[] = { | |
15134 | (char *) "self", NULL | |
15135 | }; | |
15136 | ||
15137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
15138 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15139 | { | |
15140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15141 | delete arg1; | |
15142 | ||
15143 | wxPyEndAllowThreads(__tstate); | |
15144 | if (PyErr_Occurred()) SWIG_fail; | |
15145 | } | |
15146 | Py_INCREF(Py_None); resultobj = Py_None; | |
15147 | return resultobj; | |
15148 | fail: | |
15149 | return NULL; | |
15150 | } | |
15151 | ||
15152 | ||
15153 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15154 | PyObject *resultobj; | |
15155 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15156 | int result; | |
15157 | PyObject * obj0 = 0 ; | |
15158 | char *kwnames[] = { | |
15159 | (char *) "self", NULL | |
15160 | }; | |
15161 | ||
15162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15163 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15164 | { | |
15165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15166 | result = (int)(arg1)->GetNoCopies(); | |
15167 | ||
15168 | wxPyEndAllowThreads(__tstate); | |
15169 | if (PyErr_Occurred()) SWIG_fail; | |
15170 | } | |
15171 | resultobj = PyInt_FromLong((long)result); | |
15172 | return resultobj; | |
15173 | fail: | |
15174 | return NULL; | |
15175 | } | |
15176 | ||
15177 | ||
15178 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15179 | PyObject *resultobj; | |
15180 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15181 | bool result; | |
15182 | PyObject * obj0 = 0 ; | |
15183 | char *kwnames[] = { | |
15184 | (char *) "self", NULL | |
15185 | }; | |
15186 | ||
15187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
15188 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15189 | { | |
15190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15191 | result = (bool)(arg1)->GetCollate(); | |
15192 | ||
15193 | wxPyEndAllowThreads(__tstate); | |
15194 | if (PyErr_Occurred()) SWIG_fail; | |
15195 | } | |
15196 | resultobj = PyInt_FromLong((long)result); | |
15197 | return resultobj; | |
15198 | fail: | |
15199 | return NULL; | |
15200 | } | |
15201 | ||
15202 | ||
15203 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15204 | PyObject *resultobj; | |
15205 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15206 | int result; | |
15207 | PyObject * obj0 = 0 ; | |
15208 | char *kwnames[] = { | |
15209 | (char *) "self", NULL | |
15210 | }; | |
15211 | ||
15212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
15213 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15214 | { | |
15215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15216 | result = (int)(arg1)->GetOrientation(); | |
15217 | ||
15218 | wxPyEndAllowThreads(__tstate); | |
15219 | if (PyErr_Occurred()) SWIG_fail; | |
15220 | } | |
15221 | resultobj = PyInt_FromLong((long)result); | |
15222 | return resultobj; | |
15223 | fail: | |
15224 | return NULL; | |
15225 | } | |
15226 | ||
15227 | ||
15228 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15229 | PyObject *resultobj; | |
15230 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15231 | bool result; | |
15232 | PyObject * obj0 = 0 ; | |
15233 | char *kwnames[] = { | |
15234 | (char *) "self", NULL | |
15235 | }; | |
15236 | ||
15237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
15238 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15239 | { | |
15240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15241 | result = (bool)(arg1)->Ok(); | |
15242 | ||
15243 | wxPyEndAllowThreads(__tstate); | |
15244 | if (PyErr_Occurred()) SWIG_fail; | |
15245 | } | |
15246 | resultobj = PyInt_FromLong((long)result); | |
15247 | return resultobj; | |
15248 | fail: | |
15249 | return NULL; | |
15250 | } | |
15251 | ||
15252 | ||
15253 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15254 | PyObject *resultobj; | |
15255 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15256 | wxString *result; | |
15257 | PyObject * obj0 = 0 ; | |
15258 | char *kwnames[] = { | |
15259 | (char *) "self", NULL | |
15260 | }; | |
15261 | ||
15262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
15263 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15264 | { | |
15265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15266 | { | |
15267 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
15268 | result = (wxString *) &_result_ref; | |
15269 | } | |
15270 | ||
15271 | wxPyEndAllowThreads(__tstate); | |
15272 | if (PyErr_Occurred()) SWIG_fail; | |
15273 | } | |
15274 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
15275 | return resultobj; | |
15276 | fail: | |
15277 | return NULL; | |
15278 | } | |
15279 | ||
15280 | ||
15281 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15282 | PyObject *resultobj; | |
15283 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15284 | bool result; | |
15285 | PyObject * obj0 = 0 ; | |
15286 | char *kwnames[] = { | |
15287 | (char *) "self", NULL | |
15288 | }; | |
15289 | ||
15290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
15291 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15292 | { | |
15293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15294 | result = (bool)(arg1)->GetColour(); | |
15295 | ||
15296 | wxPyEndAllowThreads(__tstate); | |
15297 | if (PyErr_Occurred()) SWIG_fail; | |
15298 | } | |
15299 | resultobj = PyInt_FromLong((long)result); | |
15300 | return resultobj; | |
15301 | fail: | |
15302 | return NULL; | |
15303 | } | |
15304 | ||
15305 | ||
15306 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15307 | PyObject *resultobj; | |
15308 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15309 | int result; | |
15310 | PyObject * obj0 = 0 ; | |
15311 | char *kwnames[] = { | |
15312 | (char *) "self", NULL | |
15313 | }; | |
15314 | ||
15315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
15316 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15317 | { | |
15318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15319 | result = (int)(arg1)->GetDuplex(); | |
15320 | ||
15321 | wxPyEndAllowThreads(__tstate); | |
15322 | if (PyErr_Occurred()) SWIG_fail; | |
15323 | } | |
15324 | resultobj = PyInt_FromLong((long)result); | |
15325 | return resultobj; | |
15326 | fail: | |
15327 | return NULL; | |
15328 | } | |
15329 | ||
15330 | ||
15331 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15332 | PyObject *resultobj; | |
15333 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15334 | int result; | |
15335 | PyObject * obj0 = 0 ; | |
15336 | char *kwnames[] = { | |
15337 | (char *) "self", NULL | |
15338 | }; | |
15339 | ||
15340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
15341 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15342 | { | |
15343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15344 | result = (int)(arg1)->GetPaperId(); | |
15345 | ||
15346 | wxPyEndAllowThreads(__tstate); | |
15347 | if (PyErr_Occurred()) SWIG_fail; | |
15348 | } | |
15349 | resultobj = PyInt_FromLong((long)result); | |
15350 | return resultobj; | |
15351 | fail: | |
15352 | return NULL; | |
15353 | } | |
15354 | ||
15355 | ||
15356 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15357 | PyObject *resultobj; | |
15358 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15359 | wxSize *result; | |
15360 | PyObject * obj0 = 0 ; | |
15361 | char *kwnames[] = { | |
15362 | (char *) "self", NULL | |
15363 | }; | |
15364 | ||
15365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15366 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15367 | { | |
15368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15369 | { | |
15370 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
15371 | result = (wxSize *) &_result_ref; | |
15372 | } | |
15373 | ||
15374 | wxPyEndAllowThreads(__tstate); | |
15375 | if (PyErr_Occurred()) SWIG_fail; | |
15376 | } | |
15377 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0); | |
15378 | return resultobj; | |
15379 | fail: | |
15380 | return NULL; | |
15381 | } | |
15382 | ||
15383 | ||
15384 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15385 | PyObject *resultobj; | |
15386 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15387 | wxPrintQuality result; | |
15388 | PyObject * obj0 = 0 ; | |
15389 | char *kwnames[] = { | |
15390 | (char *) "self", NULL | |
15391 | }; | |
15392 | ||
15393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
15394 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15395 | { | |
15396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15397 | result = (arg1)->GetQuality(); | |
15398 | ||
15399 | wxPyEndAllowThreads(__tstate); | |
15400 | if (PyErr_Occurred()) SWIG_fail; | |
15401 | } | |
15402 | { | |
15403 | wxPrintQuality * resultptr; | |
15404 | resultptr = new wxPrintQuality((wxPrintQuality &) result); | |
15405 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1); | |
15406 | } | |
15407 | return resultobj; | |
15408 | fail: | |
15409 | return NULL; | |
15410 | } | |
15411 | ||
15412 | ||
15413 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15414 | PyObject *resultobj; | |
15415 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15416 | int arg2 ; | |
15417 | PyObject * obj0 = 0 ; | |
15418 | char *kwnames[] = { | |
15419 | (char *) "self",(char *) "v", NULL | |
15420 | }; | |
15421 | ||
15422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail; | |
15423 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15424 | { | |
15425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15426 | (arg1)->SetNoCopies(arg2); | |
15427 | ||
15428 | wxPyEndAllowThreads(__tstate); | |
15429 | if (PyErr_Occurred()) SWIG_fail; | |
15430 | } | |
15431 | Py_INCREF(Py_None); resultobj = Py_None; | |
15432 | return resultobj; | |
15433 | fail: | |
15434 | return NULL; | |
15435 | } | |
15436 | ||
15437 | ||
15438 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15439 | PyObject *resultobj; | |
15440 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15441 | bool arg2 ; | |
15442 | PyObject * obj0 = 0 ; | |
15443 | PyObject * obj1 = 0 ; | |
15444 | char *kwnames[] = { | |
15445 | (char *) "self",(char *) "flag", NULL | |
15446 | }; | |
15447 | ||
15448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15449 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15450 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
15451 | if (PyErr_Occurred()) SWIG_fail; | |
15452 | { | |
15453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15454 | (arg1)->SetCollate(arg2); | |
15455 | ||
15456 | wxPyEndAllowThreads(__tstate); | |
15457 | if (PyErr_Occurred()) SWIG_fail; | |
15458 | } | |
15459 | Py_INCREF(Py_None); resultobj = Py_None; | |
15460 | return resultobj; | |
15461 | fail: | |
15462 | return NULL; | |
15463 | } | |
15464 | ||
15465 | ||
15466 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15467 | PyObject *resultobj; | |
15468 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15469 | int arg2 ; | |
15470 | PyObject * obj0 = 0 ; | |
15471 | char *kwnames[] = { | |
15472 | (char *) "self",(char *) "orient", NULL | |
15473 | }; | |
15474 | ||
15475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail; | |
15476 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15477 | { | |
15478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15479 | (arg1)->SetOrientation(arg2); | |
15480 | ||
15481 | wxPyEndAllowThreads(__tstate); | |
15482 | if (PyErr_Occurred()) SWIG_fail; | |
15483 | } | |
15484 | Py_INCREF(Py_None); resultobj = Py_None; | |
15485 | return resultobj; | |
15486 | fail: | |
15487 | return NULL; | |
15488 | } | |
15489 | ||
15490 | ||
15491 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15492 | PyObject *resultobj; | |
15493 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15494 | wxString *arg2 = 0 ; | |
423f194a | 15495 | bool temp2 = False ; |
d14a1e28 RD |
15496 | PyObject * obj0 = 0 ; |
15497 | PyObject * obj1 = 0 ; | |
15498 | char *kwnames[] = { | |
15499 | (char *) "self",(char *) "name", NULL | |
15500 | }; | |
15501 | ||
15502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
15503 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15504 | { | |
15505 | arg2 = wxString_in_helper(obj1); | |
15506 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 15507 | temp2 = True; |
d14a1e28 RD |
15508 | } |
15509 | { | |
15510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15511 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
15512 | ||
15513 | wxPyEndAllowThreads(__tstate); | |
15514 | if (PyErr_Occurred()) SWIG_fail; | |
15515 | } | |
15516 | Py_INCREF(Py_None); resultobj = Py_None; | |
15517 | { | |
15518 | if (temp2) | |
15519 | delete arg2; | |
15520 | } | |
15521 | return resultobj; | |
15522 | fail: | |
15523 | { | |
15524 | if (temp2) | |
15525 | delete arg2; | |
15526 | } | |
15527 | return NULL; | |
15528 | } | |
15529 | ||
15530 | ||
15531 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15532 | PyObject *resultobj; | |
15533 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15534 | bool arg2 ; | |
15535 | PyObject * obj0 = 0 ; | |
15536 | PyObject * obj1 = 0 ; | |
15537 | char *kwnames[] = { | |
15538 | (char *) "self",(char *) "colour", NULL | |
15539 | }; | |
15540 | ||
15541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15542 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15543 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
15544 | if (PyErr_Occurred()) SWIG_fail; | |
15545 | { | |
15546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15547 | (arg1)->SetColour(arg2); | |
15548 | ||
15549 | wxPyEndAllowThreads(__tstate); | |
15550 | if (PyErr_Occurred()) SWIG_fail; | |
15551 | } | |
15552 | Py_INCREF(Py_None); resultobj = Py_None; | |
15553 | return resultobj; | |
15554 | fail: | |
15555 | return NULL; | |
15556 | } | |
15557 | ||
15558 | ||
15559 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15560 | PyObject *resultobj; | |
15561 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15562 | int arg2 ; | |
15563 | PyObject * obj0 = 0 ; | |
15564 | char *kwnames[] = { | |
15565 | (char *) "self",(char *) "duplex", NULL | |
15566 | }; | |
15567 | ||
15568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail; | |
15569 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15570 | { | |
15571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15572 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
15573 | ||
15574 | wxPyEndAllowThreads(__tstate); | |
15575 | if (PyErr_Occurred()) SWIG_fail; | |
15576 | } | |
15577 | Py_INCREF(Py_None); resultobj = Py_None; | |
15578 | return resultobj; | |
15579 | fail: | |
15580 | return NULL; | |
15581 | } | |
15582 | ||
15583 | ||
15584 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15585 | PyObject *resultobj; | |
15586 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15587 | int arg2 ; | |
15588 | PyObject * obj0 = 0 ; | |
15589 | char *kwnames[] = { | |
15590 | (char *) "self",(char *) "sizeId", NULL | |
15591 | }; | |
15592 | ||
15593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail; | |
15594 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15595 | { | |
15596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15597 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
15598 | ||
15599 | wxPyEndAllowThreads(__tstate); | |
15600 | if (PyErr_Occurred()) SWIG_fail; | |
15601 | } | |
15602 | Py_INCREF(Py_None); resultobj = Py_None; | |
15603 | return resultobj; | |
15604 | fail: | |
15605 | return NULL; | |
15606 | } | |
15607 | ||
15608 | ||
15609 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15610 | PyObject *resultobj; | |
15611 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15612 | wxSize *arg2 = 0 ; | |
15613 | wxSize temp2 ; | |
15614 | PyObject * obj0 = 0 ; | |
15615 | PyObject * obj1 = 0 ; | |
15616 | char *kwnames[] = { | |
15617 | (char *) "self",(char *) "sz", NULL | |
15618 | }; | |
15619 | ||
15620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15621 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15622 | { | |
15623 | arg2 = &temp2; | |
15624 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
15625 | } | |
15626 | { | |
15627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15628 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
15629 | ||
15630 | wxPyEndAllowThreads(__tstate); | |
15631 | if (PyErr_Occurred()) SWIG_fail; | |
15632 | } | |
15633 | Py_INCREF(Py_None); resultobj = Py_None; | |
15634 | return resultobj; | |
15635 | fail: | |
15636 | return NULL; | |
15637 | } | |
15638 | ||
15639 | ||
15640 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15641 | PyObject *resultobj; | |
15642 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15643 | wxPrintQuality arg2 ; | |
15644 | wxPrintQuality *argp2 ; | |
15645 | PyObject * obj0 = 0 ; | |
15646 | PyObject * obj1 = 0 ; | |
15647 | char *kwnames[] = { | |
15648 | (char *) "self",(char *) "quality", NULL | |
15649 | }; | |
15650 | ||
15651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; | |
15652 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15653 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
15654 | arg2 = *argp2; | |
15655 | { | |
15656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15657 | (arg1)->SetQuality(arg2); | |
15658 | ||
15659 | wxPyEndAllowThreads(__tstate); | |
15660 | if (PyErr_Occurred()) SWIG_fail; | |
15661 | } | |
15662 | Py_INCREF(Py_None); resultobj = Py_None; | |
15663 | return resultobj; | |
15664 | fail: | |
15665 | return NULL; | |
15666 | } | |
15667 | ||
15668 | ||
15669 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15670 | PyObject *resultobj; | |
15671 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15672 | wxString *result; | |
15673 | PyObject * obj0 = 0 ; | |
15674 | char *kwnames[] = { | |
15675 | (char *) "self", NULL | |
15676 | }; | |
15677 | ||
15678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
15679 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15680 | { | |
15681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15682 | { | |
15683 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
15684 | result = (wxString *) &_result_ref; | |
15685 | } | |
15686 | ||
15687 | wxPyEndAllowThreads(__tstate); | |
15688 | if (PyErr_Occurred()) SWIG_fail; | |
15689 | } | |
15690 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
15691 | return resultobj; | |
15692 | fail: | |
15693 | return NULL; | |
15694 | } | |
15695 | ||
15696 | ||
15697 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15698 | PyObject *resultobj; | |
15699 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15700 | wxString *result; | |
15701 | PyObject * obj0 = 0 ; | |
15702 | char *kwnames[] = { | |
15703 | (char *) "self", NULL | |
15704 | }; | |
15705 | ||
15706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
15707 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15708 | { | |
15709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15710 | { | |
15711 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
15712 | result = (wxString *) &_result_ref; | |
15713 | } | |
15714 | ||
15715 | wxPyEndAllowThreads(__tstate); | |
15716 | if (PyErr_Occurred()) SWIG_fail; | |
15717 | } | |
15718 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
15719 | return resultobj; | |
15720 | fail: | |
15721 | return NULL; | |
15722 | } | |
15723 | ||
15724 | ||
15725 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15726 | PyObject *resultobj; | |
15727 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15728 | wxString *result; | |
15729 | PyObject * obj0 = 0 ; | |
15730 | char *kwnames[] = { | |
15731 | (char *) "self", NULL | |
15732 | }; | |
15733 | ||
15734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
15735 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15736 | { | |
15737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15738 | { | |
15739 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
15740 | result = (wxString *) &_result_ref; | |
15741 | } | |
15742 | ||
15743 | wxPyEndAllowThreads(__tstate); | |
15744 | if (PyErr_Occurred()) SWIG_fail; | |
15745 | } | |
15746 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
15747 | return resultobj; | |
15748 | fail: | |
15749 | return NULL; | |
15750 | } | |
15751 | ||
15752 | ||
15753 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15754 | PyObject *resultobj; | |
15755 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15756 | wxString *result; | |
15757 | PyObject * obj0 = 0 ; | |
15758 | char *kwnames[] = { | |
15759 | (char *) "self", NULL | |
15760 | }; | |
15761 | ||
15762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
15763 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15764 | { | |
15765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15766 | { | |
15767 | wxString const &_result_ref = (arg1)->GetFilename(); | |
15768 | result = (wxString *) &_result_ref; | |
15769 | } | |
15770 | ||
15771 | wxPyEndAllowThreads(__tstate); | |
15772 | if (PyErr_Occurred()) SWIG_fail; | |
15773 | } | |
15774 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
15775 | return resultobj; | |
15776 | fail: | |
15777 | return NULL; | |
15778 | } | |
15779 | ||
15780 | ||
15781 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15782 | PyObject *resultobj; | |
15783 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15784 | wxString *result; | |
15785 | PyObject * obj0 = 0 ; | |
15786 | char *kwnames[] = { | |
15787 | (char *) "self", NULL | |
15788 | }; | |
15789 | ||
15790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15791 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15792 | { | |
15793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15794 | { | |
15795 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
15796 | result = (wxString *) &_result_ref; | |
15797 | } | |
15798 | ||
15799 | wxPyEndAllowThreads(__tstate); | |
15800 | if (PyErr_Occurred()) SWIG_fail; | |
15801 | } | |
15802 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
15803 | return resultobj; | |
15804 | fail: | |
15805 | return NULL; | |
15806 | } | |
15807 | ||
15808 | ||
15809 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15810 | PyObject *resultobj; | |
15811 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15812 | double result; | |
15813 | PyObject * obj0 = 0 ; | |
15814 | char *kwnames[] = { | |
15815 | (char *) "self", NULL | |
15816 | }; | |
15817 | ||
15818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15819 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15820 | { | |
15821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15822 | result = (double)(arg1)->GetPrinterScaleX(); | |
15823 | ||
15824 | wxPyEndAllowThreads(__tstate); | |
15825 | if (PyErr_Occurred()) SWIG_fail; | |
15826 | } | |
15827 | resultobj = PyFloat_FromDouble(result); | |
15828 | return resultobj; | |
15829 | fail: | |
15830 | return NULL; | |
15831 | } | |
15832 | ||
15833 | ||
15834 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15835 | PyObject *resultobj; | |
15836 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15837 | double result; | |
15838 | PyObject * obj0 = 0 ; | |
15839 | char *kwnames[] = { | |
15840 | (char *) "self", NULL | |
15841 | }; | |
15842 | ||
15843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15844 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15845 | { | |
15846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15847 | result = (double)(arg1)->GetPrinterScaleY(); | |
15848 | ||
15849 | wxPyEndAllowThreads(__tstate); | |
15850 | if (PyErr_Occurred()) SWIG_fail; | |
15851 | } | |
15852 | resultobj = PyFloat_FromDouble(result); | |
15853 | return resultobj; | |
15854 | fail: | |
15855 | return NULL; | |
15856 | } | |
15857 | ||
15858 | ||
15859 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15860 | PyObject *resultobj; | |
15861 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15862 | long result; | |
15863 | PyObject * obj0 = 0 ; | |
15864 | char *kwnames[] = { | |
15865 | (char *) "self", NULL | |
15866 | }; | |
15867 | ||
15868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15869 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15870 | { | |
15871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15872 | result = (long)(arg1)->GetPrinterTranslateX(); | |
15873 | ||
15874 | wxPyEndAllowThreads(__tstate); | |
15875 | if (PyErr_Occurred()) SWIG_fail; | |
15876 | } | |
15877 | resultobj = PyInt_FromLong((long)result); | |
15878 | return resultobj; | |
15879 | fail: | |
15880 | return NULL; | |
15881 | } | |
15882 | ||
15883 | ||
15884 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15885 | PyObject *resultobj; | |
15886 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15887 | long result; | |
15888 | PyObject * obj0 = 0 ; | |
15889 | char *kwnames[] = { | |
15890 | (char *) "self", NULL | |
15891 | }; | |
15892 | ||
15893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15894 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15895 | { | |
15896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15897 | result = (long)(arg1)->GetPrinterTranslateY(); | |
15898 | ||
15899 | wxPyEndAllowThreads(__tstate); | |
15900 | if (PyErr_Occurred()) SWIG_fail; | |
15901 | } | |
15902 | resultobj = PyInt_FromLong((long)result); | |
15903 | return resultobj; | |
15904 | fail: | |
15905 | return NULL; | |
15906 | } | |
15907 | ||
15908 | ||
15909 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15910 | PyObject *resultobj; | |
15911 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15912 | int result; | |
15913 | PyObject * obj0 = 0 ; | |
15914 | char *kwnames[] = { | |
15915 | (char *) "self", NULL | |
15916 | }; | |
15917 | ||
15918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
15919 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15920 | { | |
15921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15922 | result = (int)(arg1)->GetPrintMode(); | |
15923 | ||
15924 | wxPyEndAllowThreads(__tstate); | |
15925 | if (PyErr_Occurred()) SWIG_fail; | |
15926 | } | |
15927 | resultobj = PyInt_FromLong((long)result); | |
15928 | return resultobj; | |
15929 | fail: | |
15930 | return NULL; | |
15931 | } | |
15932 | ||
15933 | ||
15934 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15935 | PyObject *resultobj; | |
15936 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15937 | wxString *arg2 = 0 ; | |
423f194a | 15938 | bool temp2 = False ; |
d14a1e28 RD |
15939 | PyObject * obj0 = 0 ; |
15940 | PyObject * obj1 = 0 ; | |
15941 | char *kwnames[] = { | |
15942 | (char *) "self",(char *) "command", NULL | |
15943 | }; | |
15944 | ||
15945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
15946 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15947 | { | |
15948 | arg2 = wxString_in_helper(obj1); | |
15949 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 15950 | temp2 = True; |
d14a1e28 RD |
15951 | } |
15952 | { | |
15953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15954 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
15955 | ||
15956 | wxPyEndAllowThreads(__tstate); | |
15957 | if (PyErr_Occurred()) SWIG_fail; | |
15958 | } | |
15959 | Py_INCREF(Py_None); resultobj = Py_None; | |
15960 | { | |
15961 | if (temp2) | |
15962 | delete arg2; | |
15963 | } | |
15964 | return resultobj; | |
15965 | fail: | |
15966 | { | |
15967 | if (temp2) | |
15968 | delete arg2; | |
15969 | } | |
15970 | return NULL; | |
15971 | } | |
15972 | ||
15973 | ||
15974 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15975 | PyObject *resultobj; | |
15976 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15977 | wxString *arg2 = 0 ; | |
423f194a | 15978 | bool temp2 = False ; |
d14a1e28 RD |
15979 | PyObject * obj0 = 0 ; |
15980 | PyObject * obj1 = 0 ; | |
15981 | char *kwnames[] = { | |
15982 | (char *) "self",(char *) "options", NULL | |
15983 | }; | |
15984 | ||
15985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15986 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
15987 | { | |
15988 | arg2 = wxString_in_helper(obj1); | |
15989 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 15990 | temp2 = True; |
d14a1e28 RD |
15991 | } |
15992 | { | |
15993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15994 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
15995 | ||
15996 | wxPyEndAllowThreads(__tstate); | |
15997 | if (PyErr_Occurred()) SWIG_fail; | |
15998 | } | |
15999 | Py_INCREF(Py_None); resultobj = Py_None; | |
16000 | { | |
16001 | if (temp2) | |
16002 | delete arg2; | |
16003 | } | |
16004 | return resultobj; | |
16005 | fail: | |
16006 | { | |
16007 | if (temp2) | |
16008 | delete arg2; | |
16009 | } | |
16010 | return NULL; | |
16011 | } | |
16012 | ||
16013 | ||
16014 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16015 | PyObject *resultobj; | |
16016 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16017 | wxString *arg2 = 0 ; | |
423f194a | 16018 | bool temp2 = False ; |
d14a1e28 RD |
16019 | PyObject * obj0 = 0 ; |
16020 | PyObject * obj1 = 0 ; | |
16021 | char *kwnames[] = { | |
16022 | (char *) "self",(char *) "command", NULL | |
16023 | }; | |
16024 | ||
16025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
16026 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16027 | { | |
16028 | arg2 = wxString_in_helper(obj1); | |
16029 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16030 | temp2 = True; |
d14a1e28 RD |
16031 | } |
16032 | { | |
16033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16034 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
16035 | ||
16036 | wxPyEndAllowThreads(__tstate); | |
16037 | if (PyErr_Occurred()) SWIG_fail; | |
16038 | } | |
16039 | Py_INCREF(Py_None); resultobj = Py_None; | |
16040 | { | |
16041 | if (temp2) | |
16042 | delete arg2; | |
16043 | } | |
16044 | return resultobj; | |
16045 | fail: | |
16046 | { | |
16047 | if (temp2) | |
16048 | delete arg2; | |
16049 | } | |
16050 | return NULL; | |
16051 | } | |
16052 | ||
16053 | ||
16054 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16055 | PyObject *resultobj; | |
16056 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16057 | wxString *arg2 = 0 ; | |
423f194a | 16058 | bool temp2 = False ; |
d14a1e28 RD |
16059 | PyObject * obj0 = 0 ; |
16060 | PyObject * obj1 = 0 ; | |
16061 | char *kwnames[] = { | |
16062 | (char *) "self",(char *) "filename", NULL | |
16063 | }; | |
16064 | ||
16065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
16066 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16067 | { | |
16068 | arg2 = wxString_in_helper(obj1); | |
16069 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16070 | temp2 = True; |
d14a1e28 RD |
16071 | } |
16072 | { | |
16073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16074 | (arg1)->SetFilename((wxString const &)*arg2); | |
16075 | ||
16076 | wxPyEndAllowThreads(__tstate); | |
16077 | if (PyErr_Occurred()) SWIG_fail; | |
16078 | } | |
16079 | Py_INCREF(Py_None); resultobj = Py_None; | |
16080 | { | |
16081 | if (temp2) | |
16082 | delete arg2; | |
16083 | } | |
16084 | return resultobj; | |
16085 | fail: | |
16086 | { | |
16087 | if (temp2) | |
16088 | delete arg2; | |
16089 | } | |
16090 | return NULL; | |
16091 | } | |
16092 | ||
16093 | ||
16094 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16095 | PyObject *resultobj; | |
16096 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16097 | wxString *arg2 = 0 ; | |
423f194a | 16098 | bool temp2 = False ; |
d14a1e28 RD |
16099 | PyObject * obj0 = 0 ; |
16100 | PyObject * obj1 = 0 ; | |
16101 | char *kwnames[] = { | |
16102 | (char *) "self",(char *) "path", NULL | |
16103 | }; | |
16104 | ||
16105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
16106 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16107 | { | |
16108 | arg2 = wxString_in_helper(obj1); | |
16109 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16110 | temp2 = True; |
d14a1e28 RD |
16111 | } |
16112 | { | |
16113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16114 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
16115 | ||
16116 | wxPyEndAllowThreads(__tstate); | |
16117 | if (PyErr_Occurred()) SWIG_fail; | |
16118 | } | |
16119 | Py_INCREF(Py_None); resultobj = Py_None; | |
16120 | { | |
16121 | if (temp2) | |
16122 | delete arg2; | |
16123 | } | |
16124 | return resultobj; | |
16125 | fail: | |
16126 | { | |
16127 | if (temp2) | |
16128 | delete arg2; | |
16129 | } | |
16130 | return NULL; | |
16131 | } | |
16132 | ||
16133 | ||
16134 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16135 | PyObject *resultobj; | |
16136 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16137 | double arg2 ; | |
16138 | PyObject * obj0 = 0 ; | |
16139 | char *kwnames[] = { | |
16140 | (char *) "self",(char *) "x", NULL | |
16141 | }; | |
16142 | ||
16143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail; | |
16144 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16145 | { | |
16146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16147 | (arg1)->SetPrinterScaleX(arg2); | |
16148 | ||
16149 | wxPyEndAllowThreads(__tstate); | |
16150 | if (PyErr_Occurred()) SWIG_fail; | |
16151 | } | |
16152 | Py_INCREF(Py_None); resultobj = Py_None; | |
16153 | return resultobj; | |
16154 | fail: | |
16155 | return NULL; | |
16156 | } | |
16157 | ||
16158 | ||
16159 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16160 | PyObject *resultobj; | |
16161 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16162 | double arg2 ; | |
16163 | PyObject * obj0 = 0 ; | |
16164 | char *kwnames[] = { | |
16165 | (char *) "self",(char *) "y", NULL | |
16166 | }; | |
16167 | ||
16168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail; | |
16169 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16170 | { | |
16171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16172 | (arg1)->SetPrinterScaleY(arg2); | |
16173 | ||
16174 | wxPyEndAllowThreads(__tstate); | |
16175 | if (PyErr_Occurred()) SWIG_fail; | |
16176 | } | |
16177 | Py_INCREF(Py_None); resultobj = Py_None; | |
16178 | return resultobj; | |
16179 | fail: | |
16180 | return NULL; | |
16181 | } | |
16182 | ||
16183 | ||
16184 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16185 | PyObject *resultobj; | |
16186 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16187 | double arg2 ; | |
16188 | double arg3 ; | |
16189 | PyObject * obj0 = 0 ; | |
16190 | char *kwnames[] = { | |
16191 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16192 | }; | |
16193 | ||
16194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
16195 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16196 | { | |
16197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16198 | (arg1)->SetPrinterScaling(arg2,arg3); | |
16199 | ||
16200 | wxPyEndAllowThreads(__tstate); | |
16201 | if (PyErr_Occurred()) SWIG_fail; | |
16202 | } | |
16203 | Py_INCREF(Py_None); resultobj = Py_None; | |
16204 | return resultobj; | |
16205 | fail: | |
16206 | return NULL; | |
16207 | } | |
16208 | ||
16209 | ||
16210 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16211 | PyObject *resultobj; | |
16212 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16213 | long arg2 ; | |
16214 | PyObject * obj0 = 0 ; | |
16215 | char *kwnames[] = { | |
16216 | (char *) "self",(char *) "x", NULL | |
16217 | }; | |
16218 | ||
16219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail; | |
16220 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16221 | { | |
16222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16223 | (arg1)->SetPrinterTranslateX(arg2); | |
16224 | ||
16225 | wxPyEndAllowThreads(__tstate); | |
16226 | if (PyErr_Occurred()) SWIG_fail; | |
16227 | } | |
16228 | Py_INCREF(Py_None); resultobj = Py_None; | |
16229 | return resultobj; | |
16230 | fail: | |
16231 | return NULL; | |
16232 | } | |
16233 | ||
16234 | ||
16235 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16236 | PyObject *resultobj; | |
16237 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16238 | long arg2 ; | |
16239 | PyObject * obj0 = 0 ; | |
16240 | char *kwnames[] = { | |
16241 | (char *) "self",(char *) "y", NULL | |
16242 | }; | |
16243 | ||
16244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail; | |
16245 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16246 | { | |
16247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16248 | (arg1)->SetPrinterTranslateY(arg2); | |
16249 | ||
16250 | wxPyEndAllowThreads(__tstate); | |
16251 | if (PyErr_Occurred()) SWIG_fail; | |
16252 | } | |
16253 | Py_INCREF(Py_None); resultobj = Py_None; | |
16254 | return resultobj; | |
16255 | fail: | |
16256 | return NULL; | |
16257 | } | |
16258 | ||
16259 | ||
16260 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16261 | PyObject *resultobj; | |
16262 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16263 | long arg2 ; | |
16264 | long arg3 ; | |
16265 | PyObject * obj0 = 0 ; | |
16266 | char *kwnames[] = { | |
16267 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16268 | }; | |
16269 | ||
16270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
16271 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16272 | { | |
16273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16274 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
16275 | ||
16276 | wxPyEndAllowThreads(__tstate); | |
16277 | if (PyErr_Occurred()) SWIG_fail; | |
16278 | } | |
16279 | Py_INCREF(Py_None); resultobj = Py_None; | |
16280 | return resultobj; | |
16281 | fail: | |
16282 | return NULL; | |
16283 | } | |
16284 | ||
16285 | ||
16286 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16287 | PyObject *resultobj; | |
16288 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16289 | int arg2 ; | |
16290 | PyObject * obj0 = 0 ; | |
16291 | char *kwnames[] = { | |
16292 | (char *) "self",(char *) "printMode", NULL | |
16293 | }; | |
16294 | ||
16295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail; | |
16296 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16297 | { | |
16298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16299 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
16300 | ||
16301 | wxPyEndAllowThreads(__tstate); | |
16302 | if (PyErr_Occurred()) SWIG_fail; | |
16303 | } | |
16304 | Py_INCREF(Py_None); resultobj = Py_None; | |
16305 | return resultobj; | |
16306 | fail: | |
16307 | return NULL; | |
16308 | } | |
16309 | ||
16310 | ||
16311 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { | |
16312 | PyObject *obj; | |
16313 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16314 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
16315 | Py_INCREF(obj); | |
16316 | return Py_BuildValue((char *)""); | |
16317 | } | |
16318 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16319 | PyObject *resultobj; | |
16320 | wxPageSetupDialogData *result; | |
16321 | char *kwnames[] = { | |
16322 | NULL | |
16323 | }; | |
16324 | ||
16325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
16326 | { | |
16327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16328 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
16329 | ||
16330 | wxPyEndAllowThreads(__tstate); | |
16331 | if (PyErr_Occurred()) SWIG_fail; | |
16332 | } | |
16333 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1); | |
16334 | return resultobj; | |
16335 | fail: | |
16336 | return NULL; | |
16337 | } | |
16338 | ||
16339 | ||
16340 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16341 | PyObject *resultobj; | |
16342 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16343 | PyObject * obj0 = 0 ; | |
16344 | char *kwnames[] = { | |
16345 | (char *) "self", NULL | |
16346 | }; | |
16347 | ||
16348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
16349 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16350 | { | |
16351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16352 | delete arg1; | |
16353 | ||
16354 | wxPyEndAllowThreads(__tstate); | |
16355 | if (PyErr_Occurred()) SWIG_fail; | |
16356 | } | |
16357 | Py_INCREF(Py_None); resultobj = Py_None; | |
16358 | return resultobj; | |
16359 | fail: | |
16360 | return NULL; | |
16361 | } | |
16362 | ||
16363 | ||
16364 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16365 | PyObject *resultobj; | |
16366 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16367 | bool arg2 ; | |
16368 | PyObject * obj0 = 0 ; | |
16369 | PyObject * obj1 = 0 ; | |
16370 | char *kwnames[] = { | |
16371 | (char *) "self",(char *) "flag", NULL | |
16372 | }; | |
16373 | ||
16374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
16375 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16376 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16377 | if (PyErr_Occurred()) SWIG_fail; | |
16378 | { | |
16379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16380 | (arg1)->EnableHelp(arg2); | |
16381 | ||
16382 | wxPyEndAllowThreads(__tstate); | |
16383 | if (PyErr_Occurred()) SWIG_fail; | |
16384 | } | |
16385 | Py_INCREF(Py_None); resultobj = Py_None; | |
16386 | return resultobj; | |
16387 | fail: | |
16388 | return NULL; | |
16389 | } | |
16390 | ||
16391 | ||
16392 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16393 | PyObject *resultobj; | |
16394 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16395 | bool arg2 ; | |
16396 | PyObject * obj0 = 0 ; | |
16397 | PyObject * obj1 = 0 ; | |
16398 | char *kwnames[] = { | |
16399 | (char *) "self",(char *) "flag", NULL | |
16400 | }; | |
16401 | ||
16402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
16403 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16404 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16405 | if (PyErr_Occurred()) SWIG_fail; | |
16406 | { | |
16407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16408 | (arg1)->EnableMargins(arg2); | |
16409 | ||
16410 | wxPyEndAllowThreads(__tstate); | |
16411 | if (PyErr_Occurred()) SWIG_fail; | |
16412 | } | |
16413 | Py_INCREF(Py_None); resultobj = Py_None; | |
16414 | return resultobj; | |
16415 | fail: | |
16416 | return NULL; | |
16417 | } | |
16418 | ||
16419 | ||
16420 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16421 | PyObject *resultobj; | |
16422 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16423 | bool arg2 ; | |
16424 | PyObject * obj0 = 0 ; | |
16425 | PyObject * obj1 = 0 ; | |
16426 | char *kwnames[] = { | |
16427 | (char *) "self",(char *) "flag", NULL | |
16428 | }; | |
16429 | ||
16430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
16431 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16432 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16433 | if (PyErr_Occurred()) SWIG_fail; | |
16434 | { | |
16435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16436 | (arg1)->EnableOrientation(arg2); | |
16437 | ||
16438 | wxPyEndAllowThreads(__tstate); | |
16439 | if (PyErr_Occurred()) SWIG_fail; | |
16440 | } | |
16441 | Py_INCREF(Py_None); resultobj = Py_None; | |
16442 | return resultobj; | |
16443 | fail: | |
16444 | return NULL; | |
16445 | } | |
16446 | ||
16447 | ||
16448 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16449 | PyObject *resultobj; | |
16450 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16451 | bool arg2 ; | |
16452 | PyObject * obj0 = 0 ; | |
16453 | PyObject * obj1 = 0 ; | |
16454 | char *kwnames[] = { | |
16455 | (char *) "self",(char *) "flag", NULL | |
16456 | }; | |
16457 | ||
16458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
16459 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16460 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16461 | if (PyErr_Occurred()) SWIG_fail; | |
16462 | { | |
16463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16464 | (arg1)->EnablePaper(arg2); | |
16465 | ||
16466 | wxPyEndAllowThreads(__tstate); | |
16467 | if (PyErr_Occurred()) SWIG_fail; | |
16468 | } | |
16469 | Py_INCREF(Py_None); resultobj = Py_None; | |
16470 | return resultobj; | |
16471 | fail: | |
16472 | return NULL; | |
16473 | } | |
16474 | ||
16475 | ||
16476 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16477 | PyObject *resultobj; | |
16478 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16479 | bool arg2 ; | |
16480 | PyObject * obj0 = 0 ; | |
16481 | PyObject * obj1 = 0 ; | |
16482 | char *kwnames[] = { | |
16483 | (char *) "self",(char *) "flag", NULL | |
16484 | }; | |
16485 | ||
16486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
16487 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16488 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16489 | if (PyErr_Occurred()) SWIG_fail; | |
16490 | { | |
16491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16492 | (arg1)->EnablePrinter(arg2); | |
16493 | ||
16494 | wxPyEndAllowThreads(__tstate); | |
16495 | if (PyErr_Occurred()) SWIG_fail; | |
16496 | } | |
16497 | Py_INCREF(Py_None); resultobj = Py_None; | |
16498 | return resultobj; | |
16499 | fail: | |
16500 | return NULL; | |
16501 | } | |
16502 | ||
16503 | ||
16504 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16505 | PyObject *resultobj; | |
16506 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16507 | bool result; | |
16508 | PyObject * obj0 = 0 ; | |
16509 | char *kwnames[] = { | |
16510 | (char *) "self", NULL | |
16511 | }; | |
16512 | ||
16513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
16514 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16515 | { | |
16516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16517 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
16518 | ||
16519 | wxPyEndAllowThreads(__tstate); | |
16520 | if (PyErr_Occurred()) SWIG_fail; | |
16521 | } | |
16522 | resultobj = PyInt_FromLong((long)result); | |
16523 | return resultobj; | |
16524 | fail: | |
16525 | return NULL; | |
16526 | } | |
16527 | ||
16528 | ||
16529 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16530 | PyObject *resultobj; | |
16531 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16532 | bool result; | |
16533 | PyObject * obj0 = 0 ; | |
16534 | char *kwnames[] = { | |
16535 | (char *) "self", NULL | |
16536 | }; | |
16537 | ||
16538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
16539 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16540 | { | |
16541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16542 | result = (bool)(arg1)->GetEnableMargins(); | |
16543 | ||
16544 | wxPyEndAllowThreads(__tstate); | |
16545 | if (PyErr_Occurred()) SWIG_fail; | |
16546 | } | |
16547 | resultobj = PyInt_FromLong((long)result); | |
16548 | return resultobj; | |
16549 | fail: | |
16550 | return NULL; | |
16551 | } | |
16552 | ||
16553 | ||
16554 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16555 | PyObject *resultobj; | |
16556 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16557 | bool result; | |
16558 | PyObject * obj0 = 0 ; | |
16559 | char *kwnames[] = { | |
16560 | (char *) "self", NULL | |
16561 | }; | |
16562 | ||
16563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
16564 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16565 | { | |
16566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16567 | result = (bool)(arg1)->GetEnableOrientation(); | |
16568 | ||
16569 | wxPyEndAllowThreads(__tstate); | |
16570 | if (PyErr_Occurred()) SWIG_fail; | |
16571 | } | |
16572 | resultobj = PyInt_FromLong((long)result); | |
16573 | return resultobj; | |
16574 | fail: | |
16575 | return NULL; | |
16576 | } | |
16577 | ||
16578 | ||
16579 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16580 | PyObject *resultobj; | |
16581 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16582 | bool result; | |
16583 | PyObject * obj0 = 0 ; | |
16584 | char *kwnames[] = { | |
16585 | (char *) "self", NULL | |
16586 | }; | |
16587 | ||
16588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
16589 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16590 | { | |
16591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16592 | result = (bool)(arg1)->GetEnablePaper(); | |
16593 | ||
16594 | wxPyEndAllowThreads(__tstate); | |
16595 | if (PyErr_Occurred()) SWIG_fail; | |
16596 | } | |
16597 | resultobj = PyInt_FromLong((long)result); | |
16598 | return resultobj; | |
16599 | fail: | |
16600 | return NULL; | |
16601 | } | |
16602 | ||
16603 | ||
16604 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16605 | PyObject *resultobj; | |
16606 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16607 | bool result; | |
16608 | PyObject * obj0 = 0 ; | |
16609 | char *kwnames[] = { | |
16610 | (char *) "self", NULL | |
16611 | }; | |
16612 | ||
16613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
16614 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16615 | { | |
16616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16617 | result = (bool)(arg1)->GetEnablePrinter(); | |
16618 | ||
16619 | wxPyEndAllowThreads(__tstate); | |
16620 | if (PyErr_Occurred()) SWIG_fail; | |
16621 | } | |
16622 | resultobj = PyInt_FromLong((long)result); | |
16623 | return resultobj; | |
16624 | fail: | |
16625 | return NULL; | |
16626 | } | |
16627 | ||
16628 | ||
16629 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16630 | PyObject *resultobj; | |
16631 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16632 | bool result; | |
16633 | PyObject * obj0 = 0 ; | |
16634 | char *kwnames[] = { | |
16635 | (char *) "self", NULL | |
16636 | }; | |
16637 | ||
16638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
16639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16640 | { | |
16641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16642 | result = (bool)(arg1)->GetEnableHelp(); | |
16643 | ||
16644 | wxPyEndAllowThreads(__tstate); | |
16645 | if (PyErr_Occurred()) SWIG_fail; | |
16646 | } | |
16647 | resultobj = PyInt_FromLong((long)result); | |
16648 | return resultobj; | |
16649 | fail: | |
16650 | return NULL; | |
16651 | } | |
16652 | ||
16653 | ||
16654 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16655 | PyObject *resultobj; | |
16656 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16657 | bool result; | |
16658 | PyObject * obj0 = 0 ; | |
16659 | char *kwnames[] = { | |
16660 | (char *) "self", NULL | |
16661 | }; | |
16662 | ||
16663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
16664 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16665 | { | |
16666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16667 | result = (bool)(arg1)->GetDefaultInfo(); | |
16668 | ||
16669 | wxPyEndAllowThreads(__tstate); | |
16670 | if (PyErr_Occurred()) SWIG_fail; | |
16671 | } | |
16672 | resultobj = PyInt_FromLong((long)result); | |
16673 | return resultobj; | |
16674 | fail: | |
16675 | return NULL; | |
16676 | } | |
16677 | ||
16678 | ||
16679 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16680 | PyObject *resultobj; | |
16681 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16682 | wxPoint result; | |
16683 | PyObject * obj0 = 0 ; | |
16684 | char *kwnames[] = { | |
16685 | (char *) "self", NULL | |
16686 | }; | |
16687 | ||
16688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
16689 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16690 | { | |
16691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16692 | result = (arg1)->GetMarginTopLeft(); | |
16693 | ||
16694 | wxPyEndAllowThreads(__tstate); | |
16695 | if (PyErr_Occurred()) SWIG_fail; | |
16696 | } | |
16697 | { | |
16698 | wxPoint * resultptr; | |
16699 | resultptr = new wxPoint((wxPoint &) result); | |
16700 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
16701 | } | |
16702 | return resultobj; | |
16703 | fail: | |
16704 | return NULL; | |
16705 | } | |
16706 | ||
16707 | ||
16708 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16709 | PyObject *resultobj; | |
16710 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16711 | wxPoint result; | |
16712 | PyObject * obj0 = 0 ; | |
16713 | char *kwnames[] = { | |
16714 | (char *) "self", NULL | |
16715 | }; | |
16716 | ||
16717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
16718 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16719 | { | |
16720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16721 | result = (arg1)->GetMarginBottomRight(); | |
16722 | ||
16723 | wxPyEndAllowThreads(__tstate); | |
16724 | if (PyErr_Occurred()) SWIG_fail; | |
16725 | } | |
16726 | { | |
16727 | wxPoint * resultptr; | |
16728 | resultptr = new wxPoint((wxPoint &) result); | |
16729 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
16730 | } | |
16731 | return resultobj; | |
16732 | fail: | |
16733 | return NULL; | |
16734 | } | |
16735 | ||
16736 | ||
16737 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16738 | PyObject *resultobj; | |
16739 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16740 | wxPoint result; | |
16741 | PyObject * obj0 = 0 ; | |
16742 | char *kwnames[] = { | |
16743 | (char *) "self", NULL | |
16744 | }; | |
16745 | ||
16746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
16747 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16748 | { | |
16749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16750 | result = (arg1)->GetMinMarginTopLeft(); | |
16751 | ||
16752 | wxPyEndAllowThreads(__tstate); | |
16753 | if (PyErr_Occurred()) SWIG_fail; | |
16754 | } | |
16755 | { | |
16756 | wxPoint * resultptr; | |
16757 | resultptr = new wxPoint((wxPoint &) result); | |
16758 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
16759 | } | |
16760 | return resultobj; | |
16761 | fail: | |
16762 | return NULL; | |
16763 | } | |
16764 | ||
16765 | ||
16766 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16767 | PyObject *resultobj; | |
16768 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16769 | wxPoint result; | |
16770 | PyObject * obj0 = 0 ; | |
16771 | char *kwnames[] = { | |
16772 | (char *) "self", NULL | |
16773 | }; | |
16774 | ||
16775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
16776 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16777 | { | |
16778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16779 | result = (arg1)->GetMinMarginBottomRight(); | |
16780 | ||
16781 | wxPyEndAllowThreads(__tstate); | |
16782 | if (PyErr_Occurred()) SWIG_fail; | |
16783 | } | |
16784 | { | |
16785 | wxPoint * resultptr; | |
16786 | resultptr = new wxPoint((wxPoint &) result); | |
16787 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
16788 | } | |
16789 | return resultobj; | |
16790 | fail: | |
16791 | return NULL; | |
16792 | } | |
16793 | ||
16794 | ||
16795 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16796 | PyObject *resultobj; | |
16797 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16798 | int result; | |
16799 | PyObject * obj0 = 0 ; | |
16800 | char *kwnames[] = { | |
16801 | (char *) "self", NULL | |
16802 | }; | |
16803 | ||
16804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
16805 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16806 | { | |
16807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16808 | result = (int)(arg1)->GetPaperId(); | |
16809 | ||
16810 | wxPyEndAllowThreads(__tstate); | |
16811 | if (PyErr_Occurred()) SWIG_fail; | |
16812 | } | |
16813 | resultobj = PyInt_FromLong((long)result); | |
16814 | return resultobj; | |
16815 | fail: | |
16816 | return NULL; | |
16817 | } | |
16818 | ||
16819 | ||
16820 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16821 | PyObject *resultobj; | |
16822 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16823 | wxSize result; | |
16824 | PyObject * obj0 = 0 ; | |
16825 | char *kwnames[] = { | |
16826 | (char *) "self", NULL | |
16827 | }; | |
16828 | ||
16829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
16830 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16831 | { | |
16832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16833 | result = (arg1)->GetPaperSize(); | |
16834 | ||
16835 | wxPyEndAllowThreads(__tstate); | |
16836 | if (PyErr_Occurred()) SWIG_fail; | |
16837 | } | |
16838 | { | |
16839 | wxSize * resultptr; | |
16840 | resultptr = new wxSize((wxSize &) result); | |
16841 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1); | |
16842 | } | |
16843 | return resultobj; | |
16844 | fail: | |
16845 | return NULL; | |
16846 | } | |
16847 | ||
16848 | ||
16849 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16850 | PyObject *resultobj; | |
16851 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16852 | wxPrintData *result; | |
16853 | PyObject * obj0 = 0 ; | |
16854 | char *kwnames[] = { | |
16855 | (char *) "self", NULL | |
16856 | }; | |
16857 | ||
16858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
16859 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16860 | { | |
16861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16862 | { | |
16863 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
16864 | result = (wxPrintData *) &_result_ref; | |
16865 | } | |
16866 | ||
16867 | wxPyEndAllowThreads(__tstate); | |
16868 | if (PyErr_Occurred()) SWIG_fail; | |
16869 | } | |
16870 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
16871 | return resultobj; | |
16872 | fail: | |
16873 | return NULL; | |
16874 | } | |
16875 | ||
16876 | ||
16877 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16878 | PyObject *resultobj; | |
16879 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16880 | bool result; | |
16881 | PyObject * obj0 = 0 ; | |
16882 | char *kwnames[] = { | |
16883 | (char *) "self", NULL | |
16884 | }; | |
16885 | ||
16886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
16887 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16888 | { | |
16889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16890 | result = (bool)(arg1)->Ok(); | |
16891 | ||
16892 | wxPyEndAllowThreads(__tstate); | |
16893 | if (PyErr_Occurred()) SWIG_fail; | |
16894 | } | |
16895 | resultobj = PyInt_FromLong((long)result); | |
16896 | return resultobj; | |
16897 | fail: | |
16898 | return NULL; | |
16899 | } | |
16900 | ||
16901 | ||
16902 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16903 | PyObject *resultobj; | |
16904 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16905 | bool arg2 ; | |
16906 | PyObject * obj0 = 0 ; | |
16907 | PyObject * obj1 = 0 ; | |
16908 | char *kwnames[] = { | |
16909 | (char *) "self",(char *) "flag", NULL | |
16910 | }; | |
16911 | ||
16912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
16913 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16914 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16915 | if (PyErr_Occurred()) SWIG_fail; | |
16916 | { | |
16917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16918 | (arg1)->SetDefaultInfo(arg2); | |
16919 | ||
16920 | wxPyEndAllowThreads(__tstate); | |
16921 | if (PyErr_Occurred()) SWIG_fail; | |
16922 | } | |
16923 | Py_INCREF(Py_None); resultobj = Py_None; | |
16924 | return resultobj; | |
16925 | fail: | |
16926 | return NULL; | |
16927 | } | |
16928 | ||
16929 | ||
16930 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16931 | PyObject *resultobj; | |
16932 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16933 | bool arg2 ; | |
16934 | PyObject * obj0 = 0 ; | |
16935 | PyObject * obj1 = 0 ; | |
16936 | char *kwnames[] = { | |
16937 | (char *) "self",(char *) "flag", NULL | |
16938 | }; | |
16939 | ||
16940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
16941 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16942 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
16943 | if (PyErr_Occurred()) SWIG_fail; | |
16944 | { | |
16945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16946 | (arg1)->SetDefaultMinMargins(arg2); | |
16947 | ||
16948 | wxPyEndAllowThreads(__tstate); | |
16949 | if (PyErr_Occurred()) SWIG_fail; | |
16950 | } | |
16951 | Py_INCREF(Py_None); resultobj = Py_None; | |
16952 | return resultobj; | |
16953 | fail: | |
16954 | return NULL; | |
16955 | } | |
16956 | ||
16957 | ||
16958 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16959 | PyObject *resultobj; | |
16960 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16961 | wxPoint *arg2 = 0 ; | |
16962 | wxPoint temp2 ; | |
16963 | PyObject * obj0 = 0 ; | |
16964 | PyObject * obj1 = 0 ; | |
16965 | char *kwnames[] = { | |
16966 | (char *) "self",(char *) "pt", NULL | |
16967 | }; | |
16968 | ||
16969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
16970 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
16971 | { | |
16972 | arg2 = &temp2; | |
16973 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
16974 | } | |
16975 | { | |
16976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16977 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
16978 | ||
16979 | wxPyEndAllowThreads(__tstate); | |
16980 | if (PyErr_Occurred()) SWIG_fail; | |
16981 | } | |
16982 | Py_INCREF(Py_None); resultobj = Py_None; | |
16983 | return resultobj; | |
16984 | fail: | |
16985 | return NULL; | |
16986 | } | |
16987 | ||
16988 | ||
16989 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16990 | PyObject *resultobj; | |
16991 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
16992 | wxPoint *arg2 = 0 ; | |
16993 | wxPoint temp2 ; | |
16994 | PyObject * obj0 = 0 ; | |
16995 | PyObject * obj1 = 0 ; | |
16996 | char *kwnames[] = { | |
16997 | (char *) "self",(char *) "pt", NULL | |
16998 | }; | |
16999 | ||
17000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
17001 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17002 | { | |
17003 | arg2 = &temp2; | |
17004 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
17005 | } | |
17006 | { | |
17007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17008 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
17009 | ||
17010 | wxPyEndAllowThreads(__tstate); | |
17011 | if (PyErr_Occurred()) SWIG_fail; | |
17012 | } | |
17013 | Py_INCREF(Py_None); resultobj = Py_None; | |
17014 | return resultobj; | |
17015 | fail: | |
17016 | return NULL; | |
17017 | } | |
17018 | ||
17019 | ||
17020 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17021 | PyObject *resultobj; | |
17022 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17023 | wxPoint *arg2 = 0 ; | |
17024 | wxPoint temp2 ; | |
17025 | PyObject * obj0 = 0 ; | |
17026 | PyObject * obj1 = 0 ; | |
17027 | char *kwnames[] = { | |
17028 | (char *) "self",(char *) "pt", NULL | |
17029 | }; | |
17030 | ||
17031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
17032 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17033 | { | |
17034 | arg2 = &temp2; | |
17035 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
17036 | } | |
17037 | { | |
17038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17039 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
17040 | ||
17041 | wxPyEndAllowThreads(__tstate); | |
17042 | if (PyErr_Occurred()) SWIG_fail; | |
17043 | } | |
17044 | Py_INCREF(Py_None); resultobj = Py_None; | |
17045 | return resultobj; | |
17046 | fail: | |
17047 | return NULL; | |
17048 | } | |
17049 | ||
17050 | ||
17051 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17052 | PyObject *resultobj; | |
17053 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17054 | wxPoint *arg2 = 0 ; | |
17055 | wxPoint temp2 ; | |
17056 | PyObject * obj0 = 0 ; | |
17057 | PyObject * obj1 = 0 ; | |
17058 | char *kwnames[] = { | |
17059 | (char *) "self",(char *) "pt", NULL | |
17060 | }; | |
17061 | ||
17062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
17063 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17064 | { | |
17065 | arg2 = &temp2; | |
17066 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
17067 | } | |
17068 | { | |
17069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17070 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
17071 | ||
17072 | wxPyEndAllowThreads(__tstate); | |
17073 | if (PyErr_Occurred()) SWIG_fail; | |
17074 | } | |
17075 | Py_INCREF(Py_None); resultobj = Py_None; | |
17076 | return resultobj; | |
17077 | fail: | |
17078 | return NULL; | |
17079 | } | |
17080 | ||
17081 | ||
17082 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17083 | PyObject *resultobj; | |
17084 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17085 | int arg2 ; | |
17086 | PyObject * obj0 = 0 ; | |
17087 | char *kwnames[] = { | |
17088 | (char *) "self",(char *) "id", NULL | |
17089 | }; | |
17090 | ||
17091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail; | |
17092 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17093 | { | |
17094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17095 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
17096 | ||
17097 | wxPyEndAllowThreads(__tstate); | |
17098 | if (PyErr_Occurred()) SWIG_fail; | |
17099 | } | |
17100 | Py_INCREF(Py_None); resultobj = Py_None; | |
17101 | return resultobj; | |
17102 | fail: | |
17103 | return NULL; | |
17104 | } | |
17105 | ||
17106 | ||
17107 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17108 | PyObject *resultobj; | |
17109 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17110 | wxSize *arg2 = 0 ; | |
17111 | wxSize temp2 ; | |
17112 | PyObject * obj0 = 0 ; | |
17113 | PyObject * obj1 = 0 ; | |
17114 | char *kwnames[] = { | |
17115 | (char *) "self",(char *) "size", NULL | |
17116 | }; | |
17117 | ||
17118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
17119 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17120 | { | |
17121 | arg2 = &temp2; | |
17122 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17123 | } | |
17124 | { | |
17125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17126 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
17127 | ||
17128 | wxPyEndAllowThreads(__tstate); | |
17129 | if (PyErr_Occurred()) SWIG_fail; | |
17130 | } | |
17131 | Py_INCREF(Py_None); resultobj = Py_None; | |
17132 | return resultobj; | |
17133 | fail: | |
17134 | return NULL; | |
17135 | } | |
17136 | ||
17137 | ||
17138 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17139 | PyObject *resultobj; | |
17140 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17141 | wxPrintData *arg2 = 0 ; | |
17142 | PyObject * obj0 = 0 ; | |
17143 | PyObject * obj1 = 0 ; | |
17144 | char *kwnames[] = { | |
17145 | (char *) "self",(char *) "printData", NULL | |
17146 | }; | |
17147 | ||
17148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
17149 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17150 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17151 | if (arg2 == NULL) { | |
17152 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
17153 | } | |
17154 | { | |
17155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17156 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
17157 | ||
17158 | wxPyEndAllowThreads(__tstate); | |
17159 | if (PyErr_Occurred()) SWIG_fail; | |
17160 | } | |
17161 | Py_INCREF(Py_None); resultobj = Py_None; | |
17162 | return resultobj; | |
17163 | fail: | |
17164 | return NULL; | |
17165 | } | |
17166 | ||
17167 | ||
17168 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
17169 | PyObject *obj; | |
17170 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17171 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
17172 | Py_INCREF(obj); | |
17173 | return Py_BuildValue((char *)""); | |
17174 | } | |
17175 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17176 | PyObject *resultobj; | |
17177 | wxWindow *arg1 = (wxWindow *) 0 ; | |
17178 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
17179 | wxPageSetupDialog *result; | |
17180 | PyObject * obj0 = 0 ; | |
17181 | PyObject * obj1 = 0 ; | |
17182 | char *kwnames[] = { | |
17183 | (char *) "parent",(char *) "data", NULL | |
17184 | }; | |
17185 | ||
17186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
17187 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17188 | if (obj1) { | |
17189 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17190 | } | |
17191 | { | |
17192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17193 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
17194 | ||
17195 | wxPyEndAllowThreads(__tstate); | |
17196 | if (PyErr_Occurred()) SWIG_fail; | |
17197 | } | |
17198 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1); | |
17199 | return resultobj; | |
17200 | fail: | |
17201 | return NULL; | |
17202 | } | |
17203 | ||
17204 | ||
17205 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17206 | PyObject *resultobj; | |
17207 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
17208 | wxPageSetupDialogData *result; | |
17209 | PyObject * obj0 = 0 ; | |
17210 | char *kwnames[] = { | |
17211 | (char *) "self", NULL | |
17212 | }; | |
17213 | ||
17214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
17215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17216 | { | |
17217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17218 | { | |
17219 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
17220 | result = (wxPageSetupDialogData *) &_result_ref; | |
17221 | } | |
17222 | ||
17223 | wxPyEndAllowThreads(__tstate); | |
17224 | if (PyErr_Occurred()) SWIG_fail; | |
17225 | } | |
17226 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0); | |
17227 | return resultobj; | |
17228 | fail: | |
17229 | return NULL; | |
17230 | } | |
17231 | ||
17232 | ||
17233 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17234 | PyObject *resultobj; | |
17235 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
17236 | int result; | |
17237 | PyObject * obj0 = 0 ; | |
17238 | char *kwnames[] = { | |
17239 | (char *) "self", NULL | |
17240 | }; | |
17241 | ||
17242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
17243 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17244 | { | |
17245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17246 | result = (int)(arg1)->ShowModal(); | |
17247 | ||
17248 | wxPyEndAllowThreads(__tstate); | |
17249 | if (PyErr_Occurred()) SWIG_fail; | |
17250 | } | |
17251 | resultobj = PyInt_FromLong((long)result); | |
17252 | return resultobj; | |
17253 | fail: | |
17254 | return NULL; | |
17255 | } | |
17256 | ||
17257 | ||
17258 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
17259 | PyObject *obj; | |
17260 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17261 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
17262 | Py_INCREF(obj); | |
17263 | return Py_BuildValue((char *)""); | |
17264 | } | |
17265 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17266 | PyObject *resultobj; | |
17267 | wxPrintDialogData *result; | |
17268 | char *kwnames[] = { | |
17269 | NULL | |
17270 | }; | |
17271 | ||
17272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail; | |
17273 | { | |
17274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17275 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
17276 | ||
17277 | wxPyEndAllowThreads(__tstate); | |
17278 | if (PyErr_Occurred()) SWIG_fail; | |
17279 | } | |
17280 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1); | |
17281 | return resultobj; | |
17282 | fail: | |
17283 | return NULL; | |
17284 | } | |
17285 | ||
17286 | ||
17287 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17288 | PyObject *resultobj; | |
17289 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17290 | PyObject * obj0 = 0 ; | |
17291 | char *kwnames[] = { | |
17292 | (char *) "self", NULL | |
17293 | }; | |
17294 | ||
17295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
17296 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17297 | { | |
17298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17299 | delete arg1; | |
17300 | ||
17301 | wxPyEndAllowThreads(__tstate); | |
17302 | if (PyErr_Occurred()) SWIG_fail; | |
17303 | } | |
17304 | Py_INCREF(Py_None); resultobj = Py_None; | |
17305 | return resultobj; | |
17306 | fail: | |
17307 | return NULL; | |
17308 | } | |
17309 | ||
17310 | ||
17311 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17312 | PyObject *resultobj; | |
17313 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17314 | int result; | |
17315 | PyObject * obj0 = 0 ; | |
17316 | char *kwnames[] = { | |
17317 | (char *) "self", NULL | |
17318 | }; | |
17319 | ||
17320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
17321 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17322 | { | |
17323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17324 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
17325 | ||
17326 | wxPyEndAllowThreads(__tstate); | |
17327 | if (PyErr_Occurred()) SWIG_fail; | |
17328 | } | |
17329 | resultobj = PyInt_FromLong((long)result); | |
17330 | return resultobj; | |
17331 | fail: | |
17332 | return NULL; | |
17333 | } | |
17334 | ||
17335 | ||
17336 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17337 | PyObject *resultobj; | |
17338 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17339 | int result; | |
17340 | PyObject * obj0 = 0 ; | |
17341 | char *kwnames[] = { | |
17342 | (char *) "self", NULL | |
17343 | }; | |
17344 | ||
17345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
17346 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17347 | { | |
17348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17349 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
17350 | ||
17351 | wxPyEndAllowThreads(__tstate); | |
17352 | if (PyErr_Occurred()) SWIG_fail; | |
17353 | } | |
17354 | resultobj = PyInt_FromLong((long)result); | |
17355 | return resultobj; | |
17356 | fail: | |
17357 | return NULL; | |
17358 | } | |
17359 | ||
17360 | ||
17361 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17362 | PyObject *resultobj; | |
17363 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17364 | int result; | |
17365 | PyObject * obj0 = 0 ; | |
17366 | char *kwnames[] = { | |
17367 | (char *) "self", NULL | |
17368 | }; | |
17369 | ||
17370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
17371 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17372 | { | |
17373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17374 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
17375 | ||
17376 | wxPyEndAllowThreads(__tstate); | |
17377 | if (PyErr_Occurred()) SWIG_fail; | |
17378 | } | |
17379 | resultobj = PyInt_FromLong((long)result); | |
17380 | return resultobj; | |
17381 | fail: | |
17382 | return NULL; | |
17383 | } | |
17384 | ||
17385 | ||
17386 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17387 | PyObject *resultobj; | |
17388 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17389 | int result; | |
17390 | PyObject * obj0 = 0 ; | |
17391 | char *kwnames[] = { | |
17392 | (char *) "self", NULL | |
17393 | }; | |
17394 | ||
17395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
17396 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17397 | { | |
17398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17399 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
17400 | ||
17401 | wxPyEndAllowThreads(__tstate); | |
17402 | if (PyErr_Occurred()) SWIG_fail; | |
17403 | } | |
17404 | resultobj = PyInt_FromLong((long)result); | |
17405 | return resultobj; | |
17406 | fail: | |
17407 | return NULL; | |
17408 | } | |
17409 | ||
17410 | ||
17411 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17412 | PyObject *resultobj; | |
17413 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17414 | int result; | |
17415 | PyObject * obj0 = 0 ; | |
17416 | char *kwnames[] = { | |
17417 | (char *) "self", NULL | |
17418 | }; | |
17419 | ||
17420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
17421 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17422 | { | |
17423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17424 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
17425 | ||
17426 | wxPyEndAllowThreads(__tstate); | |
17427 | if (PyErr_Occurred()) SWIG_fail; | |
17428 | } | |
17429 | resultobj = PyInt_FromLong((long)result); | |
17430 | return resultobj; | |
17431 | fail: | |
17432 | return NULL; | |
17433 | } | |
17434 | ||
17435 | ||
17436 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17437 | PyObject *resultobj; | |
17438 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17439 | bool result; | |
17440 | PyObject * obj0 = 0 ; | |
17441 | char *kwnames[] = { | |
17442 | (char *) "self", NULL | |
17443 | }; | |
17444 | ||
17445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
17446 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17447 | { | |
17448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17449 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
17450 | ||
17451 | wxPyEndAllowThreads(__tstate); | |
17452 | if (PyErr_Occurred()) SWIG_fail; | |
17453 | } | |
17454 | resultobj = PyInt_FromLong((long)result); | |
17455 | return resultobj; | |
17456 | fail: | |
17457 | return NULL; | |
17458 | } | |
17459 | ||
17460 | ||
17461 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17462 | PyObject *resultobj; | |
17463 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17464 | bool result; | |
17465 | PyObject * obj0 = 0 ; | |
17466 | char *kwnames[] = { | |
17467 | (char *) "self", NULL | |
17468 | }; | |
17469 | ||
17470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
17471 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17472 | { | |
17473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17474 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
17475 | ||
17476 | wxPyEndAllowThreads(__tstate); | |
17477 | if (PyErr_Occurred()) SWIG_fail; | |
17478 | } | |
17479 | resultobj = PyInt_FromLong((long)result); | |
17480 | return resultobj; | |
17481 | fail: | |
17482 | return NULL; | |
17483 | } | |
17484 | ||
17485 | ||
17486 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17487 | PyObject *resultobj; | |
17488 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17489 | bool result; | |
17490 | PyObject * obj0 = 0 ; | |
17491 | char *kwnames[] = { | |
17492 | (char *) "self", NULL | |
17493 | }; | |
17494 | ||
17495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
17496 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17497 | { | |
17498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17499 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
17500 | ||
17501 | wxPyEndAllowThreads(__tstate); | |
17502 | if (PyErr_Occurred()) SWIG_fail; | |
17503 | } | |
17504 | resultobj = PyInt_FromLong((long)result); | |
17505 | return resultobj; | |
17506 | fail: | |
17507 | return NULL; | |
17508 | } | |
17509 | ||
17510 | ||
17511 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17512 | PyObject *resultobj; | |
17513 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17514 | bool result; | |
17515 | PyObject * obj0 = 0 ; | |
17516 | char *kwnames[] = { | |
17517 | (char *) "self", NULL | |
17518 | }; | |
17519 | ||
17520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
17521 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17522 | { | |
17523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17524 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
17525 | ||
17526 | wxPyEndAllowThreads(__tstate); | |
17527 | if (PyErr_Occurred()) SWIG_fail; | |
17528 | } | |
17529 | resultobj = PyInt_FromLong((long)result); | |
17530 | return resultobj; | |
17531 | fail: | |
17532 | return NULL; | |
17533 | } | |
17534 | ||
17535 | ||
17536 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17537 | PyObject *resultobj; | |
17538 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17539 | bool result; | |
17540 | PyObject * obj0 = 0 ; | |
17541 | char *kwnames[] = { | |
17542 | (char *) "self", NULL | |
17543 | }; | |
17544 | ||
17545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
17546 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17547 | { | |
17548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17549 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
17550 | ||
17551 | wxPyEndAllowThreads(__tstate); | |
17552 | if (PyErr_Occurred()) SWIG_fail; | |
17553 | } | |
17554 | resultobj = PyInt_FromLong((long)result); | |
17555 | return resultobj; | |
17556 | fail: | |
17557 | return NULL; | |
17558 | } | |
17559 | ||
17560 | ||
17561 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17562 | PyObject *resultobj; | |
17563 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17564 | int arg2 ; | |
17565 | PyObject * obj0 = 0 ; | |
17566 | char *kwnames[] = { | |
17567 | (char *) "self",(char *) "v", NULL | |
17568 | }; | |
17569 | ||
17570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail; | |
17571 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17572 | { | |
17573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17574 | (arg1)->SetFromPage(arg2); | |
17575 | ||
17576 | wxPyEndAllowThreads(__tstate); | |
17577 | if (PyErr_Occurred()) SWIG_fail; | |
17578 | } | |
17579 | Py_INCREF(Py_None); resultobj = Py_None; | |
17580 | return resultobj; | |
17581 | fail: | |
17582 | return NULL; | |
17583 | } | |
17584 | ||
17585 | ||
17586 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17587 | PyObject *resultobj; | |
17588 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17589 | int arg2 ; | |
17590 | PyObject * obj0 = 0 ; | |
17591 | char *kwnames[] = { | |
17592 | (char *) "self",(char *) "v", NULL | |
17593 | }; | |
17594 | ||
17595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail; | |
17596 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17597 | { | |
17598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17599 | (arg1)->SetToPage(arg2); | |
17600 | ||
17601 | wxPyEndAllowThreads(__tstate); | |
17602 | if (PyErr_Occurred()) SWIG_fail; | |
17603 | } | |
17604 | Py_INCREF(Py_None); resultobj = Py_None; | |
17605 | return resultobj; | |
17606 | fail: | |
17607 | return NULL; | |
17608 | } | |
17609 | ||
17610 | ||
17611 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17612 | PyObject *resultobj; | |
17613 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17614 | int arg2 ; | |
17615 | PyObject * obj0 = 0 ; | |
17616 | char *kwnames[] = { | |
17617 | (char *) "self",(char *) "v", NULL | |
17618 | }; | |
17619 | ||
17620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail; | |
17621 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17622 | { | |
17623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17624 | (arg1)->SetMinPage(arg2); | |
17625 | ||
17626 | wxPyEndAllowThreads(__tstate); | |
17627 | if (PyErr_Occurred()) SWIG_fail; | |
17628 | } | |
17629 | Py_INCREF(Py_None); resultobj = Py_None; | |
17630 | return resultobj; | |
17631 | fail: | |
17632 | return NULL; | |
17633 | } | |
17634 | ||
17635 | ||
17636 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17637 | PyObject *resultobj; | |
17638 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17639 | int arg2 ; | |
17640 | PyObject * obj0 = 0 ; | |
17641 | char *kwnames[] = { | |
17642 | (char *) "self",(char *) "v", NULL | |
17643 | }; | |
17644 | ||
17645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail; | |
17646 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17647 | { | |
17648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17649 | (arg1)->SetMaxPage(arg2); | |
17650 | ||
17651 | wxPyEndAllowThreads(__tstate); | |
17652 | if (PyErr_Occurred()) SWIG_fail; | |
17653 | } | |
17654 | Py_INCREF(Py_None); resultobj = Py_None; | |
17655 | return resultobj; | |
17656 | fail: | |
17657 | return NULL; | |
17658 | } | |
17659 | ||
17660 | ||
17661 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17662 | PyObject *resultobj; | |
17663 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17664 | int arg2 ; | |
17665 | PyObject * obj0 = 0 ; | |
17666 | char *kwnames[] = { | |
17667 | (char *) "self",(char *) "v", NULL | |
17668 | }; | |
17669 | ||
17670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail; | |
17671 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17672 | { | |
17673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17674 | (arg1)->SetNoCopies(arg2); | |
17675 | ||
17676 | wxPyEndAllowThreads(__tstate); | |
17677 | if (PyErr_Occurred()) SWIG_fail; | |
17678 | } | |
17679 | Py_INCREF(Py_None); resultobj = Py_None; | |
17680 | return resultobj; | |
17681 | fail: | |
17682 | return NULL; | |
17683 | } | |
17684 | ||
17685 | ||
17686 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17687 | PyObject *resultobj; | |
17688 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17689 | bool arg2 ; | |
17690 | PyObject * obj0 = 0 ; | |
17691 | PyObject * obj1 = 0 ; | |
17692 | char *kwnames[] = { | |
17693 | (char *) "self",(char *) "flag", NULL | |
17694 | }; | |
17695 | ||
17696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
17697 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17698 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17699 | if (PyErr_Occurred()) SWIG_fail; | |
17700 | { | |
17701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17702 | (arg1)->SetAllPages(arg2); | |
17703 | ||
17704 | wxPyEndAllowThreads(__tstate); | |
17705 | if (PyErr_Occurred()) SWIG_fail; | |
17706 | } | |
17707 | Py_INCREF(Py_None); resultobj = Py_None; | |
17708 | return resultobj; | |
17709 | fail: | |
17710 | return NULL; | |
17711 | } | |
17712 | ||
17713 | ||
17714 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17715 | PyObject *resultobj; | |
17716 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17717 | bool arg2 ; | |
17718 | PyObject * obj0 = 0 ; | |
17719 | PyObject * obj1 = 0 ; | |
17720 | char *kwnames[] = { | |
17721 | (char *) "self",(char *) "flag", NULL | |
17722 | }; | |
17723 | ||
17724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
17725 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17726 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17727 | if (PyErr_Occurred()) SWIG_fail; | |
17728 | { | |
17729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17730 | (arg1)->SetSelection(arg2); | |
17731 | ||
17732 | wxPyEndAllowThreads(__tstate); | |
17733 | if (PyErr_Occurred()) SWIG_fail; | |
17734 | } | |
17735 | Py_INCREF(Py_None); resultobj = Py_None; | |
17736 | return resultobj; | |
17737 | fail: | |
17738 | return NULL; | |
17739 | } | |
17740 | ||
17741 | ||
17742 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17743 | PyObject *resultobj; | |
17744 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17745 | bool arg2 ; | |
17746 | PyObject * obj0 = 0 ; | |
17747 | PyObject * obj1 = 0 ; | |
17748 | char *kwnames[] = { | |
17749 | (char *) "self",(char *) "flag", NULL | |
17750 | }; | |
17751 | ||
17752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
17753 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17754 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17755 | if (PyErr_Occurred()) SWIG_fail; | |
17756 | { | |
17757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17758 | (arg1)->SetCollate(arg2); | |
17759 | ||
17760 | wxPyEndAllowThreads(__tstate); | |
17761 | if (PyErr_Occurred()) SWIG_fail; | |
17762 | } | |
17763 | Py_INCREF(Py_None); resultobj = Py_None; | |
17764 | return resultobj; | |
17765 | fail: | |
17766 | return NULL; | |
17767 | } | |
17768 | ||
17769 | ||
17770 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17771 | PyObject *resultobj; | |
17772 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17773 | bool arg2 ; | |
17774 | PyObject * obj0 = 0 ; | |
17775 | PyObject * obj1 = 0 ; | |
17776 | char *kwnames[] = { | |
17777 | (char *) "self",(char *) "flag", NULL | |
17778 | }; | |
17779 | ||
17780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
17781 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17782 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17783 | if (PyErr_Occurred()) SWIG_fail; | |
17784 | { | |
17785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17786 | (arg1)->SetPrintToFile(arg2); | |
17787 | ||
17788 | wxPyEndAllowThreads(__tstate); | |
17789 | if (PyErr_Occurred()) SWIG_fail; | |
17790 | } | |
17791 | Py_INCREF(Py_None); resultobj = Py_None; | |
17792 | return resultobj; | |
17793 | fail: | |
17794 | return NULL; | |
17795 | } | |
17796 | ||
17797 | ||
17798 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17799 | PyObject *resultobj; | |
17800 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17801 | bool arg2 ; | |
17802 | PyObject * obj0 = 0 ; | |
17803 | PyObject * obj1 = 0 ; | |
17804 | char *kwnames[] = { | |
17805 | (char *) "self",(char *) "flag", NULL | |
17806 | }; | |
17807 | ||
17808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
17809 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17810 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17811 | if (PyErr_Occurred()) SWIG_fail; | |
17812 | { | |
17813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17814 | (arg1)->SetSetupDialog(arg2); | |
17815 | ||
17816 | wxPyEndAllowThreads(__tstate); | |
17817 | if (PyErr_Occurred()) SWIG_fail; | |
17818 | } | |
17819 | Py_INCREF(Py_None); resultobj = Py_None; | |
17820 | return resultobj; | |
17821 | fail: | |
17822 | return NULL; | |
17823 | } | |
17824 | ||
17825 | ||
17826 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17827 | PyObject *resultobj; | |
17828 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17829 | bool arg2 ; | |
17830 | PyObject * obj0 = 0 ; | |
17831 | PyObject * obj1 = 0 ; | |
17832 | char *kwnames[] = { | |
17833 | (char *) "self",(char *) "flag", NULL | |
17834 | }; | |
17835 | ||
17836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
17837 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17838 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17839 | if (PyErr_Occurred()) SWIG_fail; | |
17840 | { | |
17841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17842 | (arg1)->EnablePrintToFile(arg2); | |
17843 | ||
17844 | wxPyEndAllowThreads(__tstate); | |
17845 | if (PyErr_Occurred()) SWIG_fail; | |
17846 | } | |
17847 | Py_INCREF(Py_None); resultobj = Py_None; | |
17848 | return resultobj; | |
17849 | fail: | |
17850 | return NULL; | |
17851 | } | |
17852 | ||
17853 | ||
17854 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17855 | PyObject *resultobj; | |
17856 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17857 | bool arg2 ; | |
17858 | PyObject * obj0 = 0 ; | |
17859 | PyObject * obj1 = 0 ; | |
17860 | char *kwnames[] = { | |
17861 | (char *) "self",(char *) "flag", NULL | |
17862 | }; | |
17863 | ||
17864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
17865 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17866 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17867 | if (PyErr_Occurred()) SWIG_fail; | |
17868 | { | |
17869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17870 | (arg1)->EnableSelection(arg2); | |
17871 | ||
17872 | wxPyEndAllowThreads(__tstate); | |
17873 | if (PyErr_Occurred()) SWIG_fail; | |
17874 | } | |
17875 | Py_INCREF(Py_None); resultobj = Py_None; | |
17876 | return resultobj; | |
17877 | fail: | |
17878 | return NULL; | |
17879 | } | |
17880 | ||
17881 | ||
17882 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17883 | PyObject *resultobj; | |
17884 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17885 | bool arg2 ; | |
17886 | PyObject * obj0 = 0 ; | |
17887 | PyObject * obj1 = 0 ; | |
17888 | char *kwnames[] = { | |
17889 | (char *) "self",(char *) "flag", NULL | |
17890 | }; | |
17891 | ||
17892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
17893 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17894 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17895 | if (PyErr_Occurred()) SWIG_fail; | |
17896 | { | |
17897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17898 | (arg1)->EnablePageNumbers(arg2); | |
17899 | ||
17900 | wxPyEndAllowThreads(__tstate); | |
17901 | if (PyErr_Occurred()) SWIG_fail; | |
17902 | } | |
17903 | Py_INCREF(Py_None); resultobj = Py_None; | |
17904 | return resultobj; | |
17905 | fail: | |
17906 | return NULL; | |
17907 | } | |
17908 | ||
17909 | ||
17910 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17911 | PyObject *resultobj; | |
17912 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17913 | bool arg2 ; | |
17914 | PyObject * obj0 = 0 ; | |
17915 | PyObject * obj1 = 0 ; | |
17916 | char *kwnames[] = { | |
17917 | (char *) "self",(char *) "flag", NULL | |
17918 | }; | |
17919 | ||
17920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
17921 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17922 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
17923 | if (PyErr_Occurred()) SWIG_fail; | |
17924 | { | |
17925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17926 | (arg1)->EnableHelp(arg2); | |
17927 | ||
17928 | wxPyEndAllowThreads(__tstate); | |
17929 | if (PyErr_Occurred()) SWIG_fail; | |
17930 | } | |
17931 | Py_INCREF(Py_None); resultobj = Py_None; | |
17932 | return resultobj; | |
17933 | fail: | |
17934 | return NULL; | |
17935 | } | |
17936 | ||
17937 | ||
17938 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17939 | PyObject *resultobj; | |
17940 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17941 | bool result; | |
17942 | PyObject * obj0 = 0 ; | |
17943 | char *kwnames[] = { | |
17944 | (char *) "self", NULL | |
17945 | }; | |
17946 | ||
17947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
17948 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17949 | { | |
17950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17951 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
17952 | ||
17953 | wxPyEndAllowThreads(__tstate); | |
17954 | if (PyErr_Occurred()) SWIG_fail; | |
17955 | } | |
17956 | resultobj = PyInt_FromLong((long)result); | |
17957 | return resultobj; | |
17958 | fail: | |
17959 | return NULL; | |
17960 | } | |
17961 | ||
17962 | ||
17963 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17964 | PyObject *resultobj; | |
17965 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17966 | bool result; | |
17967 | PyObject * obj0 = 0 ; | |
17968 | char *kwnames[] = { | |
17969 | (char *) "self", NULL | |
17970 | }; | |
17971 | ||
17972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
17973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17974 | { | |
17975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17976 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
17977 | ||
17978 | wxPyEndAllowThreads(__tstate); | |
17979 | if (PyErr_Occurred()) SWIG_fail; | |
17980 | } | |
17981 | resultobj = PyInt_FromLong((long)result); | |
17982 | return resultobj; | |
17983 | fail: | |
17984 | return NULL; | |
17985 | } | |
17986 | ||
17987 | ||
17988 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17989 | PyObject *resultobj; | |
17990 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
17991 | bool result; | |
17992 | PyObject * obj0 = 0 ; | |
17993 | char *kwnames[] = { | |
17994 | (char *) "self", NULL | |
17995 | }; | |
17996 | ||
17997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
17998 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
17999 | { | |
18000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18001 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
18002 | ||
18003 | wxPyEndAllowThreads(__tstate); | |
18004 | if (PyErr_Occurred()) SWIG_fail; | |
18005 | } | |
18006 | resultobj = PyInt_FromLong((long)result); | |
18007 | return resultobj; | |
18008 | fail: | |
18009 | return NULL; | |
18010 | } | |
18011 | ||
18012 | ||
18013 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18014 | PyObject *resultobj; | |
18015 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18016 | bool result; | |
18017 | PyObject * obj0 = 0 ; | |
18018 | char *kwnames[] = { | |
18019 | (char *) "self", NULL | |
18020 | }; | |
18021 | ||
18022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
18023 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18024 | { | |
18025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18026 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
18027 | ||
18028 | wxPyEndAllowThreads(__tstate); | |
18029 | if (PyErr_Occurred()) SWIG_fail; | |
18030 | } | |
18031 | resultobj = PyInt_FromLong((long)result); | |
18032 | return resultobj; | |
18033 | fail: | |
18034 | return NULL; | |
18035 | } | |
18036 | ||
18037 | ||
18038 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18039 | PyObject *resultobj; | |
18040 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18041 | bool result; | |
18042 | PyObject * obj0 = 0 ; | |
18043 | char *kwnames[] = { | |
18044 | (char *) "self", NULL | |
18045 | }; | |
18046 | ||
18047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
18048 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18049 | { | |
18050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18051 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
18052 | ||
18053 | wxPyEndAllowThreads(__tstate); | |
18054 | if (PyErr_Occurred()) SWIG_fail; | |
18055 | } | |
18056 | resultobj = PyInt_FromLong((long)result); | |
18057 | return resultobj; | |
18058 | fail: | |
18059 | return NULL; | |
18060 | } | |
18061 | ||
18062 | ||
18063 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18064 | PyObject *resultobj; | |
18065 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18066 | wxPrintData *result; | |
18067 | PyObject * obj0 = 0 ; | |
18068 | char *kwnames[] = { | |
18069 | (char *) "self", NULL | |
18070 | }; | |
18071 | ||
18072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
18073 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18074 | { | |
18075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18076 | { | |
18077 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
18078 | result = (wxPrintData *) &_result_ref; | |
18079 | } | |
18080 | ||
18081 | wxPyEndAllowThreads(__tstate); | |
18082 | if (PyErr_Occurred()) SWIG_fail; | |
18083 | } | |
18084 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0); | |
18085 | return resultobj; | |
18086 | fail: | |
18087 | return NULL; | |
18088 | } | |
18089 | ||
18090 | ||
18091 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18092 | PyObject *resultobj; | |
18093 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18094 | wxPrintData *arg2 = 0 ; | |
18095 | PyObject * obj0 = 0 ; | |
18096 | PyObject * obj1 = 0 ; | |
18097 | char *kwnames[] = { | |
18098 | (char *) "self",(char *) "printData", NULL | |
18099 | }; | |
18100 | ||
18101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
18102 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18103 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18104 | if (arg2 == NULL) { | |
18105 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
18106 | } | |
18107 | { | |
18108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18109 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
18110 | ||
18111 | wxPyEndAllowThreads(__tstate); | |
18112 | if (PyErr_Occurred()) SWIG_fail; | |
18113 | } | |
18114 | Py_INCREF(Py_None); resultobj = Py_None; | |
18115 | return resultobj; | |
18116 | fail: | |
18117 | return NULL; | |
18118 | } | |
18119 | ||
18120 | ||
18121 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
18122 | PyObject *obj; | |
18123 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18124 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
18125 | Py_INCREF(obj); | |
18126 | return Py_BuildValue((char *)""); | |
18127 | } | |
18128 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18129 | PyObject *resultobj; | |
18130 | wxWindow *arg1 = (wxWindow *) 0 ; | |
18131 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
18132 | wxPrintDialog *result; | |
18133 | PyObject * obj0 = 0 ; | |
18134 | PyObject * obj1 = 0 ; | |
18135 | char *kwnames[] = { | |
18136 | (char *) "parent",(char *) "data", NULL | |
18137 | }; | |
18138 | ||
18139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
18140 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18141 | if (obj1) { | |
18142 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18143 | } | |
18144 | { | |
18145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18146 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
18147 | ||
18148 | wxPyEndAllowThreads(__tstate); | |
18149 | if (PyErr_Occurred()) SWIG_fail; | |
18150 | } | |
18151 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1); | |
18152 | return resultobj; | |
18153 | fail: | |
18154 | return NULL; | |
18155 | } | |
18156 | ||
18157 | ||
18158 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18159 | PyObject *resultobj; | |
18160 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
18161 | wxPrintDialogData *result; | |
18162 | PyObject * obj0 = 0 ; | |
18163 | char *kwnames[] = { | |
18164 | (char *) "self", NULL | |
18165 | }; | |
18166 | ||
18167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
18168 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18169 | { | |
18170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18171 | { | |
18172 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
18173 | result = (wxPrintDialogData *) &_result_ref; | |
18174 | } | |
18175 | ||
18176 | wxPyEndAllowThreads(__tstate); | |
18177 | if (PyErr_Occurred()) SWIG_fail; | |
18178 | } | |
18179 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
18180 | return resultobj; | |
18181 | fail: | |
18182 | return NULL; | |
18183 | } | |
18184 | ||
18185 | ||
18186 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18187 | PyObject *resultobj; | |
18188 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
18189 | wxDC *result; | |
18190 | PyObject * obj0 = 0 ; | |
18191 | char *kwnames[] = { | |
18192 | (char *) "self", NULL | |
18193 | }; | |
18194 | ||
18195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
18196 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18197 | { | |
18198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18199 | result = (wxDC *)(arg1)->GetPrintDC(); | |
18200 | ||
18201 | wxPyEndAllowThreads(__tstate); | |
18202 | if (PyErr_Occurred()) SWIG_fail; | |
18203 | } | |
18204 | { | |
18205 | resultobj = wxPyMake_wxObject(result); | |
18206 | } | |
18207 | return resultobj; | |
18208 | fail: | |
18209 | return NULL; | |
18210 | } | |
18211 | ||
18212 | ||
18213 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18214 | PyObject *resultobj; | |
18215 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
18216 | int result; | |
18217 | PyObject * obj0 = 0 ; | |
18218 | char *kwnames[] = { | |
18219 | (char *) "self", NULL | |
18220 | }; | |
18221 | ||
18222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
18223 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18224 | { | |
18225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18226 | result = (int)(arg1)->ShowModal(); | |
18227 | ||
18228 | wxPyEndAllowThreads(__tstate); | |
18229 | if (PyErr_Occurred()) SWIG_fail; | |
18230 | } | |
18231 | resultobj = PyInt_FromLong((long)result); | |
18232 | return resultobj; | |
18233 | fail: | |
18234 | return NULL; | |
18235 | } | |
18236 | ||
18237 | ||
18238 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
18239 | PyObject *obj; | |
18240 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18241 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
18242 | Py_INCREF(obj); | |
18243 | return Py_BuildValue((char *)""); | |
18244 | } | |
18245 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18246 | PyObject *resultobj; | |
18247 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
18248 | wxPrinter *result; | |
18249 | PyObject * obj0 = 0 ; | |
18250 | char *kwnames[] = { | |
18251 | (char *) "data", NULL | |
18252 | }; | |
18253 | ||
18254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
18255 | if (obj0) { | |
18256 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18257 | } | |
18258 | { | |
18259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18260 | result = (wxPrinter *)new wxPrinter(arg1); | |
18261 | ||
18262 | wxPyEndAllowThreads(__tstate); | |
18263 | if (PyErr_Occurred()) SWIG_fail; | |
18264 | } | |
18265 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1); | |
18266 | return resultobj; | |
18267 | fail: | |
18268 | return NULL; | |
18269 | } | |
18270 | ||
18271 | ||
18272 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18273 | PyObject *resultobj; | |
18274 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
18275 | PyObject * obj0 = 0 ; | |
18276 | char *kwnames[] = { | |
18277 | (char *) "self", NULL | |
18278 | }; | |
18279 | ||
18280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
18281 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18282 | { | |
18283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18284 | delete arg1; | |
18285 | ||
18286 | wxPyEndAllowThreads(__tstate); | |
18287 | if (PyErr_Occurred()) SWIG_fail; | |
18288 | } | |
18289 | Py_INCREF(Py_None); resultobj = Py_None; | |
18290 | return resultobj; | |
18291 | fail: | |
18292 | return NULL; | |
18293 | } | |
18294 | ||
18295 | ||
18296 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18297 | PyObject *resultobj; | |
18298 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
18299 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18300 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
18301 | PyObject * obj0 = 0 ; | |
18302 | PyObject * obj1 = 0 ; | |
18303 | PyObject * obj2 = 0 ; | |
18304 | char *kwnames[] = { | |
18305 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
18306 | }; | |
18307 | ||
18308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
18309 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18310 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18311 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18312 | { | |
18313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18314 | (arg1)->CreateAbortWindow(arg2,arg3); | |
18315 | ||
18316 | wxPyEndAllowThreads(__tstate); | |
18317 | if (PyErr_Occurred()) SWIG_fail; | |
18318 | } | |
18319 | Py_INCREF(Py_None); resultobj = Py_None; | |
18320 | return resultobj; | |
18321 | fail: | |
18322 | return NULL; | |
18323 | } | |
18324 | ||
18325 | ||
18326 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18327 | PyObject *resultobj; | |
18328 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
18329 | wxPrintDialogData *result; | |
18330 | PyObject * obj0 = 0 ; | |
18331 | char *kwnames[] = { | |
18332 | (char *) "self", NULL | |
18333 | }; | |
18334 | ||
18335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
18336 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18337 | { | |
18338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18339 | { | |
18340 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
18341 | result = (wxPrintDialogData *) &_result_ref; | |
18342 | } | |
18343 | ||
18344 | wxPyEndAllowThreads(__tstate); | |
18345 | if (PyErr_Occurred()) SWIG_fail; | |
18346 | } | |
18347 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
18348 | return resultobj; | |
18349 | fail: | |
18350 | return NULL; | |
18351 | } | |
18352 | ||
18353 | ||
18354 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18355 | PyObject *resultobj; | |
18356 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
18357 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18358 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
423f194a | 18359 | int arg4 = (int) True ; |
d14a1e28 RD |
18360 | bool result; |
18361 | PyObject * obj0 = 0 ; | |
18362 | PyObject * obj1 = 0 ; | |
18363 | PyObject * obj2 = 0 ; | |
18364 | char *kwnames[] = { | |
18365 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
18366 | }; | |
18367 | ||
18368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
18369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18370 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18371 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18372 | { | |
18373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18374 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
18375 | ||
18376 | wxPyEndAllowThreads(__tstate); | |
18377 | if (PyErr_Occurred()) SWIG_fail; | |
18378 | } | |
18379 | resultobj = PyInt_FromLong((long)result); | |
18380 | return resultobj; | |
18381 | fail: | |
18382 | return NULL; | |
18383 | } | |
18384 | ||
18385 | ||
18386 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18387 | PyObject *resultobj; | |
18388 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
18389 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18390 | wxDC *result; | |
18391 | PyObject * obj0 = 0 ; | |
18392 | PyObject * obj1 = 0 ; | |
18393 | char *kwnames[] = { | |
18394 | (char *) "self",(char *) "parent", NULL | |
18395 | }; | |
18396 | ||
18397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
18398 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18399 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18400 | { | |
18401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18402 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
18403 | ||
18404 | wxPyEndAllowThreads(__tstate); | |
18405 | if (PyErr_Occurred()) SWIG_fail; | |
18406 | } | |
18407 | { | |
18408 | resultobj = wxPyMake_wxObject(result); | |
18409 | } | |
18410 | return resultobj; | |
18411 | fail: | |
18412 | return NULL; | |
18413 | } | |
18414 | ||
18415 | ||
18416 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18417 | PyObject *resultobj; | |
18418 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
18419 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18420 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
18421 | wxString *arg4 = 0 ; | |
423f194a | 18422 | bool temp4 = False ; |
d14a1e28 RD |
18423 | PyObject * obj0 = 0 ; |
18424 | PyObject * obj1 = 0 ; | |
18425 | PyObject * obj2 = 0 ; | |
18426 | PyObject * obj3 = 0 ; | |
18427 | char *kwnames[] = { | |
18428 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
18429 | }; | |
18430 | ||
18431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
18432 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18433 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18434 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18435 | { | |
18436 | arg4 = wxString_in_helper(obj3); | |
18437 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 18438 | temp4 = True; |
d14a1e28 RD |
18439 | } |
18440 | { | |
18441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18442 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
18443 | ||
18444 | wxPyEndAllowThreads(__tstate); | |
18445 | if (PyErr_Occurred()) SWIG_fail; | |
18446 | } | |
18447 | Py_INCREF(Py_None); resultobj = Py_None; | |
18448 | { | |
18449 | if (temp4) | |
18450 | delete arg4; | |
18451 | } | |
18452 | return resultobj; | |
18453 | fail: | |
18454 | { | |
18455 | if (temp4) | |
18456 | delete arg4; | |
18457 | } | |
18458 | return NULL; | |
18459 | } | |
18460 | ||
18461 | ||
18462 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18463 | PyObject *resultobj; | |
18464 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
18465 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18466 | bool result; | |
18467 | PyObject * obj0 = 0 ; | |
18468 | PyObject * obj1 = 0 ; | |
18469 | char *kwnames[] = { | |
18470 | (char *) "self",(char *) "parent", NULL | |
18471 | }; | |
18472 | ||
18473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
18474 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18475 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18476 | { | |
18477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18478 | result = (bool)(arg1)->Setup(arg2); | |
18479 | ||
18480 | wxPyEndAllowThreads(__tstate); | |
18481 | if (PyErr_Occurred()) SWIG_fail; | |
18482 | } | |
18483 | resultobj = PyInt_FromLong((long)result); | |
18484 | return resultobj; | |
18485 | fail: | |
18486 | return NULL; | |
18487 | } | |
18488 | ||
18489 | ||
18490 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18491 | PyObject *resultobj; | |
18492 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
18493 | bool result; | |
18494 | PyObject * obj0 = 0 ; | |
18495 | char *kwnames[] = { | |
18496 | (char *) "self", NULL | |
18497 | }; | |
18498 | ||
18499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
18500 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18501 | { | |
18502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18503 | result = (bool)(arg1)->GetAbort(); | |
18504 | ||
18505 | wxPyEndAllowThreads(__tstate); | |
18506 | if (PyErr_Occurred()) SWIG_fail; | |
18507 | } | |
18508 | resultobj = PyInt_FromLong((long)result); | |
18509 | return resultobj; | |
18510 | fail: | |
18511 | return NULL; | |
18512 | } | |
18513 | ||
18514 | ||
18515 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18516 | PyObject *resultobj; | |
18517 | int result; | |
18518 | char *kwnames[] = { | |
18519 | NULL | |
18520 | }; | |
18521 | ||
18522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
18523 | { | |
18524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18525 | result = (int)wxPrinter::GetLastError(); | |
18526 | ||
18527 | wxPyEndAllowThreads(__tstate); | |
18528 | if (PyErr_Occurred()) SWIG_fail; | |
18529 | } | |
18530 | resultobj = PyInt_FromLong((long)result); | |
18531 | return resultobj; | |
18532 | fail: | |
18533 | return NULL; | |
18534 | } | |
18535 | ||
18536 | ||
18537 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
18538 | PyObject *obj; | |
18539 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18540 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
18541 | Py_INCREF(obj); | |
18542 | return Py_BuildValue((char *)""); | |
18543 | } | |
18544 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18545 | PyObject *resultobj; | |
18546 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
18547 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
18548 | wxPyPrintout *result; | |
423f194a | 18549 | bool temp1 = False ; |
d14a1e28 RD |
18550 | PyObject * obj0 = 0 ; |
18551 | char *kwnames[] = { | |
18552 | (char *) "title", NULL | |
18553 | }; | |
18554 | ||
18555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
18556 | if (obj0) { | |
18557 | { | |
18558 | arg1 = wxString_in_helper(obj0); | |
18559 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 18560 | temp1 = True; |
d14a1e28 RD |
18561 | } |
18562 | } | |
18563 | { | |
18564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18565 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
18566 | ||
18567 | wxPyEndAllowThreads(__tstate); | |
18568 | if (PyErr_Occurred()) SWIG_fail; | |
18569 | } | |
18570 | { | |
18571 | resultobj = wxPyMake_wxObject(result); | |
18572 | } | |
18573 | { | |
18574 | if (temp1) | |
18575 | delete arg1; | |
18576 | } | |
18577 | return resultobj; | |
18578 | fail: | |
18579 | { | |
18580 | if (temp1) | |
18581 | delete arg1; | |
18582 | } | |
18583 | return NULL; | |
18584 | } | |
18585 | ||
18586 | ||
18587 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18588 | PyObject *resultobj; | |
18589 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18590 | PyObject *arg2 = (PyObject *) 0 ; | |
18591 | PyObject *arg3 = (PyObject *) 0 ; | |
18592 | PyObject * obj0 = 0 ; | |
18593 | PyObject * obj1 = 0 ; | |
18594 | PyObject * obj2 = 0 ; | |
18595 | char *kwnames[] = { | |
18596 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
18597 | }; | |
18598 | ||
18599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
18600 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18601 | arg2 = obj1; | |
18602 | arg3 = obj2; | |
18603 | { | |
18604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18605 | (arg1)->_setCallbackInfo(arg2,arg3); | |
18606 | ||
18607 | wxPyEndAllowThreads(__tstate); | |
18608 | if (PyErr_Occurred()) SWIG_fail; | |
18609 | } | |
18610 | Py_INCREF(Py_None); resultobj = Py_None; | |
18611 | return resultobj; | |
18612 | fail: | |
18613 | return NULL; | |
18614 | } | |
18615 | ||
18616 | ||
18617 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18618 | PyObject *resultobj; | |
18619 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18620 | wxString result; | |
18621 | PyObject * obj0 = 0 ; | |
18622 | char *kwnames[] = { | |
18623 | (char *) "self", NULL | |
18624 | }; | |
18625 | ||
18626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
18627 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18628 | { | |
18629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18630 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
18631 | ||
18632 | wxPyEndAllowThreads(__tstate); | |
18633 | if (PyErr_Occurred()) SWIG_fail; | |
18634 | } | |
18635 | { | |
18636 | #if wxUSE_UNICODE | |
18637 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
18638 | #else | |
18639 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
18640 | #endif | |
18641 | } | |
18642 | return resultobj; | |
18643 | fail: | |
18644 | return NULL; | |
18645 | } | |
18646 | ||
18647 | ||
18648 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18649 | PyObject *resultobj; | |
18650 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18651 | wxDC *result; | |
18652 | PyObject * obj0 = 0 ; | |
18653 | char *kwnames[] = { | |
18654 | (char *) "self", NULL | |
18655 | }; | |
18656 | ||
18657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
18658 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18659 | { | |
18660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18661 | result = (wxDC *)(arg1)->GetDC(); | |
18662 | ||
18663 | wxPyEndAllowThreads(__tstate); | |
18664 | if (PyErr_Occurred()) SWIG_fail; | |
18665 | } | |
18666 | { | |
18667 | resultobj = wxPyMake_wxObject(result); | |
18668 | } | |
18669 | return resultobj; | |
18670 | fail: | |
18671 | return NULL; | |
18672 | } | |
18673 | ||
18674 | ||
18675 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18676 | PyObject *resultobj; | |
18677 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18678 | wxDC *arg2 = (wxDC *) 0 ; | |
18679 | PyObject * obj0 = 0 ; | |
18680 | PyObject * obj1 = 0 ; | |
18681 | char *kwnames[] = { | |
18682 | (char *) "self",(char *) "dc", NULL | |
18683 | }; | |
18684 | ||
18685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
18686 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18687 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18688 | { | |
18689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18690 | (arg1)->SetDC(arg2); | |
18691 | ||
18692 | wxPyEndAllowThreads(__tstate); | |
18693 | if (PyErr_Occurred()) SWIG_fail; | |
18694 | } | |
18695 | Py_INCREF(Py_None); resultobj = Py_None; | |
18696 | return resultobj; | |
18697 | fail: | |
18698 | return NULL; | |
18699 | } | |
18700 | ||
18701 | ||
44127b65 | 18702 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18703 | PyObject *resultobj; |
18704 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
44127b65 RD |
18705 | int arg2 ; |
18706 | int arg3 ; | |
d14a1e28 RD |
18707 | PyObject * obj0 = 0 ; |
18708 | char *kwnames[] = { | |
44127b65 | 18709 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
18710 | }; |
18711 | ||
44127b65 | 18712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail; |
d14a1e28 RD |
18713 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
18714 | { | |
18715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 18716 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
18717 | |
18718 | wxPyEndAllowThreads(__tstate); | |
18719 | if (PyErr_Occurred()) SWIG_fail; | |
18720 | } | |
18721 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
18722 | return resultobj; |
18723 | fail: | |
18724 | return NULL; | |
18725 | } | |
18726 | ||
18727 | ||
44127b65 | 18728 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18729 | PyObject *resultobj; |
18730 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
44127b65 RD |
18731 | int *arg2 = (int *) 0 ; |
18732 | int *arg3 = (int *) 0 ; | |
18733 | int temp2 ; | |
18734 | int temp3 ; | |
d14a1e28 RD |
18735 | PyObject * obj0 = 0 ; |
18736 | char *kwnames[] = { | |
44127b65 | 18737 | (char *) "self", NULL |
d14a1e28 RD |
18738 | }; |
18739 | ||
44127b65 RD |
18740 | arg2 = &temp2; |
18741 | arg3 = &temp3; | |
18742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
d14a1e28 RD |
18743 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; |
18744 | { | |
18745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 18746 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
18747 | |
18748 | wxPyEndAllowThreads(__tstate); | |
18749 | if (PyErr_Occurred()) SWIG_fail; | |
18750 | } | |
18751 | Py_INCREF(Py_None); resultobj = Py_None; | |
44127b65 RD |
18752 | { |
18753 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
18754 | resultobj = t_output_helper(resultobj,o); | |
18755 | } | |
18756 | { | |
18757 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18758 | resultobj = t_output_helper(resultobj,o); | |
18759 | } | |
d14a1e28 RD |
18760 | return resultobj; |
18761 | fail: | |
18762 | return NULL; | |
18763 | } | |
18764 | ||
18765 | ||
18766 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18767 | PyObject *resultobj; | |
18768 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18769 | int arg2 ; | |
18770 | int arg3 ; | |
18771 | PyObject * obj0 = 0 ; | |
18772 | char *kwnames[] = { | |
18773 | (char *) "self",(char *) "w",(char *) "h", NULL | |
18774 | }; | |
18775 | ||
18776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
18777 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18778 | { | |
18779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18780 | (arg1)->SetPageSizeMM(arg2,arg3); | |
18781 | ||
18782 | wxPyEndAllowThreads(__tstate); | |
18783 | if (PyErr_Occurred()) SWIG_fail; | |
18784 | } | |
18785 | Py_INCREF(Py_None); resultobj = Py_None; | |
18786 | return resultobj; | |
18787 | fail: | |
18788 | return NULL; | |
18789 | } | |
18790 | ||
18791 | ||
18792 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18793 | PyObject *resultobj; | |
18794 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18795 | int *arg2 = (int *) 0 ; | |
18796 | int *arg3 = (int *) 0 ; | |
18797 | int temp2 ; | |
18798 | int temp3 ; | |
18799 | PyObject * obj0 = 0 ; | |
18800 | char *kwnames[] = { | |
18801 | (char *) "self", NULL | |
18802 | }; | |
18803 | ||
18804 | arg2 = &temp2; | |
18805 | arg3 = &temp3; | |
18806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
18807 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18808 | { | |
18809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18810 | (arg1)->GetPageSizeMM(arg2,arg3); | |
18811 | ||
18812 | wxPyEndAllowThreads(__tstate); | |
18813 | if (PyErr_Occurred()) SWIG_fail; | |
18814 | } | |
18815 | Py_INCREF(Py_None); resultobj = Py_None; | |
18816 | { | |
18817 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
18818 | resultobj = t_output_helper(resultobj,o); | |
18819 | } | |
18820 | { | |
18821 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18822 | resultobj = t_output_helper(resultobj,o); | |
18823 | } | |
18824 | return resultobj; | |
18825 | fail: | |
18826 | return NULL; | |
18827 | } | |
18828 | ||
18829 | ||
18830 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18831 | PyObject *resultobj; | |
18832 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18833 | int arg2 ; | |
18834 | int arg3 ; | |
18835 | PyObject * obj0 = 0 ; | |
18836 | char *kwnames[] = { | |
18837 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18838 | }; | |
18839 | ||
18840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
18841 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18842 | { | |
18843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18844 | (arg1)->SetPPIScreen(arg2,arg3); | |
18845 | ||
18846 | wxPyEndAllowThreads(__tstate); | |
18847 | if (PyErr_Occurred()) SWIG_fail; | |
18848 | } | |
18849 | Py_INCREF(Py_None); resultobj = Py_None; | |
18850 | return resultobj; | |
18851 | fail: | |
18852 | return NULL; | |
18853 | } | |
18854 | ||
18855 | ||
18856 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18857 | PyObject *resultobj; | |
18858 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18859 | int *arg2 = (int *) 0 ; | |
18860 | int *arg3 = (int *) 0 ; | |
18861 | int temp2 ; | |
18862 | int temp3 ; | |
18863 | PyObject * obj0 = 0 ; | |
18864 | char *kwnames[] = { | |
18865 | (char *) "self", NULL | |
18866 | }; | |
18867 | ||
18868 | arg2 = &temp2; | |
18869 | arg3 = &temp3; | |
18870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
18871 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18872 | { | |
18873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18874 | (arg1)->GetPPIScreen(arg2,arg3); | |
18875 | ||
18876 | wxPyEndAllowThreads(__tstate); | |
18877 | if (PyErr_Occurred()) SWIG_fail; | |
18878 | } | |
18879 | Py_INCREF(Py_None); resultobj = Py_None; | |
18880 | { | |
18881 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
18882 | resultobj = t_output_helper(resultobj,o); | |
18883 | } | |
18884 | { | |
18885 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18886 | resultobj = t_output_helper(resultobj,o); | |
18887 | } | |
18888 | return resultobj; | |
18889 | fail: | |
18890 | return NULL; | |
18891 | } | |
18892 | ||
18893 | ||
18894 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18895 | PyObject *resultobj; | |
18896 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18897 | int arg2 ; | |
18898 | int arg3 ; | |
18899 | PyObject * obj0 = 0 ; | |
18900 | char *kwnames[] = { | |
18901 | (char *) "self",(char *) "x",(char *) "y", NULL | |
18902 | }; | |
18903 | ||
18904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
18905 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18906 | { | |
18907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18908 | (arg1)->SetPPIPrinter(arg2,arg3); | |
18909 | ||
18910 | wxPyEndAllowThreads(__tstate); | |
18911 | if (PyErr_Occurred()) SWIG_fail; | |
18912 | } | |
18913 | Py_INCREF(Py_None); resultobj = Py_None; | |
18914 | return resultobj; | |
18915 | fail: | |
18916 | return NULL; | |
18917 | } | |
18918 | ||
18919 | ||
18920 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18921 | PyObject *resultobj; | |
18922 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18923 | int *arg2 = (int *) 0 ; | |
18924 | int *arg3 = (int *) 0 ; | |
18925 | int temp2 ; | |
18926 | int temp3 ; | |
18927 | PyObject * obj0 = 0 ; | |
18928 | char *kwnames[] = { | |
18929 | (char *) "self", NULL | |
18930 | }; | |
18931 | ||
18932 | arg2 = &temp2; | |
18933 | arg3 = &temp3; | |
18934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
18935 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18936 | { | |
18937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18938 | (arg1)->GetPPIPrinter(arg2,arg3); | |
18939 | ||
18940 | wxPyEndAllowThreads(__tstate); | |
18941 | if (PyErr_Occurred()) SWIG_fail; | |
18942 | } | |
18943 | Py_INCREF(Py_None); resultobj = Py_None; | |
18944 | { | |
18945 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
18946 | resultobj = t_output_helper(resultobj,o); | |
18947 | } | |
18948 | { | |
18949 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
18950 | resultobj = t_output_helper(resultobj,o); | |
18951 | } | |
18952 | return resultobj; | |
18953 | fail: | |
18954 | return NULL; | |
18955 | } | |
18956 | ||
18957 | ||
18958 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18959 | PyObject *resultobj; | |
18960 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18961 | bool result; | |
18962 | PyObject * obj0 = 0 ; | |
18963 | char *kwnames[] = { | |
18964 | (char *) "self", NULL | |
18965 | }; | |
18966 | ||
18967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
18968 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18969 | { | |
18970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18971 | result = (bool)(arg1)->IsPreview(); | |
18972 | ||
18973 | wxPyEndAllowThreads(__tstate); | |
18974 | if (PyErr_Occurred()) SWIG_fail; | |
18975 | } | |
18976 | resultobj = PyInt_FromLong((long)result); | |
18977 | return resultobj; | |
18978 | fail: | |
18979 | return NULL; | |
18980 | } | |
18981 | ||
18982 | ||
18983 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18984 | PyObject *resultobj; | |
18985 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
18986 | bool arg2 ; | |
18987 | PyObject * obj0 = 0 ; | |
18988 | PyObject * obj1 = 0 ; | |
18989 | char *kwnames[] = { | |
18990 | (char *) "self",(char *) "p", NULL | |
18991 | }; | |
18992 | ||
18993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
18994 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
18995 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
18996 | if (PyErr_Occurred()) SWIG_fail; | |
18997 | { | |
18998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18999 | (arg1)->SetIsPreview(arg2); | |
19000 | ||
19001 | wxPyEndAllowThreads(__tstate); | |
19002 | if (PyErr_Occurred()) SWIG_fail; | |
19003 | } | |
19004 | Py_INCREF(Py_None); resultobj = Py_None; | |
19005 | return resultobj; | |
19006 | fail: | |
19007 | return NULL; | |
19008 | } | |
19009 | ||
19010 | ||
19011 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19012 | PyObject *resultobj; | |
19013 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19014 | int arg2 ; | |
19015 | int arg3 ; | |
19016 | bool result; | |
19017 | PyObject * obj0 = 0 ; | |
19018 | char *kwnames[] = { | |
19019 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
19020 | }; | |
19021 | ||
19022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
19023 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19024 | { | |
19025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19026 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
19027 | ||
19028 | wxPyEndAllowThreads(__tstate); | |
19029 | if (PyErr_Occurred()) SWIG_fail; | |
19030 | } | |
19031 | resultobj = PyInt_FromLong((long)result); | |
19032 | return resultobj; | |
19033 | fail: | |
19034 | return NULL; | |
19035 | } | |
19036 | ||
19037 | ||
19038 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19039 | PyObject *resultobj; | |
19040 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19041 | PyObject * obj0 = 0 ; | |
19042 | char *kwnames[] = { | |
19043 | (char *) "self", NULL | |
19044 | }; | |
19045 | ||
19046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
19047 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19048 | { | |
19049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19050 | (arg1)->base_OnEndDocument(); | |
19051 | ||
19052 | wxPyEndAllowThreads(__tstate); | |
19053 | if (PyErr_Occurred()) SWIG_fail; | |
19054 | } | |
19055 | Py_INCREF(Py_None); resultobj = Py_None; | |
19056 | return resultobj; | |
19057 | fail: | |
19058 | return NULL; | |
19059 | } | |
19060 | ||
19061 | ||
19062 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19063 | PyObject *resultobj; | |
19064 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19065 | PyObject * obj0 = 0 ; | |
19066 | char *kwnames[] = { | |
19067 | (char *) "self", NULL | |
19068 | }; | |
19069 | ||
19070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
19071 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19072 | { | |
19073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19074 | (arg1)->base_OnBeginPrinting(); | |
19075 | ||
19076 | wxPyEndAllowThreads(__tstate); | |
19077 | if (PyErr_Occurred()) SWIG_fail; | |
19078 | } | |
19079 | Py_INCREF(Py_None); resultobj = Py_None; | |
19080 | return resultobj; | |
19081 | fail: | |
19082 | return NULL; | |
19083 | } | |
19084 | ||
19085 | ||
19086 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19087 | PyObject *resultobj; | |
19088 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19089 | PyObject * obj0 = 0 ; | |
19090 | char *kwnames[] = { | |
19091 | (char *) "self", NULL | |
19092 | }; | |
19093 | ||
19094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
19095 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19096 | { | |
19097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19098 | (arg1)->base_OnEndPrinting(); | |
19099 | ||
19100 | wxPyEndAllowThreads(__tstate); | |
19101 | if (PyErr_Occurred()) SWIG_fail; | |
19102 | } | |
19103 | Py_INCREF(Py_None); resultobj = Py_None; | |
19104 | return resultobj; | |
19105 | fail: | |
19106 | return NULL; | |
19107 | } | |
19108 | ||
19109 | ||
19110 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19111 | PyObject *resultobj; | |
19112 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19113 | PyObject * obj0 = 0 ; | |
19114 | char *kwnames[] = { | |
19115 | (char *) "self", NULL | |
19116 | }; | |
19117 | ||
19118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
19119 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19120 | { | |
19121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19122 | (arg1)->base_OnPreparePrinting(); | |
19123 | ||
19124 | wxPyEndAllowThreads(__tstate); | |
19125 | if (PyErr_Occurred()) SWIG_fail; | |
19126 | } | |
19127 | Py_INCREF(Py_None); resultobj = Py_None; | |
19128 | return resultobj; | |
19129 | fail: | |
19130 | return NULL; | |
19131 | } | |
19132 | ||
19133 | ||
44127b65 RD |
19134 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
19135 | PyObject *resultobj; | |
19136 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19137 | int arg2 ; | |
19138 | bool result; | |
19139 | PyObject * obj0 = 0 ; | |
19140 | char *kwnames[] = { | |
19141 | (char *) "self",(char *) "page", NULL | |
19142 | }; | |
19143 | ||
19144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail; | |
19145 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19146 | { | |
19147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19148 | result = (bool)(arg1)->base_HasPage(arg2); | |
19149 | ||
19150 | wxPyEndAllowThreads(__tstate); | |
19151 | if (PyErr_Occurred()) SWIG_fail; | |
19152 | } | |
19153 | resultobj = PyInt_FromLong((long)result); | |
19154 | return resultobj; | |
19155 | fail: | |
19156 | return NULL; | |
19157 | } | |
19158 | ||
19159 | ||
d14a1e28 RD |
19160 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
19161 | PyObject *resultobj; | |
19162 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19163 | int *arg2 = (int *) 0 ; | |
19164 | int *arg3 = (int *) 0 ; | |
19165 | int *arg4 = (int *) 0 ; | |
19166 | int *arg5 = (int *) 0 ; | |
19167 | int temp2 ; | |
19168 | int temp3 ; | |
19169 | int temp4 ; | |
19170 | int temp5 ; | |
19171 | PyObject * obj0 = 0 ; | |
19172 | char *kwnames[] = { | |
19173 | (char *) "self", NULL | |
19174 | }; | |
19175 | ||
19176 | arg2 = &temp2; | |
19177 | arg3 = &temp3; | |
19178 | arg4 = &temp4; | |
19179 | arg5 = &temp5; | |
19180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
19181 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19182 | { | |
19183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19184 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
19185 | ||
19186 | wxPyEndAllowThreads(__tstate); | |
19187 | if (PyErr_Occurred()) SWIG_fail; | |
19188 | } | |
19189 | Py_INCREF(Py_None); resultobj = Py_None; | |
19190 | { | |
19191 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
19192 | resultobj = t_output_helper(resultobj,o); | |
19193 | } | |
19194 | { | |
19195 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
19196 | resultobj = t_output_helper(resultobj,o); | |
19197 | } | |
19198 | { | |
19199 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
19200 | resultobj = t_output_helper(resultobj,o); | |
19201 | } | |
19202 | { | |
19203 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
19204 | resultobj = t_output_helper(resultobj,o); | |
19205 | } | |
19206 | return resultobj; | |
19207 | fail: | |
19208 | return NULL; | |
19209 | } | |
19210 | ||
19211 | ||
d14a1e28 RD |
19212 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
19213 | PyObject *obj; | |
19214 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19215 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
19216 | Py_INCREF(obj); | |
19217 | return Py_BuildValue((char *)""); | |
19218 | } | |
19219 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19220 | PyObject *resultobj; | |
19221 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19222 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19223 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
19224 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
19225 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
19226 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
19227 | long arg5 = (long) 0 ; | |
19228 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
19229 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
19230 | wxPreviewCanvas *result; | |
19231 | wxPoint temp3 ; | |
19232 | wxSize temp4 ; | |
423f194a | 19233 | bool temp6 = False ; |
d14a1e28 RD |
19234 | PyObject * obj0 = 0 ; |
19235 | PyObject * obj1 = 0 ; | |
19236 | PyObject * obj2 = 0 ; | |
19237 | PyObject * obj3 = 0 ; | |
19238 | PyObject * obj5 = 0 ; | |
19239 | char *kwnames[] = { | |
19240 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19241 | }; | |
19242 | ||
19243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
19244 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19245 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19246 | if (obj2) { | |
19247 | { | |
19248 | arg3 = &temp3; | |
19249 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
19250 | } | |
19251 | } | |
19252 | if (obj3) { | |
19253 | { | |
19254 | arg4 = &temp4; | |
19255 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
19256 | } | |
19257 | } | |
19258 | if (obj5) { | |
19259 | { | |
19260 | arg6 = wxString_in_helper(obj5); | |
19261 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 19262 | temp6 = True; |
d14a1e28 RD |
19263 | } |
19264 | } | |
19265 | { | |
19266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19267 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
19268 | ||
19269 | wxPyEndAllowThreads(__tstate); | |
19270 | if (PyErr_Occurred()) SWIG_fail; | |
19271 | } | |
19272 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1); | |
19273 | { | |
19274 | if (temp6) | |
19275 | delete arg6; | |
19276 | } | |
19277 | return resultobj; | |
19278 | fail: | |
19279 | { | |
19280 | if (temp6) | |
19281 | delete arg6; | |
19282 | } | |
19283 | return NULL; | |
19284 | } | |
19285 | ||
19286 | ||
19287 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
19288 | PyObject *obj; | |
19289 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19290 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
19291 | Py_INCREF(obj); | |
19292 | return Py_BuildValue((char *)""); | |
19293 | } | |
19294 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19295 | PyObject *resultobj; | |
19296 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19297 | wxFrame *arg2 = (wxFrame *) 0 ; | |
19298 | wxString *arg3 = 0 ; | |
19299 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
19300 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
19301 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
19302 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
19303 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
19304 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
19305 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
19306 | wxPreviewFrame *result; | |
423f194a | 19307 | bool temp3 = False ; |
d14a1e28 RD |
19308 | wxPoint temp4 ; |
19309 | wxSize temp5 ; | |
423f194a | 19310 | bool temp7 = False ; |
d14a1e28 RD |
19311 | PyObject * obj0 = 0 ; |
19312 | PyObject * obj1 = 0 ; | |
19313 | PyObject * obj2 = 0 ; | |
19314 | PyObject * obj3 = 0 ; | |
19315 | PyObject * obj4 = 0 ; | |
19316 | PyObject * obj6 = 0 ; | |
19317 | char *kwnames[] = { | |
19318 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19319 | }; | |
19320 | ||
19321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
19322 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19323 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19324 | { | |
19325 | arg3 = wxString_in_helper(obj2); | |
19326 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 19327 | temp3 = True; |
d14a1e28 RD |
19328 | } |
19329 | if (obj3) { | |
19330 | { | |
19331 | arg4 = &temp4; | |
19332 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
19333 | } | |
19334 | } | |
19335 | if (obj4) { | |
19336 | { | |
19337 | arg5 = &temp5; | |
19338 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
19339 | } | |
19340 | } | |
19341 | if (obj6) { | |
19342 | { | |
19343 | arg7 = wxString_in_helper(obj6); | |
19344 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 19345 | temp7 = True; |
d14a1e28 RD |
19346 | } |
19347 | } | |
19348 | { | |
19349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19350 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
19351 | ||
19352 | wxPyEndAllowThreads(__tstate); | |
19353 | if (PyErr_Occurred()) SWIG_fail; | |
19354 | } | |
19355 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1); | |
19356 | { | |
19357 | if (temp3) | |
19358 | delete arg3; | |
19359 | } | |
19360 | { | |
19361 | if (temp7) | |
19362 | delete arg7; | |
19363 | } | |
19364 | return resultobj; | |
19365 | fail: | |
19366 | { | |
19367 | if (temp3) | |
19368 | delete arg3; | |
19369 | } | |
19370 | { | |
19371 | if (temp7) | |
19372 | delete arg7; | |
19373 | } | |
19374 | return NULL; | |
19375 | } | |
19376 | ||
19377 | ||
19378 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19379 | PyObject *resultobj; | |
19380 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
19381 | PyObject * obj0 = 0 ; | |
19382 | char *kwnames[] = { | |
19383 | (char *) "self", NULL | |
19384 | }; | |
19385 | ||
19386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
19387 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19388 | { | |
19389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19390 | (arg1)->Initialize(); | |
19391 | ||
19392 | wxPyEndAllowThreads(__tstate); | |
19393 | if (PyErr_Occurred()) SWIG_fail; | |
19394 | } | |
19395 | Py_INCREF(Py_None); resultobj = Py_None; | |
19396 | return resultobj; | |
19397 | fail: | |
19398 | return NULL; | |
19399 | } | |
19400 | ||
19401 | ||
19402 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19403 | PyObject *resultobj; | |
19404 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
19405 | PyObject * obj0 = 0 ; | |
19406 | char *kwnames[] = { | |
19407 | (char *) "self", NULL | |
19408 | }; | |
19409 | ||
19410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
19411 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19412 | { | |
19413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19414 | (arg1)->CreateControlBar(); | |
19415 | ||
19416 | wxPyEndAllowThreads(__tstate); | |
19417 | if (PyErr_Occurred()) SWIG_fail; | |
19418 | } | |
19419 | Py_INCREF(Py_None); resultobj = Py_None; | |
19420 | return resultobj; | |
19421 | fail: | |
19422 | return NULL; | |
19423 | } | |
19424 | ||
19425 | ||
19426 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19427 | PyObject *resultobj; | |
19428 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
19429 | PyObject * obj0 = 0 ; | |
19430 | char *kwnames[] = { | |
19431 | (char *) "self", NULL | |
19432 | }; | |
19433 | ||
19434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
19435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19436 | { | |
19437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19438 | (arg1)->CreateCanvas(); | |
19439 | ||
19440 | wxPyEndAllowThreads(__tstate); | |
19441 | if (PyErr_Occurred()) SWIG_fail; | |
19442 | } | |
19443 | Py_INCREF(Py_None); resultobj = Py_None; | |
19444 | return resultobj; | |
19445 | fail: | |
19446 | return NULL; | |
19447 | } | |
19448 | ||
19449 | ||
19450 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19451 | PyObject *resultobj; | |
19452 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
19453 | wxPreviewControlBar *result; | |
19454 | PyObject * obj0 = 0 ; | |
19455 | char *kwnames[] = { | |
19456 | (char *) "self", NULL | |
19457 | }; | |
19458 | ||
19459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
19460 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19461 | { | |
19462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19463 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
19464 | ||
19465 | wxPyEndAllowThreads(__tstate); | |
19466 | if (PyErr_Occurred()) SWIG_fail; | |
19467 | } | |
19468 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0); | |
19469 | return resultobj; | |
19470 | fail: | |
19471 | return NULL; | |
19472 | } | |
19473 | ||
19474 | ||
19475 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
19476 | PyObject *obj; | |
19477 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19478 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
19479 | Py_INCREF(obj); | |
19480 | return Py_BuildValue((char *)""); | |
19481 | } | |
19482 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19483 | PyObject *resultobj; | |
19484 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19485 | long arg2 ; | |
19486 | wxWindow *arg3 = (wxWindow *) 0 ; | |
19487 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
19488 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
19489 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
19490 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
19491 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
19492 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
19493 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
19494 | wxPreviewControlBar *result; | |
19495 | wxPoint temp4 ; | |
19496 | wxSize temp5 ; | |
423f194a | 19497 | bool temp7 = False ; |
d14a1e28 RD |
19498 | PyObject * obj0 = 0 ; |
19499 | PyObject * obj2 = 0 ; | |
19500 | PyObject * obj3 = 0 ; | |
19501 | PyObject * obj4 = 0 ; | |
19502 | PyObject * obj6 = 0 ; | |
19503 | char *kwnames[] = { | |
19504 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
19505 | }; | |
19506 | ||
19507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
19508 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19509 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19510 | if (obj3) { | |
19511 | { | |
19512 | arg4 = &temp4; | |
19513 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
19514 | } | |
19515 | } | |
19516 | if (obj4) { | |
19517 | { | |
19518 | arg5 = &temp5; | |
19519 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
19520 | } | |
19521 | } | |
19522 | if (obj6) { | |
19523 | { | |
19524 | arg7 = wxString_in_helper(obj6); | |
19525 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 19526 | temp7 = True; |
d14a1e28 RD |
19527 | } |
19528 | } | |
19529 | { | |
19530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19531 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
19532 | ||
19533 | wxPyEndAllowThreads(__tstate); | |
19534 | if (PyErr_Occurred()) SWIG_fail; | |
19535 | } | |
19536 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1); | |
19537 | { | |
19538 | if (temp7) | |
19539 | delete arg7; | |
19540 | } | |
19541 | return resultobj; | |
19542 | fail: | |
19543 | { | |
19544 | if (temp7) | |
19545 | delete arg7; | |
19546 | } | |
19547 | return NULL; | |
19548 | } | |
19549 | ||
19550 | ||
19551 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19552 | PyObject *resultobj; | |
19553 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
19554 | int result; | |
19555 | PyObject * obj0 = 0 ; | |
19556 | char *kwnames[] = { | |
19557 | (char *) "self", NULL | |
19558 | }; | |
19559 | ||
19560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
19561 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19562 | { | |
19563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19564 | result = (int)(arg1)->GetZoomControl(); | |
19565 | ||
19566 | wxPyEndAllowThreads(__tstate); | |
19567 | if (PyErr_Occurred()) SWIG_fail; | |
19568 | } | |
19569 | resultobj = PyInt_FromLong((long)result); | |
19570 | return resultobj; | |
19571 | fail: | |
19572 | return NULL; | |
19573 | } | |
19574 | ||
19575 | ||
19576 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19577 | PyObject *resultobj; | |
19578 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
19579 | int arg2 ; | |
19580 | PyObject * obj0 = 0 ; | |
19581 | char *kwnames[] = { | |
19582 | (char *) "self",(char *) "zoom", NULL | |
19583 | }; | |
19584 | ||
19585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail; | |
19586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19587 | { | |
19588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19589 | (arg1)->SetZoomControl(arg2); | |
19590 | ||
19591 | wxPyEndAllowThreads(__tstate); | |
19592 | if (PyErr_Occurred()) SWIG_fail; | |
19593 | } | |
19594 | Py_INCREF(Py_None); resultobj = Py_None; | |
19595 | return resultobj; | |
19596 | fail: | |
19597 | return NULL; | |
19598 | } | |
19599 | ||
19600 | ||
19601 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19602 | PyObject *resultobj; | |
19603 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
19604 | wxPrintPreview *result; | |
19605 | PyObject * obj0 = 0 ; | |
19606 | char *kwnames[] = { | |
19607 | (char *) "self", NULL | |
19608 | }; | |
19609 | ||
19610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
19611 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19612 | { | |
19613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19614 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
19615 | ||
19616 | wxPyEndAllowThreads(__tstate); | |
19617 | if (PyErr_Occurred()) SWIG_fail; | |
19618 | } | |
19619 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0); | |
19620 | return resultobj; | |
19621 | fail: | |
19622 | return NULL; | |
19623 | } | |
19624 | ||
19625 | ||
19626 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19627 | PyObject *resultobj; | |
19628 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
19629 | PyObject * obj0 = 0 ; | |
19630 | char *kwnames[] = { | |
19631 | (char *) "self", NULL | |
19632 | }; | |
19633 | ||
19634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
19635 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19636 | { | |
19637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19638 | (arg1)->OnNext(); | |
19639 | ||
19640 | wxPyEndAllowThreads(__tstate); | |
19641 | if (PyErr_Occurred()) SWIG_fail; | |
19642 | } | |
19643 | Py_INCREF(Py_None); resultobj = Py_None; | |
19644 | return resultobj; | |
19645 | fail: | |
19646 | return NULL; | |
19647 | } | |
19648 | ||
19649 | ||
19650 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19651 | PyObject *resultobj; | |
19652 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
19653 | PyObject * obj0 = 0 ; | |
19654 | char *kwnames[] = { | |
19655 | (char *) "self", NULL | |
19656 | }; | |
19657 | ||
19658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
19659 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19660 | { | |
19661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19662 | (arg1)->OnPrevious(); | |
19663 | ||
19664 | wxPyEndAllowThreads(__tstate); | |
19665 | if (PyErr_Occurred()) SWIG_fail; | |
19666 | } | |
19667 | Py_INCREF(Py_None); resultobj = Py_None; | |
19668 | return resultobj; | |
19669 | fail: | |
19670 | return NULL; | |
19671 | } | |
19672 | ||
19673 | ||
19674 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19675 | PyObject *resultobj; | |
19676 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
19677 | PyObject * obj0 = 0 ; | |
19678 | char *kwnames[] = { | |
19679 | (char *) "self", NULL | |
19680 | }; | |
19681 | ||
19682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
19683 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19684 | { | |
19685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19686 | (arg1)->OnFirst(); | |
19687 | ||
19688 | wxPyEndAllowThreads(__tstate); | |
19689 | if (PyErr_Occurred()) SWIG_fail; | |
19690 | } | |
19691 | Py_INCREF(Py_None); resultobj = Py_None; | |
19692 | return resultobj; | |
19693 | fail: | |
19694 | return NULL; | |
19695 | } | |
19696 | ||
19697 | ||
19698 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19699 | PyObject *resultobj; | |
19700 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
19701 | PyObject * obj0 = 0 ; | |
19702 | char *kwnames[] = { | |
19703 | (char *) "self", NULL | |
19704 | }; | |
19705 | ||
19706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
19707 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19708 | { | |
19709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19710 | (arg1)->OnLast(); | |
19711 | ||
19712 | wxPyEndAllowThreads(__tstate); | |
19713 | if (PyErr_Occurred()) SWIG_fail; | |
19714 | } | |
19715 | Py_INCREF(Py_None); resultobj = Py_None; | |
19716 | return resultobj; | |
19717 | fail: | |
19718 | return NULL; | |
19719 | } | |
19720 | ||
19721 | ||
19722 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19723 | PyObject *resultobj; | |
19724 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
19725 | PyObject * obj0 = 0 ; | |
19726 | char *kwnames[] = { | |
19727 | (char *) "self", NULL | |
19728 | }; | |
19729 | ||
19730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
19731 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19732 | { | |
19733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19734 | (arg1)->OnGoto(); | |
19735 | ||
19736 | wxPyEndAllowThreads(__tstate); | |
19737 | if (PyErr_Occurred()) SWIG_fail; | |
19738 | } | |
19739 | Py_INCREF(Py_None); resultobj = Py_None; | |
19740 | return resultobj; | |
19741 | fail: | |
19742 | return NULL; | |
19743 | } | |
19744 | ||
19745 | ||
19746 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
19747 | PyObject *obj; | |
19748 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19749 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
19750 | Py_INCREF(obj); | |
19751 | return Py_BuildValue((char *)""); | |
19752 | } | |
19753 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19754 | PyObject *resultobj; | |
19755 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19756 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
19757 | wxPrintData *arg3 = (wxPrintData *) NULL ; | |
19758 | wxPrintPreview *result; | |
19759 | PyObject * obj0 = 0 ; | |
19760 | PyObject * obj1 = 0 ; | |
19761 | PyObject * obj2 = 0 ; | |
19762 | char *kwnames[] = { | |
19763 | (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL | |
19764 | }; | |
19765 | ||
19766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
19767 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19768 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19769 | if (obj2) { | |
19770 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19771 | } | |
19772 | { | |
19773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19774 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
19775 | ||
19776 | wxPyEndAllowThreads(__tstate); | |
19777 | if (PyErr_Occurred()) SWIG_fail; | |
19778 | } | |
19779 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1); | |
19780 | return resultobj; | |
19781 | fail: | |
19782 | return NULL; | |
19783 | } | |
19784 | ||
19785 | ||
19786 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19787 | PyObject *resultobj; | |
19788 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19789 | int arg2 ; | |
19790 | bool result; | |
19791 | PyObject * obj0 = 0 ; | |
19792 | char *kwnames[] = { | |
19793 | (char *) "self",(char *) "pageNum", NULL | |
19794 | }; | |
19795 | ||
19796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail; | |
19797 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19798 | { | |
19799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19800 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
19801 | ||
19802 | wxPyEndAllowThreads(__tstate); | |
19803 | if (PyErr_Occurred()) SWIG_fail; | |
19804 | } | |
19805 | resultobj = PyInt_FromLong((long)result); | |
19806 | return resultobj; | |
19807 | fail: | |
19808 | return NULL; | |
19809 | } | |
19810 | ||
19811 | ||
19812 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19813 | PyObject *resultobj; | |
19814 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19815 | int result; | |
19816 | PyObject * obj0 = 0 ; | |
19817 | char *kwnames[] = { | |
19818 | (char *) "self", NULL | |
19819 | }; | |
19820 | ||
19821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
19822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19823 | { | |
19824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19825 | result = (int)(arg1)->GetCurrentPage(); | |
19826 | ||
19827 | wxPyEndAllowThreads(__tstate); | |
19828 | if (PyErr_Occurred()) SWIG_fail; | |
19829 | } | |
19830 | resultobj = PyInt_FromLong((long)result); | |
19831 | return resultobj; | |
19832 | fail: | |
19833 | return NULL; | |
19834 | } | |
19835 | ||
19836 | ||
19837 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19838 | PyObject *resultobj; | |
19839 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19840 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
19841 | PyObject * obj0 = 0 ; | |
19842 | PyObject * obj1 = 0 ; | |
19843 | char *kwnames[] = { | |
19844 | (char *) "self",(char *) "printout", NULL | |
19845 | }; | |
19846 | ||
19847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
19848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19849 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19850 | { | |
19851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19852 | (arg1)->SetPrintout(arg2); | |
19853 | ||
19854 | wxPyEndAllowThreads(__tstate); | |
19855 | if (PyErr_Occurred()) SWIG_fail; | |
19856 | } | |
19857 | Py_INCREF(Py_None); resultobj = Py_None; | |
19858 | return resultobj; | |
19859 | fail: | |
19860 | return NULL; | |
19861 | } | |
19862 | ||
19863 | ||
19864 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19865 | PyObject *resultobj; | |
19866 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19867 | wxPyPrintout *result; | |
19868 | PyObject * obj0 = 0 ; | |
19869 | char *kwnames[] = { | |
19870 | (char *) "self", NULL | |
19871 | }; | |
19872 | ||
19873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
19874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19875 | { | |
19876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19877 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
19878 | ||
19879 | wxPyEndAllowThreads(__tstate); | |
19880 | if (PyErr_Occurred()) SWIG_fail; | |
19881 | } | |
19882 | { | |
19883 | resultobj = wxPyMake_wxObject(result); | |
19884 | } | |
19885 | return resultobj; | |
19886 | fail: | |
19887 | return NULL; | |
19888 | } | |
19889 | ||
19890 | ||
19891 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19892 | PyObject *resultobj; | |
19893 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19894 | wxPyPrintout *result; | |
19895 | PyObject * obj0 = 0 ; | |
19896 | char *kwnames[] = { | |
19897 | (char *) "self", NULL | |
19898 | }; | |
19899 | ||
19900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
19901 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19902 | { | |
19903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19904 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
19905 | ||
19906 | wxPyEndAllowThreads(__tstate); | |
19907 | if (PyErr_Occurred()) SWIG_fail; | |
19908 | } | |
19909 | { | |
19910 | resultobj = wxPyMake_wxObject(result); | |
19911 | } | |
19912 | return resultobj; | |
19913 | fail: | |
19914 | return NULL; | |
19915 | } | |
19916 | ||
19917 | ||
19918 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19919 | PyObject *resultobj; | |
19920 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19921 | wxFrame *arg2 = (wxFrame *) 0 ; | |
19922 | PyObject * obj0 = 0 ; | |
19923 | PyObject * obj1 = 0 ; | |
19924 | char *kwnames[] = { | |
19925 | (char *) "self",(char *) "frame", NULL | |
19926 | }; | |
19927 | ||
19928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
19929 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19930 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19931 | { | |
19932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19933 | (arg1)->SetFrame(arg2); | |
19934 | ||
19935 | wxPyEndAllowThreads(__tstate); | |
19936 | if (PyErr_Occurred()) SWIG_fail; | |
19937 | } | |
19938 | Py_INCREF(Py_None); resultobj = Py_None; | |
19939 | return resultobj; | |
19940 | fail: | |
19941 | return NULL; | |
19942 | } | |
19943 | ||
19944 | ||
19945 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19946 | PyObject *resultobj; | |
19947 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19948 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
19949 | PyObject * obj0 = 0 ; | |
19950 | PyObject * obj1 = 0 ; | |
19951 | char *kwnames[] = { | |
19952 | (char *) "self",(char *) "canvas", NULL | |
19953 | }; | |
19954 | ||
19955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
19956 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19957 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19958 | { | |
19959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19960 | (arg1)->SetCanvas(arg2); | |
19961 | ||
19962 | wxPyEndAllowThreads(__tstate); | |
19963 | if (PyErr_Occurred()) SWIG_fail; | |
19964 | } | |
19965 | Py_INCREF(Py_None); resultobj = Py_None; | |
19966 | return resultobj; | |
19967 | fail: | |
19968 | return NULL; | |
19969 | } | |
19970 | ||
19971 | ||
19972 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19973 | PyObject *resultobj; | |
19974 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
19975 | wxFrame *result; | |
19976 | PyObject * obj0 = 0 ; | |
19977 | char *kwnames[] = { | |
19978 | (char *) "self", NULL | |
19979 | }; | |
19980 | ||
19981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
19982 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
19983 | { | |
19984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19985 | result = (wxFrame *)(arg1)->GetFrame(); | |
19986 | ||
19987 | wxPyEndAllowThreads(__tstate); | |
19988 | if (PyErr_Occurred()) SWIG_fail; | |
19989 | } | |
19990 | { | |
19991 | resultobj = wxPyMake_wxObject(result); | |
19992 | } | |
19993 | return resultobj; | |
19994 | fail: | |
19995 | return NULL; | |
19996 | } | |
19997 | ||
19998 | ||
19999 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20000 | PyObject *resultobj; | |
20001 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20002 | wxPreviewCanvas *result; | |
20003 | PyObject * obj0 = 0 ; | |
20004 | char *kwnames[] = { | |
20005 | (char *) "self", NULL | |
20006 | }; | |
20007 | ||
20008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
20009 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20010 | { | |
20011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20012 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
20013 | ||
20014 | wxPyEndAllowThreads(__tstate); | |
20015 | if (PyErr_Occurred()) SWIG_fail; | |
20016 | } | |
20017 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0); | |
20018 | return resultobj; | |
20019 | fail: | |
20020 | return NULL; | |
20021 | } | |
20022 | ||
20023 | ||
20024 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20025 | PyObject *resultobj; | |
20026 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20027 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
20028 | wxDC *arg3 = 0 ; | |
20029 | bool result; | |
20030 | PyObject * obj0 = 0 ; | |
20031 | PyObject * obj1 = 0 ; | |
20032 | PyObject * obj2 = 0 ; | |
20033 | char *kwnames[] = { | |
20034 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
20035 | }; | |
20036 | ||
20037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20038 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20039 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20040 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20041 | if (arg3 == NULL) { | |
20042 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
20043 | } | |
20044 | { | |
20045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20046 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
20047 | ||
20048 | wxPyEndAllowThreads(__tstate); | |
20049 | if (PyErr_Occurred()) SWIG_fail; | |
20050 | } | |
20051 | resultobj = PyInt_FromLong((long)result); | |
20052 | return resultobj; | |
20053 | fail: | |
20054 | return NULL; | |
20055 | } | |
20056 | ||
20057 | ||
20058 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20059 | PyObject *resultobj; | |
20060 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20061 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
20062 | wxDC *arg3 = 0 ; | |
20063 | bool result; | |
20064 | PyObject * obj0 = 0 ; | |
20065 | PyObject * obj1 = 0 ; | |
20066 | PyObject * obj2 = 0 ; | |
20067 | char *kwnames[] = { | |
20068 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
20069 | }; | |
20070 | ||
20071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20072 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20073 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20074 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20075 | if (arg3 == NULL) { | |
20076 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
20077 | } | |
20078 | { | |
20079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20080 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
20081 | ||
20082 | wxPyEndAllowThreads(__tstate); | |
20083 | if (PyErr_Occurred()) SWIG_fail; | |
20084 | } | |
20085 | resultobj = PyInt_FromLong((long)result); | |
20086 | return resultobj; | |
20087 | fail: | |
20088 | return NULL; | |
20089 | } | |
20090 | ||
20091 | ||
20092 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20093 | PyObject *resultobj; | |
20094 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20095 | int arg2 ; | |
20096 | bool result; | |
20097 | PyObject * obj0 = 0 ; | |
20098 | char *kwnames[] = { | |
20099 | (char *) "self",(char *) "pageNum", NULL | |
20100 | }; | |
20101 | ||
20102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail; | |
20103 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20104 | { | |
20105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20106 | result = (bool)(arg1)->RenderPage(arg2); | |
20107 | ||
20108 | wxPyEndAllowThreads(__tstate); | |
20109 | if (PyErr_Occurred()) SWIG_fail; | |
20110 | } | |
20111 | resultobj = PyInt_FromLong((long)result); | |
20112 | return resultobj; | |
20113 | fail: | |
20114 | return NULL; | |
20115 | } | |
20116 | ||
20117 | ||
20118 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20119 | PyObject *resultobj; | |
20120 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20121 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
20122 | PyObject * obj0 = 0 ; | |
20123 | PyObject * obj1 = 0 ; | |
20124 | char *kwnames[] = { | |
20125 | (char *) "self",(char *) "canvas", NULL | |
20126 | }; | |
20127 | ||
20128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
20129 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20130 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20131 | { | |
20132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20133 | (arg1)->AdjustScrollbars(arg2); | |
20134 | ||
20135 | wxPyEndAllowThreads(__tstate); | |
20136 | if (PyErr_Occurred()) SWIG_fail; | |
20137 | } | |
20138 | Py_INCREF(Py_None); resultobj = Py_None; | |
20139 | return resultobj; | |
20140 | fail: | |
20141 | return NULL; | |
20142 | } | |
20143 | ||
20144 | ||
20145 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20146 | PyObject *resultobj; | |
20147 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20148 | wxPrintDialogData *result; | |
20149 | PyObject * obj0 = 0 ; | |
20150 | char *kwnames[] = { | |
20151 | (char *) "self", NULL | |
20152 | }; | |
20153 | ||
20154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
20155 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20156 | { | |
20157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20158 | { | |
20159 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
20160 | result = (wxPrintDialogData *) &_result_ref; | |
20161 | } | |
20162 | ||
20163 | wxPyEndAllowThreads(__tstate); | |
20164 | if (PyErr_Occurred()) SWIG_fail; | |
20165 | } | |
20166 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0); | |
20167 | return resultobj; | |
20168 | fail: | |
20169 | return NULL; | |
20170 | } | |
20171 | ||
20172 | ||
20173 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20174 | PyObject *resultobj; | |
20175 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20176 | int arg2 ; | |
20177 | PyObject * obj0 = 0 ; | |
20178 | char *kwnames[] = { | |
20179 | (char *) "self",(char *) "percent", NULL | |
20180 | }; | |
20181 | ||
20182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail; | |
20183 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20184 | { | |
20185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20186 | (arg1)->SetZoom(arg2); | |
20187 | ||
20188 | wxPyEndAllowThreads(__tstate); | |
20189 | if (PyErr_Occurred()) SWIG_fail; | |
20190 | } | |
20191 | Py_INCREF(Py_None); resultobj = Py_None; | |
20192 | return resultobj; | |
20193 | fail: | |
20194 | return NULL; | |
20195 | } | |
20196 | ||
20197 | ||
20198 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20199 | PyObject *resultobj; | |
20200 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20201 | int result; | |
20202 | PyObject * obj0 = 0 ; | |
20203 | char *kwnames[] = { | |
20204 | (char *) "self", NULL | |
20205 | }; | |
20206 | ||
20207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
20208 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20209 | { | |
20210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20211 | result = (int)(arg1)->GetZoom(); | |
20212 | ||
20213 | wxPyEndAllowThreads(__tstate); | |
20214 | if (PyErr_Occurred()) SWIG_fail; | |
20215 | } | |
20216 | resultobj = PyInt_FromLong((long)result); | |
20217 | return resultobj; | |
20218 | fail: | |
20219 | return NULL; | |
20220 | } | |
20221 | ||
20222 | ||
20223 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20224 | PyObject *resultobj; | |
20225 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20226 | int result; | |
20227 | PyObject * obj0 = 0 ; | |
20228 | char *kwnames[] = { | |
20229 | (char *) "self", NULL | |
20230 | }; | |
20231 | ||
20232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
20233 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20234 | { | |
20235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20236 | result = (int)(arg1)->GetMaxPage(); | |
20237 | ||
20238 | wxPyEndAllowThreads(__tstate); | |
20239 | if (PyErr_Occurred()) SWIG_fail; | |
20240 | } | |
20241 | resultobj = PyInt_FromLong((long)result); | |
20242 | return resultobj; | |
20243 | fail: | |
20244 | return NULL; | |
20245 | } | |
20246 | ||
20247 | ||
20248 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20249 | PyObject *resultobj; | |
20250 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20251 | int result; | |
20252 | PyObject * obj0 = 0 ; | |
20253 | char *kwnames[] = { | |
20254 | (char *) "self", NULL | |
20255 | }; | |
20256 | ||
20257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
20258 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20259 | { | |
20260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20261 | result = (int)(arg1)->GetMinPage(); | |
20262 | ||
20263 | wxPyEndAllowThreads(__tstate); | |
20264 | if (PyErr_Occurred()) SWIG_fail; | |
20265 | } | |
20266 | resultobj = PyInt_FromLong((long)result); | |
20267 | return resultobj; | |
20268 | fail: | |
20269 | return NULL; | |
20270 | } | |
20271 | ||
20272 | ||
20273 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20274 | PyObject *resultobj; | |
20275 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20276 | bool result; | |
20277 | PyObject * obj0 = 0 ; | |
20278 | char *kwnames[] = { | |
20279 | (char *) "self", NULL | |
20280 | }; | |
20281 | ||
20282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
20283 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20284 | { | |
20285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20286 | result = (bool)(arg1)->Ok(); | |
20287 | ||
20288 | wxPyEndAllowThreads(__tstate); | |
20289 | if (PyErr_Occurred()) SWIG_fail; | |
20290 | } | |
20291 | resultobj = PyInt_FromLong((long)result); | |
20292 | return resultobj; | |
20293 | fail: | |
20294 | return NULL; | |
20295 | } | |
20296 | ||
20297 | ||
20298 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20299 | PyObject *resultobj; | |
20300 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20301 | bool arg2 ; | |
20302 | PyObject * obj0 = 0 ; | |
20303 | PyObject * obj1 = 0 ; | |
20304 | char *kwnames[] = { | |
20305 | (char *) "self",(char *) "ok", NULL | |
20306 | }; | |
20307 | ||
20308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
20309 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20310 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
20311 | if (PyErr_Occurred()) SWIG_fail; | |
20312 | { | |
20313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20314 | (arg1)->SetOk(arg2); | |
20315 | ||
20316 | wxPyEndAllowThreads(__tstate); | |
20317 | if (PyErr_Occurred()) SWIG_fail; | |
20318 | } | |
20319 | Py_INCREF(Py_None); resultobj = Py_None; | |
20320 | return resultobj; | |
20321 | fail: | |
20322 | return NULL; | |
20323 | } | |
20324 | ||
20325 | ||
20326 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20327 | PyObject *resultobj; | |
20328 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20329 | bool arg2 ; | |
20330 | bool result; | |
20331 | PyObject * obj0 = 0 ; | |
20332 | PyObject * obj1 = 0 ; | |
20333 | char *kwnames[] = { | |
20334 | (char *) "self",(char *) "interactive", NULL | |
20335 | }; | |
20336 | ||
20337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
20338 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20339 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
20340 | if (PyErr_Occurred()) SWIG_fail; | |
20341 | { | |
20342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20343 | result = (bool)(arg1)->Print(arg2); | |
20344 | ||
20345 | wxPyEndAllowThreads(__tstate); | |
20346 | if (PyErr_Occurred()) SWIG_fail; | |
20347 | } | |
20348 | resultobj = PyInt_FromLong((long)result); | |
20349 | return resultobj; | |
20350 | fail: | |
20351 | return NULL; | |
20352 | } | |
20353 | ||
20354 | ||
20355 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20356 | PyObject *resultobj; | |
20357 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20358 | PyObject * obj0 = 0 ; | |
20359 | char *kwnames[] = { | |
20360 | (char *) "self", NULL | |
20361 | }; | |
20362 | ||
20363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
20364 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20365 | { | |
20366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20367 | (arg1)->DetermineScaling(); | |
20368 | ||
20369 | wxPyEndAllowThreads(__tstate); | |
20370 | if (PyErr_Occurred()) SWIG_fail; | |
20371 | } | |
20372 | Py_INCREF(Py_None); resultobj = Py_None; | |
20373 | return resultobj; | |
20374 | fail: | |
20375 | return NULL; | |
20376 | } | |
20377 | ||
20378 | ||
20379 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
20380 | PyObject *obj; | |
20381 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20382 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
20383 | Py_INCREF(obj); | |
20384 | return Py_BuildValue((char *)""); | |
20385 | } | |
20386 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20387 | PyObject *resultobj; | |
20388 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20389 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
20390 | wxPrintData *arg3 = (wxPrintData *) NULL ; | |
20391 | wxPyPrintPreview *result; | |
20392 | PyObject * obj0 = 0 ; | |
20393 | PyObject * obj1 = 0 ; | |
20394 | PyObject * obj2 = 0 ; | |
20395 | char *kwnames[] = { | |
20396 | (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL | |
20397 | }; | |
20398 | ||
20399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20400 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20401 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20402 | if (obj2) { | |
20403 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20404 | } | |
20405 | { | |
20406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20407 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
20408 | ||
20409 | wxPyEndAllowThreads(__tstate); | |
20410 | if (PyErr_Occurred()) SWIG_fail; | |
20411 | } | |
20412 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1); | |
20413 | return resultobj; | |
20414 | fail: | |
20415 | return NULL; | |
20416 | } | |
20417 | ||
20418 | ||
20419 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20420 | PyObject *resultobj; | |
20421 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
20422 | PyObject *arg2 = (PyObject *) 0 ; | |
20423 | PyObject *arg3 = (PyObject *) 0 ; | |
20424 | PyObject * obj0 = 0 ; | |
20425 | PyObject * obj1 = 0 ; | |
20426 | PyObject * obj2 = 0 ; | |
20427 | char *kwnames[] = { | |
20428 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20429 | }; | |
20430 | ||
20431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20432 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20433 | arg2 = obj1; | |
20434 | arg3 = obj2; | |
20435 | { | |
20436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20437 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20438 | ||
20439 | wxPyEndAllowThreads(__tstate); | |
20440 | if (PyErr_Occurred()) SWIG_fail; | |
20441 | } | |
20442 | Py_INCREF(Py_None); resultobj = Py_None; | |
20443 | return resultobj; | |
20444 | fail: | |
20445 | return NULL; | |
20446 | } | |
20447 | ||
20448 | ||
20449 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20450 | PyObject *resultobj; | |
20451 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
20452 | int arg2 ; | |
20453 | bool result; | |
20454 | PyObject * obj0 = 0 ; | |
20455 | char *kwnames[] = { | |
20456 | (char *) "self",(char *) "pageNum", NULL | |
20457 | }; | |
20458 | ||
20459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail; | |
20460 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20461 | { | |
20462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20463 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
20464 | ||
20465 | wxPyEndAllowThreads(__tstate); | |
20466 | if (PyErr_Occurred()) SWIG_fail; | |
20467 | } | |
20468 | resultobj = PyInt_FromLong((long)result); | |
20469 | return resultobj; | |
20470 | fail: | |
20471 | return NULL; | |
20472 | } | |
20473 | ||
20474 | ||
20475 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20476 | PyObject *resultobj; | |
20477 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
20478 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
20479 | wxDC *arg3 = 0 ; | |
20480 | bool result; | |
20481 | PyObject * obj0 = 0 ; | |
20482 | PyObject * obj1 = 0 ; | |
20483 | PyObject * obj2 = 0 ; | |
20484 | char *kwnames[] = { | |
20485 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
20486 | }; | |
20487 | ||
20488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20489 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20490 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20491 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20492 | if (arg3 == NULL) { | |
20493 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
20494 | } | |
20495 | { | |
20496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20497 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
20498 | ||
20499 | wxPyEndAllowThreads(__tstate); | |
20500 | if (PyErr_Occurred()) SWIG_fail; | |
20501 | } | |
20502 | resultobj = PyInt_FromLong((long)result); | |
20503 | return resultobj; | |
20504 | fail: | |
20505 | return NULL; | |
20506 | } | |
20507 | ||
20508 | ||
20509 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20510 | PyObject *resultobj; | |
20511 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
20512 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
20513 | wxDC *arg3 = 0 ; | |
20514 | bool result; | |
20515 | PyObject * obj0 = 0 ; | |
20516 | PyObject * obj1 = 0 ; | |
20517 | PyObject * obj2 = 0 ; | |
20518 | char *kwnames[] = { | |
20519 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
20520 | }; | |
20521 | ||
20522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20524 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20525 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20526 | if (arg3 == NULL) { | |
20527 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
20528 | } | |
20529 | { | |
20530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20531 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
20532 | ||
20533 | wxPyEndAllowThreads(__tstate); | |
20534 | if (PyErr_Occurred()) SWIG_fail; | |
20535 | } | |
20536 | resultobj = PyInt_FromLong((long)result); | |
20537 | return resultobj; | |
20538 | fail: | |
20539 | return NULL; | |
20540 | } | |
20541 | ||
20542 | ||
20543 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20544 | PyObject *resultobj; | |
20545 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
20546 | int arg2 ; | |
20547 | bool result; | |
20548 | PyObject * obj0 = 0 ; | |
20549 | char *kwnames[] = { | |
20550 | (char *) "self",(char *) "pageNum", NULL | |
20551 | }; | |
20552 | ||
20553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail; | |
20554 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20555 | { | |
20556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20557 | result = (bool)(arg1)->base_RenderPage(arg2); | |
20558 | ||
20559 | wxPyEndAllowThreads(__tstate); | |
20560 | if (PyErr_Occurred()) SWIG_fail; | |
20561 | } | |
20562 | resultobj = PyInt_FromLong((long)result); | |
20563 | return resultobj; | |
20564 | fail: | |
20565 | return NULL; | |
20566 | } | |
20567 | ||
20568 | ||
20569 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20570 | PyObject *resultobj; | |
20571 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
20572 | int arg2 ; | |
20573 | PyObject * obj0 = 0 ; | |
20574 | char *kwnames[] = { | |
20575 | (char *) "self",(char *) "percent", NULL | |
20576 | }; | |
20577 | ||
20578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail; | |
20579 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20580 | { | |
20581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20582 | (arg1)->base_SetZoom(arg2); | |
20583 | ||
20584 | wxPyEndAllowThreads(__tstate); | |
20585 | if (PyErr_Occurred()) SWIG_fail; | |
20586 | } | |
20587 | Py_INCREF(Py_None); resultobj = Py_None; | |
20588 | return resultobj; | |
20589 | fail: | |
20590 | return NULL; | |
20591 | } | |
20592 | ||
20593 | ||
20594 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20595 | PyObject *resultobj; | |
20596 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
20597 | bool arg2 ; | |
20598 | bool result; | |
20599 | PyObject * obj0 = 0 ; | |
20600 | PyObject * obj1 = 0 ; | |
20601 | char *kwnames[] = { | |
20602 | (char *) "self",(char *) "interactive", NULL | |
20603 | }; | |
20604 | ||
20605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
20606 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20607 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
20608 | if (PyErr_Occurred()) SWIG_fail; | |
20609 | { | |
20610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20611 | result = (bool)(arg1)->base_Print(arg2); | |
20612 | ||
20613 | wxPyEndAllowThreads(__tstate); | |
20614 | if (PyErr_Occurred()) SWIG_fail; | |
20615 | } | |
20616 | resultobj = PyInt_FromLong((long)result); | |
20617 | return resultobj; | |
20618 | fail: | |
20619 | return NULL; | |
20620 | } | |
20621 | ||
20622 | ||
20623 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20624 | PyObject *resultobj; | |
20625 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
20626 | PyObject * obj0 = 0 ; | |
20627 | char *kwnames[] = { | |
20628 | (char *) "self", NULL | |
20629 | }; | |
20630 | ||
20631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
20632 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20633 | { | |
20634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20635 | (arg1)->base_DetermineScaling(); | |
20636 | ||
20637 | wxPyEndAllowThreads(__tstate); | |
20638 | if (PyErr_Occurred()) SWIG_fail; | |
20639 | } | |
20640 | Py_INCREF(Py_None); resultobj = Py_None; | |
20641 | return resultobj; | |
20642 | fail: | |
20643 | return NULL; | |
20644 | } | |
20645 | ||
20646 | ||
20647 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
20648 | PyObject *obj; | |
20649 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20650 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
20651 | Py_INCREF(obj); | |
20652 | return Py_BuildValue((char *)""); | |
20653 | } | |
20654 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20655 | PyObject *resultobj; | |
20656 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20657 | wxFrame *arg2 = (wxFrame *) 0 ; | |
20658 | wxString *arg3 = 0 ; | |
20659 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20660 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20661 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20662 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20663 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
20664 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
20665 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20666 | wxPyPreviewFrame *result; | |
423f194a | 20667 | bool temp3 = False ; |
d14a1e28 RD |
20668 | wxPoint temp4 ; |
20669 | wxSize temp5 ; | |
423f194a | 20670 | bool temp7 = False ; |
d14a1e28 RD |
20671 | PyObject * obj0 = 0 ; |
20672 | PyObject * obj1 = 0 ; | |
20673 | PyObject * obj2 = 0 ; | |
20674 | PyObject * obj3 = 0 ; | |
20675 | PyObject * obj4 = 0 ; | |
20676 | PyObject * obj6 = 0 ; | |
20677 | char *kwnames[] = { | |
20678 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20679 | }; | |
20680 | ||
20681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
20682 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20683 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20684 | { | |
20685 | arg3 = wxString_in_helper(obj2); | |
20686 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 20687 | temp3 = True; |
d14a1e28 RD |
20688 | } |
20689 | if (obj3) { | |
20690 | { | |
20691 | arg4 = &temp4; | |
20692 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20693 | } | |
20694 | } | |
20695 | if (obj4) { | |
20696 | { | |
20697 | arg5 = &temp5; | |
20698 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20699 | } | |
20700 | } | |
20701 | if (obj6) { | |
20702 | { | |
20703 | arg7 = wxString_in_helper(obj6); | |
20704 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 20705 | temp7 = True; |
d14a1e28 RD |
20706 | } |
20707 | } | |
20708 | { | |
20709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20710 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20711 | ||
20712 | wxPyEndAllowThreads(__tstate); | |
20713 | if (PyErr_Occurred()) SWIG_fail; | |
20714 | } | |
20715 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1); | |
20716 | { | |
20717 | if (temp3) | |
20718 | delete arg3; | |
20719 | } | |
20720 | { | |
20721 | if (temp7) | |
20722 | delete arg7; | |
20723 | } | |
20724 | return resultobj; | |
20725 | fail: | |
20726 | { | |
20727 | if (temp3) | |
20728 | delete arg3; | |
20729 | } | |
20730 | { | |
20731 | if (temp7) | |
20732 | delete arg7; | |
20733 | } | |
20734 | return NULL; | |
20735 | } | |
20736 | ||
20737 | ||
20738 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20739 | PyObject *resultobj; | |
20740 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20741 | PyObject *arg2 = (PyObject *) 0 ; | |
20742 | PyObject *arg3 = (PyObject *) 0 ; | |
20743 | PyObject * obj0 = 0 ; | |
20744 | PyObject * obj1 = 0 ; | |
20745 | PyObject * obj2 = 0 ; | |
20746 | char *kwnames[] = { | |
20747 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20748 | }; | |
20749 | ||
20750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20751 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20752 | arg2 = obj1; | |
20753 | arg3 = obj2; | |
20754 | { | |
20755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20756 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20757 | ||
20758 | wxPyEndAllowThreads(__tstate); | |
20759 | if (PyErr_Occurred()) SWIG_fail; | |
20760 | } | |
20761 | Py_INCREF(Py_None); resultobj = Py_None; | |
20762 | return resultobj; | |
20763 | fail: | |
20764 | return NULL; | |
20765 | } | |
20766 | ||
20767 | ||
20768 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20769 | PyObject *resultobj; | |
20770 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20771 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
20772 | PyObject * obj0 = 0 ; | |
20773 | PyObject * obj1 = 0 ; | |
20774 | char *kwnames[] = { | |
20775 | (char *) "self",(char *) "canvas", NULL | |
20776 | }; | |
20777 | ||
20778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
20779 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20780 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20781 | { | |
20782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20783 | (arg1)->SetPreviewCanvas(arg2); | |
20784 | ||
20785 | wxPyEndAllowThreads(__tstate); | |
20786 | if (PyErr_Occurred()) SWIG_fail; | |
20787 | } | |
20788 | Py_INCREF(Py_None); resultobj = Py_None; | |
20789 | return resultobj; | |
20790 | fail: | |
20791 | return NULL; | |
20792 | } | |
20793 | ||
20794 | ||
20795 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20796 | PyObject *resultobj; | |
20797 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20798 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
20799 | PyObject * obj0 = 0 ; | |
20800 | PyObject * obj1 = 0 ; | |
20801 | char *kwnames[] = { | |
20802 | (char *) "self",(char *) "bar", NULL | |
20803 | }; | |
20804 | ||
20805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
20806 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20807 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20808 | { | |
20809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20810 | (arg1)->SetControlBar(arg2); | |
20811 | ||
20812 | wxPyEndAllowThreads(__tstate); | |
20813 | if (PyErr_Occurred()) SWIG_fail; | |
20814 | } | |
20815 | Py_INCREF(Py_None); resultobj = Py_None; | |
20816 | return resultobj; | |
20817 | fail: | |
20818 | return NULL; | |
20819 | } | |
20820 | ||
20821 | ||
20822 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20823 | PyObject *resultobj; | |
20824 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20825 | PyObject * obj0 = 0 ; | |
20826 | char *kwnames[] = { | |
20827 | (char *) "self", NULL | |
20828 | }; | |
20829 | ||
20830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
20831 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20832 | { | |
20833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20834 | (arg1)->base_Initialize(); | |
20835 | ||
20836 | wxPyEndAllowThreads(__tstate); | |
20837 | if (PyErr_Occurred()) SWIG_fail; | |
20838 | } | |
20839 | Py_INCREF(Py_None); resultobj = Py_None; | |
20840 | return resultobj; | |
20841 | fail: | |
20842 | return NULL; | |
20843 | } | |
20844 | ||
20845 | ||
20846 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20847 | PyObject *resultobj; | |
20848 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20849 | PyObject * obj0 = 0 ; | |
20850 | char *kwnames[] = { | |
20851 | (char *) "self", NULL | |
20852 | }; | |
20853 | ||
20854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
20855 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20856 | { | |
20857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20858 | (arg1)->base_CreateCanvas(); | |
20859 | ||
20860 | wxPyEndAllowThreads(__tstate); | |
20861 | if (PyErr_Occurred()) SWIG_fail; | |
20862 | } | |
20863 | Py_INCREF(Py_None); resultobj = Py_None; | |
20864 | return resultobj; | |
20865 | fail: | |
20866 | return NULL; | |
20867 | } | |
20868 | ||
20869 | ||
20870 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20871 | PyObject *resultobj; | |
20872 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
20873 | PyObject * obj0 = 0 ; | |
20874 | char *kwnames[] = { | |
20875 | (char *) "self", NULL | |
20876 | }; | |
20877 | ||
20878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
20879 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20880 | { | |
20881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20882 | (arg1)->base_CreateControlBar(); | |
20883 | ||
20884 | wxPyEndAllowThreads(__tstate); | |
20885 | if (PyErr_Occurred()) SWIG_fail; | |
20886 | } | |
20887 | Py_INCREF(Py_None); resultobj = Py_None; | |
20888 | return resultobj; | |
20889 | fail: | |
20890 | return NULL; | |
20891 | } | |
20892 | ||
20893 | ||
20894 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
20895 | PyObject *obj; | |
20896 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20897 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
20898 | Py_INCREF(obj); | |
20899 | return Py_BuildValue((char *)""); | |
20900 | } | |
20901 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20902 | PyObject *resultobj; | |
20903 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20904 | long arg2 ; | |
20905 | wxWindow *arg3 = (wxWindow *) 0 ; | |
20906 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20907 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20908 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20909 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20910 | long arg6 = (long) 0 ; | |
20911 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
20912 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20913 | wxPyPreviewControlBar *result; | |
20914 | wxPoint temp4 ; | |
20915 | wxSize temp5 ; | |
423f194a | 20916 | bool temp7 = False ; |
d14a1e28 RD |
20917 | PyObject * obj0 = 0 ; |
20918 | PyObject * obj2 = 0 ; | |
20919 | PyObject * obj3 = 0 ; | |
20920 | PyObject * obj4 = 0 ; | |
20921 | PyObject * obj6 = 0 ; | |
20922 | char *kwnames[] = { | |
20923 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20924 | }; | |
20925 | ||
20926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
20927 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20928 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20929 | if (obj3) { | |
20930 | { | |
20931 | arg4 = &temp4; | |
20932 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20933 | } | |
20934 | } | |
20935 | if (obj4) { | |
20936 | { | |
20937 | arg5 = &temp5; | |
20938 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20939 | } | |
20940 | } | |
20941 | if (obj6) { | |
20942 | { | |
20943 | arg7 = wxString_in_helper(obj6); | |
20944 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 20945 | temp7 = True; |
d14a1e28 RD |
20946 | } |
20947 | } | |
20948 | { | |
20949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20950 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20951 | ||
20952 | wxPyEndAllowThreads(__tstate); | |
20953 | if (PyErr_Occurred()) SWIG_fail; | |
20954 | } | |
20955 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1); | |
20956 | { | |
20957 | if (temp7) | |
20958 | delete arg7; | |
20959 | } | |
20960 | return resultobj; | |
20961 | fail: | |
20962 | { | |
20963 | if (temp7) | |
20964 | delete arg7; | |
20965 | } | |
20966 | return NULL; | |
20967 | } | |
20968 | ||
20969 | ||
20970 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20971 | PyObject *resultobj; | |
20972 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
20973 | PyObject *arg2 = (PyObject *) 0 ; | |
20974 | PyObject *arg3 = (PyObject *) 0 ; | |
20975 | PyObject * obj0 = 0 ; | |
20976 | PyObject * obj1 = 0 ; | |
20977 | PyObject * obj2 = 0 ; | |
20978 | char *kwnames[] = { | |
20979 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20980 | }; | |
20981 | ||
20982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
20983 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
20984 | arg2 = obj1; | |
20985 | arg3 = obj2; | |
20986 | { | |
20987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20988 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20989 | ||
20990 | wxPyEndAllowThreads(__tstate); | |
20991 | if (PyErr_Occurred()) SWIG_fail; | |
20992 | } | |
20993 | Py_INCREF(Py_None); resultobj = Py_None; | |
20994 | return resultobj; | |
20995 | fail: | |
20996 | return NULL; | |
20997 | } | |
20998 | ||
20999 | ||
21000 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21001 | PyObject *resultobj; | |
21002 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
21003 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
21004 | PyObject * obj0 = 0 ; | |
21005 | PyObject * obj1 = 0 ; | |
21006 | char *kwnames[] = { | |
21007 | (char *) "self",(char *) "preview", NULL | |
21008 | }; | |
21009 | ||
21010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
21011 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21012 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21013 | { | |
21014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21015 | (arg1)->SetPrintPreview(arg2); | |
21016 | ||
21017 | wxPyEndAllowThreads(__tstate); | |
21018 | if (PyErr_Occurred()) SWIG_fail; | |
21019 | } | |
21020 | Py_INCREF(Py_None); resultobj = Py_None; | |
21021 | return resultobj; | |
21022 | fail: | |
21023 | return NULL; | |
21024 | } | |
21025 | ||
21026 | ||
21027 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21028 | PyObject *resultobj; | |
21029 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
21030 | PyObject * obj0 = 0 ; | |
21031 | char *kwnames[] = { | |
21032 | (char *) "self", NULL | |
21033 | }; | |
21034 | ||
21035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
21036 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21037 | { | |
21038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21039 | (arg1)->base_CreateButtons(); | |
21040 | ||
21041 | wxPyEndAllowThreads(__tstate); | |
21042 | if (PyErr_Occurred()) SWIG_fail; | |
21043 | } | |
21044 | Py_INCREF(Py_None); resultobj = Py_None; | |
21045 | return resultobj; | |
21046 | fail: | |
21047 | return NULL; | |
21048 | } | |
21049 | ||
21050 | ||
21051 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21052 | PyObject *resultobj; | |
21053 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
21054 | int arg2 ; | |
21055 | PyObject * obj0 = 0 ; | |
21056 | char *kwnames[] = { | |
21057 | (char *) "self",(char *) "zoom", NULL | |
21058 | }; | |
21059 | ||
21060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail; | |
21061 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
21062 | { | |
21063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21064 | (arg1)->base_SetZoomControl(arg2); | |
21065 | ||
21066 | wxPyEndAllowThreads(__tstate); | |
21067 | if (PyErr_Occurred()) SWIG_fail; | |
21068 | } | |
21069 | Py_INCREF(Py_None); resultobj = Py_None; | |
21070 | return resultobj; | |
21071 | fail: | |
21072 | return NULL; | |
21073 | } | |
21074 | ||
21075 | ||
21076 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
21077 | PyObject *obj; | |
21078 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21079 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
21080 | Py_INCREF(obj); | |
21081 | return Py_BuildValue((char *)""); | |
21082 | } | |
21083 | static PyMethodDef SwigMethods[] = { | |
21084 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
21085 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
21086 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
21087 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
21088 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
21089 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
21090 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
21091 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
21092 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
21093 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
21094 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
21095 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
21096 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
21097 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
21098 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
21099 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
21100 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
21101 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
21102 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
21103 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
21104 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
21105 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
21106 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
21107 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
21108 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
21109 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
21110 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
21111 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
21112 | { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, | |
21113 | { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS }, | |
21114 | { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS }, | |
21115 | { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS }, | |
21116 | { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS }, | |
21117 | { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21118 | { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS }, | |
21119 | { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS }, | |
21120 | { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS }, | |
21121 | { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, | |
21122 | { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS }, | |
21123 | { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS }, | |
21124 | { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS }, | |
21125 | { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS }, | |
21126 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
21127 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
21128 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
21129 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
21130 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
21131 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
21132 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
21133 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
21134 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
21135 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
21136 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
21137 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
21138 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
21139 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
21140 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
21141 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
21142 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
21143 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
21144 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
21145 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
21146 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
21147 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
21148 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
21149 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
21150 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
21151 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
21152 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
21153 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
21154 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
21155 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
21156 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
21157 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
21158 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
21159 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
21160 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
21161 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
21162 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
21163 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
21164 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
21165 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
21166 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
21167 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
21168 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
21169 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
21170 | { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS }, | |
21171 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, | |
21172 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21173 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
21174 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
21175 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
21176 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
21177 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
21178 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
21179 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
21180 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
21181 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
21182 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
21183 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
21184 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
21185 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
21186 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
21187 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
21188 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
21189 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
21190 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
21191 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
21192 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
21193 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
21194 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
21195 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
21196 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
21197 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
21198 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
21199 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
21200 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
21201 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
21202 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
21203 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
21204 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
21205 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
21206 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
21207 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
21208 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
21209 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
21210 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
21211 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
21212 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
21213 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
21214 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
21215 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
21216 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
21217 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
21218 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
21219 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
21220 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
21221 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
21222 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
21223 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
21224 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
21225 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
21226 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
21227 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
21228 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
21229 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
21230 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
21231 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
21232 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
21233 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
21234 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
21235 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
21236 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
21237 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
21238 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
21239 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
21240 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
21241 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
21242 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
21243 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
21244 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
21245 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
21246 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
21247 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
21248 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
21249 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
21250 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
21251 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
21252 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
21253 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
21254 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
21255 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
21256 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
21257 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
21258 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
21259 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
21260 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
21261 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
21262 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
21263 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
21264 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
21265 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
21266 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
21267 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
21268 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
21269 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
21270 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
21271 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21272 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21273 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
21274 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
21275 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
21276 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
21277 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
21278 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
21279 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
21280 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
21281 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21282 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21283 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
21284 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
21285 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
21286 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
21287 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
21288 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
21289 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
21290 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
21291 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
21292 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
21293 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
21294 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
21295 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
21296 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
21297 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
21298 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
21299 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
21300 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
21301 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
21302 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
21303 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
21304 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
21305 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
21306 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
21307 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
21308 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21309 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
21310 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
21311 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
21312 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
21313 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
21314 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
21315 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
21316 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
21317 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
21318 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21319 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
21320 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
21321 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
21322 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
21323 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
21324 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
21325 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
21326 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
21327 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
21328 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
21329 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
21330 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
21331 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
21332 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
21333 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
21334 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
21335 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
21336 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21337 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
21338 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
21339 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
21340 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
21341 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
21342 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
21343 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
21344 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
21345 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
21346 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
21347 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
21348 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
21349 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
21350 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
21351 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
21352 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
21353 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
21354 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
21355 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
21356 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
21357 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
21358 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
21359 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
21360 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
21361 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
21362 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21363 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
21364 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
21365 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
21366 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
21367 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
21368 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
21369 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
21370 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
21371 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
21372 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
21373 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
21374 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
21375 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
21376 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
21377 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
21378 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
21379 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
21380 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
21381 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
21382 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
21383 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
21384 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
21385 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
21386 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
21387 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
21388 | { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21389 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, | |
21390 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
21391 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
21392 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
21393 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
21394 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
21395 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
21396 | { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21397 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, | |
21398 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
21399 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
21400 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
21401 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
21402 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
21403 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
21404 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
21405 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
21406 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
21407 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
21408 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
21409 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
21410 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
21411 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
21412 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
21413 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
21414 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
21415 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
21416 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
21417 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
21418 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
21419 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
21420 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
21421 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
21422 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
21423 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
21424 | { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21425 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, | |
21426 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
21427 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
21428 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
21429 | { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21430 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, | |
21431 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
21432 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
21433 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
21434 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
21435 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
21436 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
21437 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
21438 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
21439 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
21440 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
21441 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
21442 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
21443 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
21444 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
21445 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
21446 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
21447 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, | |
21448 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, | |
21449 | { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21450 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, | |
21451 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
21452 | { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21453 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, | |
21454 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
21455 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
21456 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
21457 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
21458 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
21459 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21460 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
21461 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
21462 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
21463 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21464 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
21465 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
21466 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
21467 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
21468 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
21469 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
21470 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
21471 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21472 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
21473 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
21474 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
21475 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
21476 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
21477 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
21478 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
21479 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
21480 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
21481 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
21482 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
21483 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
21484 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
21485 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
21486 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
21487 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
21488 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
21489 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
21490 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
21491 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
21492 | { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
21493 | { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
21494 | { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
21495 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
21496 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
21497 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
21498 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
21499 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
21500 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
21501 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
21502 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
21503 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
21504 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
21505 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
21506 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
21507 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
21508 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
21509 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21510 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
21511 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
21512 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
21513 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
21514 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
21515 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
21516 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
21517 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
21518 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
21519 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
21520 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
21521 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
21522 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
21523 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
21524 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
21525 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
21526 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
21527 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
21528 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, | |
21529 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
21530 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21531 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
21532 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
21533 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
21534 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
21535 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
21536 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
21537 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
21538 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
21539 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
21540 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
21541 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
21542 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
21543 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
21544 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
21545 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
21546 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
21547 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
21548 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
21549 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, | |
21550 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
21551 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
21552 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
21553 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
21554 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
21555 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
21556 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
21557 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
21558 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
21559 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
21560 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
21561 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
21562 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
21563 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
21564 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
21565 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
21566 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
21567 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
21568 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
21569 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
21570 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
21571 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
21572 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
21573 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
21574 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
21575 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
21576 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
21577 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
21578 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
21579 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
21580 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
21581 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
21582 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
21583 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
21584 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
21585 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
21586 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
21587 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
21588 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
21589 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
21590 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
21591 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
21592 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
21593 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, | |
21594 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
21595 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
21596 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
21597 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
21598 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
21599 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
21600 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
21601 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
21602 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
21603 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
21604 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
21605 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
21606 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
21607 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
21608 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
21609 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
21610 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
21611 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
21612 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
21613 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
21614 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
21615 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
21616 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
21617 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
21618 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
21619 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
21620 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
21621 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
21622 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
21623 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
21624 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
21625 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
21626 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
21627 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
21628 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21629 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
21630 | { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
21631 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
21632 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
21633 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
21634 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
21635 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
21636 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
21637 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
21638 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
21639 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
21640 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
21641 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
21642 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
21643 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
21644 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
21645 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
21646 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
21647 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
21648 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
21649 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
21650 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
21651 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
21652 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
21653 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
21654 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
21655 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
21656 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
21657 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
21658 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
21659 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
21660 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
21661 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
21662 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
21663 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
21664 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
21665 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
21666 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
21667 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
21668 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
21669 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
21670 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
21671 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
21672 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
21673 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
21674 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
21675 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
21676 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
21677 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
21678 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
21679 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
21680 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
21681 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21682 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
21683 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
21684 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 21685 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
44127b65 | 21686 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
21687 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
21688 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
21689 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
21690 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
21691 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
21692 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
21693 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
21694 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
21695 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
21696 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
21697 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
21698 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
21699 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 21700 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
44127b65 | 21701 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
21702 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
21703 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
21704 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
21705 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
21706 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
21707 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
21708 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
21709 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
21710 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
21711 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
21712 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
21713 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
21714 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
21715 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
21716 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
21717 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
21718 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
21719 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
21720 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
21721 | { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
21722 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
21723 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
21724 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
21725 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
21726 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
21727 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
21728 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
21729 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
21730 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
21731 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
21732 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
21733 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
21734 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
21735 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
21736 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
21737 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
21738 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
21739 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
21740 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
21741 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
21742 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
21743 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
21744 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
21745 | { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
21746 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21747 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
21748 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
21749 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
21750 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
21751 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
21752 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
21753 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
21754 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
21755 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
21756 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21757 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
21758 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
21759 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
21760 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
21761 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
21762 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
21763 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
21764 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
21765 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
21766 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
21767 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
21768 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
21769 | { NULL, NULL } | |
21770 | }; | |
21771 | ||
21772 | ||
21773 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
21774 | ||
21775 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
21776 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
21777 | } | |
21778 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
21779 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
21780 | } | |
21781 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
21782 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
21783 | } | |
21784 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
21785 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
21786 | } | |
21787 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
21788 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
21789 | } | |
21790 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
21791 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
21792 | } | |
21793 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
21794 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
21795 | } | |
21796 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
21797 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
21798 | } | |
21799 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
21800 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
21801 | } | |
21802 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
21803 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
21804 | } | |
21805 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
21806 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
21807 | } | |
21808 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
21809 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
21810 | } | |
21811 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
21812 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
21813 | } | |
21814 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
21815 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
21816 | } | |
21817 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
21818 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
21819 | } | |
21820 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
21821 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
21822 | } | |
21823 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
21824 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
21825 | } | |
21826 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
21827 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
21828 | } | |
21829 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
21830 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
21831 | } | |
21832 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
21833 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
21834 | } | |
21835 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
21836 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
21837 | } | |
21838 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
21839 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
21840 | } | |
21841 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
21842 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
21843 | } | |
21844 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
21845 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
21846 | } | |
21847 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
21848 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
21849 | } | |
21850 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
21851 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
21852 | } | |
21853 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
21854 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
21855 | } | |
21856 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
21857 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
21858 | } | |
21859 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
21860 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
21861 | } | |
21862 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
21863 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
21864 | } | |
21865 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
21866 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
21867 | } | |
21868 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
21869 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
21870 | } | |
21871 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
21872 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
21873 | } | |
21874 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
21875 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
21876 | } | |
21877 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
21878 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
21879 | } | |
21880 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
21881 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
21882 | } | |
21883 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
21884 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
21885 | } | |
21886 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
21887 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
21888 | } | |
21889 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
21890 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
21891 | } | |
21892 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
21893 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
21894 | } | |
21895 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
21896 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
21897 | } | |
21898 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
21899 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
21900 | } | |
21901 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
21902 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
21903 | } | |
21904 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
21905 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
21906 | } | |
21907 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
21908 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
21909 | } | |
21910 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
21911 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
21912 | } | |
21913 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
21914 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
21915 | } | |
21916 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
21917 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
21918 | } | |
21919 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
21920 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
21921 | } | |
21922 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
21923 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
21924 | } | |
21925 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
21926 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
21927 | } | |
21928 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
21929 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
21930 | } | |
21931 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
21932 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
21933 | } | |
21934 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
21935 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
21936 | } | |
21937 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
21938 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
21939 | } | |
21940 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
21941 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
21942 | } | |
21943 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
21944 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
21945 | } | |
21946 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
21947 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
21948 | } | |
21949 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
21950 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
21951 | } | |
21952 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
21953 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
21954 | } | |
21955 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
21956 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
21957 | } | |
21958 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
21959 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
21960 | } | |
21961 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
21962 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
21963 | } | |
21964 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
21965 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
21966 | } | |
21967 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
21968 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
21969 | } | |
21970 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
21971 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
21972 | } | |
21973 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
21974 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
21975 | } | |
21976 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
21977 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
21978 | } | |
21979 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
21980 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
21981 | } | |
21982 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
21983 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
21984 | } | |
21985 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
21986 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
21987 | } | |
21988 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
21989 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
21990 | } | |
21991 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
21992 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
21993 | } | |
21994 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
21995 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
21996 | } | |
21997 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
21998 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
21999 | } | |
22000 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
22001 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
22002 | } | |
22003 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
22004 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
22005 | } | |
22006 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
22007 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
22008 | } | |
22009 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
22010 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
22011 | } | |
22012 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
22013 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
22014 | } | |
22015 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
22016 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
22017 | } | |
22018 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
22019 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
22020 | } | |
22021 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
22022 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
22023 | } | |
22024 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
22025 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
22026 | } | |
22027 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
22028 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
22029 | } | |
22030 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
22031 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
22032 | } | |
22033 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
22034 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
22035 | } | |
22036 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
22037 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
22038 | } | |
22039 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
22040 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
22041 | } | |
22042 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
22043 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
22044 | } | |
22045 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
22046 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
22047 | } | |
22048 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
22049 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
22050 | } | |
22051 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
22052 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
22053 | } | |
22054 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
22055 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
22056 | } | |
22057 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
22058 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
22059 | } | |
22060 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
22061 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
22062 | } | |
22063 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
22064 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
22065 | } | |
22066 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
22067 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
22068 | } | |
22069 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
22070 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
22071 | } | |
22072 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
22073 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
22074 | } | |
22075 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
22076 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
22077 | } | |
22078 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
22079 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
22080 | } | |
22081 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
22082 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
22083 | } | |
22084 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
22085 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
22086 | } | |
22087 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
22088 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
22089 | } | |
22090 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
22091 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
22092 | } | |
22093 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
22094 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
22095 | } | |
22096 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
22097 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
22098 | } | |
22099 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
22100 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
22101 | } | |
22102 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
22103 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
22104 | } | |
22105 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
22106 | return (void *)((wxObject *) ((wxSizer *) x)); | |
22107 | } | |
22108 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
22109 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
22110 | } | |
22111 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
22112 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
22113 | } | |
22114 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
22115 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
22116 | } | |
22117 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
22118 | return (void *)((wxObject *) ((wxEvent *) x)); | |
22119 | } | |
22120 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
22121 | return (void *)((wxObject *) ((wxFontData *) x)); | |
22122 | } | |
22123 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
22124 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
22125 | } | |
22126 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
22127 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
22128 | } | |
22129 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
22130 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
22131 | } | |
22132 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
22133 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
22134 | } | |
22135 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
22136 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
22137 | } | |
22138 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
22139 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
22140 | } | |
22141 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
22142 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
22143 | } | |
22144 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
22145 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
22146 | } | |
22147 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
22148 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
22149 | } | |
22150 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
22151 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
22152 | } | |
22153 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
22154 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
22155 | } | |
22156 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
22157 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
22158 | } | |
22159 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
22160 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
22161 | } | |
22162 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
22163 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
22164 | } | |
22165 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
22166 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
22167 | } | |
22168 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
22169 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
22170 | } | |
22171 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
22172 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
22173 | } | |
22174 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
22175 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
22176 | } | |
22177 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
22178 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
22179 | } | |
22180 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
22181 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
22182 | } | |
22183 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
22184 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
22185 | } | |
22186 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
22187 | return (void *)((wxObject *) ((wxColourData *) x)); | |
22188 | } | |
22189 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
22190 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
22191 | } | |
22192 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
22193 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
22194 | } | |
22195 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
22196 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
22197 | } | |
22198 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
22199 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
22200 | } | |
22201 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
22202 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
22203 | } | |
22204 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
22205 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
22206 | } | |
22207 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
22208 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
22209 | } | |
22210 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
22211 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
22212 | } | |
22213 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
22214 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
22215 | } | |
22216 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
22217 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
22218 | } | |
22219 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
22220 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
22221 | } | |
22222 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
22223 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
22224 | } | |
22225 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
22226 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
22227 | } | |
22228 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
22229 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
22230 | } | |
22231 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
22232 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
22233 | } | |
22234 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
22235 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
22236 | } | |
22237 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
22238 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
22239 | } | |
22240 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
22241 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
22242 | } | |
22243 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
22244 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
22245 | } | |
22246 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
22247 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
22248 | } | |
22249 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
22250 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
22251 | } | |
22252 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
22253 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
22254 | } | |
22255 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
22256 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
22257 | } | |
22258 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
22259 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
22260 | } | |
22261 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
22262 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
22263 | } | |
22264 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
22265 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
22266 | } | |
22267 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
22268 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
22269 | } | |
22270 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
22271 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
22272 | } | |
22273 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
22274 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
22275 | } | |
22276 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
22277 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
22278 | } | |
22279 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
22280 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
22281 | } | |
22282 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
22283 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
22284 | } | |
22285 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
22286 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
22287 | } | |
22288 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
22289 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
22290 | } | |
22291 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
22292 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
22293 | } | |
22294 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
22295 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
22296 | } | |
22297 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
22298 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
22299 | } | |
22300 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
22301 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
22302 | } | |
22303 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
22304 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
22305 | } | |
22306 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
22307 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
22308 | } | |
22309 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
22310 | return (void *)((wxObject *) ((wxImage *) x)); | |
22311 | } | |
22312 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
22313 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
22314 | } | |
22315 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
22316 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
22317 | } | |
22318 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
22319 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
22320 | } | |
22321 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
22322 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
22323 | } | |
22324 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
22325 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
22326 | } | |
22327 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
22328 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
22329 | } | |
22330 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
22331 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
22332 | } | |
22333 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
22334 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
22335 | } | |
22336 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
22337 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
22338 | } | |
22339 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
22340 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
22341 | } | |
22342 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
22343 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
22344 | } | |
22345 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
22346 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
22347 | } | |
22348 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
22349 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
22350 | } | |
22351 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
22352 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
22353 | } | |
22354 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
22355 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
22356 | } | |
22357 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
22358 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
22359 | } | |
22360 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
22361 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
22362 | } | |
22363 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
22364 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
22365 | } | |
22366 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
22367 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
22368 | } | |
22369 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
22370 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
22371 | } | |
22372 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
22373 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
22374 | } | |
22375 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
22376 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
22377 | } | |
22378 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
22379 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
22380 | } | |
22381 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
22382 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
22383 | } | |
22384 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
22385 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
22386 | } | |
22387 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
22388 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
22389 | } | |
22390 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
22391 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
22392 | } | |
22393 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
22394 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
22395 | } | |
22396 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
22397 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
22398 | } | |
22399 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
22400 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
22401 | } | |
22402 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
22403 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
22404 | } | |
22405 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
22406 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
22407 | } | |
22408 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
22409 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
22410 | } | |
22411 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
22412 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
22413 | } | |
22414 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
22415 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
22416 | } | |
22417 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
22418 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
22419 | } | |
22420 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
22421 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
22422 | } | |
22423 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
22424 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
22425 | } | |
22426 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
22427 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
22428 | } | |
22429 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
22430 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
22431 | } | |
22432 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
22433 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
22434 | } | |
22435 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
22436 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
22437 | } | |
22438 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
22439 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
22440 | } | |
22441 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
22442 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
22443 | } | |
22444 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
22445 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
22446 | } | |
22447 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
22448 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
22449 | } | |
22450 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
22451 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
22452 | } | |
22453 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
22454 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
22455 | } | |
22456 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
22457 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
22458 | } | |
22459 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
22460 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
22461 | } | |
22462 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
22463 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
22464 | } | |
22465 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
22466 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
22467 | } | |
22468 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
22469 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
22470 | } | |
22471 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
22472 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
22473 | } | |
22474 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
22475 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
22476 | } | |
22477 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
22478 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
22479 | } | |
22480 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
22481 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
22482 | } | |
22483 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
22484 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
22485 | } | |
22486 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
22487 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
22488 | } | |
22489 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
22490 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
22491 | } | |
22492 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
22493 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
22494 | } | |
22495 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
22496 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
22497 | } | |
22498 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
22499 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
22500 | } | |
22501 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
22502 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
22503 | } | |
22504 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
22505 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
22506 | } | |
22507 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
22508 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
22509 | } | |
22510 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
22511 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
22512 | } | |
22513 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
22514 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
22515 | } | |
22516 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
22517 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
22518 | } | |
22519 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
22520 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
22521 | } | |
22522 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
22523 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
22524 | } | |
22525 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
22526 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
22527 | } | |
22528 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
22529 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
22530 | } | |
22531 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
22532 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
22533 | } | |
22534 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
22535 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
22536 | } | |
22537 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
22538 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
22539 | } | |
22540 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
22541 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
22542 | } | |
22543 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
22544 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
22545 | } | |
22546 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
22547 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
22548 | } | |
22549 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
22550 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
22551 | } | |
22552 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
22553 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
22554 | } | |
22555 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
22556 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
22557 | } | |
22558 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
22559 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
22560 | } | |
22561 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
22562 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
22563 | } | |
22564 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
22565 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
22566 | } | |
22567 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
22568 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
22569 | } | |
22570 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
22571 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
22572 | } | |
22573 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
22574 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
22575 | } | |
22576 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
22577 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
22578 | } | |
22579 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
22580 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
22581 | } | |
22582 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
22583 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
22584 | } | |
22585 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
22586 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
22587 | } | |
22588 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
22589 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
22590 | } | |
22591 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
22592 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
22593 | } | |
22594 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
22595 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
22596 | } | |
22597 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
22598 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
22599 | } | |
22600 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
22601 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
22602 | } | |
22603 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
22604 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
22605 | } | |
22606 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
22607 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
22608 | } | |
22609 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
22610 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
22611 | } | |
22612 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
22613 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
22614 | } | |
22615 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
22616 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
22617 | } | |
22618 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
22619 | return (void *)((wxWindow *) ((wxControl *) x)); | |
22620 | } | |
22621 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
22622 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
22623 | } | |
22624 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
22625 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
22626 | } | |
22627 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
22628 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
22629 | } | |
22630 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
22631 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
22632 | } | |
22633 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
22634 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
22635 | } | |
22636 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
22637 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
22638 | } | |
22639 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
22640 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
22641 | } | |
22642 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
22643 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
22644 | } | |
22645 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
22646 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
22647 | } | |
22648 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
22649 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
22650 | } | |
22651 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
22652 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
22653 | } | |
22654 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
22655 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
22656 | } | |
22657 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
22658 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
22659 | } | |
22660 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
22661 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
22662 | } | |
22663 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
22664 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
22665 | } | |
22666 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
22667 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
22668 | } | |
22669 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
22670 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
22671 | } | |
22672 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
22673 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
22674 | } | |
22675 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
22676 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
22677 | } | |
22678 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
22679 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
22680 | } | |
22681 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
22682 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
22683 | } | |
22684 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
22685 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
22686 | } | |
22687 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
22688 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
22689 | } | |
22690 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
22691 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
22692 | } | |
22693 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
22694 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
22695 | } | |
22696 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
22697 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
22698 | } | |
22699 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
22700 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
22701 | } | |
22702 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
22703 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
22704 | } | |
22705 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
22706 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
22707 | } | |
22708 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
22709 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
22710 | } | |
22711 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
22712 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
22713 | } | |
22714 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
22715 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
22716 | } | |
22717 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
22718 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
22719 | } | |
22720 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
22721 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
22722 | } | |
22723 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
22724 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
22725 | } | |
22726 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
22727 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
22728 | } | |
22729 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
22730 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
22731 | } | |
22732 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
22733 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
22734 | } | |
22735 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
22736 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
22737 | } | |
22738 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
22739 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
22740 | } | |
22741 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
22742 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
22743 | } | |
22744 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
22745 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
22746 | } | |
22747 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
22748 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
22749 | } | |
22750 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
22751 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
22752 | } | |
22753 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
22754 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
22755 | } | |
22756 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
22757 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
22758 | } | |
22759 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
22760 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
22761 | } | |
22762 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
22763 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
22764 | } | |
22765 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
22766 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
22767 | } | |
22768 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
22769 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
22770 | } | |
22771 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
22772 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
22773 | } | |
22774 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}}; | |
22775 | static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}}; | |
22776 | static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}}; | |
22777 | static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}}; | |
22778 | static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}}; | |
22779 | static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}}; | |
22780 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}}; | |
22781 | static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}}; | |
22782 | 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}}; | |
22783 | static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}}; | |
22784 | static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}}; | |
22785 | static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}}; | |
22786 | static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}}; | |
22787 | static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}}; | |
22788 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
22789 | static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}}; | |
22790 | static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}}; | |
22791 | static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}}; | |
22792 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
22793 | static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}}; | |
22794 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
22795 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}}; | |
22796 | static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}}; | |
22797 | static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}}; | |
22798 | static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}}; | |
22799 | static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}}; | |
22800 | static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}}; | |
22801 | static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}}; | |
22802 | static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}}; | |
22803 | static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}}; | |
22804 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}}; | |
22805 | static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}}; | |
22806 | static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}}; | |
22807 | static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}}; | |
22808 | static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}}; | |
22809 | static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}}; | |
22810 | static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}}; | |
22811 | 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}}; | |
22812 | static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}}; | |
22813 | static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}}; | |
22814 | static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}}; | |
22815 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; | |
22816 | static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}}; | |
22817 | static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}}; | |
22818 | 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_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}}; | |
22819 | static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}}; | |
22820 | static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}}; | |
22821 | static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}}; | |
22822 | static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}}; | |
22823 | static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}}; | |
22824 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
22825 | 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_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_wxTipWindow", _p_wxTipWindowTo_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}}; | |
22826 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}}; | |
22827 | static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}}; | |
22828 | static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}}; | |
22829 | static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}}; | |
22830 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}}; | |
22831 | static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}}; | |
22832 | 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}}; | |
22833 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}}; | |
22834 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}}; | |
22835 | static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}}; | |
22836 | 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_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}}; | |
22837 | 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}}; | |
22838 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; | |
22839 | static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}}; | |
22840 | static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}}; | |
22841 | static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}}; | |
22842 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
22843 | static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}}; | |
22844 | static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}}; | |
22845 | static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}}; | |
22846 | static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}}; | |
22847 | 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}}; | |
22848 | 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}}; | |
22849 | static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}}; | |
22850 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}}; | |
22851 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; | |
22852 | 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}}; | |
22853 | static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}}; | |
22854 | static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}}; | |
22855 | static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}}; | |
22856 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
22857 | static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}}; | |
22858 | static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}}; | |
22859 | static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}}; | |
22860 | ||
22861 | static swig_type_info *swig_types_initial[] = { | |
22862 | _swigt__p_wxQueryLayoutInfoEvent, | |
22863 | _swigt__p_wxPreviewFrame, | |
22864 | _swigt__p_wxPyPreviewFrame, | |
22865 | _swigt__p_wxAcceleratorEntry, | |
22866 | _swigt__p_wxPyPanel, | |
22867 | _swigt__p_wxMenu, | |
22868 | _swigt__p_wxPrintData, | |
22869 | _swigt__p_wxFontData, | |
22870 | _swigt__p_wxEvent, | |
22871 | _swigt__p_wxTaskBarIcon, | |
22872 | _swigt__p_wxIconBundle, | |
22873 | _swigt__p_wxLayoutAlgorithm, | |
22874 | _swigt__p_wxFindDialogEvent, | |
22875 | _swigt__p_wxPreviewCanvas, | |
22876 | _swigt__p_wxFont, | |
22877 | _swigt__p_wxSplitterEvent, | |
22878 | _swigt__p_wxRegion, | |
22879 | _swigt__p_wxFindReplaceData, | |
22880 | _swigt__p_int, | |
22881 | _swigt__p_wxSize, | |
22882 | _swigt__p_wxDC, | |
22883 | _swigt__p_wxIcon, | |
22884 | _swigt__p_wxMDIChildFrame, | |
22885 | _swigt__p_wxColourData, | |
22886 | _swigt__p_wxNotifyEvent, | |
22887 | _swigt__p_wxPyWindow, | |
22888 | _swigt__p_wxSplashScreen, | |
22889 | _swigt__p_wxFindReplaceDialog, | |
22890 | _swigt__p_wxProgressDialog, | |
22891 | _swigt__p_wxMessageDialog, | |
22892 | _swigt__p_wxTextEntryDialog, | |
22893 | _swigt__p_wxSingleChoiceDialog, | |
22894 | _swigt__p_wxMultiChoiceDialog, | |
22895 | _swigt__p_wxFileDialog, | |
22896 | _swigt__p_wxPrinter, | |
22897 | _swigt__p_wxMenuItem, | |
22898 | _swigt__p_wxArrayInt, | |
22899 | _swigt__p_wxEvtHandler, | |
22900 | _swigt__p_wxCalculateLayoutEvent, | |
22901 | _swigt__p_wxPyHtmlListBox, | |
22902 | _swigt__p_wxPyVListBox, | |
22903 | _swigt__p_wxRect, | |
22904 | _swigt__p_wxAcceleratorTable, | |
22905 | _swigt__p_wxMiniFrame, | |
22906 | _swigt__p_wxFrame, | |
22907 | _swigt__p_wxPyPrintout, | |
22908 | _swigt__p_wxTaskBarIconEvent, | |
22909 | _swigt__p_wxScrollWinEvent, | |
22910 | _swigt__p_wxStatusBar, | |
22911 | _swigt__p_wxMDIParentFrame, | |
22912 | _swigt__p_wxPoint, | |
22913 | _swigt__p_wxObject, | |
22914 | _swigt__p_unsigned_long, | |
22915 | _swigt__p_wxMDIClientWindow, | |
22916 | _swigt__p_wxTipWindow, | |
22917 | _swigt__p_wxSashLayoutWindow, | |
22918 | _swigt__p_wxSplitterWindow, | |
22919 | _swigt__p_wxSplashScreenWindow, | |
22920 | _swigt__p_wxPyVScrolledWindow, | |
22921 | _swigt__p_wxPyPopupTransientWindow, | |
22922 | _swigt__p_wxPopupWindow, | |
22923 | _swigt__p_wxSashWindow, | |
22924 | _swigt__p_wxTopLevelWindow, | |
22925 | _swigt__p_wxWindow, | |
22926 | _swigt__p_wxScrolledWindow, | |
22927 | _swigt__p_wxMenuBar, | |
22928 | _swigt__p_wxPrintPreview, | |
22929 | _swigt__p_wxSashEvent, | |
22930 | _swigt__p_wxString, | |
22931 | _swigt__p_wxPyPrintPreview, | |
22932 | _swigt__p_wxFontDialog, | |
22933 | _swigt__p_wxDirDialog, | |
22934 | _swigt__p_wxColourDialog, | |
22935 | _swigt__p_wxDialog, | |
22936 | _swigt__p_wxPanel, | |
22937 | _swigt__p_wxPageSetupDialog, | |
22938 | _swigt__p_wxPrintDialog, | |
22939 | _swigt__p_wxBitmap, | |
22940 | _swigt__p_wxCommandEvent, | |
22941 | _swigt__p_wxPrintQuality, | |
22942 | _swigt__p_wxPreviewControlBar, | |
22943 | _swigt__p_wxPyPreviewControlBar, | |
22944 | _swigt__p_wxColour, | |
22945 | _swigt__p_wxToolBar, | |
22946 | _swigt__p_wxPageSetupDialogData, | |
22947 | _swigt__p_wxPrintDialogData, | |
22948 | 0 | |
22949 | }; | |
22950 | ||
22951 | ||
22952 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
22953 | ||
22954 | static swig_const_info swig_const_table[] = { | |
22955 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0}, | |
22956 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0}, | |
22957 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0}, | |
22958 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0}, | |
22959 | { SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0}, | |
22960 | { SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0}, | |
22961 | { SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0}, | |
22962 | { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0}, | |
22963 | { SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0}, | |
22964 | { SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0}, | |
22965 | { SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0}, | |
22966 | { SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0}, | |
22967 | { SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0}, | |
22968 | { SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0}, | |
22969 | { SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0}, | |
22970 | { SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0}, | |
22971 | { SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0}, | |
22972 | { SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0}, | |
22973 | { SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0}, | |
22974 | { SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0}, | |
22975 | { SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0}, | |
22976 | { SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0}, | |
22977 | { SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0}, | |
22978 | { SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0}, | |
22979 | { SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0}, | |
22980 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0}, | |
22981 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0}, | |
22982 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0}, | |
22983 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0}, | |
22984 | { SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0}, | |
22985 | { SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0}, | |
22986 | { SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0}, | |
22987 | { SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0}, | |
22988 | { SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0}, | |
22989 | { SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0}, | |
22990 | { SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0}, | |
22991 | { SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0}, | |
22992 | { SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0}, | |
22993 | { SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0}, | |
22994 | { SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0}, | |
22995 | { SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0}, | |
22996 | { SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0}, | |
22997 | { SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0}, | |
22998 | { SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0}, | |
22999 | { SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0}, | |
23000 | { SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0}, | |
23001 | { SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0}, | |
23002 | { SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0}, | |
23003 | { SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0}, | |
23004 | { SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0}, | |
23005 | { SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0}, | |
23006 | { SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0}, | |
23007 | { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0}, | |
23008 | { SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0}, | |
23009 | { SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0}, | |
23010 | { SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0}, | |
23011 | { SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0}, | |
23012 | { SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0}, | |
23013 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0}, | |
23014 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0}, | |
23015 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0}, | |
23016 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0}, | |
23017 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0}, | |
23018 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0}, | |
23019 | { SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0}, | |
23020 | { SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0}, | |
23021 | { SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0}, | |
23022 | { SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0}, | |
23023 | { SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0}, | |
23024 | { SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0}, | |
23025 | { SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0}, | |
23026 | { SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0}, | |
23027 | { SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0}, | |
23028 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0}, | |
23029 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0}, | |
23030 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0}, | |
23031 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0}, | |
23032 | { SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0}, | |
23033 | { SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0}, | |
23034 | { SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0}, | |
23035 | { SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0}, | |
23036 | { SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0}, | |
23037 | { SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0}, | |
23038 | { SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0}, | |
23039 | { SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0}, | |
23040 | { SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0}, | |
23041 | { SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0}, | |
23042 | { SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0}, | |
23043 | { SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0}, | |
23044 | { SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0}, | |
23045 | { SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0}, | |
23046 | { SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0}, | |
23047 | { SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0}, | |
23048 | { SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0}, | |
23049 | { SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0}, | |
23050 | { SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0}, | |
23051 | { SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0}, | |
23052 | { SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0}, | |
23053 | { SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0}, | |
23054 | { SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0}, | |
23055 | { SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0}, | |
23056 | { SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0}, | |
23057 | { SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0}, | |
23058 | { SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0}, | |
23059 | { SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0}, | |
23060 | { SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0}, | |
23061 | { SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0}, | |
23062 | { SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0}, | |
23063 | { SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0}, | |
23064 | {0}}; | |
23065 | ||
23066 | #ifdef __cplusplus | |
23067 | } | |
23068 | #endif | |
23069 | ||
23070 | #ifdef __cplusplus | |
23071 | extern "C" | |
23072 | #endif | |
23073 | SWIGEXPORT(void) SWIG_init(void) { | |
23074 | static PyObject *SWIG_globals = 0; | |
23075 | static int typeinit = 0; | |
23076 | PyObject *m, *d; | |
23077 | int i; | |
23078 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
23079 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
23080 | d = PyModule_GetDict(m); | |
23081 | ||
23082 | if (!typeinit) { | |
23083 | for (i = 0; swig_types_initial[i]; i++) { | |
23084 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
23085 | } | |
23086 | typeinit = 1; | |
23087 | } | |
23088 | SWIG_InstallConstants(d,swig_const_table); | |
23089 | ||
23090 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
23091 | SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set); | |
23092 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); | |
23093 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
23094 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
23095 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
23096 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); | |
23097 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); | |
23098 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
23099 | ||
23100 | // Map renamed classes back to their common name for OOR | |
23101 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
23102 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
23103 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
23104 | ||
23105 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
23106 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
23107 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
23108 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
23109 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
23110 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
23111 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
23112 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); | |
23113 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
23114 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
23115 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
23116 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
23117 | ||
23118 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
23119 | ||
23120 | } | |
23121 |