1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
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 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
306 #define SWIG_name "_windows_"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
356 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
461 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
467 } else if (target
== Py_None
) {
471 if (!PyTuple_Check(target
)) {
473 target
= PyTuple_New(1);
474 PyTuple_SetItem(target
, 0, o2
);
477 PyTuple_SetItem(o3
, 0, o
);
480 target
= PySequence_Concat(o2
, o3
);
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject
*obj
)
491 if (PyNumber_Check(obj
))
492 return PyFloat_AsDouble(obj
);
494 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
495 obj
->ob_type
->tp_name
);
496 PyErr_SetObject(PyExc_TypeError
, errmsg
);
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject
* obj
)
507 if (PyErr_Occurred()) {
515 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
516 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
517 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
521 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
523 self
->GetFieldRect(i
, r
);
526 static const wxString
wxPySplitterNameStr(wxT("splitter"));
527 static const wxString
wxPySashNameStr(wxT("sashWindow"));
528 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
530 #include <wx/popupwin.h>
533 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
536 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
537 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
538 : wxPopupTransientWindow(parent
, style
) {}
540 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
541 DEC_PYCALLBACK__(OnDismiss
);
542 DEC_PYCALLBACK_BOOL_(CanDismiss
);
547 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
548 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
549 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
552 #include <wx/tipwin.h>
554 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
555 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
558 #include <wx/tipwin.h>
561 #include <wx/vscroll.h>
564 class wxPyVScrolledWindow
: public wxVScrolledWindow
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
570 wxPyVScrolledWindow(wxWindow
*parent
,
571 wxWindowID id
= wxID_ANY
,
572 const wxPoint
& pos
= wxDefaultPosition
,
573 const wxSize
& size
= wxDefaultSize
,
575 const wxString
& name
= wxPyPanelNameStr
)
576 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
579 // Overridable virtuals
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
608 // this function should return the best guess for the total height it may
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
613 // Also expose some other interesting protected methods
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject
* obj
)
640 if (PyLong_Check(obj
)) {
641 return PyLong_AsUnsignedLong(obj
);
643 long i
= SWIG_AsLong(obj
);
644 if ( !PyErr_Occurred() && (i
< 0)) {
645 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject
* obj
)
655 SWIG_AsUnsignedLong(obj
);
656 if (PyErr_Occurred()) {
665 SWIGSTATICINLINE(PyObject
* )
666 SWIG_FromUnsignedLong(unsigned long value
)
668 return (value
> LONG_MAX
) ?
669 PyLong_FromUnsignedLong(value
)
670 : PyInt_FromLong(swig_numeric_cast(long,value
));
674 #include <wx/vlbox.h>
676 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
678 class wxPyVListBox
: public wxVListBox
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
682 wxPyVListBox() : wxVListBox() {}
684 wxPyVListBox(wxWindow
*parent
,
685 wxWindowID id
= wxID_ANY
,
686 const wxPoint
& pos
= wxDefaultPosition
,
687 const wxSize
& size
= wxDefaultSize
,
689 const wxString
& name
= wxPyVListBoxNameStr
)
690 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
693 // Overridable virtuals
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
701 // the derived class must implement this method to return the height of the
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
716 // this method is used to draw the items background and, maybe, a border
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
739 #include <wx/htmllbox.h>
742 class wxPyHtmlListBox
: public wxHtmlListBox
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
746 wxPyHtmlListBox() : wxHtmlListBox() {}
748 wxPyHtmlListBox(wxWindow
*parent
,
749 wxWindowID id
= wxID_ANY
,
750 const wxPoint
& pos
= wxDefaultPosition
,
751 const wxSize
& size
= wxDefaultSize
,
753 const wxString
& name
= wxPyVListBoxNameStr
)
754 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
757 // Overridable virtuals
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
795 // implement dummy classes and such for wxMac
797 class wxTaskBarIcon
: public wxEvtHandler
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
804 class wxTaskBarIconEvent
: public wxEvent
807 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent
* Clone() const { return NULL
; }
813 wxEVT_TASKBAR_MOVE
= 0,
814 wxEVT_TASKBAR_LEFT_DOWN
= 0,
815 wxEVT_TASKBAR_LEFT_UP
= 0,
816 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
817 wxEVT_TASKBAR_RIGHT_UP
= 0,
818 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
828 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
829 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
830 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
831 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
832 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
833 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
834 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
836 self
->GetFilenames(arr
);
837 return wxArrayString2PyList_helper(arr
);
839 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
842 return wxArrayString2PyList_helper(arr
);
844 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
845 return wxArrayInt2PyList_helper(self
->GetSelections());
847 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
848 return new wxSingleChoiceDialog(parent
, message
, caption
,
849 choices
, choices_array
, NULL
, style
, pos
);
854 // C++ version of Python aware wxWindow
855 class wxPyWindow
: public wxWindow
857 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
861 const wxPoint
& pos
= wxDefaultPosition
,
862 const wxSize
& size
= wxDefaultSize
,
864 const wxString
& name
= wxPyPanelNameStr
)
865 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
867 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
869 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
870 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
872 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
876 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
878 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
879 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
881 DEC_PYCALLBACK__(InitDialog
);
882 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
883 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
884 DEC_PYCALLBACK_BOOL_(Validate
);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
887 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
888 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
890 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
891 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
893 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
894 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
895 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
900 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
902 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
903 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
904 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
905 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
908 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
909 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
912 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
914 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
916 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
917 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
919 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
920 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
921 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
923 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
924 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
926 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
927 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
928 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
931 // C++ version of Python aware wxPanel
932 class wxPyPanel
: public wxPanel
934 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
936 wxPyPanel() : wxPanel() {}
937 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
938 const wxPoint
& pos
= wxDefaultPosition
,
939 const wxSize
& size
= wxDefaultSize
,
941 const wxString
& name
= wxPyPanelNameStr
)
942 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
944 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
959 DEC_PYCALLBACK__(InitDialog
);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
962 DEC_PYCALLBACK_BOOL_(Validate
);
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
971 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
973 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
978 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
980 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
981 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
990 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
992 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
998 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
999 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1004 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1005 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1006 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1009 // C++ version of Python aware wxScrolledWindow
1010 class wxPyScrolledWindow
: public wxScrolledWindow
1012 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1014 wxPyScrolledWindow() : wxScrolledWindow() {}
1015 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1016 const wxPoint
& pos
= wxDefaultPosition
,
1017 const wxSize
& size
= wxDefaultSize
,
1019 const wxString
& name
= wxPyPanelNameStr
)
1020 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1022 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1024 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1025 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1026 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1027 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1029 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1030 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1031 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1033 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1034 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1036 DEC_PYCALLBACK__(InitDialog
);
1037 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1038 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1039 DEC_PYCALLBACK_BOOL_(Validate
);
1041 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1042 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1043 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1045 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1046 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1048 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1049 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1050 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1055 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1057 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1058 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1059 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1060 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1062 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1063 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1064 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1067 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1069 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1070 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1072 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1074 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1075 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1076 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1078 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1079 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1081 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1082 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1083 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1087 #include "wx/wxPython/printfw.h"
1090 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1091 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1095 // Since this one would be tough and ugly to do with the Macros...
1096 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1097 bool hadErr
= False
;
1100 bool blocked
= wxPyBeginBlockThreads();
1101 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1102 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1103 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1106 val
= PyTuple_GetItem(result
, 0);
1107 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1110 val
= PyTuple_GetItem(result
, 1);
1111 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1114 val
= PyTuple_GetItem(result
, 2);
1115 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1118 val
= PyTuple_GetItem(result
, 3);
1119 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1126 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1131 wxPyEndBlockThreads(blocked
);
1133 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1136 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1137 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1141 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1142 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1143 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1144 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1145 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1146 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1147 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1153 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1154 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1155 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1158 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1159 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1162 bool blocked = wxPyBeginBlockThreads(); \
1163 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1164 PyObject* win = wxPyMake_wxObject(a); \
1165 PyObject* dc = wxPyMake_wxObject(&b); \
1166 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1170 wxPyEndBlockThreads(blocked); \
1172 rval = PCLASS::CBNAME(a, b); \
1175 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1176 return PCLASS::CBNAME(a, b); \
1182 class wxPyPrintPreview
: public wxPrintPreview
1184 DECLARE_CLASS(wxPyPrintPreview
)
1186 wxPyPrintPreview(wxPyPrintout
* printout
,
1187 wxPyPrintout
* printoutForPrinting
,
1188 wxPrintDialogData
* data
=NULL
)
1189 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1191 wxPyPrintPreview(wxPyPrintout
* printout
,
1192 wxPyPrintout
* printoutForPrinting
,
1193 wxPrintData
* data
=NULL
)
1194 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1197 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1198 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1199 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1200 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1201 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1202 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1203 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1208 // Stupid renamed classes... Fix this in 2.5...
1209 #if defined(__WXMSW__)
1210 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1211 #elif defined(__WXMAC__)
1212 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1214 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1217 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1218 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1219 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1220 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1221 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1222 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1223 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1226 class wxPyPreviewFrame
: public wxPreviewFrame
1228 DECLARE_CLASS(wxPyPreviewFrame
);
1230 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1231 const wxString
& title
,
1232 const wxPoint
& pos
= wxDefaultPosition
,
1233 const wxSize
& size
= wxDefaultSize
,
1234 long style
= wxDEFAULT_FRAME_STYLE
,
1235 const wxString
& name
= wxPyFrameNameStr
)
1236 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1239 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1240 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1242 DEC_PYCALLBACK_VOID_(Initialize
);
1243 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1244 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1249 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1251 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1252 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1253 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1256 class wxPyPreviewControlBar
: public wxPreviewControlBar
1258 DECLARE_CLASS(wxPyPreviewControlBar
);
1260 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1263 const wxPoint
& pos
= wxDefaultPosition
,
1264 const wxSize
& size
= wxDefaultSize
,
1266 const wxString
& name
= wxPyPanelNameStr
)
1267 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1270 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1272 DEC_PYCALLBACK_VOID_(CreateButtons
);
1273 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1278 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1279 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1280 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1285 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1287 wxWindow
*arg1
= (wxWindow
*) 0 ;
1288 int arg2
= (int) (int)-1 ;
1289 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1290 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1291 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1292 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1293 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1294 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1295 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1299 bool temp6
= False
;
1300 PyObject
* obj0
= 0 ;
1301 PyObject
* obj1
= 0 ;
1302 PyObject
* obj2
= 0 ;
1303 PyObject
* obj3
= 0 ;
1304 PyObject
* obj4
= 0 ;
1305 PyObject
* obj5
= 0 ;
1307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1314 arg2
= (int const) SWIG_AsInt(obj1
);
1315 if (PyErr_Occurred()) SWIG_fail
;
1320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1326 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1330 arg5
= (long) SWIG_AsLong(obj4
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1335 arg6
= wxString_in_helper(obj5
);
1336 if (arg6
== NULL
) SWIG_fail
;
1341 if (!wxPyCheckForApp()) SWIG_fail
;
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1349 resultobj
= wxPyMake_wxObject(result
);
1365 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
*resultobj
;
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1374 if (!wxPyCheckForApp()) SWIG_fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 result
= (wxPanel
*)new wxPanel();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1382 resultobj
= wxPyMake_wxObject(result
);
1390 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxPanel
*arg1
= (wxPanel
*) 0 ;
1393 wxWindow
*arg2
= (wxWindow
*) 0 ;
1394 int arg3
= (int) (int)-1 ;
1395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1399 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1400 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1405 bool temp7
= False
;
1406 PyObject
* obj0
= 0 ;
1407 PyObject
* obj1
= 0 ;
1408 PyObject
* obj2
= 0 ;
1409 PyObject
* obj3
= 0 ;
1410 PyObject
* obj4
= 0 ;
1411 PyObject
* obj5
= 0 ;
1412 PyObject
* obj6
= 0 ;
1414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1423 arg3
= (int const) SWIG_AsInt(obj2
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1429 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1435 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1439 arg6
= (long) SWIG_AsLong(obj5
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1444 arg7
= wxString_in_helper(obj6
);
1445 if (arg7
== NULL
) SWIG_fail
;
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1473 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
*resultobj
;
1475 wxPanel
*arg1
= (wxPanel
*) 0 ;
1476 PyObject
* obj0
= 0 ;
1478 (char *) "self", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 (arg1
)->InitDialog();
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1491 Py_INCREF(Py_None
); resultobj
= Py_None
;
1498 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1501 wxVisualAttributes result
;
1502 PyObject
* obj0
= 0 ;
1504 (char *) "variant", NULL
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1509 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1513 if (!wxPyCheckForApp()) SWIG_fail
;
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1521 wxVisualAttributes
* resultptr
;
1522 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1531 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1534 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1536 return Py_BuildValue((char *)"");
1538 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxWindow
*arg1
= (wxWindow
*) 0 ;
1541 int arg2
= (int) (int)-1 ;
1542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1546 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1547 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1548 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1549 wxScrolledWindow
*result
;
1552 bool temp6
= False
;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1555 PyObject
* obj2
= 0 ;
1556 PyObject
* obj3
= 0 ;
1557 PyObject
* obj4
= 0 ;
1558 PyObject
* obj5
= 0 ;
1560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1567 arg2
= (int const) SWIG_AsInt(obj1
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1583 arg5
= (long) SWIG_AsLong(obj4
);
1584 if (PyErr_Occurred()) SWIG_fail
;
1588 arg6
= wxString_in_helper(obj5
);
1589 if (arg6
== NULL
) SWIG_fail
;
1594 if (!wxPyCheckForApp()) SWIG_fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1616 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxScrolledWindow
*result
;
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1625 if (!wxPyCheckForApp()) SWIG_fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1639 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1642 wxWindow
*arg2
= (wxWindow
*) 0 ;
1643 int arg3
= (int) (int)-1 ;
1644 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1645 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1646 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1647 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1648 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1649 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1650 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1654 bool temp7
= False
;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1657 PyObject
* obj2
= 0 ;
1658 PyObject
* obj3
= 0 ;
1659 PyObject
* obj4
= 0 ;
1660 PyObject
* obj5
= 0 ;
1661 PyObject
* obj6
= 0 ;
1663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1672 arg3
= (int const) SWIG_AsInt(obj2
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1688 arg6
= (long) SWIG_AsLong(obj5
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1693 arg7
= wxString_in_helper(obj6
);
1694 if (arg7
== NULL
) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1722 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1729 int arg6
= (int) 0 ;
1730 int arg7
= (int) 0 ;
1731 bool arg8
= (bool) False
;
1732 PyObject
* obj0
= 0 ;
1733 PyObject
* obj1
= 0 ;
1734 PyObject
* obj2
= 0 ;
1735 PyObject
* obj3
= 0 ;
1736 PyObject
* obj4
= 0 ;
1737 PyObject
* obj5
= 0 ;
1738 PyObject
* obj6
= 0 ;
1739 PyObject
* obj7
= 0 ;
1741 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 arg2
= (int) SWIG_AsInt(obj1
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1749 arg3
= (int) SWIG_AsInt(obj2
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1751 arg4
= (int) SWIG_AsInt(obj3
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1753 arg5
= (int) SWIG_AsInt(obj4
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 arg6
= (int) SWIG_AsInt(obj5
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1760 arg7
= (int) SWIG_AsInt(obj6
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 arg8
= (bool) SWIG_AsBool(obj7
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1788 PyObject
* obj2
= 0 ;
1790 (char *) "self",(char *) "x",(char *) "y", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 arg2
= (int) SWIG_AsInt(obj1
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1798 arg3
= (int) SWIG_AsInt(obj2
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 (arg1
)->Scroll(arg2
,arg3
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 Py_INCREF(Py_None
); resultobj
= Py_None
;
1814 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1822 (char *) "self",(char *) "orient", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 arg2
= (int) SWIG_AsInt(obj1
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1837 resultobj
= SWIG_FromInt((int)result
);
1844 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1846 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1850 PyObject
* obj1
= 0 ;
1851 PyObject
* obj2
= 0 ;
1853 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 arg2
= (int) SWIG_AsInt(obj1
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1861 arg3
= (int) SWIG_AsInt(obj2
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) SWIG_fail
;
1870 Py_INCREF(Py_None
); resultobj
= Py_None
;
1877 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1883 PyObject
* obj1
= 0 ;
1884 PyObject
* obj2
= 0 ;
1886 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1892 arg2
= (int) SWIG_AsInt(obj1
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1894 arg3
= (int) SWIG_AsInt(obj2
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 (arg1
)->SetScrollRate(arg2
,arg3
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 Py_INCREF(Py_None
); resultobj
= Py_None
;
1910 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1913 int *arg2
= (int *) 0 ;
1914 int *arg3
= (int *) 0 ;
1917 PyObject
* obj0
= 0 ;
1919 (char *) "self", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1934 Py_INCREF(Py_None
); resultobj
= Py_None
;
1936 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1937 resultobj
= t_output_helper(resultobj
,o
);
1940 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1941 resultobj
= t_output_helper(resultobj
,o
);
1949 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1956 PyObject
* obj2
= 0 ;
1958 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 arg2
= (bool) SWIG_AsBool(obj1
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1966 arg3
= (bool) SWIG_AsBool(obj2
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 (arg1
)->EnableScrolling(arg2
,arg3
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1985 int *arg2
= (int *) 0 ;
1986 int *arg3
= (int *) 0 ;
1989 PyObject
* obj0
= 0 ;
1991 (char *) "self", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2003 wxPyEndAllowThreads(__tstate
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2006 Py_INCREF(Py_None
); resultobj
= Py_None
;
2008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2009 resultobj
= t_output_helper(resultobj
,o
);
2012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2013 resultobj
= t_output_helper(resultobj
,o
);
2021 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2026 PyObject
* obj0
= 0 ;
2027 PyObject
* obj1
= 0 ;
2028 PyObject
* obj2
= 0 ;
2030 (char *) "self",(char *) "xs",(char *) "ys", NULL
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2036 arg2
= (double) SWIG_AsDouble(obj1
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2038 arg3
= (double) SWIG_AsDouble(obj2
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 (arg1
)->SetScale(arg2
,arg3
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 Py_INCREF(Py_None
); resultobj
= Py_None
;
2054 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2056 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2058 PyObject
* obj0
= 0 ;
2060 (char *) "self", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 resultobj
= SWIG_FromDouble((double)result
);
2080 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2082 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2084 PyObject
* obj0
= 0 ;
2086 (char *) "self", NULL
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 resultobj
= SWIG_FromDouble((double)result
);
2106 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2107 PyObject
*resultobj
;
2108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2115 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2130 wxPoint
* resultptr
;
2131 resultptr
= new wxPoint((wxPoint
&) result
);
2132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2140 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2141 PyObject
*resultobj
;
2142 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2145 int *arg4
= (int *) 0 ;
2146 int *arg5
= (int *) 0 ;
2149 PyObject
* obj0
= 0 ;
2150 PyObject
* obj1
= 0 ;
2151 PyObject
* obj2
= 0 ;
2155 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 arg2
= (int) SWIG_AsInt(obj1
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2160 arg3
= (int) SWIG_AsInt(obj2
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 Py_INCREF(Py_None
); resultobj
= Py_None
;
2171 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2172 resultobj
= t_output_helper(resultobj
,o
);
2175 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2176 resultobj
= t_output_helper(resultobj
,o
);
2184 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2189 argc
= PyObject_Length(args
);
2190 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2191 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2206 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2209 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2217 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2225 _v
= SWIG_CheckInt(argv
[1]);
2227 _v
= SWIG_CheckInt(argv
[2]);
2229 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2235 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2240 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2241 PyObject
*resultobj
;
2242 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2247 PyObject
* obj1
= 0 ;
2249 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2264 wxPoint
* resultptr
;
2265 resultptr
= new wxPoint((wxPoint
&) result
);
2266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2274 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2275 PyObject
*resultobj
;
2276 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2279 int *arg4
= (int *) 0 ;
2280 int *arg5
= (int *) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2285 PyObject
* obj2
= 0 ;
2289 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (int) SWIG_AsInt(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2294 arg3
= (int) SWIG_AsInt(obj2
);
2295 if (PyErr_Occurred()) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 Py_INCREF(Py_None
); resultobj
= Py_None
;
2305 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2306 resultobj
= t_output_helper(resultobj
,o
);
2309 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2310 resultobj
= t_output_helper(resultobj
,o
);
2318 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2323 argc
= PyObject_Length(args
);
2324 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2325 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2331 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2340 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2343 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2351 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2359 _v
= SWIG_CheckInt(argv
[1]);
2361 _v
= SWIG_CheckInt(argv
[2]);
2363 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2369 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2374 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2379 (char *) "self", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 (arg1
)->AdjustScrollbars();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2392 Py_INCREF(Py_None
); resultobj
= Py_None
;
2399 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2402 wxScrollWinEvent
*arg2
= 0 ;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2407 (char *) "self",(char *) "event", NULL
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2417 PyErr_SetString(PyExc_TypeError
,"null reference");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 resultobj
= SWIG_FromInt((int)result
);
2434 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2437 wxWindow
*arg2
= (wxWindow
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2441 (char *) "self",(char *) "target", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 (arg1
)->SetTargetWindow(arg2
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 Py_INCREF(Py_None
); resultobj
= Py_None
;
2463 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2469 (char *) "self", NULL
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2483 resultobj
= wxPyMake_wxObject(result
);
2491 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2494 wxVisualAttributes result
;
2495 PyObject
* obj0
= 0 ;
2497 (char *) "variant", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2502 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2506 if (!wxPyCheckForApp()) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2514 wxVisualAttributes
* resultptr
;
2515 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2524 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2527 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2529 return Py_BuildValue((char *)"");
2531 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2532 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2537 static PyObject
*_wrap_FrameNameStr_get() {
2542 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2544 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2551 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2552 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2557 static PyObject
*_wrap_DialogNameStr_get() {
2562 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2564 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2571 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2572 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2577 static PyObject
*_wrap_StatusLineNameStr_get() {
2582 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2584 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2591 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2592 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2597 static PyObject
*_wrap_ToolBarNameStr_get() {
2602 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2604 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2611 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2614 bool arg2
= (bool) True
;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "self",(char *) "maximize", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2625 arg2
= (bool) SWIG_AsBool(obj1
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 (arg1
)->Maximize(arg2
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 Py_INCREF(Py_None
); resultobj
= Py_None
;
2642 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2647 (char *) "self", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 Py_INCREF(Py_None
); resultobj
= Py_None
;
2667 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2670 bool arg2
= (bool) True
;
2671 PyObject
* obj0
= 0 ;
2672 PyObject
* obj1
= 0 ;
2674 (char *) "self",(char *) "iconize", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 arg2
= (bool) SWIG_AsBool(obj1
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 (arg1
)->Iconize(arg2
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 Py_INCREF(Py_None
); resultobj
= Py_None
;
2698 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 (char *) "self", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2726 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2732 (char *) "self", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2754 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2758 PyObject
* obj0
= 0 ;
2760 (char *) "self", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2775 resultptr
= new wxIcon((wxIcon
&) result
);
2776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2784 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2791 (char *) "self",(char *) "icon", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2801 PyErr_SetString(PyExc_TypeError
,"null reference");
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) SWIG_fail
;
2811 Py_INCREF(Py_None
); resultobj
= Py_None
;
2818 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
*resultobj
;
2820 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2821 wxIconBundle
*arg2
= 0 ;
2822 PyObject
* obj0
= 0 ;
2823 PyObject
* obj1
= 0 ;
2825 (char *) "self",(char *) "icons", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2835 PyErr_SetString(PyExc_TypeError
,"null reference");
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 Py_INCREF(Py_None
); resultobj
= Py_None
;
2852 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2856 long arg3
= (long) wxFULLSCREEN_ALL
;
2858 PyObject
* obj0
= 0 ;
2859 PyObject
* obj1
= 0 ;
2860 PyObject
* obj2
= 0 ;
2862 (char *) "self",(char *) "show",(char *) "style", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2868 arg2
= (bool) SWIG_AsBool(obj1
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 arg3
= (long) SWIG_AsLong(obj2
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2890 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2894 PyObject
* obj0
= 0 ;
2896 (char *) "self", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2918 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2921 wxString
*arg2
= 0 ;
2922 bool temp2
= False
;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "title", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2933 arg2
= wxString_in_helper(obj1
);
2934 if (arg2
== NULL
) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 (arg1
)->SetTitle((wxString
const &)*arg2
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 Py_INCREF(Py_None
); resultobj
= Py_None
;
2959 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2963 PyObject
* obj0
= 0 ;
2965 (char *) "self", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2991 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2994 wxRegion
*arg2
= 0 ;
2996 PyObject
* obj0
= 0 ;
2997 PyObject
* obj1
= 0 ;
2999 (char *) "self",(char *) "region", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3009 PyErr_SetString(PyExc_TypeError
,"null reference");
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3028 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3031 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3033 return Py_BuildValue((char *)"");
3035 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
*resultobj
;
3037 wxWindow
*arg1
= (wxWindow
*) 0 ;
3039 wxString
*arg3
= 0 ;
3040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3044 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3045 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3046 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3048 bool temp3
= False
;
3051 bool temp7
= False
;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3054 PyObject
* obj2
= 0 ;
3055 PyObject
* obj3
= 0 ;
3056 PyObject
* obj4
= 0 ;
3057 PyObject
* obj5
= 0 ;
3058 PyObject
* obj6
= 0 ;
3060 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3066 arg2
= (int const) SWIG_AsInt(obj1
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 arg3
= wxString_in_helper(obj2
);
3070 if (arg3
== NULL
) SWIG_fail
;
3076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3086 arg6
= (long) SWIG_AsLong(obj5
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3091 arg7
= wxString_in_helper(obj6
);
3092 if (arg7
== NULL
) SWIG_fail
;
3097 if (!wxPyCheckForApp()) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3105 resultobj
= wxPyMake_wxObject(result
);
3129 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3138 if (!wxPyCheckForApp()) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 result
= (wxFrame
*)new wxFrame();
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3146 resultobj
= wxPyMake_wxObject(result
);
3154 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxFrame
*arg1
= (wxFrame
*) 0 ;
3157 wxWindow
*arg2
= (wxWindow
*) 0 ;
3159 wxString
*arg4
= 0 ;
3160 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3161 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3162 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3163 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3164 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3165 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3168 bool temp4
= False
;
3171 bool temp8
= False
;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3174 PyObject
* obj2
= 0 ;
3175 PyObject
* obj3
= 0 ;
3176 PyObject
* obj4
= 0 ;
3177 PyObject
* obj5
= 0 ;
3178 PyObject
* obj6
= 0 ;
3179 PyObject
* obj7
= 0 ;
3181 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3189 arg3
= (int const) SWIG_AsInt(obj2
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 arg4
= wxString_in_helper(obj3
);
3193 if (arg4
== NULL
) SWIG_fail
;
3199 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3205 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3209 arg7
= (long) SWIG_AsLong(obj6
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3214 arg8
= wxString_in_helper(obj7
);
3215 if (arg8
== NULL
) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3251 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxFrame
*arg1
= (wxFrame
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 wxPoint
* resultptr
;
3272 resultptr
= new wxPoint((wxPoint
&) result
);
3273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3281 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxFrame
*arg1
= (wxFrame
*) 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "self", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 (arg1
)->SendSizeEvent();
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxFrame
*arg1
= (wxFrame
*) 0 ;
3309 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3313 (char *) "self",(char *) "menubar", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 (arg1
)->SetMenuBar(arg2
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 Py_INCREF(Py_None
); resultobj
= Py_None
;
3335 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxFrame
*arg1
= (wxFrame
*) 0 ;
3339 PyObject
* obj0
= 0 ;
3341 (char *) "self", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3355 resultobj
= wxPyMake_wxObject(result
);
3363 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxFrame
*arg1
= (wxFrame
*) 0 ;
3368 PyObject
* obj0
= 0 ;
3369 PyObject
* obj1
= 0 ;
3371 (char *) "self",(char *) "winid", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3377 arg2
= (int) SWIG_AsInt(obj1
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3395 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxFrame
*arg1
= (wxFrame
*) 0 ;
3398 int arg2
= (int) 1 ;
3399 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3400 int arg4
= (int) 0 ;
3401 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3402 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3403 wxStatusBar
*result
;
3404 bool temp5
= False
;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3407 PyObject
* obj2
= 0 ;
3408 PyObject
* obj3
= 0 ;
3409 PyObject
* obj4
= 0 ;
3411 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3418 arg2
= (int) SWIG_AsInt(obj1
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3422 arg3
= (long) SWIG_AsLong(obj2
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3426 arg4
= (int) SWIG_AsInt(obj3
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3431 arg5
= wxString_in_helper(obj4
);
3432 if (arg5
== NULL
) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3444 resultobj
= wxPyMake_wxObject(result
);
3460 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxFrame
*arg1
= (wxFrame
*) 0 ;
3463 wxStatusBar
*result
;
3464 PyObject
* obj0
= 0 ;
3466 (char *) "self", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= wxPyMake_wxObject(result
);
3488 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxFrame
*arg1
= (wxFrame
*) 0 ;
3491 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3495 (char *) "self",(char *) "statBar", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 (arg1
)->SetStatusBar(arg2
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxFrame
*arg1
= (wxFrame
*) 0 ;
3520 wxString
*arg2
= 0 ;
3521 int arg3
= (int) 0 ;
3522 bool temp2
= False
;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3525 PyObject
* obj2
= 0 ;
3527 (char *) "self",(char *) "text",(char *) "number", NULL
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3534 arg2
= wxString_in_helper(obj1
);
3535 if (arg2
== NULL
) SWIG_fail
;
3539 arg3
= (int) SWIG_AsInt(obj2
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3564 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxFrame
*arg1
= (wxFrame
*) 0 ;
3568 int *arg3
= (int *) 0 ;
3569 PyObject
* obj0
= 0 ;
3570 PyObject
* obj1
= 0 ;
3572 (char *) "self",(char *) "widths", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3579 arg2
= PyList_Size(obj1
);
3580 arg3
= int_LIST_helper(obj1
);
3581 if (arg3
== NULL
) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 Py_INCREF(Py_None
); resultobj
= Py_None
;
3592 if (arg3
) delete [] arg3
;
3597 if (arg3
) delete [] arg3
;
3603 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxFrame
*arg1
= (wxFrame
*) 0 ;
3606 wxString
*arg2
= 0 ;
3607 int arg3
= (int) 0 ;
3608 bool temp2
= False
;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3611 PyObject
* obj2
= 0 ;
3613 (char *) "self",(char *) "text",(char *) "number", NULL
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3620 arg2
= wxString_in_helper(obj1
);
3621 if (arg2
== NULL
) SWIG_fail
;
3625 arg3
= (int) SWIG_AsInt(obj2
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 Py_INCREF(Py_None
); resultobj
= Py_None
;
3650 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxFrame
*arg1
= (wxFrame
*) 0 ;
3653 int arg2
= (int) 0 ;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3657 (char *) "self",(char *) "number", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 arg2
= (int) SWIG_AsInt(obj1
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 (arg1
)->PopStatusText(arg2
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 Py_INCREF(Py_None
); resultobj
= Py_None
;
3681 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxFrame
*arg1
= (wxFrame
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "n", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 arg2
= (int) SWIG_AsInt(obj1
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->SetStatusBarPane(arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxFrame
*arg1
= (wxFrame
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_FromInt((int)result
);
3736 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxFrame
*arg1
= (wxFrame
*) 0 ;
3739 long arg2
= (long) -1 ;
3740 int arg3
= (int) -1 ;
3741 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3742 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3744 bool temp4
= False
;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3747 PyObject
* obj2
= 0 ;
3748 PyObject
* obj3
= 0 ;
3750 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3757 arg2
= (long) SWIG_AsLong(obj1
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3761 arg3
= (int) SWIG_AsInt(obj2
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3766 arg4
= wxString_in_helper(obj3
);
3767 if (arg4
== NULL
) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= wxPyMake_wxObject(result
);
3795 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxFrame
*arg1
= (wxFrame
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3801 (char *) "self", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= wxPyMake_wxObject(result
);
3823 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
;
3825 wxFrame
*arg1
= (wxFrame
*) 0 ;
3826 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3830 (char *) "self",(char *) "toolbar", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 (arg1
)->SetToolBar(arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxFrame
*arg1
= (wxFrame
*) 0 ;
3855 wxString
*arg2
= 0 ;
3857 bool temp2
= False
;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3860 PyObject
* obj2
= 0 ;
3862 (char *) "self",(char *) "text",(char *) "show", NULL
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3869 arg2
= wxString_in_helper(obj1
);
3870 if (arg2
== NULL
) SWIG_fail
;
3873 arg3
= (bool) SWIG_AsBool(obj2
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 Py_INCREF(Py_None
); resultobj
= Py_None
;
3897 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxFrame
*arg1
= (wxFrame
*) 0 ;
3900 wxMenu
*arg2
= (wxMenu
*) NULL
;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3904 (char *) "self",(char *) "menu", NULL
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 (arg1
)->DoMenuUpdates(arg2
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 Py_INCREF(Py_None
); resultobj
= Py_None
;
3928 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3931 wxVisualAttributes result
;
3932 PyObject
* obj0
= 0 ;
3934 (char *) "variant", NULL
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3939 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3943 if (!wxPyCheckForApp()) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 wxVisualAttributes
* resultptr
;
3952 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3961 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3964 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3966 return Py_BuildValue((char *)"");
3968 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxWindow
*arg1
= (wxWindow
*) 0 ;
3972 wxString
*arg3
= 0 ;
3973 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3974 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3975 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3976 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3977 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3978 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3979 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3981 bool temp3
= False
;
3984 bool temp7
= False
;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3987 PyObject
* obj2
= 0 ;
3988 PyObject
* obj3
= 0 ;
3989 PyObject
* obj4
= 0 ;
3990 PyObject
* obj5
= 0 ;
3991 PyObject
* obj6
= 0 ;
3993 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3999 arg2
= (int const) SWIG_AsInt(obj1
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 arg3
= wxString_in_helper(obj2
);
4003 if (arg3
== NULL
) SWIG_fail
;
4009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4019 arg6
= (long) SWIG_AsLong(obj5
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4024 arg7
= wxString_in_helper(obj6
);
4025 if (arg7
== NULL
) SWIG_fail
;
4030 if (!wxPyCheckForApp()) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= wxPyMake_wxObject(result
);
4062 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4071 if (!wxPyCheckForApp()) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (wxDialog
*)new wxDialog();
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= wxPyMake_wxObject(result
);
4087 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxDialog
*arg1
= (wxDialog
*) 0 ;
4090 wxWindow
*arg2
= (wxWindow
*) 0 ;
4092 wxString
*arg4
= 0 ;
4093 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4094 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4095 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4096 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4097 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4098 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4099 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4101 bool temp4
= False
;
4104 bool temp8
= False
;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4107 PyObject
* obj2
= 0 ;
4108 PyObject
* obj3
= 0 ;
4109 PyObject
* obj4
= 0 ;
4110 PyObject
* obj5
= 0 ;
4111 PyObject
* obj6
= 0 ;
4112 PyObject
* obj7
= 0 ;
4114 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4122 arg3
= (int const) SWIG_AsInt(obj2
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 arg4
= wxString_in_helper(obj3
);
4126 if (arg4
== NULL
) SWIG_fail
;
4132 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4138 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4142 arg7
= (long) SWIG_AsLong(obj6
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4147 arg8
= wxString_in_helper(obj7
);
4148 if (arg8
== NULL
) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4184 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxDialog
*arg1
= (wxDialog
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4191 (char *) "self",(char *) "returnCode", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4197 arg2
= (int) SWIG_AsInt(obj1
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 (arg1
)->SetReturnCode(arg2
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 Py_INCREF(Py_None
); resultobj
= Py_None
;
4213 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxDialog
*arg1
= (wxDialog
*) 0 ;
4217 PyObject
* obj0
= 0 ;
4219 (char *) "self", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= SWIG_FromInt((int)result
);
4239 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4241 wxDialog
*arg1
= (wxDialog
*) 0 ;
4242 wxString
*arg2
= 0 ;
4244 bool temp2
= False
;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4248 (char *) "self",(char *) "message", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4255 arg2
= wxString_in_helper(obj1
);
4256 if (arg2
== NULL
) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= wxPyMake_wxSizer(result
);
4283 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxDialog
*arg1
= (wxDialog
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj1
= 0 ;
4291 (char *) "self",(char *) "flags", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4297 arg2
= (long) SWIG_AsLong(obj1
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= wxPyMake_wxSizer(result
);
4315 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4317 wxDialog
*arg1
= (wxDialog
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4321 (char *) "self", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4343 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxDialog
*arg1
= (wxDialog
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4349 (char *) "self", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 result
= (int)(arg1
)->ShowModal();
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 resultobj
= SWIG_FromInt((int)result
);
4369 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxDialog
*arg1
= (wxDialog
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj1
= 0 ;
4376 (char *) "self",(char *) "retCode", NULL
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4382 arg2
= (int) SWIG_AsInt(obj1
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 (arg1
)->EndModal(arg2
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 Py_INCREF(Py_None
); resultobj
= Py_None
;
4398 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4401 wxVisualAttributes result
;
4402 PyObject
* obj0
= 0 ;
4404 (char *) "variant", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4409 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4413 if (!wxPyCheckForApp()) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4421 wxVisualAttributes
* resultptr
;
4422 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4431 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4434 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4436 return Py_BuildValue((char *)"");
4438 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4440 wxWindow
*arg1
= (wxWindow
*) 0 ;
4442 wxString
*arg3
= 0 ;
4443 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4444 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4445 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4446 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4447 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4448 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4449 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4450 wxMiniFrame
*result
;
4451 bool temp3
= False
;
4454 bool temp7
= False
;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4457 PyObject
* obj2
= 0 ;
4458 PyObject
* obj3
= 0 ;
4459 PyObject
* obj4
= 0 ;
4460 PyObject
* obj5
= 0 ;
4461 PyObject
* obj6
= 0 ;
4463 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 arg2
= (int const) SWIG_AsInt(obj1
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 arg3
= wxString_in_helper(obj2
);
4473 if (arg3
== NULL
) SWIG_fail
;
4479 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4485 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4489 arg6
= (long) SWIG_AsLong(obj5
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4494 arg7
= wxString_in_helper(obj6
);
4495 if (arg7
== NULL
) SWIG_fail
;
4500 if (!wxPyCheckForApp()) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4530 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxMiniFrame
*result
;
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4539 if (!wxPyCheckForApp()) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= (wxMiniFrame
*)new wxMiniFrame();
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4553 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4556 wxWindow
*arg2
= (wxWindow
*) 0 ;
4558 wxString
*arg4
= 0 ;
4559 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4560 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4561 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4562 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4563 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4564 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4567 bool temp4
= False
;
4570 bool temp8
= False
;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4573 PyObject
* obj2
= 0 ;
4574 PyObject
* obj3
= 0 ;
4575 PyObject
* obj4
= 0 ;
4576 PyObject
* obj5
= 0 ;
4577 PyObject
* obj6
= 0 ;
4578 PyObject
* obj7
= 0 ;
4580 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4588 arg3
= (int const) SWIG_AsInt(obj2
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4591 arg4
= wxString_in_helper(obj3
);
4592 if (arg4
== NULL
) SWIG_fail
;
4598 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4604 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4608 arg7
= (long) SWIG_AsLong(obj6
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4613 arg8
= wxString_in_helper(obj7
);
4614 if (arg8
== NULL
) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4650 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4653 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4655 return Py_BuildValue((char *)"");
4657 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxBitmap
*arg1
= 0 ;
4660 wxWindow
*arg2
= (wxWindow
*) 0 ;
4662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4666 long arg6
= (long) wxNO_BORDER
;
4667 wxSplashScreenWindow
*result
;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4674 PyObject
* obj4
= 0 ;
4675 PyObject
* obj5
= 0 ;
4677 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4685 PyErr_SetString(PyExc_TypeError
,"null reference");
4688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 arg3
= (int) SWIG_AsInt(obj2
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4695 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4701 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4705 arg6
= (long) SWIG_AsLong(obj5
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 if (!wxPyCheckForApp()) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4723 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
*resultobj
;
4725 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4726 wxBitmap
*arg2
= 0 ;
4727 PyObject
* obj0
= 0 ;
4728 PyObject
* obj1
= 0 ;
4730 (char *) "self",(char *) "bitmap", NULL
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4740 PyErr_SetString(PyExc_TypeError
,"null reference");
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 Py_INCREF(Py_None
); resultobj
= Py_None
;
4757 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4761 PyObject
* obj0
= 0 ;
4763 (char *) "self", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4773 result
= (wxBitmap
*) &_result_ref
;
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 wxBitmap
* resultptr
= new wxBitmap(*result
);
4781 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4789 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4792 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4794 return Py_BuildValue((char *)"");
4796 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxBitmap
*arg1
= 0 ;
4801 wxWindow
*arg4
= (wxWindow
*) 0 ;
4803 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4804 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4805 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4806 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4807 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4808 wxSplashScreen
*result
;
4811 PyObject
* obj0
= 0 ;
4812 PyObject
* obj1
= 0 ;
4813 PyObject
* obj2
= 0 ;
4814 PyObject
* obj3
= 0 ;
4815 PyObject
* obj4
= 0 ;
4816 PyObject
* obj5
= 0 ;
4817 PyObject
* obj6
= 0 ;
4818 PyObject
* obj7
= 0 ;
4820 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4828 PyErr_SetString(PyExc_TypeError
,"null reference");
4831 arg2
= (long) SWIG_AsLong(obj1
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4833 arg3
= (int) SWIG_AsInt(obj2
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4835 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4837 arg5
= (int) SWIG_AsInt(obj4
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4842 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4848 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4852 arg8
= (long) SWIG_AsLong(obj7
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4856 if (!wxPyCheckForApp()) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4870 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4874 PyObject
* obj0
= 0 ;
4876 (char *) "self", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_FromLong((long)result
);
4896 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4899 wxSplashScreenWindow
*result
;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4922 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4928 (char *) "self", NULL
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= SWIG_FromInt((int)result
);
4948 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4951 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4953 return Py_BuildValue((char *)"");
4955 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxWindow
*arg1
= (wxWindow
*) 0 ;
4958 int arg2
= (int) -1 ;
4959 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4960 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4961 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4962 wxStatusBar
*result
;
4963 bool temp4
= False
;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4966 PyObject
* obj2
= 0 ;
4967 PyObject
* obj3
= 0 ;
4969 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 arg2
= (int) SWIG_AsInt(obj1
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 arg3
= (long) SWIG_AsLong(obj2
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4985 arg4
= wxString_in_helper(obj3
);
4986 if (arg4
== NULL
) SWIG_fail
;
4991 if (!wxPyCheckForApp()) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4999 resultobj
= wxPyMake_wxObject(result
);
5015 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxStatusBar
*result
;
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5024 if (!wxPyCheckForApp()) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 result
= (wxStatusBar
*)new wxStatusBar();
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5032 resultobj
= wxPyMake_wxObject(result
);
5040 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5043 wxWindow
*arg2
= (wxWindow
*) 0 ;
5045 long arg4
= (long) wxST_SIZEGRIP
;
5046 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5047 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5049 bool temp5
= False
;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 PyObject
* obj2
= 0 ;
5053 PyObject
* obj3
= 0 ;
5054 PyObject
* obj4
= 0 ;
5056 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5064 arg3
= (int) SWIG_AsInt(obj2
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 arg4
= (long) SWIG_AsLong(obj3
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5072 arg5
= wxString_in_helper(obj4
);
5073 if (arg5
== NULL
) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5101 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5104 int arg2
= (int) 1 ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5108 (char *) "self",(char *) "number", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5115 arg2
= (int) SWIG_AsInt(obj1
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->SetFieldsCount(arg2
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 Py_INCREF(Py_None
); resultobj
= Py_None
;
5132 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5138 (char *) "self", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_FromInt((int)result
);
5158 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5161 wxString
*arg2
= 0 ;
5162 int arg3
= (int) 0 ;
5163 bool temp2
= False
;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5166 PyObject
* obj2
= 0 ;
5168 (char *) "self",(char *) "text",(char *) "number", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5175 arg2
= wxString_in_helper(obj1
);
5176 if (arg2
== NULL
) SWIG_fail
;
5180 arg3
= (int) SWIG_AsInt(obj2
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 Py_INCREF(Py_None
); resultobj
= Py_None
;
5205 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5208 int arg2
= (int) 0 ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5213 (char *) "self",(char *) "number", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 arg2
= (int) SWIG_AsInt(obj1
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5243 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5246 wxString
*arg2
= 0 ;
5247 int arg3
= (int) 0 ;
5248 bool temp2
= False
;
5249 PyObject
* obj0
= 0 ;
5250 PyObject
* obj1
= 0 ;
5251 PyObject
* obj2
= 0 ;
5253 (char *) "self",(char *) "text",(char *) "number", NULL
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5260 arg2
= wxString_in_helper(obj1
);
5261 if (arg2
== NULL
) SWIG_fail
;
5265 arg3
= (int) SWIG_AsInt(obj2
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 Py_INCREF(Py_None
); resultobj
= Py_None
;
5290 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5293 int arg2
= (int) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5297 (char *) "self",(char *) "number", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 arg2
= (int) SWIG_AsInt(obj1
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 (arg1
)->PopStatusText(arg2
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 Py_INCREF(Py_None
); resultobj
= Py_None
;
5321 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5325 int *arg3
= (int *) 0 ;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5329 (char *) "self",(char *) "widths", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5336 arg2
= PyList_Size(obj1
);
5337 arg3
= int_LIST_helper(obj1
);
5338 if (arg3
== NULL
) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 if (arg3
) delete [] arg3
;
5354 if (arg3
) delete [] arg3
;
5360 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "i", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 arg2
= (int) SWIG_AsInt(obj1
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5385 resultptr
= new wxRect((wxRect
&) result
);
5386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5394 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5399 PyObject
* obj1
= 0 ;
5401 (char *) "self",(char *) "height", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5407 arg2
= (int) SWIG_AsInt(obj1
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 (arg1
)->SetMinHeight(arg2
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 Py_INCREF(Py_None
); resultobj
= Py_None
;
5423 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5429 (char *) "self", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 resultobj
= SWIG_FromInt((int)result
);
5449 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_FromInt((int)result
);
5475 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5478 wxVisualAttributes result
;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "variant", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5486 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 if (!wxPyCheckForApp()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 wxVisualAttributes
* resultptr
;
5499 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5508 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5511 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5513 return Py_BuildValue((char *)"");
5515 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5516 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5521 static PyObject
*_wrap_SplitterNameStr_get() {
5526 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5528 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5535 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxWindow
*arg1
= (wxWindow
*) 0 ;
5538 int arg2
= (int) -1 ;
5539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5541 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5542 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5543 long arg5
= (long) wxSP_3D
;
5544 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5545 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5546 wxSplitterWindow
*result
;
5549 bool temp6
= False
;
5550 PyObject
* obj0
= 0 ;
5551 PyObject
* obj1
= 0 ;
5552 PyObject
* obj2
= 0 ;
5553 PyObject
* obj3
= 0 ;
5554 PyObject
* obj4
= 0 ;
5555 PyObject
* obj5
= 0 ;
5557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 arg2
= (int) SWIG_AsInt(obj1
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5576 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5580 arg5
= (long) SWIG_AsLong(obj4
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5585 arg6
= wxString_in_helper(obj5
);
5586 if (arg6
== NULL
) SWIG_fail
;
5591 if (!wxPyCheckForApp()) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5613 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxSplitterWindow
*result
;
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5622 if (!wxPyCheckForApp()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5636 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5639 wxWindow
*arg2
= (wxWindow
*) 0 ;
5640 int arg3
= (int) -1 ;
5641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5645 long arg6
= (long) wxSP_3D
;
5646 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5647 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5651 bool temp7
= False
;
5652 PyObject
* obj0
= 0 ;
5653 PyObject
* obj1
= 0 ;
5654 PyObject
* obj2
= 0 ;
5655 PyObject
* obj3
= 0 ;
5656 PyObject
* obj4
= 0 ;
5657 PyObject
* obj5
= 0 ;
5658 PyObject
* obj6
= 0 ;
5660 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 arg3
= (int) SWIG_AsInt(obj2
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5685 arg6
= (long) SWIG_AsLong(obj5
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5690 arg7
= wxString_in_helper(obj6
);
5691 if (arg7
== NULL
) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5719 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= wxPyMake_wxObject(result
);
5747 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5753 (char *) "self", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= wxPyMake_wxObject(result
);
5775 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5782 (char *) "self",(char *) "mode", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5788 arg2
= (int) SWIG_AsInt(obj1
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->SetSplitMode(arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5808 PyObject
* obj0
= 0 ;
5810 (char *) "self", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_FromInt((int)result
);
5830 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5833 wxWindow
*arg2
= (wxWindow
*) 0 ;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5837 (char *) "self",(char *) "window", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->Initialize(arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5862 wxWindow
*arg2
= (wxWindow
*) 0 ;
5863 wxWindow
*arg3
= (wxWindow
*) 0 ;
5864 int arg4
= (int) 0 ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5868 PyObject
* obj2
= 0 ;
5869 PyObject
* obj3
= 0 ;
5871 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5882 arg4
= (int) SWIG_AsInt(obj3
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5901 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5904 wxWindow
*arg2
= (wxWindow
*) 0 ;
5905 wxWindow
*arg3
= (wxWindow
*) 0 ;
5906 int arg4
= (int) 0 ;
5908 PyObject
* obj0
= 0 ;
5909 PyObject
* obj1
= 0 ;
5910 PyObject
* obj2
= 0 ;
5911 PyObject
* obj3
= 0 ;
5913 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5924 arg4
= (int) SWIG_AsInt(obj3
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5943 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5946 wxWindow
*arg2
= (wxWindow
*) NULL
;
5948 PyObject
* obj0
= 0 ;
5949 PyObject
* obj1
= 0 ;
5951 (char *) "self",(char *) "toRemove", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (bool)(arg1
)->Unsplit(arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5977 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5980 wxWindow
*arg2
= (wxWindow
*) 0 ;
5981 wxWindow
*arg3
= (wxWindow
*) 0 ;
5983 PyObject
* obj0
= 0 ;
5984 PyObject
* obj1
= 0 ;
5985 PyObject
* obj2
= 0 ;
5987 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6013 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "self", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 (arg1
)->UpdateSize();
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 Py_INCREF(Py_None
); resultobj
= Py_None
;
6038 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6042 PyObject
* obj0
= 0 ;
6044 (char *) "self", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6066 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6073 (char *) "self",(char *) "width", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6079 arg2
= (int) SWIG_AsInt(obj1
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 (arg1
)->SetSashSize(arg2
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 Py_INCREF(Py_None
); resultobj
= Py_None
;
6095 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6102 (char *) "self",(char *) "width", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6108 arg2
= (int) SWIG_AsInt(obj1
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->SetBorderSize(arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6124 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= SWIG_FromInt((int)result
);
6150 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6156 (char *) "self", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= SWIG_FromInt((int)result
);
6176 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
;
6178 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6180 bool arg3
= (bool) True
;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6183 PyObject
* obj2
= 0 ;
6185 (char *) "self",(char *) "position",(char *) "redraw", NULL
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6191 arg2
= (int) SWIG_AsInt(obj1
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 arg3
= (bool) SWIG_AsBool(obj2
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 (arg1
)->SetSashPosition(arg2
,arg3
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6211 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "self", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= SWIG_FromInt((int)result
);
6237 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6239 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6244 (char *) "self",(char *) "min", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6250 arg2
= (int) SWIG_AsInt(obj1
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 (arg1
)->SetMinimumPaneSize(arg2
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 Py_INCREF(Py_None
); resultobj
= Py_None
;
6266 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_FromInt((int)result
);
6292 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6297 int arg4
= (int) 5 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6301 PyObject
* obj2
= 0 ;
6302 PyObject
* obj3
= 0 ;
6304 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 arg2
= (int) SWIG_AsInt(obj1
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6312 arg3
= (int) SWIG_AsInt(obj2
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 arg4
= (int) SWIG_AsInt(obj3
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6334 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 (arg1
)->SizeWindows();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 Py_INCREF(Py_None
); resultobj
= Py_None
;
6359 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "self",(char *) "needUpdating", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 arg2
= (bool) SWIG_AsBool(obj1
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SetNeedUpdating(arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6416 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6419 wxVisualAttributes result
;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "variant", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6427 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6431 if (!wxPyCheckForApp()) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 wxVisualAttributes
* resultptr
;
6440 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6449 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6454 return Py_BuildValue((char *)"");
6456 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6459 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6460 wxSplitterEvent
*result
;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6464 (char *) "type",(char *) "splitter", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6469 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6490 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6497 (char *) "self",(char *) "pos", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 arg2
= (int) SWIG_AsInt(obj1
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 (arg1
)->SetSashPosition(arg2
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 Py_INCREF(Py_None
); resultobj
= Py_None
;
6519 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6525 (char *) "self", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_FromInt((int)result
);
6545 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6551 (char *) "self", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= wxPyMake_wxObject(result
);
6573 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6579 (char *) "self", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_FromInt((int)result
);
6599 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6605 (char *) "self", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= SWIG_FromInt((int)result
);
6625 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6628 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6630 return Py_BuildValue((char *)"");
6632 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6633 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6638 static PyObject
*_wrap_SashNameStr_get() {
6643 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6645 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6652 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6653 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6658 static PyObject
*_wrap_SashLayoutNameStr_get() {
6663 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6665 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6672 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxWindow
*arg1
= (wxWindow
*) 0 ;
6676 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6677 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6678 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6679 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6680 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6681 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6682 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6683 wxSashWindow
*result
;
6686 bool temp6
= False
;
6687 PyObject
* obj0
= 0 ;
6688 PyObject
* obj1
= 0 ;
6689 PyObject
* obj2
= 0 ;
6690 PyObject
* obj3
= 0 ;
6691 PyObject
* obj4
= 0 ;
6692 PyObject
* obj5
= 0 ;
6694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 arg2
= (int) SWIG_AsInt(obj1
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6705 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6711 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6715 arg5
= (long) SWIG_AsLong(obj4
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6720 arg6
= wxString_in_helper(obj5
);
6721 if (arg6
== NULL
) SWIG_fail
;
6726 if (!wxPyCheckForApp()) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6748 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxSashWindow
*result
;
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6757 if (!wxPyCheckForApp()) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (wxSashWindow
*)new wxSashWindow();
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6771 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6774 wxWindow
*arg2
= (wxWindow
*) 0 ;
6776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6780 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6781 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6786 bool temp7
= False
;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 PyObject
* obj2
= 0 ;
6790 PyObject
* obj3
= 0 ;
6791 PyObject
* obj4
= 0 ;
6792 PyObject
* obj5
= 0 ;
6793 PyObject
* obj6
= 0 ;
6795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6803 arg3
= (int) SWIG_AsInt(obj2
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6818 arg6
= (long) SWIG_AsLong(obj5
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6823 arg7
= wxString_in_helper(obj6
);
6824 if (arg7
== NULL
) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6852 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 PyObject
* obj2
= 0 ;
6861 (char *) "self",(char *) "edge",(char *) "sash", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6869 arg3
= (bool) SWIG_AsBool(obj2
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 Py_INCREF(Py_None
); resultobj
= Py_None
;
6885 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6891 PyObject
* obj1
= 0 ;
6893 (char *) "self",(char *) "edge", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6899 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6917 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 PyObject
* obj2
= 0 ;
6926 (char *) "self",(char *) "edge",(char *) "border", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6932 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6934 arg3
= (bool) SWIG_AsBool(obj2
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6943 Py_INCREF(Py_None
); resultobj
= Py_None
;
6950 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6955 PyObject
* obj0
= 0 ;
6956 PyObject
* obj1
= 0 ;
6958 (char *) "self",(char *) "edge", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6964 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6982 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6990 (char *) "self",(char *) "edge", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6996 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_FromInt((int)result
);
7012 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7019 (char *) "self",(char *) "width", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7025 arg2
= (int) SWIG_AsInt(obj1
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 (arg1
)->SetDefaultBorderSize(arg2
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 Py_INCREF(Py_None
); resultobj
= Py_None
;
7041 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "self", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= SWIG_FromInt((int)result
);
7067 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7074 (char *) "self",(char *) "width", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7080 arg2
= (int) SWIG_AsInt(obj1
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 (arg1
)->SetExtraBorderSize(arg2
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 Py_INCREF(Py_None
); resultobj
= Py_None
;
7096 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_FromInt((int)result
);
7122 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7129 (char *) "self",(char *) "min", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7135 arg2
= (int) SWIG_AsInt(obj1
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 (arg1
)->SetMinimumSizeX(arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7158 (char *) "self",(char *) "min", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7164 arg2
= (int) SWIG_AsInt(obj1
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetMinimumSizeY(arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7186 (char *) "self", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_FromInt((int)result
);
7206 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7210 PyObject
* obj0
= 0 ;
7212 (char *) "self", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_FromInt((int)result
);
7232 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7237 PyObject
* obj1
= 0 ;
7239 (char *) "self",(char *) "max", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7245 arg2
= (int) SWIG_AsInt(obj1
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetMaximumSizeX(arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7268 (char *) "self",(char *) "max", NULL
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7274 arg2
= (int) SWIG_AsInt(obj1
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 (arg1
)->SetMaximumSizeY(arg2
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 Py_INCREF(Py_None
); resultobj
= Py_None
;
7290 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7296 (char *) "self", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 resultobj
= SWIG_FromInt((int)result
);
7316 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7322 (char *) "self", NULL
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_FromInt((int)result
);
7342 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7347 int arg4
= (int) 2 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7351 PyObject
* obj2
= 0 ;
7352 PyObject
* obj3
= 0 ;
7354 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7360 arg2
= (int) SWIG_AsInt(obj1
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7362 arg3
= (int) SWIG_AsInt(obj2
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 arg4
= (int) SWIG_AsInt(obj3
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_FromInt((int)result
);
7382 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7387 (char *) "self", NULL
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 (arg1
)->SizeWindows();
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 Py_INCREF(Py_None
); resultobj
= Py_None
;
7407 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7410 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7412 return Py_BuildValue((char *)"");
7414 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 int arg1
= (int) 0 ;
7417 int arg2
= (int) wxSASH_NONE
;
7418 wxSashEvent
*result
;
7419 PyObject
* obj0
= 0 ;
7420 PyObject
* obj1
= 0 ;
7422 (char *) "id",(char *) "edge", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7427 arg1
= (int) SWIG_AsInt(obj0
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7431 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7448 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7455 (char *) "self",(char *) "edge", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7461 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7477 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7483 (char *) "self", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_FromInt((int)result
);
7503 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7511 (char *) "self",(char *) "rect", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7519 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7535 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "self", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7556 resultptr
= new wxRect((wxRect
&) result
);
7557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7565 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7572 (char *) "self",(char *) "status", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7578 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_FromInt((int)result
);
7620 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7623 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7625 return Py_BuildValue((char *)"");
7627 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 int arg1
= (int) 0 ;
7630 wxQueryLayoutInfoEvent
*result
;
7631 PyObject
* obj0
= 0 ;
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7638 arg1
= (int) SWIG_AsInt(obj0
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7655 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7660 PyObject
* obj1
= 0 ;
7662 (char *) "self",(char *) "length", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7668 arg2
= (int) SWIG_AsInt(obj1
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 (arg1
)->SetRequestedLength(arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_FromInt((int)result
);
7710 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "flags", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 arg2
= (int) SWIG_AsInt(obj1
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->SetFlags(arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 Py_INCREF(Py_None
); resultobj
= Py_None
;
7739 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_FromInt((int)result
);
7765 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7773 (char *) "self",(char *) "size", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7781 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 (arg1
)->SetSize((wxSize
const &)*arg2
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 Py_INCREF(Py_None
); resultobj
= Py_None
;
7797 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7818 resultptr
= new wxSize((wxSize
&) result
);
7819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7827 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj1
= 0 ;
7834 (char *) "self",(char *) "orient", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7840 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 Py_INCREF(Py_None
); resultobj
= Py_None
;
7856 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7862 (char *) "self", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= SWIG_FromInt((int)result
);
7882 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7889 (char *) "self",(char *) "align", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 Py_INCREF(Py_None
); resultobj
= Py_None
;
7911 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "self", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_FromInt((int)result
);
7937 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7940 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7942 return Py_BuildValue((char *)"");
7944 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 int arg1
= (int) 0 ;
7947 wxCalculateLayoutEvent
*result
;
7948 PyObject
* obj0
= 0 ;
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7955 arg1
= (int) SWIG_AsInt(obj0
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7972 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7979 (char *) "self",(char *) "flags", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7985 arg2
= (int) SWIG_AsInt(obj1
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 (arg1
)->SetFlags(arg2
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 Py_INCREF(Py_None
); resultobj
= Py_None
;
8001 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "self", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_FromInt((int)result
);
8027 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8035 (char *) "self",(char *) "rect", NULL
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 (arg1
)->SetRect((wxRect
const &)*arg2
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8080 resultptr
= new wxRect((wxRect
&) result
);
8081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8089 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8092 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8094 return Py_BuildValue((char *)"");
8096 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxWindow
*arg1
= (wxWindow
*) 0 ;
8100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8104 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8105 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8106 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8107 wxSashLayoutWindow
*result
;
8110 bool temp6
= False
;
8111 PyObject
* obj0
= 0 ;
8112 PyObject
* obj1
= 0 ;
8113 PyObject
* obj2
= 0 ;
8114 PyObject
* obj3
= 0 ;
8115 PyObject
* obj4
= 0 ;
8116 PyObject
* obj5
= 0 ;
8118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 arg2
= (int) SWIG_AsInt(obj1
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8135 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8139 arg5
= (long) SWIG_AsLong(obj4
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8144 arg6
= wxString_in_helper(obj5
);
8145 if (arg6
== NULL
) SWIG_fail
;
8150 if (!wxPyCheckForApp()) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8172 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxSashLayoutWindow
*result
;
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8181 if (!wxPyCheckForApp()) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8195 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8198 wxWindow
*arg2
= (wxWindow
*) 0 ;
8200 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8201 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8202 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8203 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8204 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8205 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8206 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8210 bool temp7
= False
;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 PyObject
* obj2
= 0 ;
8214 PyObject
* obj3
= 0 ;
8215 PyObject
* obj4
= 0 ;
8216 PyObject
* obj5
= 0 ;
8217 PyObject
* obj6
= 0 ;
8219 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 arg3
= (int) SWIG_AsInt(obj2
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8242 arg6
= (long) SWIG_AsLong(obj5
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8247 arg7
= wxString_in_helper(obj6
);
8248 if (arg7
== NULL
) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8276 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8282 (char *) "self", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= (int)(arg1
)->GetAlignment();
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_FromInt((int)result
);
8302 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
;
8304 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8306 PyObject
* obj0
= 0 ;
8308 (char *) "self", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 result
= (int)(arg1
)->GetOrientation();
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_FromInt((int)result
);
8328 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8330 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8335 (char *) "self",(char *) "alignment", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8341 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 Py_INCREF(Py_None
); resultobj
= Py_None
;
8357 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
;
8359 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8362 PyObject
* obj0
= 0 ;
8363 PyObject
* obj1
= 0 ;
8365 (char *) "self",(char *) "size", NULL
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8396 (char *) "self",(char *) "orientation", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8402 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 Py_INCREF(Py_None
); resultobj
= Py_None
;
8418 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8421 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8423 return Py_BuildValue((char *)"");
8425 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxLayoutAlgorithm
*result
;
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8447 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
;
8449 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 Py_INCREF(Py_None
); resultobj
= Py_None
;
8472 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8475 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8476 wxRect
*arg3
= (wxRect
*) NULL
;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8480 PyObject
* obj2
= 0 ;
8482 (char *) "self",(char *) "frame",(char *) "rect", NULL
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8491 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8510 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
;
8512 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8513 wxFrame
*arg2
= (wxFrame
*) 0 ;
8514 wxWindow
*arg3
= (wxWindow
*) NULL
;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8518 PyObject
* obj2
= 0 ;
8520 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8529 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8548 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8551 wxWindow
*arg2
= (wxWindow
*) 0 ;
8552 wxWindow
*arg3
= (wxWindow
*) NULL
;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8558 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8586 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8589 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8591 return Py_BuildValue((char *)"");
8593 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxWindow
*arg1
= (wxWindow
*) 0 ;
8596 int arg2
= (int) wxBORDER_NONE
;
8597 wxPopupWindow
*result
;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8601 (char *) "parent",(char *) "flags", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8608 arg2
= (int) SWIG_AsInt(obj1
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8612 if (!wxPyCheckForApp()) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8626 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
;
8628 wxPopupWindow
*result
;
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8635 if (!wxPyCheckForApp()) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (wxPopupWindow
*)new wxPopupWindow();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8649 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8652 wxWindow
*arg2
= (wxWindow
*) 0 ;
8653 int arg3
= (int) wxBORDER_NONE
;
8655 PyObject
* obj0
= 0 ;
8656 PyObject
* obj1
= 0 ;
8657 PyObject
* obj2
= 0 ;
8659 (char *) "self",(char *) "parent",(char *) "flags", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8668 arg3
= (int) SWIG_AsInt(obj2
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8687 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 PyObject
* obj2
= 0 ;
8698 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8706 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8710 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 Py_INCREF(Py_None
); resultobj
= Py_None
;
8726 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8729 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8731 return Py_BuildValue((char *)"");
8733 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxWindow
*arg1
= (wxWindow
*) 0 ;
8736 int arg2
= (int) wxBORDER_NONE
;
8737 wxPyPopupTransientWindow
*result
;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8741 (char *) "parent",(char *) "style", NULL
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8748 arg2
= (int) SWIG_AsInt(obj1
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 if (!wxPyCheckForApp()) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8766 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxPyPopupTransientWindow
*result
;
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8775 if (!wxPyCheckForApp()) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8789 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8792 PyObject
*arg2
= (PyObject
*) 0 ;
8793 PyObject
*arg3
= (PyObject
*) 0 ;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8796 PyObject
* obj2
= 0 ;
8798 (char *) "self",(char *) "self",(char *) "_class", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 Py_INCREF(Py_None
); resultobj
= Py_None
;
8820 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8823 wxWindow
*arg2
= (wxWindow
*) NULL
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8827 (char *) "self",(char *) "focus", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 (arg1
)->Popup(arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8854 PyObject
* obj0
= 0 ;
8856 (char *) "self", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8879 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8881 return Py_BuildValue((char *)"");
8883 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxWindow
*arg1
= (wxWindow
*) 0 ;
8886 wxString
*arg2
= 0 ;
8887 int arg3
= (int) 100 ;
8888 wxRect
*arg4
= (wxRect
*) NULL
;
8889 wxTipWindow
*result
;
8890 bool temp2
= False
;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8894 PyObject
* obj3
= 0 ;
8896 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 arg2
= wxString_in_helper(obj1
);
8904 if (arg2
== NULL
) SWIG_fail
;
8908 arg3
= (int) SWIG_AsInt(obj2
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8916 if (!wxPyCheckForApp()) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8938 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
;
8940 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8946 (char *) "self",(char *) "rectBound", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8975 (char *) "self", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8998 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9000 return Py_BuildValue((char *)"");
9002 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxWindow
*arg1
= (wxWindow
*) 0 ;
9005 int arg2
= (int) wxID_ANY
;
9006 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9007 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9008 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9009 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9010 long arg5
= (long) 0 ;
9011 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9012 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9013 wxPyVScrolledWindow
*result
;
9016 bool temp6
= False
;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9019 PyObject
* obj2
= 0 ;
9020 PyObject
* obj3
= 0 ;
9021 PyObject
* obj4
= 0 ;
9022 PyObject
* obj5
= 0 ;
9024 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9031 arg2
= (int) SWIG_AsInt(obj1
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9047 arg5
= (long) SWIG_AsLong(obj4
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9052 arg6
= wxString_in_helper(obj5
);
9053 if (arg6
== NULL
) SWIG_fail
;
9058 if (!wxPyCheckForApp()) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9080 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxPyVScrolledWindow
*result
;
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9089 if (!wxPyCheckForApp()) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9103 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9106 PyObject
*arg2
= (PyObject
*) 0 ;
9107 PyObject
*arg3
= (PyObject
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 PyObject
* obj2
= 0 ;
9112 (char *) "self",(char *) "self",(char *) "_class", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 Py_INCREF(Py_None
); resultobj
= Py_None
;
9134 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9137 wxWindow
*arg2
= (wxWindow
*) 0 ;
9138 int arg3
= (int) wxID_ANY
;
9139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9143 long arg6
= (long) 0 ;
9144 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9149 bool temp7
= False
;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 PyObject
* obj2
= 0 ;
9153 PyObject
* obj3
= 0 ;
9154 PyObject
* obj4
= 0 ;
9155 PyObject
* obj5
= 0 ;
9156 PyObject
* obj6
= 0 ;
9158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 arg3
= (int) SWIG_AsInt(obj2
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9183 arg6
= (long) SWIG_AsLong(obj5
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9188 arg7
= wxString_in_helper(obj6
);
9189 if (arg7
== NULL
) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9217 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9224 (char *) "self",(char *) "count", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9230 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 (arg1
)->SetLineCount(arg2
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9254 (char *) "self",(char *) "line", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9278 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9286 (char *) "self",(char *) "lines", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9292 arg2
= (int) SWIG_AsInt(obj1
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (bool)(arg1
)->ScrollLines(arg2
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9310 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9318 (char *) "self",(char *) "pages", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9324 arg2
= (int) SWIG_AsInt(obj1
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)(arg1
)->ScrollPages(arg2
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9342 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9349 (char *) "self",(char *) "line", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9355 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 (arg1
)->RefreshLine(arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 Py_INCREF(Py_None
); resultobj
= Py_None
;
9371 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9380 (char *) "self",(char *) "from",(char *) "to", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9386 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9388 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->RefreshLines(arg2
,arg3
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9404 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9412 PyObject
* obj2
= 0 ;
9414 (char *) "self",(char *) "x",(char *) "y", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 arg2
= (int) SWIG_AsInt(obj1
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9422 arg3
= (int) SWIG_AsInt(obj2
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_FromInt((int)result
);
9438 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9447 (char *) "self",(char *) "pt", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_FromInt((int)result
);
9471 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 (arg1
)->RefreshAll();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 Py_INCREF(Py_None
); resultobj
= Py_None
;
9496 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9502 (char *) "self", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9522 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9548 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9554 (char *) "self", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9574 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9580 PyObject
* obj1
= 0 ;
9582 (char *) "self",(char *) "line", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9606 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9609 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9611 return Py_BuildValue((char *)"");
9613 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9614 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9619 static PyObject
*_wrap_VListBoxNameStr_get() {
9624 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9626 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9633 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxWindow
*arg1
= (wxWindow
*) 0 ;
9636 int arg2
= (int) wxID_ANY
;
9637 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9638 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9639 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9640 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9641 long arg5
= (long) 0 ;
9642 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9643 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9644 wxPyVListBox
*result
;
9647 bool temp6
= False
;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9650 PyObject
* obj2
= 0 ;
9651 PyObject
* obj3
= 0 ;
9652 PyObject
* obj4
= 0 ;
9653 PyObject
* obj5
= 0 ;
9655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9662 arg2
= (int) SWIG_AsInt(obj1
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9668 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9674 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9678 arg5
= (long) SWIG_AsLong(obj4
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9683 arg6
= wxString_in_helper(obj5
);
9684 if (arg6
== NULL
) SWIG_fail
;
9689 if (!wxPyCheckForApp()) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9711 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxPyVListBox
*result
;
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9720 if (!wxPyCheckForApp()) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (wxPyVListBox
*)new wxPyVListBox();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9734 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9737 PyObject
*arg2
= (PyObject
*) 0 ;
9738 PyObject
*arg3
= (PyObject
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9741 PyObject
* obj2
= 0 ;
9743 (char *) "self",(char *) "self",(char *) "_class", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 Py_INCREF(Py_None
); resultobj
= Py_None
;
9765 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9768 wxWindow
*arg2
= (wxWindow
*) 0 ;
9769 int arg3
= (int) wxID_ANY
;
9770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9774 long arg6
= (long) 0 ;
9775 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9776 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9780 bool temp7
= False
;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 PyObject
* obj2
= 0 ;
9784 PyObject
* obj3
= 0 ;
9785 PyObject
* obj4
= 0 ;
9786 PyObject
* obj5
= 0 ;
9787 PyObject
* obj6
= 0 ;
9789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 arg3
= (int) SWIG_AsInt(obj2
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9814 arg6
= (long) SWIG_AsLong(obj5
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9819 arg7
= wxString_in_helper(obj6
);
9820 if (arg7
== NULL
) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9848 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9874 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9902 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_FromInt((int)result
);
9928 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9936 (char *) "self",(char *) "item", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9942 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9960 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9968 (char *) "self",(char *) "item", NULL
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9974 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9992 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10018 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10021 unsigned long *arg2
= 0 ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "cookie", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10035 if (arg2
== NULL
) {
10036 PyErr_SetString(PyExc_TypeError
,"null reference");
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_FromInt((int)result
);
10053 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10056 unsigned long *arg2
= 0 ;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self",(char *) "cookie", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10070 if (arg2
== NULL
) {
10071 PyErr_SetString(PyExc_TypeError
,"null reference");
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_FromInt((int)result
);
10088 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 wxPoint
* resultptr
;
10109 resultptr
= new wxPoint((wxPoint
&) result
);
10110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10118 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10134 result
= (wxColour
*) &_result_ref
;
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10147 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 char *kwnames
[] = {
10154 (char *) "self",(char *) "count", NULL
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10160 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 (arg1
)->SetItemCount(arg2
);
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 Py_INCREF(Py_None
); resultobj
= Py_None
;
10176 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10179 PyObject
* obj0
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 Py_INCREF(Py_None
); resultobj
= Py_None
;
10201 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
;
10203 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10205 PyObject
* obj0
= 0 ;
10206 PyObject
* obj1
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self",(char *) "selection", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10214 arg2
= (int) SWIG_AsInt(obj1
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 (arg1
)->SetSelection(arg2
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 Py_INCREF(Py_None
); resultobj
= Py_None
;
10230 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10234 bool arg3
= (bool) True
;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 PyObject
* obj2
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self",(char *) "item",(char *) "select", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10246 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 arg3
= (bool) SWIG_AsBool(obj2
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10268 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 PyObject
* obj2
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self",(char *) "from",(char *) "to", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10284 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10286 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self",(char *) "item", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10317 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 (arg1
)->Toggle(arg2
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 Py_INCREF(Py_None
); resultobj
= Py_None
;
10333 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (bool)(arg1
)->SelectAll();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10361 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
;
10363 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10365 PyObject
* obj0
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (bool)(arg1
)->DeselectAll();
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10392 wxPoint
*arg2
= 0 ;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self",(char *) "pt", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 Py_INCREF(Py_None
); resultobj
= Py_None
;
10421 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 PyObject
* obj2
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self",(char *) "x",(char *) "y", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10436 arg2
= (int) SWIG_AsInt(obj1
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10438 arg3
= (int) SWIG_AsInt(obj2
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 (arg1
)->SetMargins(arg2
,arg3
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 Py_INCREF(Py_None
); resultobj
= Py_None
;
10454 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10457 wxColour
*arg2
= 0 ;
10459 PyObject
* obj0
= 0 ;
10460 PyObject
* obj1
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self",(char *) "col", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 Py_INCREF(Py_None
); resultobj
= Py_None
;
10486 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10489 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10491 return Py_BuildValue((char *)"");
10493 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxWindow
*arg1
= (wxWindow
*) 0 ;
10496 int arg2
= (int) wxID_ANY
;
10497 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10498 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10499 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10500 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10501 long arg5
= (long) 0 ;
10502 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10503 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10504 wxPyHtmlListBox
*result
;
10507 bool temp6
= False
;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 PyObject
* obj2
= 0 ;
10511 PyObject
* obj3
= 0 ;
10512 PyObject
* obj4
= 0 ;
10513 PyObject
* obj5
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 arg2
= (int) SWIG_AsInt(obj1
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10528 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10534 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10538 arg5
= (long) SWIG_AsLong(obj4
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10543 arg6
= wxString_in_helper(obj5
);
10544 if (arg6
== NULL
) SWIG_fail
;
10549 if (!wxPyCheckForApp()) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10571 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxPyHtmlListBox
*result
;
10574 char *kwnames
[] = {
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10580 if (!wxPyCheckForApp()) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10594 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10597 PyObject
*arg2
= (PyObject
*) 0 ;
10598 PyObject
*arg3
= (PyObject
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 PyObject
* obj2
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "self",(char *) "_class", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 Py_INCREF(Py_None
); resultobj
= Py_None
;
10625 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10628 wxWindow
*arg2
= (wxWindow
*) 0 ;
10629 int arg3
= (int) wxID_ANY
;
10630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10634 long arg6
= (long) 0 ;
10635 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10640 bool temp7
= False
;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 PyObject
* obj2
= 0 ;
10644 PyObject
* obj3
= 0 ;
10645 PyObject
* obj4
= 0 ;
10646 PyObject
* obj5
= 0 ;
10647 PyObject
* obj6
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 arg3
= (int) SWIG_AsInt(obj2
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10674 arg6
= (long) SWIG_AsLong(obj5
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10679 arg7
= wxString_in_helper(obj6
);
10680 if (arg7
== NULL
) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10708 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10711 PyObject
* obj0
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 (arg1
)->RefreshAll();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 Py_INCREF(Py_None
); resultobj
= Py_None
;
10733 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self",(char *) "count", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->SetItemCount(arg2
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10765 wxFileSystem
*result
;
10766 PyObject
* obj0
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10778 result
= (wxFileSystem
*) &_result_ref
;
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10791 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10794 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10796 return Py_BuildValue((char *)"");
10798 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxTaskBarIcon
*result
;
10801 char *kwnames
[] = {
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10807 if (!wxPyCheckForApp()) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10821 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 Py_INCREF(Py_None
); resultobj
= Py_None
;
10846 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 wxTaskBarIcon_Destroy(arg1
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 Py_INCREF(Py_None
); resultobj
= Py_None
;
10871 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10899 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10927 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10931 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10932 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10934 bool temp3
= False
;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 PyObject
* obj2
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10948 if (arg2
== NULL
) {
10949 PyErr_SetString(PyExc_TypeError
,"null reference");
10954 arg3
= wxString_in_helper(obj2
);
10955 if (arg3
== NULL
) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10983 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (bool)(arg1
)->RemoveIcon();
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11011 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11014 wxMenu
*arg2
= (wxMenu
*) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self",(char *) "menu", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (bool)(arg1
)->PopupMenu(arg2
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11043 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11048 return Py_BuildValue((char *)"");
11050 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11053 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11054 wxTaskBarIconEvent
*result
;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 char *kwnames
[] = {
11058 (char *) "evtType",(char *) "tbIcon", NULL
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11062 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11080 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11083 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11085 return Py_BuildValue((char *)"");
11087 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11088 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11093 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11098 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11100 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11107 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11108 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11113 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11118 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11120 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11127 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11128 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11133 static PyObject
*_wrap_DirDialogNameStr_get() {
11138 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11140 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11147 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11148 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11153 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11158 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11160 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11167 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11168 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11173 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11178 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11180 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11187 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11188 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11193 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11198 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11200 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11207 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 wxColourData
*result
;
11210 char *kwnames
[] = {
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (wxColourData
*)new wxColourData();
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11229 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxColourData
*arg1
= (wxColourData
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 Py_INCREF(Py_None
); resultobj
= Py_None
;
11254 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxColourData
*arg1
= (wxColourData
*) 0 ;
11258 PyObject
* obj0
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (bool)(arg1
)->GetChooseFull();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11282 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxColourData
*arg1
= (wxColourData
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (arg1
)->GetColour();
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11302 wxColour
* resultptr
;
11303 resultptr
= new wxColour((wxColour
&) result
);
11304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11312 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxColourData
*arg1
= (wxColourData
*) 0 ;
11317 PyObject
* obj0
= 0 ;
11318 PyObject
* obj1
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self",(char *) "i", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11326 arg2
= (int) SWIG_AsInt(obj1
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (arg1
)->GetCustomColour(arg2
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11336 wxColour
* resultptr
;
11337 resultptr
= new wxColour((wxColour
&) result
);
11338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11346 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxColourData
*arg1
= (wxColourData
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 char *kwnames
[] = {
11353 (char *) "self",(char *) "flag", NULL
11356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11359 arg2
= (int) SWIG_AsInt(obj1
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 (arg1
)->SetChooseFull(arg2
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxColourData
*arg1
= (wxColourData
*) 0 ;
11378 wxColour
*arg2
= 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self",(char *) "colour", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11391 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 (arg1
)->SetColour((wxColour
const &)*arg2
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 Py_INCREF(Py_None
); resultobj
= Py_None
;
11407 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxColourData
*arg1
= (wxColourData
*) 0 ;
11411 wxColour
*arg3
= 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self",(char *) "i",(char *) "colour", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11423 arg2
= (int) SWIG_AsInt(obj1
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 Py_INCREF(Py_None
); resultobj
= Py_None
;
11443 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11446 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11448 return Py_BuildValue((char *)"");
11450 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxWindow
*arg1
= (wxWindow
*) 0 ;
11453 wxColourData
*arg2
= (wxColourData
*) NULL
;
11454 wxColourDialog
*result
;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "parent",(char *) "data", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11469 if (!wxPyCheckForApp()) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11483 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11486 wxColourData
*result
;
11487 PyObject
* obj0
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11499 result
= (wxColourData
*) &_result_ref
;
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11512 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11515 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11517 return Py_BuildValue((char *)"");
11519 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxWindow
*arg1
= (wxWindow
*) 0 ;
11522 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11523 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11526 long arg4
= (long) 0 ;
11527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11531 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11532 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11533 wxDirDialog
*result
;
11534 bool temp2
= False
;
11535 bool temp3
= False
;
11538 bool temp7
= False
;
11539 PyObject
* obj0
= 0 ;
11540 PyObject
* obj1
= 0 ;
11541 PyObject
* obj2
= 0 ;
11542 PyObject
* obj3
= 0 ;
11543 PyObject
* obj4
= 0 ;
11544 PyObject
* obj5
= 0 ;
11545 PyObject
* obj6
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 arg2
= wxString_in_helper(obj1
);
11556 if (arg2
== NULL
) SWIG_fail
;
11562 arg3
= wxString_in_helper(obj2
);
11563 if (arg3
== NULL
) SWIG_fail
;
11568 arg4
= (long) SWIG_AsLong(obj3
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11574 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11580 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11585 arg7
= wxString_in_helper(obj6
);
11586 if (arg7
== NULL
) SWIG_fail
;
11591 if (!wxPyCheckForApp()) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11629 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (arg1
)->GetPath();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11661 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (arg1
)->GetMessage();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11693 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (long)(arg1
)->GetStyle();
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= SWIG_FromLong((long)result
);
11719 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11722 wxString
*arg2
= 0 ;
11723 bool temp2
= False
;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "message", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 arg2
= wxString_in_helper(obj1
);
11735 if (arg2
== NULL
) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 (arg1
)->SetMessage((wxString
const &)*arg2
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 Py_INCREF(Py_None
); resultobj
= Py_None
;
11760 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11763 wxString
*arg2
= 0 ;
11764 bool temp2
= False
;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self",(char *) "path", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11775 arg2
= wxString_in_helper(obj1
);
11776 if (arg2
== NULL
) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->SetPath((wxString
const &)*arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 Py_INCREF(Py_None
); resultobj
= Py_None
;
11801 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11804 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11806 return Py_BuildValue((char *)"");
11808 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxWindow
*arg1
= (wxWindow
*) 0 ;
11811 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11812 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11813 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11814 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11815 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11816 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11817 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11818 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11819 long arg6
= (long) 0 ;
11820 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11821 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11822 wxFileDialog
*result
;
11823 bool temp2
= False
;
11824 bool temp3
= False
;
11825 bool temp4
= False
;
11826 bool temp5
= False
;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 PyObject
* obj2
= 0 ;
11831 PyObject
* obj3
= 0 ;
11832 PyObject
* obj4
= 0 ;
11833 PyObject
* obj5
= 0 ;
11834 PyObject
* obj6
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11844 arg2
= wxString_in_helper(obj1
);
11845 if (arg2
== NULL
) SWIG_fail
;
11851 arg3
= wxString_in_helper(obj2
);
11852 if (arg3
== NULL
) SWIG_fail
;
11858 arg4
= wxString_in_helper(obj3
);
11859 if (arg4
== NULL
) SWIG_fail
;
11865 arg5
= wxString_in_helper(obj4
);
11866 if (arg5
== NULL
) SWIG_fail
;
11871 arg6
= (long) SWIG_AsLong(obj5
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11877 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11881 if (!wxPyCheckForApp()) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11927 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11930 wxString
*arg2
= 0 ;
11931 bool temp2
= False
;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "message", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11942 arg2
= wxString_in_helper(obj1
);
11943 if (arg2
== NULL
) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 (arg1
)->SetMessage((wxString
const &)*arg2
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 Py_INCREF(Py_None
); resultobj
= Py_None
;
11968 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11971 wxString
*arg2
= 0 ;
11972 bool temp2
= False
;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 char *kwnames
[] = {
11976 (char *) "self",(char *) "path", NULL
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11983 arg2
= wxString_in_helper(obj1
);
11984 if (arg2
== NULL
) SWIG_fail
;
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 (arg1
)->SetPath((wxString
const &)*arg2
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 Py_INCREF(Py_None
); resultobj
= Py_None
;
12009 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12012 wxString
*arg2
= 0 ;
12013 bool temp2
= False
;
12014 PyObject
* obj0
= 0 ;
12015 PyObject
* obj1
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self",(char *) "dir", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12024 arg2
= wxString_in_helper(obj1
);
12025 if (arg2
== NULL
) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 Py_INCREF(Py_None
); resultobj
= Py_None
;
12050 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12053 wxString
*arg2
= 0 ;
12054 bool temp2
= False
;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "name", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12065 arg2
= wxString_in_helper(obj1
);
12066 if (arg2
== NULL
) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetFilename((wxString
const &)*arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 Py_INCREF(Py_None
); resultobj
= Py_None
;
12091 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12094 wxString
*arg2
= 0 ;
12095 bool temp2
= False
;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self",(char *) "wildCard", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 arg2
= wxString_in_helper(obj1
);
12107 if (arg2
== NULL
) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 Py_INCREF(Py_None
); resultobj
= Py_None
;
12132 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "style", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12145 arg2
= (long) SWIG_AsLong(obj1
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 (arg1
)->SetStyle(arg2
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 Py_INCREF(Py_None
); resultobj
= Py_None
;
12161 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "filterIndex", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12174 arg2
= (int) SWIG_AsInt(obj1
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 (arg1
)->SetFilterIndex(arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 Py_INCREF(Py_None
); resultobj
= Py_None
;
12190 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12222 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12226 PyObject
* obj0
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12254 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12286 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12318 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12350 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_FromLong((long)result
);
12376 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_FromInt((int)result
);
12402 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 char *kwnames
[] = {
12408 (char *) "self", NULL
12411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= result
;
12428 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
;
12430 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12432 PyObject
* obj0
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "self", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= result
;
12454 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12457 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12459 return Py_BuildValue((char *)"");
12461 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxWindow
*arg1
= (wxWindow
*) 0 ;
12464 wxString
*arg2
= 0 ;
12465 wxString
*arg3
= 0 ;
12466 int arg4
= (int) 0 ;
12467 wxString
*arg5
= (wxString
*) 0 ;
12468 long arg6
= (long) wxCHOICEDLG_STYLE
;
12469 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12470 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12471 wxMultiChoiceDialog
*result
;
12472 bool temp2
= False
;
12473 bool temp3
= False
;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 PyObject
* obj2
= 0 ;
12478 PyObject
* obj3
= 0 ;
12479 PyObject
* obj4
= 0 ;
12480 PyObject
* obj5
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 arg2
= wxString_in_helper(obj1
);
12490 if (arg2
== NULL
) SWIG_fail
;
12494 arg3
= wxString_in_helper(obj2
);
12495 if (arg3
== NULL
) SWIG_fail
;
12500 arg4
= PyList_Size(obj3
);
12501 arg5
= wxString_LIST_helper(obj3
);
12502 if (arg5
== NULL
) SWIG_fail
;
12506 arg6
= (long) SWIG_AsLong(obj4
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12512 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12516 if (!wxPyCheckForApp()) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12533 if (arg5
) delete [] arg5
;
12546 if (arg5
) delete [] arg5
;
12552 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12555 wxArrayInt
*arg2
= 0 ;
12556 bool temp2
= False
;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self",(char *) "selections", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12567 if (! PySequence_Check(obj1
)) {
12568 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12571 arg2
= new wxArrayInt
;
12573 int i
, len
=PySequence_Length(obj1
);
12574 for (i
=0; i
<len
; i
++) {
12575 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12576 PyObject
* number
= PyNumber_Int(item
);
12577 arg2
->Add(PyInt_AS_LONG(number
));
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12591 if (temp2
) delete arg2
;
12596 if (temp2
) delete arg2
;
12602 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12606 PyObject
* obj0
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= result
;
12628 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12631 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12633 return Py_BuildValue((char *)"");
12635 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxWindow
*arg1
= (wxWindow
*) 0 ;
12638 wxString
*arg2
= 0 ;
12639 wxString
*arg3
= 0 ;
12641 wxString
*arg5
= (wxString
*) 0 ;
12642 long arg6
= (long) wxCHOICEDLG_STYLE
;
12643 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12644 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12645 wxSingleChoiceDialog
*result
;
12646 bool temp2
= False
;
12647 bool temp3
= False
;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 PyObject
* obj2
= 0 ;
12652 PyObject
* obj3
= 0 ;
12653 PyObject
* obj4
= 0 ;
12654 PyObject
* obj5
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 arg2
= wxString_in_helper(obj1
);
12664 if (arg2
== NULL
) SWIG_fail
;
12668 arg3
= wxString_in_helper(obj2
);
12669 if (arg3
== NULL
) SWIG_fail
;
12673 arg4
= PyList_Size(obj3
);
12674 arg5
= wxString_LIST_helper(obj3
);
12675 if (arg5
== NULL
) SWIG_fail
;
12678 arg6
= (long) SWIG_AsLong(obj4
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12684 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12688 if (!wxPyCheckForApp()) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12705 if (arg5
) delete [] arg5
;
12718 if (arg5
) delete [] arg5
;
12724 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (int)(arg1
)->GetSelection();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= SWIG_FromInt((int)result
);
12750 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (arg1
)->GetStringSelection();
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12782 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self",(char *) "sel", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12795 arg2
= (int) SWIG_AsInt(obj1
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 (arg1
)->SetSelection(arg2
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 Py_INCREF(Py_None
); resultobj
= Py_None
;
12811 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12814 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12816 return Py_BuildValue((char *)"");
12818 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxWindow
*arg1
= (wxWindow
*) 0 ;
12821 wxString
*arg2
= 0 ;
12822 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12823 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12824 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12825 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12826 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12827 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12828 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12829 wxTextEntryDialog
*result
;
12830 bool temp2
= False
;
12831 bool temp3
= False
;
12832 bool temp4
= False
;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 PyObject
* obj2
= 0 ;
12837 PyObject
* obj3
= 0 ;
12838 PyObject
* obj4
= 0 ;
12839 PyObject
* obj5
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12848 arg2
= wxString_in_helper(obj1
);
12849 if (arg2
== NULL
) SWIG_fail
;
12854 arg3
= wxString_in_helper(obj2
);
12855 if (arg3
== NULL
) SWIG_fail
;
12861 arg4
= wxString_in_helper(obj3
);
12862 if (arg4
== NULL
) SWIG_fail
;
12867 arg5
= (long) SWIG_AsLong(obj4
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12873 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12877 if (!wxPyCheckForApp()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12915 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12919 PyObject
* obj0
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 result
= (arg1
)->GetValue();
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12947 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12950 wxString
*arg2
= 0 ;
12951 bool temp2
= False
;
12952 PyObject
* obj0
= 0 ;
12953 PyObject
* obj1
= 0 ;
12954 char *kwnames
[] = {
12955 (char *) "self",(char *) "value", NULL
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12962 arg2
= wxString_in_helper(obj1
);
12963 if (arg2
== NULL
) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 (arg1
)->SetValue((wxString
const &)*arg2
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 Py_INCREF(Py_None
); resultobj
= Py_None
;
12988 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12991 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12993 return Py_BuildValue((char *)"");
12995 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxFontData
*result
;
12998 char *kwnames
[] = {
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (wxFontData
*)new wxFontData();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13017 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxFontData
*arg1
= (wxFontData
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxFontData
*arg1
= (wxFontData
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "enable", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 arg2
= (bool) SWIG_AsBool(obj1
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 (arg1
)->EnableEffects(arg2
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 Py_INCREF(Py_None
); resultobj
= Py_None
;
13071 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
;
13073 wxFontData
*arg1
= (wxFontData
*) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 char *kwnames
[] = {
13077 (char *) "self", NULL
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (bool)(arg1
)->GetAllowSymbols();
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13099 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxFontData
*arg1
= (wxFontData
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (arg1
)->GetColour();
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 wxColour
* resultptr
;
13120 resultptr
= new wxColour((wxColour
&) result
);
13121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13129 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxFontData
*arg1
= (wxFontData
*) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (arg1
)->GetChosenFont();
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13149 wxFont
* resultptr
;
13150 resultptr
= new wxFont((wxFont
&) result
);
13151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13159 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxFontData
*arg1
= (wxFontData
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (bool)(arg1
)->GetEnableEffects();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13187 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxFontData
*arg1
= (wxFontData
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (arg1
)->GetInitialFont();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 wxFont
* resultptr
;
13208 resultptr
= new wxFont((wxFont
&) result
);
13209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13217 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxFontData
*arg1
= (wxFontData
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (bool)(arg1
)->GetShowHelp();
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13245 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxFontData
*arg1
= (wxFontData
*) 0 ;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self",(char *) "allowSymbols", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13258 arg2
= (bool) SWIG_AsBool(obj1
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->SetAllowSymbols(arg2
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxFontData
*arg1
= (wxFontData
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "font", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13290 if (arg2
== NULL
) {
13291 PyErr_SetString(PyExc_TypeError
,"null reference");
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 Py_INCREF(Py_None
); resultobj
= Py_None
;
13308 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxFontData
*arg1
= (wxFontData
*) 0 ;
13311 wxColour
*arg2
= 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "colour", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 (arg1
)->SetColour((wxColour
const &)*arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 Py_INCREF(Py_None
); resultobj
= Py_None
;
13340 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
;
13342 wxFontData
*arg1
= (wxFontData
*) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self",(char *) "font", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13356 if (arg2
== NULL
) {
13357 PyErr_SetString(PyExc_TypeError
,"null reference");
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 Py_INCREF(Py_None
); resultobj
= Py_None
;
13374 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxFontData
*arg1
= (wxFontData
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 PyObject
* obj2
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self",(char *) "min",(char *) "max", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13389 arg2
= (int) SWIG_AsInt(obj1
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13391 arg3
= (int) SWIG_AsInt(obj2
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 (arg1
)->SetRange(arg2
,arg3
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 Py_INCREF(Py_None
); resultobj
= Py_None
;
13407 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxFontData
*arg1
= (wxFontData
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "showHelp", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13420 arg2
= (bool) SWIG_AsBool(obj1
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 (arg1
)->SetShowHelp(arg2
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 Py_INCREF(Py_None
); resultobj
= Py_None
;
13436 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13439 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13441 return Py_BuildValue((char *)"");
13443 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxWindow
*arg1
= (wxWindow
*) 0 ;
13446 wxFontData
*arg2
= 0 ;
13447 wxFontDialog
*result
;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "parent",(char *) "data", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13460 if (arg2
== NULL
) {
13461 PyErr_SetString(PyExc_TypeError
,"null reference");
13465 if (!wxPyCheckForApp()) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13479 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13482 wxFontData
*result
;
13483 PyObject
* obj0
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13495 result
= (wxFontData
*) &_result_ref
;
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13508 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13511 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13513 return Py_BuildValue((char *)"");
13515 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxWindow
*arg1
= (wxWindow
*) 0 ;
13518 wxString
*arg2
= 0 ;
13519 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13521 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13522 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13523 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13524 wxMessageDialog
*result
;
13525 bool temp2
= False
;
13526 bool temp3
= False
;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 PyObject
* obj2
= 0 ;
13531 PyObject
* obj3
= 0 ;
13532 PyObject
* obj4
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13541 arg2
= wxString_in_helper(obj1
);
13542 if (arg2
== NULL
) SWIG_fail
;
13547 arg3
= wxString_in_helper(obj2
);
13548 if (arg3
== NULL
) SWIG_fail
;
13553 arg4
= (long) SWIG_AsLong(obj3
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13559 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13563 if (!wxPyCheckForApp()) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13593 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13596 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13598 return Py_BuildValue((char *)"");
13600 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxString
*arg1
= 0 ;
13603 wxString
*arg2
= 0 ;
13604 int arg3
= (int) 100 ;
13605 wxWindow
*arg4
= (wxWindow
*) NULL
;
13606 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13607 wxProgressDialog
*result
;
13608 bool temp1
= False
;
13609 bool temp2
= False
;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 PyObject
* obj2
= 0 ;
13613 PyObject
* obj3
= 0 ;
13614 PyObject
* obj4
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13621 arg1
= wxString_in_helper(obj0
);
13622 if (arg1
== NULL
) SWIG_fail
;
13626 arg2
= wxString_in_helper(obj1
);
13627 if (arg2
== NULL
) SWIG_fail
;
13631 arg3
= (int) SWIG_AsInt(obj2
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 arg5
= (int) SWIG_AsInt(obj4
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 if (!wxPyCheckForApp()) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13673 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13677 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13680 bool temp3
= False
;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 PyObject
* obj2
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 arg2
= (int) SWIG_AsInt(obj1
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13695 arg3
= wxString_in_helper(obj2
);
13696 if (arg3
== NULL
) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13724 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 Py_INCREF(Py_None
); resultobj
= Py_None
;
13749 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13752 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13754 return Py_BuildValue((char *)"");
13756 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13759 int arg2
= (int) 0 ;
13760 wxFindDialogEvent
*result
;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "commandType",(char *) "id", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13769 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13773 arg2
= (int) SWIG_AsInt(obj1
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13790 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (int)(arg1
)->GetFlags();
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_FromInt((int)result
);
13816 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
;
13818 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 wxString
const &_result_ref
= (arg1
)->GetFindString();
13832 result
= (wxString
*) &_result_ref
;
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13842 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13851 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "self", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13867 result
= (wxString
*) &_result_ref
;
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13877 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13886 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13889 wxFindReplaceDialog
*result
;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13912 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "flags", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 arg2
= (int) SWIG_AsInt(obj1
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 (arg1
)->SetFlags(arg2
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 Py_INCREF(Py_None
); resultobj
= Py_None
;
13941 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13944 wxString
*arg2
= 0 ;
13945 bool temp2
= False
;
13946 PyObject
* obj0
= 0 ;
13947 PyObject
* obj1
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self",(char *) "str", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13956 arg2
= wxString_in_helper(obj1
);
13957 if (arg2
== NULL
) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 (arg1
)->SetFindString((wxString
const &)*arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 Py_INCREF(Py_None
); resultobj
= Py_None
;
13982 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13985 wxString
*arg2
= 0 ;
13986 bool temp2
= False
;
13987 PyObject
* obj0
= 0 ;
13988 PyObject
* obj1
= 0 ;
13989 char *kwnames
[] = {
13990 (char *) "self",(char *) "str", NULL
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13997 arg2
= wxString_in_helper(obj1
);
13998 if (arg2
== NULL
) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14023 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14028 return Py_BuildValue((char *)"");
14030 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 int arg1
= (int) 0 ;
14033 wxFindReplaceData
*result
;
14034 PyObject
* obj0
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "flags", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14041 arg1
= (int) SWIG_AsInt(obj0
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14058 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14061 PyObject
* obj0
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 wxString
const &_result_ref
= (arg1
)->GetFindString();
14099 result
= (wxString
*) &_result_ref
;
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14118 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14134 result
= (wxString
*) &_result_ref
;
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14153 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (int)(arg1
)->GetFlags();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_FromInt((int)result
);
14179 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 PyObject
* obj1
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self",(char *) "flags", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14192 arg2
= (int) SWIG_AsInt(obj1
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 (arg1
)->SetFlags(arg2
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 Py_INCREF(Py_None
); resultobj
= Py_None
;
14208 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14211 wxString
*arg2
= 0 ;
14212 bool temp2
= False
;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self",(char *) "str", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14223 arg2
= wxString_in_helper(obj1
);
14224 if (arg2
== NULL
) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 (arg1
)->SetFindString((wxString
const &)*arg2
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 Py_INCREF(Py_None
); resultobj
= Py_None
;
14249 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14252 wxString
*arg2
= 0 ;
14253 bool temp2
= False
;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 char *kwnames
[] = {
14257 (char *) "self",(char *) "str", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14264 arg2
= wxString_in_helper(obj1
);
14265 if (arg2
== NULL
) SWIG_fail
;
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 Py_INCREF(Py_None
); resultobj
= Py_None
;
14290 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14293 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14295 return Py_BuildValue((char *)"");
14297 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxWindow
*arg1
= (wxWindow
*) 0 ;
14300 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14301 wxString
*arg3
= 0 ;
14302 int arg4
= (int) 0 ;
14303 wxFindReplaceDialog
*result
;
14304 bool temp3
= False
;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 PyObject
* obj2
= 0 ;
14308 PyObject
* obj3
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 arg3
= wxString_in_helper(obj2
);
14320 if (arg3
== NULL
) SWIG_fail
;
14324 arg4
= (int) SWIG_AsInt(obj3
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 if (!wxPyCheckForApp()) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14350 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxFindReplaceDialog
*result
;
14353 char *kwnames
[] = {
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14359 if (!wxPyCheckForApp()) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14373 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14376 wxWindow
*arg2
= (wxWindow
*) 0 ;
14377 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14378 wxString
*arg4
= 0 ;
14379 int arg5
= (int) 0 ;
14381 bool temp4
= False
;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 PyObject
* obj2
= 0 ;
14385 PyObject
* obj3
= 0 ;
14386 PyObject
* obj4
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14396 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 arg4
= wxString_in_helper(obj3
);
14400 if (arg4
== NULL
) SWIG_fail
;
14404 arg5
= (int) SWIG_AsInt(obj4
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14431 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14434 wxFindReplaceData
*result
;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14457 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14460 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self",(char *) "data", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 (arg1
)->SetData(arg2
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 Py_INCREF(Py_None
); resultobj
= Py_None
;
14486 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14489 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14491 return Py_BuildValue((char *)"");
14493 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxWindow
*arg1
= (wxWindow
*) 0 ;
14497 wxString
*arg3
= 0 ;
14498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14502 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14503 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14505 wxMDIParentFrame
*result
;
14506 bool temp3
= False
;
14509 bool temp7
= False
;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 PyObject
* obj2
= 0 ;
14513 PyObject
* obj3
= 0 ;
14514 PyObject
* obj4
= 0 ;
14515 PyObject
* obj5
= 0 ;
14516 PyObject
* obj6
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 arg2
= (int const) SWIG_AsInt(obj1
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 arg3
= wxString_in_helper(obj2
);
14528 if (arg3
== NULL
) SWIG_fail
;
14534 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14540 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14544 arg6
= (long) SWIG_AsLong(obj5
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14549 arg7
= wxString_in_helper(obj6
);
14550 if (arg7
== NULL
) SWIG_fail
;
14555 if (!wxPyCheckForApp()) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14585 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxMDIParentFrame
*result
;
14588 char *kwnames
[] = {
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14594 if (!wxPyCheckForApp()) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14608 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14611 wxWindow
*arg2
= (wxWindow
*) 0 ;
14613 wxString
*arg4
= 0 ;
14614 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14615 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14616 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14617 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14618 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14619 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14620 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14622 bool temp4
= False
;
14625 bool temp8
= False
;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 PyObject
* obj3
= 0 ;
14630 PyObject
* obj4
= 0 ;
14631 PyObject
* obj5
= 0 ;
14632 PyObject
* obj6
= 0 ;
14633 PyObject
* obj7
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14643 arg3
= (int const) SWIG_AsInt(obj2
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 arg4
= wxString_in_helper(obj3
);
14647 if (arg4
== NULL
) SWIG_fail
;
14653 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14659 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14663 arg7
= (long) SWIG_AsLong(obj6
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14668 arg8
= wxString_in_helper(obj7
);
14669 if (arg8
== NULL
) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14705 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->ActivateNext();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 Py_INCREF(Py_None
); resultobj
= Py_None
;
14730 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 (arg1
)->ActivatePrevious();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 Py_INCREF(Py_None
); resultobj
= Py_None
;
14755 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14758 PyObject
* obj0
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 (arg1
)->ArrangeIcons();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 Py_INCREF(Py_None
); resultobj
= Py_None
;
14805 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14808 wxMDIChildFrame
*result
;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= wxPyMake_wxObject(result
);
14833 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14836 wxMDIClientWindow
*result
;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= wxPyMake_wxObject(result
);
14861 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (wxWindow
*)(arg1
)->GetToolBar();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= wxPyMake_wxObject(result
);
14889 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 Py_INCREF(Py_None
); resultobj
= Py_None
;
14914 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14917 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14919 return Py_BuildValue((char *)"");
14921 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14925 wxString
*arg3
= 0 ;
14926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14930 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14931 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14933 wxMDIChildFrame
*result
;
14934 bool temp3
= False
;
14937 bool temp7
= False
;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 PyObject
* obj2
= 0 ;
14941 PyObject
* obj3
= 0 ;
14942 PyObject
* obj4
= 0 ;
14943 PyObject
* obj5
= 0 ;
14944 PyObject
* obj6
= 0 ;
14945 char *kwnames
[] = {
14946 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14952 arg2
= (int const) SWIG_AsInt(obj1
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 arg3
= wxString_in_helper(obj2
);
14956 if (arg3
== NULL
) SWIG_fail
;
14962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14972 arg6
= (long) SWIG_AsLong(obj5
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14977 arg7
= wxString_in_helper(obj6
);
14978 if (arg7
== NULL
) SWIG_fail
;
14983 if (!wxPyCheckForApp()) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= wxPyMake_wxObject(result
);
15015 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxMDIChildFrame
*result
;
15018 char *kwnames
[] = {
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15024 if (!wxPyCheckForApp()) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= wxPyMake_wxObject(result
);
15040 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15043 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15045 wxString
*arg4
= 0 ;
15046 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15047 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15048 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15049 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15050 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15051 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15052 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15054 bool temp4
= False
;
15057 bool temp8
= False
;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 PyObject
* obj2
= 0 ;
15061 PyObject
* obj3
= 0 ;
15062 PyObject
* obj4
= 0 ;
15063 PyObject
* obj5
= 0 ;
15064 PyObject
* obj6
= 0 ;
15065 PyObject
* obj7
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15075 arg3
= (int const) SWIG_AsInt(obj2
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 arg4
= wxString_in_helper(obj3
);
15079 if (arg4
== NULL
) SWIG_fail
;
15085 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15091 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15095 arg7
= (long) SWIG_AsLong(obj6
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15100 arg8
= wxString_in_helper(obj7
);
15101 if (arg8
== NULL
) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15137 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 (arg1
)->Activate();
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 Py_INCREF(Py_None
); resultobj
= Py_None
;
15162 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "maximize", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 arg2
= (bool) SWIG_AsBool(obj1
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 (arg1
)->Maximize(arg2
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 Py_INCREF(Py_None
); resultobj
= Py_None
;
15191 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15194 PyObject
* obj0
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "self", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 Py_INCREF(Py_None
); resultobj
= Py_None
;
15216 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15219 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15221 return Py_BuildValue((char *)"");
15223 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15226 long arg2
= (long) 0 ;
15227 wxMDIClientWindow
*result
;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "parent",(char *) "style", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 arg2
= (long) SWIG_AsLong(obj1
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15242 if (!wxPyCheckForApp()) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= wxPyMake_wxObject(result
);
15258 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxMDIClientWindow
*result
;
15261 char *kwnames
[] = {
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15267 if (!wxPyCheckForApp()) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= wxPyMake_wxObject(result
);
15283 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15286 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15287 long arg3
= (long) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "parent",(char *) "style", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 arg3
= (long) SWIG_AsLong(obj2
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15321 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15324 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15326 return Py_BuildValue((char *)"");
15328 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxWindow
*arg1
= (wxWindow
*) 0 ;
15332 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15333 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15334 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15335 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15336 long arg5
= (long) 0 ;
15337 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15338 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15339 wxPyWindow
*result
;
15342 bool temp6
= False
;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 PyObject
* obj2
= 0 ;
15346 PyObject
* obj3
= 0 ;
15347 PyObject
* obj4
= 0 ;
15348 PyObject
* obj5
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15356 arg2
= (int const) SWIG_AsInt(obj1
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15361 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15367 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15371 arg5
= (long) SWIG_AsLong(obj4
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15376 arg6
= wxString_in_helper(obj5
);
15377 if (arg6
== NULL
) SWIG_fail
;
15382 if (!wxPyCheckForApp()) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15404 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxPyWindow
*result
;
15407 char *kwnames
[] = {
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15413 if (!wxPyCheckForApp()) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (wxPyWindow
*)new wxPyWindow();
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15427 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15430 PyObject
*arg2
= (PyObject
*) 0 ;
15431 PyObject
*arg3
= (PyObject
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "self",(char *) "_class", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 Py_INCREF(Py_None
); resultobj
= Py_None
;
15458 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self",(char *) "size", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15474 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 Py_INCREF(Py_None
); resultobj
= Py_None
;
15490 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 PyObject
* obj2
= 0 ;
15500 PyObject
* obj3
= 0 ;
15501 PyObject
* obj4
= 0 ;
15502 char *kwnames
[] = {
15503 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 arg2
= (int) SWIG_AsInt(obj1
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15511 arg3
= (int) SWIG_AsInt(obj2
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15513 arg4
= (int) SWIG_AsInt(obj3
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15515 arg5
= (int) SWIG_AsInt(obj4
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 Py_INCREF(Py_None
); resultobj
= Py_None
;
15531 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15538 int arg6
= (int) wxSIZE_AUTO
;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15541 PyObject
* obj2
= 0 ;
15542 PyObject
* obj3
= 0 ;
15543 PyObject
* obj4
= 0 ;
15544 PyObject
* obj5
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15552 arg2
= (int) SWIG_AsInt(obj1
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15554 arg3
= (int) SWIG_AsInt(obj2
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15556 arg4
= (int) SWIG_AsInt(obj3
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15558 arg5
= (int) SWIG_AsInt(obj4
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 arg6
= (int) SWIG_AsInt(obj5
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 Py_INCREF(Py_None
); resultobj
= Py_None
;
15578 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 PyObject
* obj2
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self",(char *) "width",(char *) "height", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15593 arg2
= (int) SWIG_AsInt(obj1
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15595 arg3
= (int) SWIG_AsInt(obj2
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 Py_INCREF(Py_None
); resultobj
= Py_None
;
15611 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15616 PyObject
* obj0
= 0 ;
15617 PyObject
* obj1
= 0 ;
15618 PyObject
* obj2
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self",(char *) "x",(char *) "y", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15626 arg2
= (int) SWIG_AsInt(obj1
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15628 arg3
= (int) SWIG_AsInt(obj2
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 Py_INCREF(Py_None
); resultobj
= Py_None
;
15644 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15647 int *arg2
= (int *) 0 ;
15648 int *arg3
= (int *) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 Py_INCREF(Py_None
); resultobj
= Py_None
;
15670 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15671 resultobj
= t_output_helper(resultobj
,o
);
15674 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15675 resultobj
= t_output_helper(resultobj
,o
);
15683 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15685 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15686 int *arg2
= (int *) 0 ;
15687 int *arg3
= (int *) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 Py_INCREF(Py_None
); resultobj
= Py_None
;
15709 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15710 resultobj
= t_output_helper(resultobj
,o
);
15713 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15714 resultobj
= t_output_helper(resultobj
,o
);
15722 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15725 int *arg2
= (int *) 0 ;
15726 int *arg3
= (int *) 0 ;
15729 PyObject
* obj0
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 Py_INCREF(Py_None
); resultobj
= Py_None
;
15748 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15749 resultobj
= t_output_helper(resultobj
,o
);
15752 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15753 resultobj
= t_output_helper(resultobj
,o
);
15761 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15781 wxSize
* resultptr
;
15782 resultptr
= new wxSize((wxSize
&) result
);
15783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15791 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 wxSize
* resultptr
;
15812 resultptr
= new wxSize((wxSize
&) result
);
15813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15821 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 (arg1
)->base_InitDialog();
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 Py_INCREF(Py_None
); resultobj
= Py_None
;
15846 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)(arg1
)->base_TransferDataToWindow();
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15902 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (bool)(arg1
)->base_Validate();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15930 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15934 PyObject
* obj0
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15958 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15986 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16006 wxSize
* resultptr
;
16007 resultptr
= new wxSize((wxSize
&) result
);
16008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16016 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16019 wxWindow
*arg2
= (wxWindow
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "child", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 (arg1
)->base_AddChild(arg2
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 Py_INCREF(Py_None
); resultobj
= Py_None
;
16045 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16048 wxWindow
*arg2
= (wxWindow
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "child", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 (arg1
)->base_RemoveChild(arg2
);
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 Py_INCREF(Py_None
); resultobj
= Py_None
;
16074 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
;
16076 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16102 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16105 wxColour
*arg2
= 0 ;
16107 PyObject
* obj0
= 0 ;
16108 PyObject
* obj1
= 0 ;
16109 char *kwnames
[] = {
16110 (char *) "self",(char *) "c", NULL
16113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 Py_INCREF(Py_None
); resultobj
= Py_None
;
16134 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16137 wxVisualAttributes result
;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (arg1
)->base_GetDefaultAttributes();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16154 wxVisualAttributes
* resultptr
;
16155 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16164 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16167 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16169 return Py_BuildValue((char *)"");
16171 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxWindow
*arg1
= (wxWindow
*) 0 ;
16175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16179 long arg5
= (long) 0 ;
16180 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16181 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16185 bool temp6
= False
;
16186 PyObject
* obj0
= 0 ;
16187 PyObject
* obj1
= 0 ;
16188 PyObject
* obj2
= 0 ;
16189 PyObject
* obj3
= 0 ;
16190 PyObject
* obj4
= 0 ;
16191 PyObject
* obj5
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 arg2
= (int const) SWIG_AsInt(obj1
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16204 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16210 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16214 arg5
= (long) SWIG_AsLong(obj4
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16219 arg6
= wxString_in_helper(obj5
);
16220 if (arg6
== NULL
) SWIG_fail
;
16225 if (!wxPyCheckForApp()) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16247 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16250 char *kwnames
[] = {
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16256 if (!wxPyCheckForApp()) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (wxPyPanel
*)new wxPyPanel();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16270 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16273 PyObject
*arg2
= (PyObject
*) 0 ;
16274 PyObject
*arg3
= (PyObject
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 PyObject
* obj2
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self",(char *) "self",(char *) "_class", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 Py_INCREF(Py_None
); resultobj
= Py_None
;
16301 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 PyObject
* obj1
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self",(char *) "size", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16317 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 Py_INCREF(Py_None
); resultobj
= Py_None
;
16333 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 PyObject
* obj1
= 0 ;
16342 PyObject
* obj2
= 0 ;
16343 PyObject
* obj3
= 0 ;
16344 PyObject
* obj4
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16352 arg2
= (int) SWIG_AsInt(obj1
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16354 arg3
= (int) SWIG_AsInt(obj2
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16356 arg4
= (int) SWIG_AsInt(obj3
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16358 arg5
= (int) SWIG_AsInt(obj4
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16374 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16381 int arg6
= (int) wxSIZE_AUTO
;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 PyObject
* obj2
= 0 ;
16385 PyObject
* obj3
= 0 ;
16386 PyObject
* obj4
= 0 ;
16387 PyObject
* obj5
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 arg2
= (int) SWIG_AsInt(obj1
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16397 arg3
= (int) SWIG_AsInt(obj2
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16399 arg4
= (int) SWIG_AsInt(obj3
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16401 arg5
= (int) SWIG_AsInt(obj4
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 arg6
= (int) SWIG_AsInt(obj5
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 Py_INCREF(Py_None
); resultobj
= Py_None
;
16421 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 PyObject
* obj2
= 0 ;
16429 char *kwnames
[] = {
16430 (char *) "self",(char *) "width",(char *) "height", NULL
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16436 arg2
= (int) SWIG_AsInt(obj1
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16438 arg3
= (int) SWIG_AsInt(obj2
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 Py_INCREF(Py_None
); resultobj
= Py_None
;
16454 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 PyObject
* obj2
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "x",(char *) "y", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16469 arg2
= (int) SWIG_AsInt(obj1
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16471 arg3
= (int) SWIG_AsInt(obj2
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 Py_INCREF(Py_None
); resultobj
= Py_None
;
16487 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16490 int *arg2
= (int *) 0 ;
16491 int *arg3
= (int *) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16511 Py_INCREF(Py_None
); resultobj
= Py_None
;
16513 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16514 resultobj
= t_output_helper(resultobj
,o
);
16517 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16518 resultobj
= t_output_helper(resultobj
,o
);
16526 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16529 int *arg2
= (int *) 0 ;
16530 int *arg3
= (int *) 0 ;
16533 PyObject
* obj0
= 0 ;
16534 char *kwnames
[] = {
16535 (char *) "self", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 Py_INCREF(Py_None
); resultobj
= Py_None
;
16552 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16553 resultobj
= t_output_helper(resultobj
,o
);
16556 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16557 resultobj
= t_output_helper(resultobj
,o
);
16565 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16568 int *arg2
= (int *) 0 ;
16569 int *arg3
= (int *) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16592 resultobj
= t_output_helper(resultobj
,o
);
16595 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16596 resultobj
= t_output_helper(resultobj
,o
);
16604 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16624 wxSize
* resultptr
;
16625 resultptr
= new wxSize((wxSize
&) result
);
16626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16634 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16638 PyObject
* obj0
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16654 wxSize
* resultptr
;
16655 resultptr
= new wxSize((wxSize
&) result
);
16656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16664 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16667 PyObject
* obj0
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 (arg1
)->base_InitDialog();
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16682 Py_INCREF(Py_None
); resultobj
= Py_None
;
16689 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (bool)(arg1
)->base_TransferDataToWindow();
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16717 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16745 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (bool)(arg1
)->base_Validate();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16773 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16801 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 char *kwnames
[] = {
16807 (char *) "self", NULL
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16829 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 wxSize
* resultptr
;
16850 resultptr
= new wxSize((wxSize
&) result
);
16851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16859 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16862 wxWindow
*arg2
= (wxWindow
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 char *kwnames
[] = {
16866 (char *) "self",(char *) "child", NULL
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 (arg1
)->base_AddChild(arg2
);
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 Py_INCREF(Py_None
); resultobj
= Py_None
;
16888 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16891 wxWindow
*arg2
= (wxWindow
*) 0 ;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self",(char *) "child", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 (arg1
)->base_RemoveChild(arg2
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 Py_INCREF(Py_None
); resultobj
= Py_None
;
16917 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16945 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16948 wxColour
*arg2
= 0 ;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "self",(char *) "c", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 Py_INCREF(Py_None
); resultobj
= Py_None
;
16977 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16980 wxVisualAttributes result
;
16981 PyObject
* obj0
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= (arg1
)->base_GetDefaultAttributes();
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 wxVisualAttributes
* resultptr
;
16998 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17007 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17010 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17012 return Py_BuildValue((char *)"");
17014 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxWindow
*arg1
= (wxWindow
*) 0 ;
17018 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17019 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17020 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17021 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17022 long arg5
= (long) 0 ;
17023 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17024 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17025 wxPyScrolledWindow
*result
;
17028 bool temp6
= False
;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 PyObject
* obj2
= 0 ;
17032 PyObject
* obj3
= 0 ;
17033 PyObject
* obj4
= 0 ;
17034 PyObject
* obj5
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17042 arg2
= (int const) SWIG_AsInt(obj1
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17053 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17057 arg5
= (long) SWIG_AsLong(obj4
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17062 arg6
= wxString_in_helper(obj5
);
17063 if (arg6
== NULL
) SWIG_fail
;
17068 if (!wxPyCheckForApp()) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17090 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17092 wxPyScrolledWindow
*result
;
17093 char *kwnames
[] = {
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17099 if (!wxPyCheckForApp()) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17113 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17116 PyObject
*arg2
= (PyObject
*) 0 ;
17117 PyObject
*arg3
= (PyObject
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self",(char *) "self",(char *) "_class", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 Py_INCREF(Py_None
); resultobj
= Py_None
;
17144 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self",(char *) "size", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17160 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 Py_INCREF(Py_None
); resultobj
= Py_None
;
17176 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 PyObject
* obj2
= 0 ;
17186 PyObject
* obj3
= 0 ;
17187 PyObject
* obj4
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17195 arg2
= (int) SWIG_AsInt(obj1
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17197 arg3
= (int) SWIG_AsInt(obj2
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17199 arg4
= (int) SWIG_AsInt(obj3
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17201 arg5
= (int) SWIG_AsInt(obj4
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 Py_INCREF(Py_None
); resultobj
= Py_None
;
17217 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17224 int arg6
= (int) wxSIZE_AUTO
;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 PyObject
* obj2
= 0 ;
17228 PyObject
* obj3
= 0 ;
17229 PyObject
* obj4
= 0 ;
17230 PyObject
* obj5
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17238 arg2
= (int) SWIG_AsInt(obj1
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17240 arg3
= (int) SWIG_AsInt(obj2
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17242 arg4
= (int) SWIG_AsInt(obj3
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17244 arg5
= (int) SWIG_AsInt(obj4
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 arg6
= (int) SWIG_AsInt(obj5
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 Py_INCREF(Py_None
); resultobj
= Py_None
;
17264 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17266 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 PyObject
* obj2
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self",(char *) "width",(char *) "height", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17279 arg2
= (int) SWIG_AsInt(obj1
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17281 arg3
= (int) SWIG_AsInt(obj2
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 Py_INCREF(Py_None
); resultobj
= Py_None
;
17297 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 PyObject
* obj1
= 0 ;
17304 PyObject
* obj2
= 0 ;
17305 char *kwnames
[] = {
17306 (char *) "self",(char *) "x",(char *) "y", NULL
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 arg2
= (int) SWIG_AsInt(obj1
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17314 arg3
= (int) SWIG_AsInt(obj2
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17323 Py_INCREF(Py_None
); resultobj
= Py_None
;
17330 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17333 int *arg2
= (int *) 0 ;
17334 int *arg3
= (int *) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17356 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17357 resultobj
= t_output_helper(resultobj
,o
);
17360 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17361 resultobj
= t_output_helper(resultobj
,o
);
17369 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17372 int *arg2
= (int *) 0 ;
17373 int *arg3
= (int *) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "self", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 Py_INCREF(Py_None
); resultobj
= Py_None
;
17395 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17396 resultobj
= t_output_helper(resultobj
,o
);
17399 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17400 resultobj
= t_output_helper(resultobj
,o
);
17408 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17411 int *arg2
= (int *) 0 ;
17412 int *arg3
= (int *) 0 ;
17415 PyObject
* obj0
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "self", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 Py_INCREF(Py_None
); resultobj
= Py_None
;
17434 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17435 resultobj
= t_output_helper(resultobj
,o
);
17438 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17439 resultobj
= t_output_helper(resultobj
,o
);
17447 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 wxSize
* resultptr
;
17468 resultptr
= new wxSize((wxSize
&) result
);
17469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17477 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17481 PyObject
* obj0
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17497 wxSize
* resultptr
;
17498 resultptr
= new wxSize((wxSize
&) result
);
17499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17507 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17510 PyObject
* obj0
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 (arg1
)->base_InitDialog();
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 Py_INCREF(Py_None
); resultobj
= Py_None
;
17532 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17536 PyObject
* obj0
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 result
= (bool)(arg1
)->base_TransferDataToWindow();
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17560 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17588 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 result
= (bool)(arg1
)->base_Validate();
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17616 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17644 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17672 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 wxSize
* resultptr
;
17693 resultptr
= new wxSize((wxSize
&) result
);
17694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17702 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17705 wxWindow
*arg2
= (wxWindow
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "child", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 (arg1
)->base_AddChild(arg2
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 Py_INCREF(Py_None
); resultobj
= Py_None
;
17731 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17734 wxWindow
*arg2
= (wxWindow
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "child", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 (arg1
)->base_RemoveChild(arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 Py_INCREF(Py_None
); resultobj
= Py_None
;
17760 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17788 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17791 wxColour
*arg2
= 0 ;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self",(char *) "c", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 Py_INCREF(Py_None
); resultobj
= Py_None
;
17820 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17823 wxVisualAttributes result
;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (arg1
)->base_GetDefaultAttributes();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 wxVisualAttributes
* resultptr
;
17841 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17850 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17853 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17855 return Py_BuildValue((char *)"");
17857 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17858 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17863 static PyObject
*_wrap_PrintoutTitleStr_get() {
17868 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17870 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17877 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17878 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17883 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17888 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17890 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17897 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxPrintData
*result
;
17900 char *kwnames
[] = {
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (wxPrintData
*)new wxPrintData();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17919 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 Py_INCREF(Py_None
); resultobj
= Py_None
;
17944 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 result
= (int)(arg1
)->GetNoCopies();
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_FromInt((int)result
);
17970 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (bool)(arg1
)->GetCollate();
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17998 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (int)(arg1
)->GetOrientation();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_FromInt((int)result
);
18024 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 result
= (bool)(arg1
)->Ok();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18052 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18068 result
= (wxString
*) &_result_ref
;
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18078 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18087 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (bool)(arg1
)->GetColour();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18115 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18119 PyObject
* obj0
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (int)(arg1
)->GetDuplex();
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_FromInt((int)result
);
18141 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (int)(arg1
)->GetPaperId();
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= SWIG_FromInt((int)result
);
18167 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18183 result
= (wxSize
*) &_result_ref
;
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18196 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (int)(arg1
)->GetQuality();
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= SWIG_FromInt((int)result
);
18222 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self",(char *) "v", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18235 arg2
= (int) SWIG_AsInt(obj1
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 (arg1
)->SetNoCopies(arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 Py_INCREF(Py_None
); resultobj
= Py_None
;
18251 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self",(char *) "flag", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18264 arg2
= (bool) SWIG_AsBool(obj1
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 (arg1
)->SetCollate(arg2
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 Py_INCREF(Py_None
); resultobj
= Py_None
;
18280 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "orient", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18293 arg2
= (int) SWIG_AsInt(obj1
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->SetOrientation(arg2
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 Py_INCREF(Py_None
); resultobj
= Py_None
;
18309 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18312 wxString
*arg2
= 0 ;
18313 bool temp2
= False
;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self",(char *) "name", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 arg2
= wxString_in_helper(obj1
);
18325 if (arg2
== NULL
) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 Py_INCREF(Py_None
); resultobj
= Py_None
;
18350 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "colour", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18363 arg2
= (bool) SWIG_AsBool(obj1
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 (arg1
)->SetColour(arg2
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 Py_INCREF(Py_None
); resultobj
= Py_None
;
18379 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18383 PyObject
* obj0
= 0 ;
18384 PyObject
* obj1
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self",(char *) "duplex", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18392 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 Py_INCREF(Py_None
); resultobj
= Py_None
;
18408 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18412 PyObject
* obj0
= 0 ;
18413 PyObject
* obj1
= 0 ;
18414 char *kwnames
[] = {
18415 (char *) "self",(char *) "sizeId", NULL
18418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18421 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 Py_INCREF(Py_None
); resultobj
= Py_None
;
18437 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
;
18439 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 PyObject
* obj1
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self",(char *) "sz", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 Py_INCREF(Py_None
); resultobj
= Py_None
;
18469 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "self",(char *) "quality", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18482 arg2
= (int) SWIG_AsInt(obj1
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->SetQuality(arg2
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 Py_INCREF(Py_None
); resultobj
= Py_None
;
18498 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18514 result
= (wxString
*) &_result_ref
;
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18524 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18533 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18535 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "self", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18549 result
= (wxString
*) &_result_ref
;
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18559 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18568 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18584 result
= (wxString
*) &_result_ref
;
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18594 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18603 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18607 PyObject
* obj0
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "self", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 wxString
const &_result_ref
= (arg1
)->GetFilename();
18619 result
= (wxString
*) &_result_ref
;
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18629 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18638 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18654 result
= (wxString
*) &_result_ref
;
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18664 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18673 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 result
= (double)(arg1
)->GetPrinterScaleX();
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= SWIG_FromDouble((double)result
);
18699 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= (double)(arg1
)->GetPrinterScaleY();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_FromDouble((double)result
);
18725 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (long)(arg1
)->GetPrinterTranslateX();
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_FromLong((long)result
);
18751 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 result
= (long)(arg1
)->GetPrinterTranslateY();
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= SWIG_FromLong((long)result
);
18777 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18779 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 char *kwnames
[] = {
18783 (char *) "self", NULL
18786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= (int)(arg1
)->GetPrintMode();
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= SWIG_FromInt((int)result
);
18803 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18806 wxString
*arg2
= 0 ;
18807 bool temp2
= False
;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "command", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 arg2
= wxString_in_helper(obj1
);
18819 if (arg2
== NULL
) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 Py_INCREF(Py_None
); resultobj
= Py_None
;
18844 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18847 wxString
*arg2
= 0 ;
18848 bool temp2
= False
;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self",(char *) "options", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18859 arg2
= wxString_in_helper(obj1
);
18860 if (arg2
== NULL
) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18888 wxString
*arg2
= 0 ;
18889 bool temp2
= False
;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self",(char *) "command", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18900 arg2
= wxString_in_helper(obj1
);
18901 if (arg2
== NULL
) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18929 wxString
*arg2
= 0 ;
18930 bool temp2
= False
;
18931 PyObject
* obj0
= 0 ;
18932 PyObject
* obj1
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self",(char *) "filename", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18941 arg2
= wxString_in_helper(obj1
);
18942 if (arg2
== NULL
) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 (arg1
)->SetFilename((wxString
const &)*arg2
);
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18952 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18970 wxString
*arg2
= 0 ;
18971 bool temp2
= False
;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "self",(char *) "path", NULL
18978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18982 arg2
= wxString_in_helper(obj1
);
18983 if (arg2
== NULL
) SWIG_fail
;
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 Py_INCREF(Py_None
); resultobj
= Py_None
;
19008 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self",(char *) "x", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 arg2
= (double) SWIG_AsDouble(obj1
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 (arg1
)->SetPrinterScaleX(arg2
);
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 Py_INCREF(Py_None
); resultobj
= Py_None
;
19037 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self",(char *) "y", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19050 arg2
= (double) SWIG_AsDouble(obj1
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 (arg1
)->SetPrinterScaleY(arg2
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 Py_INCREF(Py_None
); resultobj
= Py_None
;
19066 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 PyObject
* obj2
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self",(char *) "x",(char *) "y", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 arg2
= (double) SWIG_AsDouble(obj1
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19083 arg3
= (double) SWIG_AsDouble(obj2
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 Py_INCREF(Py_None
); resultobj
= Py_None
;
19099 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "x", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg2
= (long) SWIG_AsLong(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->SetPrinterTranslateX(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "y", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 arg2
= (long) SWIG_AsLong(obj1
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 (arg1
)->SetPrinterTranslateY(arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 PyObject
* obj2
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self",(char *) "x",(char *) "y", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 arg2
= (long) SWIG_AsLong(obj1
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19174 arg3
= (long) SWIG_AsLong(obj2
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self",(char *) "printMode", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19203 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 Py_INCREF(Py_None
); resultobj
= Py_None
;
19219 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19222 wxOutputStream
*result
;
19223 PyObject
* obj0
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19245 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19248 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self",(char *) "outputstream", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 (arg1
)->SetOutputStream(arg2
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 Py_INCREF(Py_None
); resultobj
= Py_None
;
19274 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19277 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19279 return Py_BuildValue((char *)"");
19281 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 wxPageSetupDialogData
*result
;
19284 char *kwnames
[] = {
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19303 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 Py_INCREF(Py_None
); resultobj
= Py_None
;
19328 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self",(char *) "flag", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19341 arg2
= (bool) SWIG_AsBool(obj1
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 (arg1
)->EnableHelp(arg2
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 Py_INCREF(Py_None
); resultobj
= Py_None
;
19357 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19361 PyObject
* obj0
= 0 ;
19362 PyObject
* obj1
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self",(char *) "flag", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19370 arg2
= (bool) SWIG_AsBool(obj1
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->EnableMargins(arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19386 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19390 PyObject
* obj0
= 0 ;
19391 PyObject
* obj1
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self",(char *) "flag", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19399 arg2
= (bool) SWIG_AsBool(obj1
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 (arg1
)->EnableOrientation(arg2
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 Py_INCREF(Py_None
); resultobj
= Py_None
;
19415 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "flag", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 arg2
= (bool) SWIG_AsBool(obj1
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 (arg1
)->EnablePaper(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 Py_INCREF(Py_None
); resultobj
= Py_None
;
19444 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "flag", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19457 arg2
= (bool) SWIG_AsBool(obj1
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 (arg1
)->EnablePrinter(arg2
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (bool)(arg1
)->GetDefaultMinMargins();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19501 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (bool)(arg1
)->GetEnableMargins();
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19529 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (bool)(arg1
)->GetEnableOrientation();
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19557 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (bool)(arg1
)->GetEnablePaper();
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19585 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (bool)(arg1
)->GetEnablePrinter();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19613 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19615 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (bool)(arg1
)->GetEnableHelp();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19641 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (bool)(arg1
)->GetDefaultInfo();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19669 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19673 PyObject
* obj0
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 result
= (arg1
)->GetMarginTopLeft();
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19689 wxPoint
* resultptr
;
19690 resultptr
= new wxPoint((wxPoint
&) result
);
19691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19699 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (arg1
)->GetMarginBottomRight();
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19719 wxPoint
* resultptr
;
19720 resultptr
= new wxPoint((wxPoint
&) result
);
19721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19729 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (arg1
)->GetMinMarginTopLeft();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 wxPoint
* resultptr
;
19750 resultptr
= new wxPoint((wxPoint
&) result
);
19751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19759 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (arg1
)->GetMinMarginBottomRight();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19779 wxPoint
* resultptr
;
19780 resultptr
= new wxPoint((wxPoint
&) result
);
19781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19789 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19791 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19793 PyObject
* obj0
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 result
= (int)(arg1
)->GetPaperId();
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= SWIG_FromInt((int)result
);
19815 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= (arg1
)->GetPaperSize();
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 wxSize
* resultptr
;
19836 resultptr
= new wxSize((wxSize
&) result
);
19837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19845 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19848 wxPrintData
*result
;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19861 result
= (wxPrintData
*) &_result_ref
;
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19874 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (bool)(arg1
)->Ok();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19902 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self",(char *) "flag", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19915 arg2
= (bool) SWIG_AsBool(obj1
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 (arg1
)->SetDefaultInfo(arg2
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 Py_INCREF(Py_None
); resultobj
= Py_None
;
19931 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "flag", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 arg2
= (bool) SWIG_AsBool(obj1
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->SetDefaultMinMargins(arg2
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 Py_INCREF(Py_None
); resultobj
= Py_None
;
19960 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19963 wxPoint
*arg2
= 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "pt", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19985 Py_INCREF(Py_None
); resultobj
= Py_None
;
19992 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19995 wxPoint
*arg2
= 0 ;
19997 PyObject
* obj0
= 0 ;
19998 PyObject
* obj1
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "pt", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 Py_INCREF(Py_None
); resultobj
= Py_None
;
20024 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20027 wxPoint
*arg2
= 0 ;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self",(char *) "pt", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 Py_INCREF(Py_None
); resultobj
= Py_None
;
20056 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20059 wxPoint
*arg2
= 0 ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 char *kwnames
[] = {
20064 (char *) "self",(char *) "pt", NULL
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 Py_INCREF(Py_None
); resultobj
= Py_None
;
20088 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 PyObject
* obj1
= 0 ;
20094 char *kwnames
[] = {
20095 (char *) "self",(char *) "id", NULL
20098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 Py_INCREF(Py_None
); resultobj
= Py_None
;
20117 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self",(char *) "size", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20142 Py_INCREF(Py_None
); resultobj
= Py_None
;
20149 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
;
20151 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20152 wxPrintData
*arg2
= 0 ;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self",(char *) "printData", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20165 if (arg2
== NULL
) {
20166 PyErr_SetString(PyExc_TypeError
,"null reference");
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 Py_INCREF(Py_None
); resultobj
= Py_None
;
20183 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20186 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20188 return Py_BuildValue((char *)"");
20190 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxWindow
*arg1
= (wxWindow
*) 0 ;
20193 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20194 wxPageSetupDialog
*result
;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "parent",(char *) "data", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20209 if (!wxPyCheckForApp()) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20223 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20226 wxPageSetupDialogData
*result
;
20227 PyObject
* obj0
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20239 result
= (wxPageSetupDialogData
*) &_result_ref
;
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20252 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (int)(arg1
)->ShowModal();
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_FromInt((int)result
);
20278 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20281 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20283 return Py_BuildValue((char *)"");
20285 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20286 PyObject
*resultobj
;
20287 wxPrintDialogData
*result
;
20289 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20304 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20305 PyObject
*resultobj
;
20306 wxPrintData
*arg1
= 0 ;
20307 wxPrintDialogData
*result
;
20308 PyObject
* obj0
= 0 ;
20310 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20314 if (arg1
== NULL
) {
20315 PyErr_SetString(PyExc_TypeError
,"null reference");
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20332 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20337 argc
= PyObject_Length(args
);
20338 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20339 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20342 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20348 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20356 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20360 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20365 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 Py_INCREF(Py_None
); resultobj
= Py_None
;
20390 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20394 PyObject
* obj0
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_FromInt((int)result
);
20416 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= SWIG_FromInt((int)result
);
20442 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
;
20444 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_FromInt((int)result
);
20468 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_FromInt((int)result
);
20494 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_FromInt((int)result
);
20520 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20548 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20576 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
;
20578 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20604 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20632 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20636 PyObject
* obj0
= 0 ;
20637 char *kwnames
[] = {
20638 (char *) "self", NULL
20641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20660 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
;
20662 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self",(char *) "v", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20673 arg2
= (int) SWIG_AsInt(obj1
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 (arg1
)->SetFromPage(arg2
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 Py_INCREF(Py_None
); resultobj
= Py_None
;
20689 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 PyObject
* obj1
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self",(char *) "v", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20702 arg2
= (int) SWIG_AsInt(obj1
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 (arg1
)->SetToPage(arg2
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20718 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self",(char *) "v", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20731 arg2
= (int) SWIG_AsInt(obj1
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 (arg1
)->SetMinPage(arg2
);
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 Py_INCREF(Py_None
); resultobj
= Py_None
;
20747 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self",(char *) "v", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20760 arg2
= (int) SWIG_AsInt(obj1
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 (arg1
)->SetMaxPage(arg2
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 Py_INCREF(Py_None
); resultobj
= Py_None
;
20776 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self",(char *) "v", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20789 arg2
= (int) SWIG_AsInt(obj1
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->SetNoCopies(arg2
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 Py_INCREF(Py_None
); resultobj
= Py_None
;
20805 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self",(char *) "flag", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20818 arg2
= (bool) SWIG_AsBool(obj1
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 (arg1
)->SetAllPages(arg2
);
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 Py_INCREF(Py_None
); resultobj
= Py_None
;
20834 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20838 PyObject
* obj0
= 0 ;
20839 PyObject
* obj1
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self",(char *) "flag", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 arg2
= (bool) SWIG_AsBool(obj1
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 (arg1
)->SetSelection(arg2
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 Py_INCREF(Py_None
); resultobj
= Py_None
;
20863 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20867 PyObject
* obj0
= 0 ;
20868 PyObject
* obj1
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self",(char *) "flag", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20876 arg2
= (bool) SWIG_AsBool(obj1
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 (arg1
)->SetCollate(arg2
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 Py_INCREF(Py_None
); resultobj
= Py_None
;
20892 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 char *kwnames
[] = {
20899 (char *) "self",(char *) "flag", NULL
20902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 arg2
= (bool) SWIG_AsBool(obj1
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 (arg1
)->SetPrintToFile(arg2
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 Py_INCREF(Py_None
); resultobj
= Py_None
;
20921 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20925 PyObject
* obj0
= 0 ;
20926 PyObject
* obj1
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self",(char *) "flag", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20934 arg2
= (bool) SWIG_AsBool(obj1
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 (arg1
)->SetSetupDialog(arg2
);
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 Py_INCREF(Py_None
); resultobj
= Py_None
;
20950 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20954 PyObject
* obj0
= 0 ;
20955 PyObject
* obj1
= 0 ;
20956 char *kwnames
[] = {
20957 (char *) "self",(char *) "flag", NULL
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 arg2
= (bool) SWIG_AsBool(obj1
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 (arg1
)->EnablePrintToFile(arg2
);
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 Py_INCREF(Py_None
); resultobj
= Py_None
;
20979 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self",(char *) "flag", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20992 arg2
= (bool) SWIG_AsBool(obj1
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->EnableSelection(arg2
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 Py_INCREF(Py_None
); resultobj
= Py_None
;
21008 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "flag", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21021 arg2
= (bool) SWIG_AsBool(obj1
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 (arg1
)->EnablePageNumbers(arg2
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 Py_INCREF(Py_None
); resultobj
= Py_None
;
21037 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21041 PyObject
* obj0
= 0 ;
21042 PyObject
* obj1
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self",(char *) "flag", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21050 arg2
= (bool) SWIG_AsBool(obj1
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 (arg1
)->EnableHelp(arg2
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 Py_INCREF(Py_None
); resultobj
= Py_None
;
21066 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21094 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21098 PyObject
* obj0
= 0 ;
21099 char *kwnames
[] = {
21100 (char *) "self", NULL
21103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21122 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21150 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21154 PyObject
* obj0
= 0 ;
21155 char *kwnames
[] = {
21156 (char *) "self", NULL
21159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21178 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21206 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21209 wxPrintData
*result
;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21222 result
= (wxPrintData
*) &_result_ref
;
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21235 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21238 wxPrintData
*arg2
= 0 ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self",(char *) "printData", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21251 if (arg2
== NULL
) {
21252 PyErr_SetString(PyExc_TypeError
,"null reference");
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 Py_INCREF(Py_None
); resultobj
= Py_None
;
21269 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21272 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21274 return Py_BuildValue((char *)"");
21276 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxWindow
*arg1
= (wxWindow
*) 0 ;
21279 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21280 wxPrintDialog
*result
;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "parent",(char *) "data", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 if (!wxPyCheckForApp()) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21309 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21312 wxPrintDialogData
*result
;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21325 result
= (wxPrintDialogData
*) &_result_ref
;
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21338 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (wxDC
*)(arg1
)->GetPrintDC();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= wxPyMake_wxObject(result
);
21366 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (int)(arg1
)->ShowModal();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= SWIG_FromInt((int)result
);
21392 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21395 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21397 return Py_BuildValue((char *)"");
21399 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21403 PyObject
* obj0
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "data", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 if (!wxPyCheckForApp()) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (wxPrinter
*)new wxPrinter(arg1
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21428 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
;
21430 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 Py_INCREF(Py_None
); resultobj
= Py_None
;
21453 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21456 wxWindow
*arg2
= (wxWindow
*) 0 ;
21457 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21458 PyObject
* obj0
= 0 ;
21459 PyObject
* obj1
= 0 ;
21460 PyObject
* obj2
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self",(char *) "parent",(char *) "printout", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21470 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 Py_INCREF(Py_None
); resultobj
= Py_None
;
21486 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21489 wxPrintDialogData
*result
;
21490 PyObject
* obj0
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21502 result
= (wxPrintDialogData
*) &_result_ref
;
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21515 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
;
21517 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21518 wxWindow
*arg2
= (wxWindow
*) 0 ;
21519 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21520 int arg4
= (int) True
;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 PyObject
* obj3
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 arg4
= (int) SWIG_AsInt(obj3
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21557 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21560 wxWindow
*arg2
= (wxWindow
*) 0 ;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self",(char *) "parent", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= wxPyMake_wxObject(result
);
21589 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21591 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21592 wxWindow
*arg2
= (wxWindow
*) 0 ;
21593 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21594 wxString
*arg4
= 0 ;
21595 bool temp4
= False
;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 PyObject
* obj2
= 0 ;
21599 PyObject
* obj3
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21609 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 arg4
= wxString_in_helper(obj3
);
21613 if (arg4
== NULL
) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21638 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21641 wxWindow
*arg2
= (wxWindow
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self",(char *) "parent", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 result
= (bool)(arg1
)->Setup(arg2
);
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21670 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= (bool)(arg1
)->GetAbort();
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21698 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21701 char *kwnames
[] = {
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 result
= (int)wxPrinter::GetLastError();
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_FromInt((int)result
);
21720 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21723 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21725 return Py_BuildValue((char *)"");
21727 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21730 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21731 wxPyPrintout
*result
;
21732 bool temp1
= False
;
21733 PyObject
* obj0
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "title", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21741 arg1
= wxString_in_helper(obj0
);
21742 if (arg1
== NULL
) SWIG_fail
;
21747 if (!wxPyCheckForApp()) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= wxPyMake_wxObject(result
);
21771 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21774 PyObject
*arg2
= (PyObject
*) 0 ;
21775 PyObject
*arg3
= (PyObject
*) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 PyObject
* obj2
= 0 ;
21779 char *kwnames
[] = {
21780 (char *) "self",(char *) "self",(char *) "_class", NULL
21783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 Py_INCREF(Py_None
); resultobj
= Py_None
;
21802 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21834 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21838 PyObject
* obj0
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (wxDC
*)(arg1
)->GetDC();
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= wxPyMake_wxObject(result
);
21862 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21865 wxDC
*arg2
= (wxDC
*) 0 ;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self",(char *) "dc", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 (arg1
)->SetDC(arg2
);
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 Py_INCREF(Py_None
); resultobj
= Py_None
;
21891 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21896 PyObject
* obj0
= 0 ;
21897 PyObject
* obj1
= 0 ;
21898 PyObject
* obj2
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self",(char *) "w",(char *) "h", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21906 arg2
= (int) SWIG_AsInt(obj1
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21908 arg3
= (int) SWIG_AsInt(obj2
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 Py_INCREF(Py_None
); resultobj
= Py_None
;
21924 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21926 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21927 int *arg2
= (int *) 0 ;
21928 int *arg3
= (int *) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 char *kwnames
[] = {
21933 (char *) "self", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 Py_INCREF(Py_None
); resultobj
= Py_None
;
21950 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21951 resultobj
= t_output_helper(resultobj
,o
);
21954 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21955 resultobj
= t_output_helper(resultobj
,o
);
21963 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 PyObject
* obj2
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "w",(char *) "h", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21978 arg2
= (int) SWIG_AsInt(obj1
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21980 arg3
= (int) SWIG_AsInt(obj2
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 Py_INCREF(Py_None
); resultobj
= Py_None
;
21996 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21999 int *arg2
= (int *) 0 ;
22000 int *arg3
= (int *) 0 ;
22003 PyObject
* obj0
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22022 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22023 resultobj
= t_output_helper(resultobj
,o
);
22026 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22027 resultobj
= t_output_helper(resultobj
,o
);
22035 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 PyObject
* obj2
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self",(char *) "x",(char *) "y", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22050 arg2
= (int) SWIG_AsInt(obj1
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22052 arg3
= (int) SWIG_AsInt(obj2
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 (arg1
)->SetPPIScreen(arg2
,arg3
);
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 Py_INCREF(Py_None
); resultobj
= Py_None
;
22068 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22071 int *arg2
= (int *) 0 ;
22072 int *arg3
= (int *) 0 ;
22075 PyObject
* obj0
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 (arg1
)->GetPPIScreen(arg2
,arg3
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 Py_INCREF(Py_None
); resultobj
= Py_None
;
22094 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22095 resultobj
= t_output_helper(resultobj
,o
);
22098 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22099 resultobj
= t_output_helper(resultobj
,o
);
22107 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 PyObject
* obj2
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "x",(char *) "y", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22122 arg2
= (int) SWIG_AsInt(obj1
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22124 arg3
= (int) SWIG_AsInt(obj2
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22143 int *arg2
= (int *) 0 ;
22144 int *arg3
= (int *) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22167 resultobj
= t_output_helper(resultobj
,o
);
22170 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22171 resultobj
= t_output_helper(resultobj
,o
);
22179 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (bool)(arg1
)->IsPreview();
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22207 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self",(char *) "p", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 arg2
= (bool) SWIG_AsBool(obj1
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 (arg1
)->SetIsPreview(arg2
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 Py_INCREF(Py_None
); resultobj
= Py_None
;
22236 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22242 PyObject
* obj0
= 0 ;
22243 PyObject
* obj1
= 0 ;
22244 PyObject
* obj2
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 arg2
= (int) SWIG_AsInt(obj1
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22254 arg3
= (int) SWIG_AsInt(obj2
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22272 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 (arg1
)->base_OnEndDocument();
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 Py_INCREF(Py_None
); resultobj
= Py_None
;
22297 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 (arg1
)->base_OnBeginPrinting();
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 Py_INCREF(Py_None
); resultobj
= Py_None
;
22322 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 (arg1
)->base_OnEndPrinting();
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 Py_INCREF(Py_None
); resultobj
= Py_None
;
22347 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 (arg1
)->base_OnPreparePrinting();
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 Py_INCREF(Py_None
); resultobj
= Py_None
;
22372 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "page", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22386 arg2
= (int) SWIG_AsInt(obj1
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 result
= (bool)(arg1
)->base_HasPage(arg2
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22404 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22407 int *arg2
= (int *) 0 ;
22408 int *arg3
= (int *) 0 ;
22409 int *arg4
= (int *) 0 ;
22410 int *arg5
= (int *) 0 ;
22415 PyObject
* obj0
= 0 ;
22416 char *kwnames
[] = {
22417 (char *) "self", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 Py_INCREF(Py_None
); resultobj
= Py_None
;
22436 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22437 resultobj
= t_output_helper(resultobj
,o
);
22440 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22441 resultobj
= t_output_helper(resultobj
,o
);
22444 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22445 resultobj
= t_output_helper(resultobj
,o
);
22448 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22449 resultobj
= t_output_helper(resultobj
,o
);
22457 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22460 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22462 return Py_BuildValue((char *)"");
22464 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22467 wxWindow
*arg2
= (wxWindow
*) 0 ;
22468 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22469 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22470 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22471 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22472 long arg5
= (long) 0 ;
22473 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22474 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22475 wxPreviewCanvas
*result
;
22478 bool temp6
= False
;
22479 PyObject
* obj0
= 0 ;
22480 PyObject
* obj1
= 0 ;
22481 PyObject
* obj2
= 0 ;
22482 PyObject
* obj3
= 0 ;
22483 PyObject
* obj4
= 0 ;
22484 PyObject
* obj5
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22503 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22507 arg5
= (long) SWIG_AsLong(obj4
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22512 arg6
= wxString_in_helper(obj5
);
22513 if (arg6
== NULL
) SWIG_fail
;
22518 if (!wxPyCheckForApp()) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22540 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22543 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22545 return Py_BuildValue((char *)"");
22547 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22550 wxFrame
*arg2
= (wxFrame
*) 0 ;
22551 wxString
*arg3
= 0 ;
22552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22556 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22557 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22559 wxPreviewFrame
*result
;
22560 bool temp3
= False
;
22563 bool temp7
= False
;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 PyObject
* obj2
= 0 ;
22567 PyObject
* obj3
= 0 ;
22568 PyObject
* obj4
= 0 ;
22569 PyObject
* obj5
= 0 ;
22570 PyObject
* obj6
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 arg3
= wxString_in_helper(obj2
);
22582 if (arg3
== NULL
) SWIG_fail
;
22588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22598 arg6
= (long) SWIG_AsLong(obj5
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22603 arg7
= wxString_in_helper(obj6
);
22604 if (arg7
== NULL
) SWIG_fail
;
22609 if (!wxPyCheckForApp()) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22639 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 (arg1
)->Initialize();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 Py_INCREF(Py_None
); resultobj
= Py_None
;
22664 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 (arg1
)->CreateControlBar();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 Py_INCREF(Py_None
); resultobj
= Py_None
;
22689 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 (arg1
)->CreateCanvas();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 Py_INCREF(Py_None
); resultobj
= Py_None
;
22714 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22717 wxPreviewControlBar
*result
;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22740 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22743 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22745 return Py_BuildValue((char *)"");
22747 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
;
22749 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22751 wxWindow
*arg3
= (wxWindow
*) 0 ;
22752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22756 long arg6
= (long) wxTAB_TRAVERSAL
;
22757 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22759 wxPreviewControlBar
*result
;
22762 bool temp7
= False
;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 PyObject
* obj2
= 0 ;
22766 PyObject
* obj3
= 0 ;
22767 PyObject
* obj4
= 0 ;
22768 PyObject
* obj5
= 0 ;
22769 PyObject
* obj6
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22777 arg2
= (long) SWIG_AsLong(obj1
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22779 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22784 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22790 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22794 arg6
= (long) SWIG_AsLong(obj5
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22799 arg7
= wxString_in_helper(obj6
);
22800 if (arg7
== NULL
) SWIG_fail
;
22805 if (!wxPyCheckForApp()) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22827 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
;
22829 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= (int)(arg1
)->GetZoomControl();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= SWIG_FromInt((int)result
);
22853 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22857 PyObject
* obj0
= 0 ;
22858 PyObject
* obj1
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "self",(char *) "zoom", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 arg2
= (int) SWIG_AsInt(obj1
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 (arg1
)->SetZoomControl(arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 Py_INCREF(Py_None
); resultobj
= Py_None
;
22882 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
;
22884 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22885 wxPrintPreview
*result
;
22886 PyObject
* obj0
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22908 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22911 PyObject
* obj0
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 Py_INCREF(Py_None
); resultobj
= Py_None
;
22933 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
;
22935 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 (arg1
)->OnPrevious();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 Py_INCREF(Py_None
); resultobj
= Py_None
;
22958 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 char *kwnames
[] = {
22963 (char *) "self", NULL
22966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 wxPyEndAllowThreads(__tstate
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22976 Py_INCREF(Py_None
); resultobj
= Py_None
;
22983 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
;
22985 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22986 PyObject
* obj0
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 Py_INCREF(Py_None
); resultobj
= Py_None
;
23008 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23009 PyObject
*resultobj
;
23010 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23011 PyObject
* obj0
= 0 ;
23012 char *kwnames
[] = {
23013 (char *) "self", NULL
23016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 Py_INCREF(Py_None
); resultobj
= Py_None
;
23033 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23036 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23038 return Py_BuildValue((char *)"");
23040 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23041 PyObject
*resultobj
;
23042 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23043 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23044 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23045 wxPrintPreview
*result
;
23046 PyObject
* obj0
= 0 ;
23047 PyObject
* obj1
= 0 ;
23048 PyObject
* obj2
= 0 ;
23050 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23056 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23060 if (!wxPyCheckForApp()) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23074 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23075 PyObject
*resultobj
;
23076 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23077 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23078 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23079 wxPrintPreview
*result
;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 PyObject
* obj2
= 0 ;
23084 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23089 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23092 if (!wxPyCheckForApp()) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23106 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23111 argc
= PyObject_Length(args
);
23112 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23113 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23115 if ((argc
>= 2) && (argc
<= 3)) {
23119 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23129 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23138 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23142 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23150 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23159 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23169 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23179 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23187 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23193 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23198 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
;
23200 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self",(char *) "pageNum", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23212 arg2
= (int) SWIG_AsInt(obj1
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23230 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23234 PyObject
* obj0
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (int)(arg1
)->GetCurrentPage();
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_FromInt((int)result
);
23256 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23259 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "printout", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 (arg1
)->SetPrintout(arg2
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23288 wxPyPrintout
*result
;
23289 PyObject
* obj0
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23301 wxPyEndAllowThreads(__tstate
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23305 resultobj
= wxPyMake_wxObject(result
);
23313 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
;
23315 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23316 wxPyPrintout
*result
;
23317 PyObject
* obj0
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= wxPyMake_wxObject(result
);
23341 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23344 wxFrame
*arg2
= (wxFrame
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "frame", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 (arg1
)->SetFrame(arg2
);
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 Py_INCREF(Py_None
); resultobj
= Py_None
;
23370 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
;
23372 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23373 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self",(char *) "canvas", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 (arg1
)->SetCanvas(arg2
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 Py_INCREF(Py_None
); resultobj
= Py_None
;
23399 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 result
= (wxFrame
*)(arg1
)->GetFrame();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= wxPyMake_wxObject(result
);
23427 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23430 wxPreviewCanvas
*result
;
23431 PyObject
* obj0
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23453 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23456 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 PyObject
* obj1
= 0 ;
23461 PyObject
* obj2
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23474 if (arg3
== NULL
) {
23475 PyErr_SetString(PyExc_TypeError
,"null reference");
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23494 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
;
23496 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23497 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 PyObject
* obj2
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23515 if (arg3
== NULL
) {
23516 PyErr_SetString(PyExc_TypeError
,"null reference");
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23535 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "pageNum", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 arg2
= (int) SWIG_AsInt(obj1
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (bool)(arg1
)->RenderPage(arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23567 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23570 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "canvas", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 (arg1
)->AdjustScrollbars(arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 Py_INCREF(Py_None
); resultobj
= Py_None
;
23596 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23599 wxPrintDialogData
*result
;
23600 PyObject
* obj0
= 0 ;
23601 char *kwnames
[] = {
23602 (char *) "self", NULL
23605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23612 result
= (wxPrintDialogData
*) &_result_ref
;
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23625 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "self",(char *) "percent", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 arg2
= (int) SWIG_AsInt(obj1
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 (arg1
)->SetZoom(arg2
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 Py_INCREF(Py_None
); resultobj
= Py_None
;
23654 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= (int)(arg1
)->GetZoom();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_FromInt((int)result
);
23680 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23684 PyObject
* obj0
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (int)(arg1
)->GetMaxPage();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_FromInt((int)result
);
23706 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (int)(arg1
)->GetMinPage();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= SWIG_FromInt((int)result
);
23732 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
;
23734 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23736 PyObject
* obj0
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (bool)(arg1
)->Ok();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23760 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23762 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "ok", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23773 arg2
= (bool) SWIG_AsBool(obj1
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 (arg1
)->SetOk(arg2
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 Py_INCREF(Py_None
); resultobj
= Py_None
;
23789 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "interactive", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23803 arg2
= (bool) SWIG_AsBool(obj1
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= (bool)(arg1
)->Print(arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23821 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23824 PyObject
* obj0
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "self", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 (arg1
)->DetermineScaling();
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 Py_INCREF(Py_None
); resultobj
= Py_None
;
23846 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23849 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23851 return Py_BuildValue((char *)"");
23853 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23854 PyObject
*resultobj
;
23855 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23856 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23857 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23858 wxPyPrintPreview
*result
;
23859 PyObject
* obj0
= 0 ;
23860 PyObject
* obj1
= 0 ;
23861 PyObject
* obj2
= 0 ;
23863 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23869 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23873 if (!wxPyCheckForApp()) SWIG_fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23887 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23888 PyObject
*resultobj
;
23889 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23890 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23891 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23892 wxPyPrintPreview
*result
;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 PyObject
* obj2
= 0 ;
23897 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23902 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23905 if (!wxPyCheckForApp()) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23919 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23924 argc
= PyObject_Length(args
);
23925 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23926 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23928 if ((argc
>= 2) && (argc
<= 3)) {
23932 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23942 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23951 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23955 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23963 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23972 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23982 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23992 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24000 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24006 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24011 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24014 PyObject
*arg2
= (PyObject
*) 0 ;
24015 PyObject
*arg3
= (PyObject
*) 0 ;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24018 PyObject
* obj2
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self",(char *) "self",(char *) "_class", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 Py_INCREF(Py_None
); resultobj
= Py_None
;
24042 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self",(char *) "pageNum", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 arg2
= (int) SWIG_AsInt(obj1
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24074 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24077 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 PyObject
* obj2
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24095 if (arg3
== NULL
) {
24096 PyErr_SetString(PyExc_TypeError
,"null reference");
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24115 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24118 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 PyObject
* obj2
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24136 if (arg3
== NULL
) {
24137 PyErr_SetString(PyExc_TypeError
,"null reference");
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24156 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "pageNum", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 arg2
= (int) SWIG_AsInt(obj1
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24188 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "percent", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24201 arg2
= (int) SWIG_AsInt(obj1
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->base_SetZoom(arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24217 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 char *kwnames
[] = {
24225 (char *) "self",(char *) "interactive", NULL
24228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24231 arg2
= (bool) SWIG_AsBool(obj1
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (bool)(arg1
)->base_Print(arg2
);
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24249 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
;
24251 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 (arg1
)->base_DetermineScaling();
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 Py_INCREF(Py_None
); resultobj
= Py_None
;
24274 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24277 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24279 return Py_BuildValue((char *)"");
24281 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24284 wxFrame
*arg2
= (wxFrame
*) 0 ;
24285 wxString
*arg3
= 0 ;
24286 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24287 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24288 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24289 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24290 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24291 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24292 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24293 wxPyPreviewFrame
*result
;
24294 bool temp3
= False
;
24297 bool temp7
= False
;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 PyObject
* obj2
= 0 ;
24301 PyObject
* obj3
= 0 ;
24302 PyObject
* obj4
= 0 ;
24303 PyObject
* obj5
= 0 ;
24304 PyObject
* obj6
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 arg3
= wxString_in_helper(obj2
);
24316 if (arg3
== NULL
) SWIG_fail
;
24322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24332 arg6
= (long) SWIG_AsLong(obj5
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24337 arg7
= wxString_in_helper(obj6
);
24338 if (arg7
== NULL
) SWIG_fail
;
24343 if (!wxPyCheckForApp()) SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24373 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
;
24375 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24376 PyObject
*arg2
= (PyObject
*) 0 ;
24377 PyObject
*arg3
= (PyObject
*) 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 PyObject
* obj2
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self",(char *) "self",(char *) "_class", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 Py_INCREF(Py_None
); resultobj
= Py_None
;
24404 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24407 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "canvas", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 (arg1
)->SetPreviewCanvas(arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24433 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24436 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self",(char *) "bar", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->SetControlBar(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 (arg1
)->base_Initialize();
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 Py_INCREF(Py_None
); resultobj
= Py_None
;
24487 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 (arg1
)->base_CreateCanvas();
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 Py_INCREF(Py_None
); resultobj
= Py_None
;
24512 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 (arg1
)->base_CreateControlBar();
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 Py_INCREF(Py_None
); resultobj
= Py_None
;
24537 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24540 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24542 return Py_BuildValue((char *)"");
24544 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24548 wxWindow
*arg3
= (wxWindow
*) 0 ;
24549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24553 long arg6
= (long) 0 ;
24554 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24556 wxPyPreviewControlBar
*result
;
24559 bool temp7
= False
;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 PyObject
* obj2
= 0 ;
24563 PyObject
* obj3
= 0 ;
24564 PyObject
* obj4
= 0 ;
24565 PyObject
* obj5
= 0 ;
24566 PyObject
* obj6
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24574 arg2
= (long) SWIG_AsLong(obj1
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24576 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24581 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24587 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24591 arg6
= (long) SWIG_AsLong(obj5
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24596 arg7
= wxString_in_helper(obj6
);
24597 if (arg7
== NULL
) SWIG_fail
;
24602 if (!wxPyCheckForApp()) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24624 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24627 PyObject
*arg2
= (PyObject
*) 0 ;
24628 PyObject
*arg3
= (PyObject
*) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 PyObject
* obj2
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self",(char *) "self",(char *) "_class", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 Py_INCREF(Py_None
); resultobj
= Py_None
;
24655 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24658 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self",(char *) "preview", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 (arg1
)->SetPrintPreview(arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 Py_INCREF(Py_None
); resultobj
= Py_None
;
24684 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 (arg1
)->base_CreateButtons();
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 Py_INCREF(Py_None
); resultobj
= Py_None
;
24709 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self",(char *) "zoom", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24722 arg2
= (int) SWIG_AsInt(obj1
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 (arg1
)->base_SetZoomControl(arg2
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 Py_INCREF(Py_None
); resultobj
= Py_None
;
24738 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24741 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24743 return Py_BuildValue((char *)"");
24745 static PyMethodDef SwigMethods
[] = {
24746 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24752 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24767 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24768 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24774 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24788 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24812 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24824 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24828 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24832 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24837 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24853 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24881 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24888 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24911 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24919 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24931 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24937 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24946 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24952 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24957 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24963 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24967 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24985 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25011 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25019 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25028 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25030 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25039 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25042 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25049 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25067 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25071 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25076 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25080 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25096 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25099 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25101 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25105 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25114 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25123 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25129 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25141 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25148 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25152 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25178 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25204 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25230 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25276 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25308 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25312 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25313 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25346 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25351 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25362 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25385 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25387 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25393 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25403 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25404 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25427 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25428 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25437 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25445 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25455 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25457 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25458 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25460 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25463 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25464 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25466 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25467 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25469 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25470 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25472 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25473 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25475 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25476 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25478 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25479 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25481 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25482 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25484 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25487 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25490 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25491 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25493 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25496 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25497 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25499 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25500 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25502 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25503 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25505 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25506 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25508 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25509 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25511 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25512 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25514 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25515 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25517 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25518 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25520 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25521 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25523 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25524 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25526 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25527 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25529 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25530 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25532 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25533 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25535 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25536 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25538 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25539 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25541 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25542 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25544 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25545 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25547 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25548 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25550 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25551 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25553 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25556 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25557 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25559 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25560 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25562 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25563 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25565 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25566 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25568 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25571 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25572 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25574 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25575 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25577 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25578 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25580 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25581 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25583 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25584 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25586 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25589 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25592 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25595 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25596 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25598 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25599 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25601 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25602 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25604 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25605 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25607 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25610 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25613 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25616 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25619 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25622 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25625 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25628 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25629 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25631 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25632 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25634 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25637 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25640 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25643 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25644 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25646 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25649 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25650 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25652 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25655 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25656 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25658 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25659 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25661 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25664 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25665 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25667 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25668 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25670 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25673 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25674 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25676 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25679 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25682 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25685 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25686 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25688 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25691 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25692 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25694 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25697 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25700 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25703 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25706 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25709 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25710 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25712 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25715 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25718 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25721 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25724 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25727 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25730 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25733 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25736 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25737 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25739 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25740 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25742 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25743 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25745 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25746 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25748 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25749 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25751 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25752 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25754 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25755 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25757 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25758 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25760 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25761 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25763 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25764 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25766 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25769 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25772 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25775 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25778 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25781 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25784 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25787 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25790 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) ((wxSizer
*) x
));
25793 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25796 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25799 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25802 static void *_p_wxEventTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) ((wxEvent
*) x
));
25805 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) ((wxFontData
*) x
));
25808 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25811 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25814 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25817 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25820 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25823 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25826 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25829 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25830 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25832 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25833 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25835 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25836 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25838 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25839 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25841 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25842 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25844 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25845 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25847 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25850 static void *_p_wxControlTo_p_wxObject(void *x
) {
25851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25853 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25854 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25856 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25859 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25860 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25862 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25863 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25865 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25866 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25868 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25871 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25872 return (void *)((wxObject
*) ((wxColourData
*) x
));
25874 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25875 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25877 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25880 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25883 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25886 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25889 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25892 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25895 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25898 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25901 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25904 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25907 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25908 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25910 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25911 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25913 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25914 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25916 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25917 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25919 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25922 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25923 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25925 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25926 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25928 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25929 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25931 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25932 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25934 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25935 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25937 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25938 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25940 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25941 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25943 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25946 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25949 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25952 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25955 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25958 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25959 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25961 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25962 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25964 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25965 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25967 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25970 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25971 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25973 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25976 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25977 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25979 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25980 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25982 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25985 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25988 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25989 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25991 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25994 static void *_p_wxImageTo_p_wxObject(void *x
) {
25995 return (void *)((wxObject
*) ((wxImage
*) x
));
25997 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26000 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26001 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26003 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26004 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26006 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26007 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26009 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26012 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26015 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26018 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26019 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26021 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26022 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26024 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26025 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26027 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26028 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26030 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26033 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26036 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26039 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26042 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26045 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26048 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26051 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26054 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26057 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26060 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26063 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26066 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26069 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26070 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26072 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26073 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26075 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26076 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26078 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26081 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26084 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26087 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26090 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26093 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26096 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26099 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26100 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26102 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26103 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26105 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26106 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26108 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26109 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26111 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26112 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26114 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26115 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26117 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26118 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26120 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26121 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26123 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26124 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26126 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26129 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26132 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26133 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26135 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26136 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26138 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26141 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26144 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26145 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26147 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26148 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26150 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26153 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26154 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26156 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26157 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26159 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26160 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26162 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26163 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26165 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26166 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26168 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26169 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26171 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26172 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26174 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26175 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26177 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26178 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26180 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26181 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26183 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26184 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26186 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26187 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26189 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26190 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26192 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26193 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26195 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26196 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26198 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26199 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26201 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26202 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26204 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26205 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26207 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26208 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26210 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26211 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26213 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26214 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26216 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26217 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26219 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26220 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26222 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26223 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26225 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26226 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26228 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26229 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26231 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26232 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26234 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26235 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26237 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26238 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26240 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26241 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26243 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26244 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26246 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26247 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26249 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26252 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26255 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26258 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26261 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26264 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26267 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26268 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26270 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26271 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26273 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26274 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26276 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26277 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26279 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26280 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26282 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26283 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26285 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26286 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26288 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26289 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26291 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26292 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26294 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26295 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26297 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26298 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26300 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26301 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26303 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26304 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26306 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26307 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26309 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26310 return (void *)((wxWindow
*) ((wxControl
*) x
));
26312 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26313 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26315 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26316 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26318 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26319 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26321 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26322 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26324 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26325 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26327 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26328 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26330 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26331 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26333 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26334 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26336 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26337 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26339 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26340 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26342 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26343 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26345 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26346 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26348 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26349 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26351 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26352 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26354 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26355 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26357 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26358 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26360 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26361 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26363 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26364 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26366 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26367 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26369 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26370 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26372 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26373 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26375 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26376 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26378 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26379 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26381 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26382 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26384 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26385 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26387 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26388 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26390 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26391 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26393 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26394 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26396 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26397 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26399 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26400 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26402 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26403 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26405 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26406 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26408 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26409 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26411 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26412 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26414 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26415 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26417 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26418 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26420 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26421 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26423 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26424 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26426 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26427 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26429 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26430 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26432 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26433 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26435 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26436 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26438 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26439 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26441 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26442 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26444 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26445 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26447 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26448 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26450 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26451 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26453 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26454 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26456 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26457 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26459 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26460 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26462 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26463 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26465 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26466 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26468 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26469 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26471 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26472 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26473 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26474 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26475 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26476 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26477 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26478 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26479 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26480 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26481 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26482 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26483 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26484 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26485 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26486 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26487 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26488 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26489 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26490 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26491 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26492 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26493 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26494 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26495 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26496 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26497 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26498 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26499 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26500 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26501 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26502 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26503 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26504 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26505 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26506 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26507 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26508 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26509 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26510 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26511 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26512 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26513 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26514 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26515 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26516 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26517 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26518 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26519 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26520 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26521 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26522 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26523 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26524 static swig_type_info _swigt__p_wxPyScrolledWindow
[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26525 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26526 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26527 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26528 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26529 static swig_type_info _swigt__p_wxPyVScrolledWindow
[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26530 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26531 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26532 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26533 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26534 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26535 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26536 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26537 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26538 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26539 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26540 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26541 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26542 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26543 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26544 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26545 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26546 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26547 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26548 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26549 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26550 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26551 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26552 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26553 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26554 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26555 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26556 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26557 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26559 static swig_type_info
*swig_types_initial
[] = {
26560 _swigt__p_wxQueryLayoutInfoEvent
,
26561 _swigt__p_wxPreviewFrame
,
26562 _swigt__p_wxPyPreviewFrame
,
26563 _swigt__p_wxPyPanel
,
26565 _swigt__p_wxFontData
,
26567 _swigt__p_wxPrintData
,
26568 _swigt__p_wxTaskBarIcon
,
26569 _swigt__p_wxIconBundle
,
26570 _swigt__p_wxLayoutAlgorithm
,
26571 _swigt__p_wxFindDialogEvent
,
26572 _swigt__p_wxPreviewCanvas
,
26574 _swigt__p_wxSplitterEvent
,
26575 _swigt__p_wxRegion
,
26576 _swigt__p_wxFindReplaceData
,
26581 _swigt__p_wxVisualAttributes
,
26582 _swigt__p_wxMDIChildFrame
,
26583 _swigt__p_wxColourData
,
26584 _swigt__p_wxNotifyEvent
,
26585 _swigt__p_wxPyWindow
,
26586 _swigt__p_wxSplashScreen
,
26587 _swigt__p_wxFindReplaceDialog
,
26588 _swigt__p_wxProgressDialog
,
26589 _swigt__p_wxMessageDialog
,
26590 _swigt__p_wxTextEntryDialog
,
26591 _swigt__p_wxSingleChoiceDialog
,
26592 _swigt__p_wxMultiChoiceDialog
,
26593 _swigt__p_wxFileDialog
,
26594 _swigt__p_wxPrinter
,
26595 _swigt__p_wxArrayInt
,
26596 _swigt__p_wxEvtHandler
,
26597 _swigt__p_wxCalculateLayoutEvent
,
26598 _swigt__p_wxPyHtmlListBox
,
26599 _swigt__p_wxPyVListBox
,
26602 _swigt__p_wxMiniFrame
,
26604 _swigt__p_wxPyPrintout
,
26605 _swigt__p_wxTaskBarIconEvent
,
26606 _swigt__p_wxScrollWinEvent
,
26607 _swigt__p_wxStatusBar
,
26608 _swigt__p_wxMDIParentFrame
,
26610 _swigt__p_wxObject
,
26611 _swigt__p_wxOutputStream
,
26612 _swigt__p_unsigned_long
,
26613 _swigt__p_wxPyScrolledWindow
,
26614 _swigt__p_wxMDIClientWindow
,
26615 _swigt__p_wxTipWindow
,
26616 _swigt__p_wxSashLayoutWindow
,
26617 _swigt__p_wxSplitterWindow
,
26618 _swigt__p_wxPyVScrolledWindow
,
26619 _swigt__p_wxPyPopupTransientWindow
,
26620 _swigt__p_wxPopupWindow
,
26621 _swigt__p_wxSashWindow
,
26622 _swigt__p_wxTopLevelWindow
,
26623 _swigt__p_wxWindow
,
26624 _swigt__p_wxScrolledWindow
,
26625 _swigt__p_wxSplashScreenWindow
,
26626 _swigt__p_wxMenuBar
,
26627 _swigt__p_wxPrintPreview
,
26628 _swigt__p_wxSashEvent
,
26629 _swigt__p_wxString
,
26630 _swigt__p_wxPyPrintPreview
,
26631 _swigt__p_wxFontDialog
,
26632 _swigt__p_wxDirDialog
,
26633 _swigt__p_wxColourDialog
,
26634 _swigt__p_wxDialog
,
26636 _swigt__p_wxPageSetupDialog
,
26637 _swigt__p_wxPrintDialog
,
26638 _swigt__p_wxFileSystem
,
26639 _swigt__p_wxBitmap
,
26640 _swigt__p_wxCommandEvent
,
26641 _swigt__p_wxPreviewControlBar
,
26642 _swigt__p_wxPyPreviewControlBar
,
26643 _swigt__p_wxColour
,
26644 _swigt__p_wxToolBar
,
26645 _swigt__p_wxPageSetupDialogData
,
26646 _swigt__p_wxPrintDialogData
,
26651 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26653 static swig_const_info swig_const_table
[] = {
26663 SWIGEXPORT(void) SWIG_init(void) {
26664 static PyObject
*SWIG_globals
= 0;
26665 static int typeinit
= 0;
26668 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26669 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26670 d
= PyModule_GetDict(m
);
26673 for (i
= 0; swig_types_initial
[i
]; i
++) {
26674 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26678 SWIG_InstallConstants(d
,swig_const_table
);
26680 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26681 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26682 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26683 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26684 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26685 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26686 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26687 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26688 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26689 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26690 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26691 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26692 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26693 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26694 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26695 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26696 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26697 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26698 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26699 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26700 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26701 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26702 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26703 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26704 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26705 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26706 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26707 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26708 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26709 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26710 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26711 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26712 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26713 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26714 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26715 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26716 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26717 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26718 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26719 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26720 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26721 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26722 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26723 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26724 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26725 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26726 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26727 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26728 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26729 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26730 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26731 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26732 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26733 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26734 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26735 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26736 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26737 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26738 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26739 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26740 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26741 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26742 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26743 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26744 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26745 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26746 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26747 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26748 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26749 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26750 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26751 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26752 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26753 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26754 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26755 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26756 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26757 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26758 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26759 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26760 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26761 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26762 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26763 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26764 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26765 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26766 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26767 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26768 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26769 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26770 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26771 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26772 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26774 // Map renamed classes back to their common name for OOR
26775 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26776 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26777 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26779 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26780 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26781 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26782 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26783 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26784 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26785 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26786 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26787 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26788 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26789 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26790 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26791 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26792 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26793 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26794 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26795 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26796 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26797 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26798 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26799 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26800 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26801 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26802 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26803 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26804 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26805 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26806 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26807 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26808 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26809 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26810 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26811 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26812 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26813 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26814 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26815 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26816 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26817 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26818 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26819 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26820 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26821 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26822 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26823 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26824 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26825 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26826 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26827 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26828 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26829 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26830 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26831 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26832 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26833 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26834 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26835 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26836 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26837 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26838 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26840 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");