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_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent 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_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
305 #define SWIG_name "_windows_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
355 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject
*obj
)
443 return PyObject_IsTrue(obj
) ? true : false;
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject
* obj
)
451 if (PyErr_Occurred()) {
460 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
466 } else if (target
== Py_None
) {
470 if (!PyTuple_Check(target
)) {
472 target
= PyTuple_New(1);
473 PyTuple_SetItem(target
, 0, o2
);
476 PyTuple_SetItem(o3
, 0, o
);
479 target
= PySequence_Concat(o2
, o3
);
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject
*obj
)
490 if (PyNumber_Check(obj
))
491 return PyFloat_AsDouble(obj
);
493 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
494 obj
->ob_type
->tp_name
);
495 PyErr_SetObject(PyExc_TypeError
, errmsg
);
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject
* obj
)
506 if (PyErr_Occurred()) {
514 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
515 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
516 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
517 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
537 : wxPopupTransientWindow(parent
, style
) {}
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
540 DEC_PYCALLBACK__(OnDismiss
);
541 DEC_PYCALLBACK_BOOL_(CanDismiss
);
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
551 #include <wx/tipwin.h>
553 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
554 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
557 #include <wx/tipwin.h>
560 #include <wx/vscroll.h>
563 class wxPyVScrolledWindow
: public wxVScrolledWindow
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569 wxPyVScrolledWindow(wxWindow
*parent
,
570 wxWindowID id
= wxID_ANY
,
571 const wxPoint
& pos
= wxDefaultPosition
,
572 const wxSize
& size
= wxDefaultSize
,
574 const wxString
& name
= wxPyPanelNameStr
)
575 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
578 // Overridable virtuals
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
607 // this function should return the best guess for the total height it may
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
612 // Also expose some other interesting protected methods
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject
* obj
)
639 if (PyLong_Check(obj
)) {
640 return PyLong_AsUnsignedLong(obj
);
642 long i
= SWIG_AsLong(obj
);
643 if ( !PyErr_Occurred() && (i
< 0)) {
644 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject
* obj
)
654 SWIG_AsUnsignedLong(obj
);
655 if (PyErr_Occurred()) {
664 SWIGSTATICINLINE(PyObject
* )
665 SWIG_FromUnsignedLong(unsigned long value
)
667 return (value
> LONG_MAX
) ?
668 PyLong_FromUnsignedLong(value
)
669 : PyInt_FromLong(swig_numeric_cast(long,value
));
673 #include <wx/vlbox.h>
675 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
677 class wxPyVListBox
: public wxVListBox
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
681 wxPyVListBox() : wxVListBox() {}
683 wxPyVListBox(wxWindow
*parent
,
684 wxWindowID id
= wxID_ANY
,
685 const wxPoint
& pos
= wxDefaultPosition
,
686 const wxSize
& size
= wxDefaultSize
,
688 const wxString
& name
= wxPyVListBoxNameStr
)
689 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
692 // Overridable virtuals
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
700 // the derived class must implement this method to return the height of the
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
715 // this method is used to draw the items background and, maybe, a border
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
737 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
738 unsigned long cookie
= 0;
739 int selected
= self
->GetFirstSelected(cookie
);
740 bool blocked
= wxPyBeginBlockThreads();
741 PyObject
* tup
= PyTuple_New(2);
742 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
743 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
744 wxPyEndBlockThreads(blocked
);
747 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
748 int selected
= self
->GetNextSelected(cookie
);
749 bool blocked
= wxPyBeginBlockThreads();
750 PyObject
* tup
= PyTuple_New(2);
751 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
752 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
753 wxPyEndBlockThreads(blocked
);
757 #include <wx/htmllbox.h>
760 class wxPyHtmlListBox
: public wxHtmlListBox
762 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
764 wxPyHtmlListBox() : wxHtmlListBox() {}
766 wxPyHtmlListBox(wxWindow
*parent
,
767 wxWindowID id
= wxID_ANY
,
768 const wxPoint
& pos
= wxDefaultPosition
,
769 const wxSize
& size
= wxDefaultSize
,
771 const wxString
& name
= wxPyVListBoxNameStr
)
772 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
775 // Overridable virtuals
777 // this method must be implemented in the derived class and should return
778 // the body (i.e. without <html>) of the HTML for the given item
779 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
781 // this function may be overridden to decorate HTML returned by OnGetItem()
782 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
785 // // this method allows to customize the selection appearance: it may be used
786 // // to specify the colour of the text which normally has the given colour
787 // // colFg when it is inside the selection
789 // // by default, the original colour is not used at all and all text has the
790 // // same (default for this system) colour inside selection
791 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
793 // // this is the same as GetSelectedTextColour() but allows to customize the
794 // // background colour -- this is even more rarely used as you can change it
795 // // globally using SetSelectionBackground()
796 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
803 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
805 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
806 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
813 // implement dummy classes and such for wxMac
815 class wxTaskBarIcon
: public wxEvtHandler
818 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
822 class wxTaskBarIconEvent
: public wxEvent
825 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
826 { wxPyRaiseNotImplemented(); }
827 virtual wxEvent
* Clone() const { return NULL
; }
831 wxEVT_TASKBAR_MOVE
= 0,
832 wxEVT_TASKBAR_LEFT_DOWN
= 0,
833 wxEVT_TASKBAR_LEFT_UP
= 0,
834 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
835 wxEVT_TASKBAR_RIGHT_UP
= 0,
836 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
837 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
842 // // Otherwise make a class that can virtualize CreatePopupMenu
843 // class wxPyTaskBarIcon : public wxTaskBarIcon
845 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
847 // wxPyTaskBarIcon() : wxTaskBarIcon()
850 // wxMenu* CreatePopupMenu() {
851 // wxMenu *rval = NULL;
853 // bool blocked = wxPyBeginBlockThreads();
854 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
857 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
859 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
864 // wxPyEndBlockThreads(blocked);
866 // rval = wxTaskBarIcon::CreatePopupMenu();
873 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
877 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
882 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
883 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
884 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
885 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
886 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
887 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
888 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
890 self
->GetFilenames(arr
);
891 return wxArrayString2PyList_helper(arr
);
893 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
896 return wxArrayString2PyList_helper(arr
);
898 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
899 return wxArrayInt2PyList_helper(self
->GetSelections());
901 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
902 return new wxSingleChoiceDialog(parent
, message
, caption
,
903 choices
, choices_array
, NULL
, style
, pos
);
908 // C++ version of Python aware wxWindow
909 class wxPyWindow
: public wxWindow
911 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
913 wxPyWindow() : wxWindow() {}
914 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
915 const wxPoint
& pos
= wxDefaultPosition
,
916 const wxSize
& size
= wxDefaultSize
,
918 const wxString
& name
= wxPyPanelNameStr
)
919 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
921 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
923 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
924 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
925 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
928 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
932 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
933 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
935 DEC_PYCALLBACK__(InitDialog
);
936 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
937 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
938 DEC_PYCALLBACK_BOOL_(Validate
);
940 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
942 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
944 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
945 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
947 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
948 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
949 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
954 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
956 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
957 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
958 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
959 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
961 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
962 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
965 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
966 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
968 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
969 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
970 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
971 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
973 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
974 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
975 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
977 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
978 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
980 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
981 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
982 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
985 // C++ version of Python aware wxPanel
986 class wxPyPanel
: public wxPanel
988 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
990 wxPyPanel() : wxPanel() {}
991 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
992 const wxPoint
& pos
= wxDefaultPosition
,
993 const wxSize
& size
= wxDefaultSize
,
995 const wxString
& name
= wxPyPanelNameStr
)
996 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
998 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1001 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1002 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1003 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1004 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1006 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1007 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1008 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1010 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1011 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1013 DEC_PYCALLBACK__(InitDialog
);
1014 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1015 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1016 DEC_PYCALLBACK_BOOL_(Validate
);
1018 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1019 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1020 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1022 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1023 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1025 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1026 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1027 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1032 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1034 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1035 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1036 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1037 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1039 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1040 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1041 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1043 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1044 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1046 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1047 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1048 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1049 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1051 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1052 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1053 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1055 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1056 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1058 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1059 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1060 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1063 // C++ version of Python aware wxScrolledWindow
1064 class wxPyScrolledWindow
: public wxScrolledWindow
1066 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1068 wxPyScrolledWindow() : wxScrolledWindow() {}
1069 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1070 const wxPoint
& pos
= wxDefaultPosition
,
1071 const wxSize
& size
= wxDefaultSize
,
1073 const wxString
& name
= wxPyPanelNameStr
)
1074 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1076 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1078 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1079 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1080 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1081 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1083 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1084 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1085 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1087 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1088 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1090 DEC_PYCALLBACK__(InitDialog
);
1091 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1092 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1093 DEC_PYCALLBACK_BOOL_(Validate
);
1095 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1096 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1097 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1099 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1100 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1102 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1103 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1104 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1109 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1111 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1112 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1113 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1114 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1116 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1117 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1118 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1120 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1121 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1123 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1124 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1125 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1126 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1128 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1129 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1130 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1132 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1133 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1135 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1136 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1137 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1141 #include "wx/wxPython/printfw.h"
1144 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1145 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1149 // Since this one would be tough and ugly to do with the Macros...
1150 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1151 bool hadErr
= False
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1156 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1157 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1160 val
= PyTuple_GetItem(result
, 0);
1161 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1164 val
= PyTuple_GetItem(result
, 1);
1165 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1168 val
= PyTuple_GetItem(result
, 2);
1169 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1172 val
= PyTuple_GetItem(result
, 3);
1173 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1180 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1185 wxPyEndBlockThreads(blocked
);
1187 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1190 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1191 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1195 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1196 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1197 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1198 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1199 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1200 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1201 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1207 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1208 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1209 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1212 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1213 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1216 bool blocked = wxPyBeginBlockThreads(); \
1217 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1218 PyObject* win = wxPyMake_wxObject(a); \
1219 PyObject* dc = wxPyMake_wxObject(&b); \
1220 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1224 wxPyEndBlockThreads(blocked); \
1226 rval = PCLASS::CBNAME(a, b); \
1229 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1230 return PCLASS::CBNAME(a, b); \
1236 class wxPyPrintPreview
: public wxPrintPreview
1238 DECLARE_CLASS(wxPyPrintPreview
)
1240 wxPyPrintPreview(wxPyPrintout
* printout
,
1241 wxPyPrintout
* printoutForPrinting
,
1242 wxPrintDialogData
* data
=NULL
)
1243 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1245 wxPyPrintPreview(wxPyPrintout
* printout
,
1246 wxPyPrintout
* printoutForPrinting
,
1247 wxPrintData
* data
=NULL
)
1248 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1251 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1252 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1253 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1254 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1255 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1256 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1257 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1262 // Stupid renamed classes... Fix this in 2.5...
1263 #if defined(__WXMSW__)
1264 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1265 #elif defined(__WXMAC__)
1266 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1268 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1271 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1272 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1273 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1274 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1275 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1276 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1277 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1280 class wxPyPreviewFrame
: public wxPreviewFrame
1282 DECLARE_CLASS(wxPyPreviewFrame
);
1284 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1285 const wxString
& title
,
1286 const wxPoint
& pos
= wxDefaultPosition
,
1287 const wxSize
& size
= wxDefaultSize
,
1288 long style
= wxDEFAULT_FRAME_STYLE
,
1289 const wxString
& name
= wxPyFrameNameStr
)
1290 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1293 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1294 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1296 DEC_PYCALLBACK_VOID_(Initialize
);
1297 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1298 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1303 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1305 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1306 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1307 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1310 class wxPyPreviewControlBar
: public wxPreviewControlBar
1312 DECLARE_CLASS(wxPyPreviewControlBar
);
1314 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1317 const wxPoint
& pos
= wxDefaultPosition
,
1318 const wxSize
& size
= wxDefaultSize
,
1320 const wxString
& name
= wxPyPanelNameStr
)
1321 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1324 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1326 DEC_PYCALLBACK_VOID_(CreateButtons
);
1327 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1332 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1333 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1334 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1339 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxWindow
*arg1
= (wxWindow
*) 0 ;
1342 int arg2
= (int) (int)-1 ;
1343 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1344 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1345 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1346 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1347 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1348 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1349 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1353 bool temp6
= False
;
1354 PyObject
* obj0
= 0 ;
1355 PyObject
* obj1
= 0 ;
1356 PyObject
* obj2
= 0 ;
1357 PyObject
* obj3
= 0 ;
1358 PyObject
* obj4
= 0 ;
1359 PyObject
* obj5
= 0 ;
1361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1368 arg2
= (int const) SWIG_AsInt(obj1
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1374 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1380 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1384 arg5
= (long) SWIG_AsLong(obj4
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1389 arg6
= wxString_in_helper(obj5
);
1390 if (arg6
== NULL
) SWIG_fail
;
1395 if (!wxPyCheckForApp()) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= wxPyMake_wxObject(result
);
1419 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
*resultobj
;
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1428 if (!wxPyCheckForApp()) SWIG_fail
;
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 result
= (wxPanel
*)new wxPanel();
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1436 resultobj
= wxPyMake_wxObject(result
);
1444 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxPanel
*arg1
= (wxPanel
*) 0 ;
1447 wxWindow
*arg2
= (wxWindow
*) 0 ;
1448 int arg3
= (int) (int)-1 ;
1449 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1450 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1451 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1452 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1453 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1454 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1455 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1459 bool temp7
= False
;
1460 PyObject
* obj0
= 0 ;
1461 PyObject
* obj1
= 0 ;
1462 PyObject
* obj2
= 0 ;
1463 PyObject
* obj3
= 0 ;
1464 PyObject
* obj4
= 0 ;
1465 PyObject
* obj5
= 0 ;
1466 PyObject
* obj6
= 0 ;
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1477 arg3
= (int const) SWIG_AsInt(obj2
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1483 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1489 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1493 arg6
= (long) SWIG_AsLong(obj5
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1498 arg7
= wxString_in_helper(obj6
);
1499 if (arg7
== NULL
) SWIG_fail
;
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1527 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
*resultobj
;
1529 wxPanel
*arg1
= (wxPanel
*) 0 ;
1530 PyObject
* obj0
= 0 ;
1532 (char *) "self", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 (arg1
)->InitDialog();
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1545 Py_INCREF(Py_None
); resultobj
= Py_None
;
1552 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
*resultobj
;
1554 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1555 wxVisualAttributes result
;
1556 PyObject
* obj0
= 0 ;
1558 (char *) "variant", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1563 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1567 if (!wxPyCheckForApp()) SWIG_fail
;
1568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1569 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1571 wxPyEndAllowThreads(__tstate
);
1572 if (PyErr_Occurred()) SWIG_fail
;
1575 wxVisualAttributes
* resultptr
;
1576 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1585 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1588 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1590 return Py_BuildValue((char *)"");
1592 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxWindow
*arg1
= (wxWindow
*) 0 ;
1595 int arg2
= (int) (int)-1 ;
1596 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1597 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1598 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1599 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1600 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1601 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1602 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1603 wxScrolledWindow
*result
;
1606 bool temp6
= False
;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1609 PyObject
* obj2
= 0 ;
1610 PyObject
* obj3
= 0 ;
1611 PyObject
* obj4
= 0 ;
1612 PyObject
* obj5
= 0 ;
1614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1621 arg2
= (int const) SWIG_AsInt(obj1
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1637 arg5
= (long) SWIG_AsLong(obj4
);
1638 if (PyErr_Occurred()) SWIG_fail
;
1642 arg6
= wxString_in_helper(obj5
);
1643 if (arg6
== NULL
) SWIG_fail
;
1648 if (!wxPyCheckForApp()) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1670 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
*resultobj
;
1672 wxScrolledWindow
*result
;
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1679 if (!wxPyCheckForApp()) SWIG_fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1693 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
*resultobj
;
1695 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1696 wxWindow
*arg2
= (wxWindow
*) 0 ;
1697 int arg3
= (int) (int)-1 ;
1698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1702 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1703 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1708 bool temp7
= False
;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1712 PyObject
* obj3
= 0 ;
1713 PyObject
* obj4
= 0 ;
1714 PyObject
* obj5
= 0 ;
1715 PyObject
* obj6
= 0 ;
1717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 arg3
= (int const) SWIG_AsInt(obj2
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1738 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1742 arg6
= (long) SWIG_AsLong(obj5
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1747 arg7
= wxString_in_helper(obj6
);
1748 if (arg7
== NULL
) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1776 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1783 int arg6
= (int) 0 ;
1784 int arg7
= (int) 0 ;
1785 bool arg8
= (bool) False
;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1788 PyObject
* obj2
= 0 ;
1789 PyObject
* obj3
= 0 ;
1790 PyObject
* obj4
= 0 ;
1791 PyObject
* obj5
= 0 ;
1792 PyObject
* obj6
= 0 ;
1793 PyObject
* obj7
= 0 ;
1795 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1801 arg2
= (int) SWIG_AsInt(obj1
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1803 arg3
= (int) SWIG_AsInt(obj2
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1805 arg4
= (int) SWIG_AsInt(obj3
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1807 arg5
= (int) SWIG_AsInt(obj4
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 arg6
= (int) SWIG_AsInt(obj5
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1814 arg7
= (int) SWIG_AsInt(obj6
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1818 arg8
= (bool) SWIG_AsBool(obj7
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 Py_INCREF(Py_None
); resultobj
= Py_None
;
1835 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1840 PyObject
* obj0
= 0 ;
1841 PyObject
* obj1
= 0 ;
1842 PyObject
* obj2
= 0 ;
1844 (char *) "self",(char *) "x",(char *) "y", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1850 arg2
= (int) SWIG_AsInt(obj1
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1852 arg3
= (int) SWIG_AsInt(obj2
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 (arg1
)->Scroll(arg2
,arg3
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1873 PyObject
* obj0
= 0 ;
1874 PyObject
* obj1
= 0 ;
1876 (char *) "self",(char *) "orient", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1882 arg2
= (int) SWIG_AsInt(obj1
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_FromInt((int)result
);
1898 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1905 PyObject
* obj2
= 0 ;
1907 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 arg2
= (int) SWIG_AsInt(obj1
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1915 arg3
= (int) SWIG_AsInt(obj2
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 Py_INCREF(Py_None
); resultobj
= Py_None
;
1931 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1938 PyObject
* obj2
= 0 ;
1940 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 arg2
= (int) SWIG_AsInt(obj1
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1948 arg3
= (int) SWIG_AsInt(obj2
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 (arg1
)->SetScrollRate(arg2
,arg3
);
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 Py_INCREF(Py_None
); resultobj
= Py_None
;
1964 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1967 int *arg2
= (int *) 0 ;
1968 int *arg3
= (int *) 0 ;
1971 PyObject
* obj0
= 0 ;
1973 (char *) "self", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1988 Py_INCREF(Py_None
); resultobj
= Py_None
;
1990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1991 resultobj
= t_output_helper(resultobj
,o
);
1994 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1995 resultobj
= t_output_helper(resultobj
,o
);
2003 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2012 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (bool) SWIG_AsBool(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (bool) SWIG_AsBool(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->EnableScrolling(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2039 int *arg2
= (int *) 0 ;
2040 int *arg3
= (int *) 0 ;
2043 PyObject
* obj0
= 0 ;
2045 (char *) "self", NULL
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2063 resultobj
= t_output_helper(resultobj
,o
);
2066 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2067 resultobj
= t_output_helper(resultobj
,o
);
2075 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2080 PyObject
* obj0
= 0 ;
2081 PyObject
* obj1
= 0 ;
2082 PyObject
* obj2
= 0 ;
2084 (char *) "self",(char *) "xs",(char *) "ys", NULL
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2090 arg2
= (double) SWIG_AsDouble(obj1
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2092 arg3
= (double) SWIG_AsDouble(obj2
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 (arg1
)->SetScale(arg2
,arg3
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2101 Py_INCREF(Py_None
); resultobj
= Py_None
;
2108 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
*resultobj
;
2110 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2114 (char *) "self", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 resultobj
= SWIG_FromDouble((double)result
);
2134 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2138 PyObject
* obj0
= 0 ;
2140 (char *) "self", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2153 resultobj
= SWIG_FromDouble((double)result
);
2160 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2161 PyObject
*resultobj
;
2162 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2167 PyObject
* obj1
= 0 ;
2169 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 wxPoint
* resultptr
;
2185 resultptr
= new wxPoint((wxPoint
&) result
);
2186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2194 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2195 PyObject
*resultobj
;
2196 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2199 int *arg4
= (int *) 0 ;
2200 int *arg5
= (int *) 0 ;
2203 PyObject
* obj0
= 0 ;
2204 PyObject
* obj1
= 0 ;
2205 PyObject
* obj2
= 0 ;
2209 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2212 arg2
= (int) SWIG_AsInt(obj1
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2214 arg3
= (int) SWIG_AsInt(obj2
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 Py_INCREF(Py_None
); resultobj
= Py_None
;
2225 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2226 resultobj
= t_output_helper(resultobj
,o
);
2229 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2230 resultobj
= t_output_helper(resultobj
,o
);
2238 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2243 argc
= PyObject_Length(args
);
2244 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2245 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2251 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2260 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2263 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2279 _v
= SWIG_CheckInt(argv
[1]);
2281 _v
= SWIG_CheckInt(argv
[2]);
2283 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2289 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2294 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2295 PyObject
*resultobj
;
2296 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2300 PyObject
* obj0
= 0 ;
2301 PyObject
* obj1
= 0 ;
2303 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2318 wxPoint
* resultptr
;
2319 resultptr
= new wxPoint((wxPoint
&) result
);
2320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2328 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2329 PyObject
*resultobj
;
2330 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2333 int *arg4
= (int *) 0 ;
2334 int *arg5
= (int *) 0 ;
2337 PyObject
* obj0
= 0 ;
2338 PyObject
* obj1
= 0 ;
2339 PyObject
* obj2
= 0 ;
2343 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2346 arg2
= (int) SWIG_AsInt(obj1
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2348 arg3
= (int) SWIG_AsInt(obj2
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 Py_INCREF(Py_None
); resultobj
= Py_None
;
2359 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2360 resultobj
= t_output_helper(resultobj
,o
);
2363 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2364 resultobj
= t_output_helper(resultobj
,o
);
2372 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2377 argc
= PyObject_Length(args
);
2378 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2379 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2385 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2394 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2397 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2405 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2413 _v
= SWIG_CheckInt(argv
[1]);
2415 _v
= SWIG_CheckInt(argv
[2]);
2417 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2423 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2428 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
*resultobj
;
2430 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "self", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 (arg1
)->AdjustScrollbars();
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2446 Py_INCREF(Py_None
); resultobj
= Py_None
;
2453 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2456 wxScrollWinEvent
*arg2
= 0 ;
2458 PyObject
* obj0
= 0 ;
2459 PyObject
* obj1
= 0 ;
2461 (char *) "self",(char *) "event", NULL
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2471 PyErr_SetString(PyExc_TypeError
,"null reference");
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 resultobj
= SWIG_FromInt((int)result
);
2488 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2491 wxWindow
*arg2
= (wxWindow
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2493 PyObject
* obj1
= 0 ;
2495 (char *) "self",(char *) "target", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 (arg1
)->SetTargetWindow(arg2
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 Py_INCREF(Py_None
); resultobj
= Py_None
;
2517 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
*resultobj
;
2519 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2521 PyObject
* obj0
= 0 ;
2523 (char *) "self", NULL
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2537 resultobj
= wxPyMake_wxObject(result
);
2545 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2548 wxVisualAttributes result
;
2549 PyObject
* obj0
= 0 ;
2551 (char *) "variant", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2556 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2560 if (!wxPyCheckForApp()) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2568 wxVisualAttributes
* resultptr
;
2569 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2578 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2581 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2583 return Py_BuildValue((char *)"");
2585 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2586 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2591 static PyObject
*_wrap_FrameNameStr_get() {
2596 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2598 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2605 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2606 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2611 static PyObject
*_wrap_DialogNameStr_get() {
2616 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2618 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2625 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2626 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2631 static PyObject
*_wrap_StatusLineNameStr_get() {
2636 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2638 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2645 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2646 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2651 static PyObject
*_wrap_ToolBarNameStr_get() {
2656 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2658 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2665 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2668 bool arg2
= (bool) True
;
2669 PyObject
* obj0
= 0 ;
2670 PyObject
* obj1
= 0 ;
2672 (char *) "self",(char *) "maximize", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 arg2
= (bool) SWIG_AsBool(obj1
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 (arg1
)->Maximize(arg2
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2689 Py_INCREF(Py_None
); resultobj
= Py_None
;
2696 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2699 PyObject
* obj0
= 0 ;
2701 (char *) "self", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 Py_INCREF(Py_None
); resultobj
= Py_None
;
2721 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2723 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2724 bool arg2
= (bool) True
;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "iconize", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2735 arg2
= (bool) SWIG_AsBool(obj1
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 (arg1
)->Iconize(arg2
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 Py_INCREF(Py_None
); resultobj
= Py_None
;
2752 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2754 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "self", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2780 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2808 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2812 PyObject
* obj0
= 0 ;
2814 (char *) "self", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2829 resultptr
= new wxIcon((wxIcon
&) result
);
2830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2838 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2842 PyObject
* obj0
= 0 ;
2843 PyObject
* obj1
= 0 ;
2845 (char *) "self",(char *) "icon", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2855 PyErr_SetString(PyExc_TypeError
,"null reference");
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2872 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2875 wxIconBundle
*arg2
= 0 ;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2879 (char *) "self",(char *) "icons", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2889 PyErr_SetString(PyExc_TypeError
,"null reference");
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2910 long arg3
= (long) wxFULLSCREEN_ALL
;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2914 PyObject
* obj2
= 0 ;
2916 (char *) "self",(char *) "show",(char *) "style", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2922 arg2
= (bool) SWIG_AsBool(obj1
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 arg3
= (long) SWIG_AsLong(obj2
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2944 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2948 PyObject
* obj0
= 0 ;
2950 (char *) "self", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2972 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2975 wxString
*arg2
= 0 ;
2976 bool temp2
= False
;
2977 PyObject
* obj0
= 0 ;
2978 PyObject
* obj1
= 0 ;
2980 (char *) "self",(char *) "title", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 arg2
= wxString_in_helper(obj1
);
2988 if (arg2
== NULL
) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 (arg1
)->SetTitle((wxString
const &)*arg2
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2998 Py_INCREF(Py_None
); resultobj
= Py_None
;
3013 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3017 PyObject
* obj0
= 0 ;
3019 (char *) "self", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3045 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3048 wxRegion
*arg2
= 0 ;
3050 PyObject
* obj0
= 0 ;
3051 PyObject
* obj1
= 0 ;
3053 (char *) "self",(char *) "region", NULL
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3063 PyErr_SetString(PyExc_TypeError
,"null reference");
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3082 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3085 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3087 return Py_BuildValue((char *)"");
3089 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxWindow
*arg1
= (wxWindow
*) 0 ;
3092 int arg2
= (int) (int)-1 ;
3093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3099 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3100 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3103 bool temp3
= False
;
3106 bool temp7
= False
;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3109 PyObject
* obj2
= 0 ;
3110 PyObject
* obj3
= 0 ;
3111 PyObject
* obj4
= 0 ;
3112 PyObject
* obj5
= 0 ;
3113 PyObject
* obj6
= 0 ;
3115 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3122 arg2
= (int const) SWIG_AsInt(obj1
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3127 arg3
= wxString_in_helper(obj2
);
3128 if (arg3
== NULL
) SWIG_fail
;
3135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3145 arg6
= (long) SWIG_AsLong(obj5
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3150 arg7
= wxString_in_helper(obj6
);
3151 if (arg7
== NULL
) SWIG_fail
;
3156 if (!wxPyCheckForApp()) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= wxPyMake_wxObject(result
);
3188 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3197 if (!wxPyCheckForApp()) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 result
= (wxFrame
*)new wxFrame();
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= wxPyMake_wxObject(result
);
3213 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxFrame
*arg1
= (wxFrame
*) 0 ;
3216 wxWindow
*arg2
= (wxWindow
*) 0 ;
3217 int arg3
= (int) (int)-1 ;
3218 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3219 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3220 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3221 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3222 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3223 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3224 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3225 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3226 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3228 bool temp4
= False
;
3231 bool temp8
= False
;
3232 PyObject
* obj0
= 0 ;
3233 PyObject
* obj1
= 0 ;
3234 PyObject
* obj2
= 0 ;
3235 PyObject
* obj3
= 0 ;
3236 PyObject
* obj4
= 0 ;
3237 PyObject
* obj5
= 0 ;
3238 PyObject
* obj6
= 0 ;
3239 PyObject
* obj7
= 0 ;
3241 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3250 arg3
= (int const) SWIG_AsInt(obj2
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3255 arg4
= wxString_in_helper(obj3
);
3256 if (arg4
== NULL
) SWIG_fail
;
3263 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3269 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3273 arg7
= (long) SWIG_AsLong(obj6
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3278 arg8
= wxString_in_helper(obj7
);
3279 if (arg8
== NULL
) SWIG_fail
;
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3315 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxFrame
*arg1
= (wxFrame
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 wxPoint
* resultptr
;
3336 resultptr
= new wxPoint((wxPoint
&) result
);
3337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3345 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxFrame
*arg1
= (wxFrame
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3350 (char *) "self", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 (arg1
)->SendSizeEvent();
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 Py_INCREF(Py_None
); resultobj
= Py_None
;
3370 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxFrame
*arg1
= (wxFrame
*) 0 ;
3373 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3375 PyObject
* obj1
= 0 ;
3377 (char *) "self",(char *) "menubar", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 (arg1
)->SetMenuBar(arg2
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxFrame
*arg1
= (wxFrame
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3405 (char *) "self", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3419 resultobj
= wxPyMake_wxObject(result
);
3427 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxFrame
*arg1
= (wxFrame
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3435 (char *) "self",(char *) "winid", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 arg2
= (int) SWIG_AsInt(obj1
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3459 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxFrame
*arg1
= (wxFrame
*) 0 ;
3462 int arg2
= (int) 1 ;
3463 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3464 int arg4
= (int) 0 ;
3465 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3466 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3467 wxStatusBar
*result
;
3468 bool temp5
= False
;
3469 PyObject
* obj0
= 0 ;
3470 PyObject
* obj1
= 0 ;
3471 PyObject
* obj2
= 0 ;
3472 PyObject
* obj3
= 0 ;
3473 PyObject
* obj4
= 0 ;
3475 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3482 arg2
= (int) SWIG_AsInt(obj1
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 arg3
= (long) SWIG_AsLong(obj2
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3490 arg4
= (int) SWIG_AsInt(obj3
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3495 arg5
= wxString_in_helper(obj4
);
3496 if (arg5
== NULL
) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= wxPyMake_wxObject(result
);
3524 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxFrame
*arg1
= (wxFrame
*) 0 ;
3527 wxStatusBar
*result
;
3528 PyObject
* obj0
= 0 ;
3530 (char *) "self", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= wxPyMake_wxObject(result
);
3552 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxFrame
*arg1
= (wxFrame
*) 0 ;
3555 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3559 (char *) "self",(char *) "statBar", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 (arg1
)->SetStatusBar(arg2
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 Py_INCREF(Py_None
); resultobj
= Py_None
;
3581 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxFrame
*arg1
= (wxFrame
*) 0 ;
3584 wxString
*arg2
= 0 ;
3585 int arg3
= (int) 0 ;
3586 bool temp2
= False
;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3589 PyObject
* obj2
= 0 ;
3591 (char *) "self",(char *) "text",(char *) "number", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 arg2
= wxString_in_helper(obj1
);
3599 if (arg2
== NULL
) SWIG_fail
;
3603 arg3
= (int) SWIG_AsInt(obj2
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxFrame
*arg1
= (wxFrame
*) 0 ;
3632 int *arg3
= (int *) 0 ;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3636 (char *) "self",(char *) "widths", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 arg2
= PyList_Size(obj1
);
3644 arg3
= int_LIST_helper(obj1
);
3645 if (arg3
== NULL
) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 if (arg3
) delete [] arg3
;
3661 if (arg3
) delete [] arg3
;
3667 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 wxFrame
*arg1
= (wxFrame
*) 0 ;
3670 wxString
*arg2
= 0 ;
3671 int arg3
= (int) 0 ;
3672 bool temp2
= False
;
3673 PyObject
* obj0
= 0 ;
3674 PyObject
* obj1
= 0 ;
3675 PyObject
* obj2
= 0 ;
3677 (char *) "self",(char *) "text",(char *) "number", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3684 arg2
= wxString_in_helper(obj1
);
3685 if (arg2
== NULL
) SWIG_fail
;
3689 arg3
= (int) SWIG_AsInt(obj2
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3714 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxFrame
*arg1
= (wxFrame
*) 0 ;
3717 int arg2
= (int) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3721 (char *) "self",(char *) "number", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3728 arg2
= (int) SWIG_AsInt(obj1
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 (arg1
)->PopStatusText(arg2
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxFrame
*arg1
= (wxFrame
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3750 PyObject
* obj1
= 0 ;
3752 (char *) "self",(char *) "n", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 arg2
= (int) SWIG_AsInt(obj1
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 (arg1
)->SetStatusBarPane(arg2
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxFrame
*arg1
= (wxFrame
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= SWIG_FromInt((int)result
);
3800 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxFrame
*arg1
= (wxFrame
*) 0 ;
3803 long arg2
= (long) -1 ;
3804 int arg3
= (int) -1 ;
3805 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3806 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3808 bool temp4
= False
;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3811 PyObject
* obj2
= 0 ;
3812 PyObject
* obj3
= 0 ;
3814 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 arg2
= (long) SWIG_AsLong(obj1
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3825 arg3
= (int) SWIG_AsInt(obj2
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3830 arg4
= wxString_in_helper(obj3
);
3831 if (arg4
== NULL
) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= wxPyMake_wxObject(result
);
3859 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxFrame
*arg1
= (wxFrame
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= wxPyMake_wxObject(result
);
3887 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxFrame
*arg1
= (wxFrame
*) 0 ;
3890 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3892 PyObject
* obj1
= 0 ;
3894 (char *) "self",(char *) "toolbar", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 (arg1
)->SetToolBar(arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3918 wxFrame
*arg1
= (wxFrame
*) 0 ;
3919 wxString
*arg2
= 0 ;
3921 bool temp2
= False
;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3924 PyObject
* obj2
= 0 ;
3926 (char *) "self",(char *) "text",(char *) "show", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 arg2
= wxString_in_helper(obj1
);
3934 if (arg2
== NULL
) SWIG_fail
;
3937 arg3
= (bool) SWIG_AsBool(obj2
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 Py_INCREF(Py_None
); resultobj
= Py_None
;
3961 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxFrame
*arg1
= (wxFrame
*) 0 ;
3964 wxMenu
*arg2
= (wxMenu
*) NULL
;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3968 (char *) "self",(char *) "menu", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->DoMenuUpdates(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3995 wxVisualAttributes result
;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "variant", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4003 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4007 if (!wxPyCheckForApp()) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 wxVisualAttributes
* resultptr
;
4016 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4025 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4028 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4030 return Py_BuildValue((char *)"");
4032 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxWindow
*arg1
= (wxWindow
*) 0 ;
4035 int arg2
= (int) (int)-1 ;
4036 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4037 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4038 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4039 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4040 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4041 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4042 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4043 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4044 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4046 bool temp3
= False
;
4049 bool temp7
= False
;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4052 PyObject
* obj2
= 0 ;
4053 PyObject
* obj3
= 0 ;
4054 PyObject
* obj4
= 0 ;
4055 PyObject
* obj5
= 0 ;
4056 PyObject
* obj6
= 0 ;
4058 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= (int const) SWIG_AsInt(obj1
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4070 arg3
= wxString_in_helper(obj2
);
4071 if (arg3
== NULL
) SWIG_fail
;
4078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4088 arg6
= (long) SWIG_AsLong(obj5
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4093 arg7
= wxString_in_helper(obj6
);
4094 if (arg7
== NULL
) SWIG_fail
;
4099 if (!wxPyCheckForApp()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= wxPyMake_wxObject(result
);
4131 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4140 if (!wxPyCheckForApp()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (wxDialog
*)new wxDialog();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= wxPyMake_wxObject(result
);
4156 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxDialog
*arg1
= (wxDialog
*) 0 ;
4159 wxWindow
*arg2
= (wxWindow
*) 0 ;
4160 int arg3
= (int) (int)-1 ;
4161 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4162 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4163 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4164 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4165 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4166 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4167 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4168 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4171 bool temp4
= False
;
4174 bool temp8
= False
;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 PyObject
* obj2
= 0 ;
4178 PyObject
* obj3
= 0 ;
4179 PyObject
* obj4
= 0 ;
4180 PyObject
* obj5
= 0 ;
4181 PyObject
* obj6
= 0 ;
4182 PyObject
* obj7
= 0 ;
4184 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 arg3
= (int const) SWIG_AsInt(obj2
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4198 arg4
= wxString_in_helper(obj3
);
4199 if (arg4
== NULL
) SWIG_fail
;
4206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4216 arg7
= (long) SWIG_AsLong(obj6
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4221 arg8
= wxString_in_helper(obj7
);
4222 if (arg8
== NULL
) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4258 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxDialog
*arg1
= (wxDialog
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4265 (char *) "self",(char *) "returnCode", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 arg2
= (int) SWIG_AsInt(obj1
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 (arg1
)->SetReturnCode(arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxDialog
*arg1
= (wxDialog
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "self", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_FromInt((int)result
);
4313 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4315 wxDialog
*arg1
= (wxDialog
*) 0 ;
4316 wxString
*arg2
= 0 ;
4318 bool temp2
= False
;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 (char *) "self",(char *) "message", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 arg2
= wxString_in_helper(obj1
);
4330 if (arg2
== NULL
) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= wxPyMake_wxSizer(result
);
4357 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxDialog
*arg1
= (wxDialog
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4365 (char *) "self",(char *) "flags", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4371 arg2
= (long) SWIG_AsLong(obj1
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= wxPyMake_wxSizer(result
);
4389 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxDialog
*arg1
= (wxDialog
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4395 (char *) "self", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4417 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxDialog
*arg1
= (wxDialog
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4423 (char *) "self", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= (int)(arg1
)->ShowModal();
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_FromInt((int)result
);
4443 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxDialog
*arg1
= (wxDialog
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4450 (char *) "self",(char *) "retCode", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4456 arg2
= (int) SWIG_AsInt(obj1
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 (arg1
)->EndModal(arg2
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4475 wxVisualAttributes result
;
4476 PyObject
* obj0
= 0 ;
4478 (char *) "variant", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4483 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4487 if (!wxPyCheckForApp()) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 wxVisualAttributes
* resultptr
;
4496 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4505 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4508 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4510 return Py_BuildValue((char *)"");
4512 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxWindow
*arg1
= (wxWindow
*) 0 ;
4515 int arg2
= (int) (int)-1 ;
4516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4522 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4523 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4525 wxMiniFrame
*result
;
4526 bool temp3
= False
;
4529 bool temp7
= False
;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4532 PyObject
* obj2
= 0 ;
4533 PyObject
* obj3
= 0 ;
4534 PyObject
* obj4
= 0 ;
4535 PyObject
* obj5
= 0 ;
4536 PyObject
* obj6
= 0 ;
4538 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4545 arg2
= (int const) SWIG_AsInt(obj1
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4550 arg3
= wxString_in_helper(obj2
);
4551 if (arg3
== NULL
) SWIG_fail
;
4558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4568 arg6
= (long) SWIG_AsLong(obj5
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4573 arg7
= wxString_in_helper(obj6
);
4574 if (arg7
== NULL
) SWIG_fail
;
4579 if (!wxPyCheckForApp()) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4609 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxMiniFrame
*result
;
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4618 if (!wxPyCheckForApp()) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (wxMiniFrame
*)new wxMiniFrame();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4632 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4635 wxWindow
*arg2
= (wxWindow
*) 0 ;
4636 int arg3
= (int) (int)-1 ;
4637 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4638 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4639 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4640 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4641 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4642 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4643 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4644 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4645 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4647 bool temp4
= False
;
4650 bool temp8
= False
;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4653 PyObject
* obj2
= 0 ;
4654 PyObject
* obj3
= 0 ;
4655 PyObject
* obj4
= 0 ;
4656 PyObject
* obj5
= 0 ;
4657 PyObject
* obj6
= 0 ;
4658 PyObject
* obj7
= 0 ;
4660 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 arg3
= (int const) SWIG_AsInt(obj2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4674 arg4
= wxString_in_helper(obj3
);
4675 if (arg4
== NULL
) SWIG_fail
;
4682 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4688 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4692 arg7
= (long) SWIG_AsLong(obj6
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4697 arg8
= wxString_in_helper(obj7
);
4698 if (arg8
== NULL
) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4734 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4737 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4739 return Py_BuildValue((char *)"");
4741 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxBitmap
*arg1
= 0 ;
4744 wxWindow
*arg2
= (wxWindow
*) 0 ;
4746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4750 long arg6
= (long) wxNO_BORDER
;
4751 wxSplashScreenWindow
*result
;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 PyObject
* obj2
= 0 ;
4757 PyObject
* obj3
= 0 ;
4758 PyObject
* obj4
= 0 ;
4759 PyObject
* obj5
= 0 ;
4761 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4769 PyErr_SetString(PyExc_TypeError
,"null reference");
4772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4774 arg3
= (int) SWIG_AsInt(obj2
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4789 arg6
= (long) SWIG_AsLong(obj5
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4793 if (!wxPyCheckForApp()) SWIG_fail
;
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4807 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
;
4809 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4810 wxBitmap
*arg2
= 0 ;
4811 PyObject
* obj0
= 0 ;
4812 PyObject
* obj1
= 0 ;
4814 (char *) "self",(char *) "bitmap", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4824 PyErr_SetString(PyExc_TypeError
,"null reference");
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 Py_INCREF(Py_None
); resultobj
= Py_None
;
4841 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4847 (char *) "self", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4857 result
= (wxBitmap
*) &_result_ref
;
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4864 wxBitmap
* resultptr
= new wxBitmap(*result
);
4865 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4873 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4876 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4878 return Py_BuildValue((char *)"");
4880 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxBitmap
*arg1
= 0 ;
4885 wxWindow
*arg4
= (wxWindow
*) 0 ;
4886 int arg5
= (int) -1 ;
4887 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4888 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4889 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4890 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4891 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4892 wxSplashScreen
*result
;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4897 PyObject
* obj2
= 0 ;
4898 PyObject
* obj3
= 0 ;
4899 PyObject
* obj4
= 0 ;
4900 PyObject
* obj5
= 0 ;
4901 PyObject
* obj6
= 0 ;
4902 PyObject
* obj7
= 0 ;
4904 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4912 PyErr_SetString(PyExc_TypeError
,"null reference");
4915 arg2
= (long) SWIG_AsLong(obj1
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4917 arg3
= (int) SWIG_AsInt(obj2
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4919 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4922 arg5
= (int) SWIG_AsInt(obj4
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4928 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4934 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4938 arg8
= (long) SWIG_AsLong(obj7
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 if (!wxPyCheckForApp()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4956 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4962 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 resultobj
= SWIG_FromLong((long)result
);
4982 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4985 wxSplashScreenWindow
*result
;
4986 PyObject
* obj0
= 0 ;
4988 (char *) "self", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5008 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5014 (char *) "self", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= SWIG_FromInt((int)result
);
5034 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5037 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5039 return Py_BuildValue((char *)"");
5041 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
;
5043 wxWindow
*arg1
= (wxWindow
*) 0 ;
5044 int arg2
= (int) -1 ;
5045 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5046 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5047 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5048 wxStatusBar
*result
;
5049 bool temp4
= False
;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 PyObject
* obj2
= 0 ;
5053 PyObject
* obj3
= 0 ;
5055 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (int) SWIG_AsInt(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 arg3
= (long) SWIG_AsLong(obj2
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5071 arg4
= wxString_in_helper(obj3
);
5072 if (arg4
== NULL
) SWIG_fail
;
5077 if (!wxPyCheckForApp()) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= wxPyMake_wxObject(result
);
5101 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxStatusBar
*result
;
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5110 if (!wxPyCheckForApp()) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (wxStatusBar
*)new wxStatusBar();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= wxPyMake_wxObject(result
);
5126 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5129 wxWindow
*arg2
= (wxWindow
*) 0 ;
5130 int arg3
= (int) -1 ;
5131 long arg4
= (long) wxST_SIZEGRIP
;
5132 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5133 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5135 bool temp5
= False
;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 PyObject
* obj2
= 0 ;
5139 PyObject
* obj3
= 0 ;
5140 PyObject
* obj4
= 0 ;
5142 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5151 arg3
= (int) SWIG_AsInt(obj2
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5155 arg4
= (long) SWIG_AsLong(obj3
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5160 arg5
= wxString_in_helper(obj4
);
5161 if (arg5
== NULL
) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5189 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5192 int arg2
= (int) 1 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "number", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 arg2
= (int) SWIG_AsInt(obj1
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SetFieldsCount(arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5220 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= SWIG_FromInt((int)result
);
5246 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
;
5248 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5249 wxString
*arg2
= 0 ;
5250 int arg3
= (int) 0 ;
5251 bool temp2
= False
;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5254 PyObject
* obj2
= 0 ;
5256 (char *) "self",(char *) "text",(char *) "number", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5263 arg2
= wxString_in_helper(obj1
);
5264 if (arg2
== NULL
) SWIG_fail
;
5268 arg3
= (int) SWIG_AsInt(obj2
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 Py_INCREF(Py_None
); resultobj
= Py_None
;
5293 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5296 int arg2
= (int) 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "number", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5308 arg2
= (int) SWIG_AsInt(obj1
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5331 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5334 wxString
*arg2
= 0 ;
5335 int arg3
= (int) 0 ;
5336 bool temp2
= False
;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5339 PyObject
* obj2
= 0 ;
5341 (char *) "self",(char *) "text",(char *) "number", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 arg2
= wxString_in_helper(obj1
);
5349 if (arg2
== NULL
) SWIG_fail
;
5353 arg3
= (int) SWIG_AsInt(obj2
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 Py_INCREF(Py_None
); resultobj
= Py_None
;
5378 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5381 int arg2
= (int) 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "number", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5392 arg2
= (int) SWIG_AsInt(obj1
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->PopStatusText(arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5413 int *arg3
= (int *) 0 ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5417 (char *) "self",(char *) "widths", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 arg2
= PyList_Size(obj1
);
5425 arg3
= int_LIST_helper(obj1
);
5426 if (arg3
== NULL
) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5437 if (arg3
) delete [] arg3
;
5442 if (arg3
) delete [] arg3
;
5448 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "i", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 arg2
= (int) SWIG_AsInt(obj1
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5473 resultptr
= new wxRect((wxRect
&) result
);
5474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5482 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
;
5484 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5489 (char *) "self",(char *) "height", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 arg2
= (int) SWIG_AsInt(obj1
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 (arg1
)->SetMinHeight(arg2
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 Py_INCREF(Py_None
); resultobj
= Py_None
;
5511 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5517 (char *) "self", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_FromInt((int)result
);
5537 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5543 (char *) "self", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_FromInt((int)result
);
5563 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5566 wxVisualAttributes result
;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "variant", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5574 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 if (!wxPyCheckForApp()) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 wxVisualAttributes
* resultptr
;
5587 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5596 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5599 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5601 return Py_BuildValue((char *)"");
5603 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5604 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5609 static PyObject
*_wrap_SplitterNameStr_get() {
5614 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5616 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5623 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxWindow
*arg1
= (wxWindow
*) 0 ;
5626 int arg2
= (int) -1 ;
5627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5631 long arg5
= (long) wxSP_3D
;
5632 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5633 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5634 wxSplitterWindow
*result
;
5637 bool temp6
= False
;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 PyObject
* obj2
= 0 ;
5641 PyObject
* obj3
= 0 ;
5642 PyObject
* obj4
= 0 ;
5643 PyObject
* obj5
= 0 ;
5645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5652 arg2
= (int) SWIG_AsInt(obj1
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5658 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5664 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5668 arg5
= (long) SWIG_AsLong(obj4
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5673 arg6
= wxString_in_helper(obj5
);
5674 if (arg6
== NULL
) SWIG_fail
;
5679 if (!wxPyCheckForApp()) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5701 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
;
5703 wxSplitterWindow
*result
;
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5710 if (!wxPyCheckForApp()) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5724 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
;
5726 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5727 wxWindow
*arg2
= (wxWindow
*) 0 ;
5728 int arg3
= (int) -1 ;
5729 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5730 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5731 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5732 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5733 long arg6
= (long) wxSP_3D
;
5734 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5735 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5739 bool temp7
= False
;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5744 PyObject
* obj4
= 0 ;
5745 PyObject
* obj5
= 0 ;
5746 PyObject
* obj6
= 0 ;
5748 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5757 arg3
= (int) SWIG_AsInt(obj2
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5773 arg6
= (long) SWIG_AsLong(obj5
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5778 arg7
= wxString_in_helper(obj6
);
5779 if (arg7
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5807 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5811 PyObject
* obj0
= 0 ;
5813 (char *) "self", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= wxPyMake_wxObject(result
);
5835 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= wxPyMake_wxObject(result
);
5863 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5870 (char *) "self",(char *) "mode", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 arg2
= (int) SWIG_AsInt(obj1
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetSplitMode(arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_FromInt((int)result
);
5918 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5921 wxWindow
*arg2
= (wxWindow
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "window", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->Initialize(arg2
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 Py_INCREF(Py_None
); resultobj
= Py_None
;
5947 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5950 wxWindow
*arg2
= (wxWindow
*) 0 ;
5951 wxWindow
*arg3
= (wxWindow
*) 0 ;
5952 int arg4
= (int) 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5956 PyObject
* obj2
= 0 ;
5957 PyObject
* obj3
= 0 ;
5959 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5970 arg4
= (int) SWIG_AsInt(obj3
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5989 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5992 wxWindow
*arg2
= (wxWindow
*) 0 ;
5993 wxWindow
*arg3
= (wxWindow
*) 0 ;
5994 int arg4
= (int) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5998 PyObject
* obj2
= 0 ;
5999 PyObject
* obj3
= 0 ;
6001 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6012 arg4
= (int) SWIG_AsInt(obj3
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6031 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6034 wxWindow
*arg2
= (wxWindow
*) NULL
;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "toRemove", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)(arg1
)->Unsplit(arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6068 wxWindow
*arg2
= (wxWindow
*) 0 ;
6069 wxWindow
*arg3
= (wxWindow
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6075 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6101 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->UpdateSize();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6154 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6159 PyObject
* obj1
= 0 ;
6161 (char *) "self",(char *) "width", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 arg2
= (int) SWIG_AsInt(obj1
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 (arg1
)->SetSashSize(arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6190 (char *) "self",(char *) "width", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6196 arg2
= (int) SWIG_AsInt(obj1
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 (arg1
)->SetBorderSize(arg2
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6218 (char *) "self", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_FromInt((int)result
);
6238 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_FromInt((int)result
);
6264 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6268 bool arg3
= (bool) True
;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6271 PyObject
* obj2
= 0 ;
6273 (char *) "self",(char *) "position",(char *) "redraw", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 arg2
= (int) SWIG_AsInt(obj1
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 arg3
= (bool) SWIG_AsBool(obj2
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 (arg1
)->SetSashPosition(arg2
,arg3
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 Py_INCREF(Py_None
); resultobj
= Py_None
;
6299 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "self", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= SWIG_FromInt((int)result
);
6325 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6332 (char *) "self",(char *) "min", NULL
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 arg2
= (int) SWIG_AsInt(obj1
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetMinimumPaneSize(arg2
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "self", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_FromInt((int)result
);
6380 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
;
6382 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6385 int arg4
= (int) 5 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6392 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 arg2
= (int) SWIG_AsInt(obj1
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6400 arg3
= (int) SWIG_AsInt(obj2
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 arg4
= (int) SWIG_AsInt(obj3
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6422 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6425 PyObject
* obj0
= 0 ;
6427 (char *) "self", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 (arg1
)->SizeWindows();
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 Py_INCREF(Py_None
); resultobj
= Py_None
;
6447 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6454 (char *) "self",(char *) "needUpdating", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6460 arg2
= (bool) SWIG_AsBool(obj1
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 (arg1
)->SetNeedUpdating(arg2
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 Py_INCREF(Py_None
); resultobj
= Py_None
;
6476 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6482 (char *) "self", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6507 wxVisualAttributes result
;
6508 PyObject
* obj0
= 0 ;
6510 (char *) "variant", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6515 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 if (!wxPyCheckForApp()) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6527 wxVisualAttributes
* resultptr
;
6528 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6537 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6540 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6542 return Py_BuildValue((char *)"");
6544 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6547 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6548 wxSplitterEvent
*result
;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6552 (char *) "type",(char *) "splitter", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6557 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6578 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6585 (char *) "self",(char *) "pos", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6591 arg2
= (int) SWIG_AsInt(obj1
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 (arg1
)->SetSashPosition(arg2
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 Py_INCREF(Py_None
); resultobj
= Py_None
;
6607 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_FromInt((int)result
);
6633 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= wxPyMake_wxObject(result
);
6661 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6667 (char *) "self", NULL
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_FromInt((int)result
);
6687 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_FromInt((int)result
);
6713 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6716 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6718 return Py_BuildValue((char *)"");
6720 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6721 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6726 static PyObject
*_wrap_SashNameStr_get() {
6731 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6733 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6740 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6741 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6746 static PyObject
*_wrap_SashLayoutNameStr_get() {
6751 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6753 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6760 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxWindow
*arg1
= (wxWindow
*) 0 ;
6763 int arg2
= (int) -1 ;
6764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6768 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6769 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6771 wxSashWindow
*result
;
6774 bool temp6
= False
;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6777 PyObject
* obj2
= 0 ;
6778 PyObject
* obj3
= 0 ;
6779 PyObject
* obj4
= 0 ;
6780 PyObject
* obj5
= 0 ;
6782 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6789 arg2
= (int) SWIG_AsInt(obj1
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6805 arg5
= (long) SWIG_AsLong(obj4
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6810 arg6
= wxString_in_helper(obj5
);
6811 if (arg6
== NULL
) SWIG_fail
;
6816 if (!wxPyCheckForApp()) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6838 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxSashWindow
*result
;
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (wxSashWindow
*)new wxSashWindow();
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6861 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6864 wxWindow
*arg2
= (wxWindow
*) 0 ;
6865 int arg3
= (int) -1 ;
6866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6870 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6871 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6876 bool temp7
= False
;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6879 PyObject
* obj2
= 0 ;
6880 PyObject
* obj3
= 0 ;
6881 PyObject
* obj4
= 0 ;
6882 PyObject
* obj5
= 0 ;
6883 PyObject
* obj6
= 0 ;
6885 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 arg3
= (int) SWIG_AsInt(obj2
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6910 arg6
= (long) SWIG_AsLong(obj5
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6915 arg7
= wxString_in_helper(obj6
);
6916 if (arg7
== NULL
) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6944 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 PyObject
* obj2
= 0 ;
6953 (char *) "self",(char *) "edge",(char *) "sash", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6959 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6961 arg3
= (bool) SWIG_AsBool(obj2
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 Py_INCREF(Py_None
); resultobj
= Py_None
;
6977 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6985 (char *) "self",(char *) "edge", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7009 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 PyObject
* obj2
= 0 ;
7018 (char *) "self",(char *) "edge",(char *) "border", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7024 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7026 arg3
= (bool) SWIG_AsBool(obj2
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7048 PyObject
* obj1
= 0 ;
7050 (char *) "self",(char *) "edge", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7056 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7074 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "edge", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_FromInt((int)result
);
7104 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7109 PyObject
* obj1
= 0 ;
7111 (char *) "self",(char *) "width", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7117 arg2
= (int) SWIG_AsInt(obj1
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 (arg1
)->SetDefaultBorderSize(arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= SWIG_FromInt((int)result
);
7159 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7166 (char *) "self",(char *) "width", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 arg2
= (int) SWIG_AsInt(obj1
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetExtraBorderSize(arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "self", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= SWIG_FromInt((int)result
);
7214 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
;
7216 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "min", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 arg2
= (int) SWIG_AsInt(obj1
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->SetMinimumSizeX(arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7250 (char *) "self",(char *) "min", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7256 arg2
= (int) SWIG_AsInt(obj1
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 (arg1
)->SetMinimumSizeY(arg2
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 Py_INCREF(Py_None
); resultobj
= Py_None
;
7272 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7276 PyObject
* obj0
= 0 ;
7278 (char *) "self", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_FromInt((int)result
);
7298 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_FromInt((int)result
);
7324 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7331 (char *) "self",(char *) "max", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 arg2
= (int) SWIG_AsInt(obj1
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 (arg1
)->SetMaximumSizeX(arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7358 PyObject
* obj1
= 0 ;
7360 (char *) "self",(char *) "max", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 arg2
= (int) SWIG_AsInt(obj1
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 (arg1
)->SetMaximumSizeY(arg2
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 Py_INCREF(Py_None
); resultobj
= Py_None
;
7382 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "self", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_FromInt((int)result
);
7408 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_FromInt((int)result
);
7434 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7439 int arg4
= (int) 2 ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7443 PyObject
* obj2
= 0 ;
7444 PyObject
* obj3
= 0 ;
7446 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7452 arg2
= (int) SWIG_AsInt(obj1
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7454 arg3
= (int) SWIG_AsInt(obj2
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 arg4
= (int) SWIG_AsInt(obj3
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= SWIG_FromInt((int)result
);
7474 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "self", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 (arg1
)->SizeWindows();
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7502 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7504 return Py_BuildValue((char *)"");
7506 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 int arg1
= (int) 0 ;
7509 int arg2
= (int) wxSASH_NONE
;
7510 wxSashEvent
*result
;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7514 (char *) "id",(char *) "edge", NULL
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7519 arg1
= (int) SWIG_AsInt(obj0
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7540 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7547 (char *) "self",(char *) "edge", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7553 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 Py_INCREF(Py_None
); resultobj
= Py_None
;
7569 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7575 (char *) "self", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= SWIG_FromInt((int)result
);
7595 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7603 (char *) "self",(char *) "rect", NULL
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "self", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7648 resultptr
= new wxRect((wxRect
&) result
);
7649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7657 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7664 (char *) "self",(char *) "status", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7670 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 Py_INCREF(Py_None
); resultobj
= Py_None
;
7686 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7692 (char *) "self", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_FromInt((int)result
);
7712 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7715 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7717 return Py_BuildValue((char *)"");
7719 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 int arg1
= (int) 0 ;
7722 wxQueryLayoutInfoEvent
*result
;
7723 PyObject
* obj0
= 0 ;
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7730 arg1
= (int) SWIG_AsInt(obj0
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7747 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7754 (char *) "self",(char *) "length", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7760 arg2
= (int) SWIG_AsInt(obj1
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 (arg1
)->SetRequestedLength(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7776 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "self", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_FromInt((int)result
);
7802 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "flags", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 arg2
= (int) SWIG_AsInt(obj1
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->SetFlags(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "self", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_FromInt((int)result
);
7857 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7865 (char *) "self",(char *) "size", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 (arg1
)->SetSize((wxSize
const &)*arg2
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7889 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7895 (char *) "self", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7910 resultptr
= new wxSize((wxSize
&) result
);
7911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7919 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7926 (char *) "self",(char *) "orient", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7932 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 Py_INCREF(Py_None
); resultobj
= Py_None
;
7948 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7954 (char *) "self", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_FromInt((int)result
);
7974 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7978 PyObject
* obj0
= 0 ;
7979 PyObject
* obj1
= 0 ;
7981 (char *) "self",(char *) "align", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7987 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 Py_INCREF(Py_None
); resultobj
= Py_None
;
8003 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8009 (char *) "self", NULL
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= SWIG_FromInt((int)result
);
8029 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8032 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8034 return Py_BuildValue((char *)"");
8036 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 int arg1
= (int) 0 ;
8039 wxCalculateLayoutEvent
*result
;
8040 PyObject
* obj0
= 0 ;
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8047 arg1
= (int) SWIG_AsInt(obj0
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8064 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
;
8066 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8071 (char *) "self",(char *) "flags", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8077 arg2
= (int) SWIG_AsInt(obj1
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 (arg1
)->SetFlags(arg2
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_FromInt((int)result
);
8119 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8124 PyObject
* obj0
= 0 ;
8125 PyObject
* obj1
= 0 ;
8127 (char *) "self",(char *) "rect", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8135 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 (arg1
)->SetRect((wxRect
const &)*arg2
);
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 Py_INCREF(Py_None
); resultobj
= Py_None
;
8151 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8172 resultptr
= new wxRect((wxRect
&) result
);
8173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8181 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8184 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8186 return Py_BuildValue((char *)"");
8188 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxWindow
*arg1
= (wxWindow
*) 0 ;
8191 int arg2
= (int) -1 ;
8192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8196 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8197 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8199 wxSashLayoutWindow
*result
;
8202 bool temp6
= False
;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8205 PyObject
* obj2
= 0 ;
8206 PyObject
* obj3
= 0 ;
8207 PyObject
* obj4
= 0 ;
8208 PyObject
* obj5
= 0 ;
8210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 arg2
= (int) SWIG_AsInt(obj1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8233 arg5
= (long) SWIG_AsLong(obj4
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8238 arg6
= wxString_in_helper(obj5
);
8239 if (arg6
== NULL
) SWIG_fail
;
8244 if (!wxPyCheckForApp()) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8266 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxSashLayoutWindow
*result
;
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8275 if (!wxPyCheckForApp()) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8289 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8292 wxWindow
*arg2
= (wxWindow
*) 0 ;
8293 int arg3
= (int) -1 ;
8294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8298 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8299 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8300 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8304 bool temp7
= False
;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8307 PyObject
* obj2
= 0 ;
8308 PyObject
* obj3
= 0 ;
8309 PyObject
* obj4
= 0 ;
8310 PyObject
* obj5
= 0 ;
8311 PyObject
* obj6
= 0 ;
8313 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8322 arg3
= (int) SWIG_AsInt(obj2
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8328 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8334 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8338 arg6
= (long) SWIG_AsLong(obj5
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8343 arg7
= wxString_in_helper(obj6
);
8344 if (arg7
== NULL
) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8372 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (int)(arg1
)->GetAlignment();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_FromInt((int)result
);
8398 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (int)(arg1
)->GetOrientation();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= SWIG_FromInt((int)result
);
8424 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8431 (char *) "self",(char *) "alignment", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8453 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8461 (char *) "self",(char *) "size", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8485 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8492 (char *) "self",(char *) "orientation", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 Py_INCREF(Py_None
); resultobj
= Py_None
;
8514 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8517 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8519 return Py_BuildValue((char *)"");
8521 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxLayoutAlgorithm
*result
;
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8543 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "self", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 Py_INCREF(Py_None
); resultobj
= Py_None
;
8568 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8571 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8572 wxRect
*arg3
= (wxRect
*) NULL
;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 PyObject
* obj2
= 0 ;
8578 (char *) "self",(char *) "frame",(char *) "rect", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8606 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8609 wxFrame
*arg2
= (wxFrame
*) 0 ;
8610 wxWindow
*arg3
= (wxWindow
*) NULL
;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8614 PyObject
* obj2
= 0 ;
8616 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8644 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8647 wxWindow
*arg2
= (wxWindow
*) 0 ;
8648 wxWindow
*arg3
= (wxWindow
*) NULL
;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 PyObject
* obj2
= 0 ;
8654 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8663 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8682 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8685 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8687 return Py_BuildValue((char *)"");
8689 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
;
8691 wxWindow
*arg1
= (wxWindow
*) 0 ;
8692 int arg2
= (int) wxBORDER_NONE
;
8693 wxPopupWindow
*result
;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8697 (char *) "parent",(char *) "flags", NULL
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8704 arg2
= (int) SWIG_AsInt(obj1
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8708 if (!wxPyCheckForApp()) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8722 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxPopupWindow
*result
;
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8731 if (!wxPyCheckForApp()) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (wxPopupWindow
*)new wxPopupWindow();
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8745 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8748 wxWindow
*arg2
= (wxWindow
*) 0 ;
8749 int arg3
= (int) wxBORDER_NONE
;
8751 PyObject
* obj0
= 0 ;
8752 PyObject
* obj1
= 0 ;
8753 PyObject
* obj2
= 0 ;
8755 (char *) "self",(char *) "parent",(char *) "flags", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8764 arg3
= (int) SWIG_AsInt(obj2
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8783 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8792 PyObject
* obj2
= 0 ;
8794 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8806 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8825 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8827 return Py_BuildValue((char *)"");
8829 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxWindow
*arg1
= (wxWindow
*) 0 ;
8832 int arg2
= (int) wxBORDER_NONE
;
8833 wxPyPopupTransientWindow
*result
;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8837 (char *) "parent",(char *) "style", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8844 arg2
= (int) SWIG_AsInt(obj1
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8848 if (!wxPyCheckForApp()) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8862 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxPyPopupTransientWindow
*result
;
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8871 if (!wxPyCheckForApp()) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8885 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8888 PyObject
*arg2
= (PyObject
*) 0 ;
8889 PyObject
*arg3
= (PyObject
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8894 (char *) "self",(char *) "self",(char *) "_class", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8919 wxWindow
*arg2
= (wxWindow
*) NULL
;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "focus", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->Popup(arg2
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8975 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8977 return Py_BuildValue((char *)"");
8979 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxWindow
*arg1
= (wxWindow
*) 0 ;
8982 wxString
*arg2
= 0 ;
8983 int arg3
= (int) 100 ;
8984 wxRect
*arg4
= (wxRect
*) NULL
;
8985 wxTipWindow
*result
;
8986 bool temp2
= False
;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8989 PyObject
* obj2
= 0 ;
8990 PyObject
* obj3
= 0 ;
8992 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 arg2
= wxString_in_helper(obj1
);
9000 if (arg2
== NULL
) SWIG_fail
;
9004 arg3
= (int) SWIG_AsInt(obj2
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9008 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 if (!wxPyCheckForApp()) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9034 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9042 (char *) "self",(char *) "rectBound", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9050 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9071 (char *) "self", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 Py_INCREF(Py_None
); resultobj
= Py_None
;
9091 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9094 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9096 return Py_BuildValue((char *)"");
9098 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxWindow
*arg1
= (wxWindow
*) 0 ;
9101 int arg2
= (int) wxID_ANY
;
9102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9106 long arg5
= (long) 0 ;
9107 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9109 wxPyVScrolledWindow
*result
;
9112 bool temp6
= False
;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9116 PyObject
* obj3
= 0 ;
9117 PyObject
* obj4
= 0 ;
9118 PyObject
* obj5
= 0 ;
9120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9127 arg2
= (int) SWIG_AsInt(obj1
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9139 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9143 arg5
= (long) SWIG_AsLong(obj4
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9148 arg6
= wxString_in_helper(obj5
);
9149 if (arg6
== NULL
) SWIG_fail
;
9154 if (!wxPyCheckForApp()) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9176 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxPyVScrolledWindow
*result
;
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9185 if (!wxPyCheckForApp()) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9199 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9202 PyObject
*arg2
= (PyObject
*) 0 ;
9203 PyObject
*arg3
= (PyObject
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "self",(char *) "self",(char *) "_class", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9230 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9233 wxWindow
*arg2
= (wxWindow
*) 0 ;
9234 int arg3
= (int) wxID_ANY
;
9235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9237 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9238 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9239 long arg6
= (long) 0 ;
9240 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9241 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9245 bool temp7
= False
;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 PyObject
* obj2
= 0 ;
9249 PyObject
* obj3
= 0 ;
9250 PyObject
* obj4
= 0 ;
9251 PyObject
* obj5
= 0 ;
9252 PyObject
* obj6
= 0 ;
9254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9263 arg3
= (int) SWIG_AsInt(obj2
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9279 arg6
= (long) SWIG_AsLong(obj5
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9284 arg7
= wxString_in_helper(obj6
);
9285 if (arg7
== NULL
) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9313 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9320 (char *) "self",(char *) "count", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 (arg1
)->SetLineCount(arg2
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 Py_INCREF(Py_None
); resultobj
= Py_None
;
9342 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9350 (char *) "self",(char *) "line", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9374 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9382 (char *) "self",(char *) "lines", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 arg2
= (int) SWIG_AsInt(obj1
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (bool)(arg1
)->ScrollLines(arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9406 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9414 (char *) "self",(char *) "pages", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) 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
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (bool)(arg1
)->ScrollPages(arg2
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9445 (char *) "self",(char *) "line", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->RefreshLine(arg2
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 PyObject
* obj2
= 0 ;
9476 (char *) "self",(char *) "from",(char *) "to", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9484 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->RefreshLines(arg2
,arg3
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 Py_INCREF(Py_None
); resultobj
= Py_None
;
9500 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 PyObject
* obj2
= 0 ;
9510 (char *) "self",(char *) "x",(char *) "y", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9516 arg2
= (int) SWIG_AsInt(obj1
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9518 arg3
= (int) SWIG_AsInt(obj2
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_FromInt((int)result
);
9534 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9543 (char *) "self",(char *) "pt", NULL
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_FromInt((int)result
);
9567 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 (arg1
)->RefreshAll();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9592 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "self", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9618 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9644 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9650 (char *) "self", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9670 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9678 (char *) "self",(char *) "line", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9702 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9705 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9707 return Py_BuildValue((char *)"");
9709 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9710 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9715 static PyObject
*_wrap_VListBoxNameStr_get() {
9720 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9722 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9729 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
;
9731 wxWindow
*arg1
= (wxWindow
*) 0 ;
9732 int arg2
= (int) wxID_ANY
;
9733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9737 long arg5
= (long) 0 ;
9738 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9740 wxPyVListBox
*result
;
9743 bool temp6
= False
;
9744 PyObject
* obj0
= 0 ;
9745 PyObject
* obj1
= 0 ;
9746 PyObject
* obj2
= 0 ;
9747 PyObject
* obj3
= 0 ;
9748 PyObject
* obj4
= 0 ;
9749 PyObject
* obj5
= 0 ;
9751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9758 arg2
= (int) SWIG_AsInt(obj1
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9770 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9774 arg5
= (long) SWIG_AsLong(obj4
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9779 arg6
= wxString_in_helper(obj5
);
9780 if (arg6
== NULL
) SWIG_fail
;
9785 if (!wxPyCheckForApp()) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9807 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxPyVListBox
*result
;
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9816 if (!wxPyCheckForApp()) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (wxPyVListBox
*)new wxPyVListBox();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9830 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9833 PyObject
*arg2
= (PyObject
*) 0 ;
9834 PyObject
*arg3
= (PyObject
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9836 PyObject
* obj1
= 0 ;
9837 PyObject
* obj2
= 0 ;
9839 (char *) "self",(char *) "self",(char *) "_class", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 Py_INCREF(Py_None
); resultobj
= Py_None
;
9861 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9864 wxWindow
*arg2
= (wxWindow
*) 0 ;
9865 int arg3
= (int) wxID_ANY
;
9866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9870 long arg6
= (long) 0 ;
9871 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9876 bool temp7
= False
;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 PyObject
* obj2
= 0 ;
9880 PyObject
* obj3
= 0 ;
9881 PyObject
* obj4
= 0 ;
9882 PyObject
* obj5
= 0 ;
9883 PyObject
* obj6
= 0 ;
9885 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 arg3
= (int) SWIG_AsInt(obj2
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9910 arg6
= (long) SWIG_AsLong(obj5
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9915 arg7
= wxString_in_helper(obj6
);
9916 if (arg7
== NULL
) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9944 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9950 (char *) "self", NULL
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9970 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9998 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_FromInt((int)result
);
10024 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "self",(char *) "item", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10038 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10056 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 PyObject
* obj1
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self",(char *) "item", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10088 static PyObject
*_wrap_VListBox_GetSelectedCount(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_GetSelectedCount",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
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10114 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= result
;
10140 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10143 unsigned long arg2
;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self",(char *) "cookie", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10154 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= result
;
10170 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10190 wxPoint
* resultptr
;
10191 resultptr
= new wxPoint((wxPoint
&) result
);
10192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10200 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10204 PyObject
* obj0
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "self", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10216 result
= (wxColour
*) &_result_ref
;
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10229 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "count", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->SetItemCount(arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10261 PyObject
* obj0
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10283 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self",(char *) "selection", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10296 arg2
= (int) SWIG_AsInt(obj1
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 (arg1
)->SetSelection(arg2
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10312 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10314 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10316 bool arg3
= (bool) True
;
10318 PyObject
* obj0
= 0 ;
10319 PyObject
* obj1
= 0 ;
10320 PyObject
* obj2
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self",(char *) "item",(char *) "select", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10328 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 arg3
= (bool) SWIG_AsBool(obj2
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10350 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 PyObject
* obj2
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self",(char *) "from",(char *) "to", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10366 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10368 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10386 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 char *kwnames
[] = {
10393 (char *) "self",(char *) "item", NULL
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 (arg1
)->Toggle(arg2
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10419 PyObject
* obj0
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (bool)(arg1
)->SelectAll();
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10443 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (bool)(arg1
)->DeselectAll();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10471 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10474 wxPoint
*arg2
= 0 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self",(char *) "pt", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 Py_INCREF(Py_None
); resultobj
= Py_None
;
10503 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 PyObject
* obj2
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self",(char *) "x",(char *) "y", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 arg2
= (int) SWIG_AsInt(obj1
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10520 arg3
= (int) SWIG_AsInt(obj2
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 (arg1
)->SetMargins(arg2
,arg3
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10539 wxColour
*arg2
= 0 ;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self",(char *) "col", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10571 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10573 return Py_BuildValue((char *)"");
10575 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxWindow
*arg1
= (wxWindow
*) 0 ;
10578 int arg2
= (int) wxID_ANY
;
10579 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10580 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10581 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10582 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10583 long arg5
= (long) 0 ;
10584 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10585 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10586 wxPyHtmlListBox
*result
;
10589 bool temp6
= False
;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 PyObject
* obj2
= 0 ;
10593 PyObject
* obj3
= 0 ;
10594 PyObject
* obj4
= 0 ;
10595 PyObject
* obj5
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 arg2
= (int) SWIG_AsInt(obj1
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10620 arg5
= (long) SWIG_AsLong(obj4
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10625 arg6
= wxString_in_helper(obj5
);
10626 if (arg6
== NULL
) SWIG_fail
;
10631 if (!wxPyCheckForApp()) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10653 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxPyHtmlListBox
*result
;
10656 char *kwnames
[] = {
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10662 if (!wxPyCheckForApp()) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10676 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10679 PyObject
*arg2
= (PyObject
*) 0 ;
10680 PyObject
*arg3
= (PyObject
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "self",(char *) "self",(char *) "_class", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 Py_INCREF(Py_None
); resultobj
= Py_None
;
10707 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10710 wxWindow
*arg2
= (wxWindow
*) 0 ;
10711 int arg3
= (int) wxID_ANY
;
10712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10716 long arg6
= (long) 0 ;
10717 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10718 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10722 bool temp7
= False
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 PyObject
* obj3
= 0 ;
10727 PyObject
* obj4
= 0 ;
10728 PyObject
* obj5
= 0 ;
10729 PyObject
* obj6
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 arg3
= (int) SWIG_AsInt(obj2
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10756 arg6
= (long) SWIG_AsLong(obj5
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10761 arg7
= wxString_in_helper(obj6
);
10762 if (arg7
== NULL
) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10790 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->RefreshAll();
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 Py_INCREF(Py_None
); resultobj
= Py_None
;
10815 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "count", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10828 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->SetItemCount(arg2
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 Py_INCREF(Py_None
); resultobj
= Py_None
;
10844 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10847 wxFileSystem
*result
;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10860 result
= (wxFileSystem
*) &_result_ref
;
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10873 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10876 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10878 return Py_BuildValue((char *)"");
10880 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxTaskBarIcon
*result
;
10883 char *kwnames
[] = {
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10889 if (!wxPyCheckForApp()) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10903 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 Py_INCREF(Py_None
); resultobj
= Py_None
;
10928 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 wxTaskBarIcon_Destroy(arg1
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 Py_INCREF(Py_None
); resultobj
= Py_None
;
10953 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10957 PyObject
* obj0
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10981 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11009 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11013 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11014 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11016 bool temp3
= False
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11030 if (arg2
== NULL
) {
11031 PyErr_SetString(PyExc_TypeError
,"null reference");
11036 arg3
= wxString_in_helper(obj2
);
11037 if (arg3
== NULL
) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11065 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (bool)(arg1
)->RemoveIcon();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11093 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11096 wxMenu
*arg2
= (wxMenu
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self",(char *) "menu", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (bool)(arg1
)->PopupMenu(arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11125 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11128 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11130 return Py_BuildValue((char *)"");
11132 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11135 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11136 wxTaskBarIconEvent
*result
;
11137 PyObject
* obj0
= 0 ;
11138 PyObject
* obj1
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "evtType",(char *) "tbIcon", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11144 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11162 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11165 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11167 return Py_BuildValue((char *)"");
11169 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11170 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11175 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11180 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11182 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11189 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11190 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11195 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11200 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11202 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11209 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11210 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11215 static PyObject
*_wrap_DirDialogNameStr_get() {
11220 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11222 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11229 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11230 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11235 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11240 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11242 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11249 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11250 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11255 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11260 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11262 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11269 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11270 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11275 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11280 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11282 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11289 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxColourData
*result
;
11292 char *kwnames
[] = {
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (wxColourData
*)new wxColourData();
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11311 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxColourData
*arg1
= (wxColourData
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 Py_INCREF(Py_None
); resultobj
= Py_None
;
11336 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxColourData
*arg1
= (wxColourData
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (bool)(arg1
)->GetChooseFull();
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11364 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11366 wxColourData
*arg1
= (wxColourData
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (arg1
)->GetColour();
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 wxColour
* resultptr
;
11385 resultptr
= new wxColour((wxColour
&) result
);
11386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11394 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxColourData
*arg1
= (wxColourData
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self",(char *) "i", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11408 arg2
= (int) SWIG_AsInt(obj1
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (arg1
)->GetCustomColour(arg2
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 wxColour
* resultptr
;
11419 resultptr
= new wxColour((wxColour
&) result
);
11420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11428 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxColourData
*arg1
= (wxColourData
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self",(char *) "flag", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11441 arg2
= (int) SWIG_AsInt(obj1
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 (arg1
)->SetChooseFull(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 Py_INCREF(Py_None
); resultobj
= Py_None
;
11457 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxColourData
*arg1
= (wxColourData
*) 0 ;
11460 wxColour
*arg2
= 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self",(char *) "colour", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->SetColour((wxColour
const &)*arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11489 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxColourData
*arg1
= (wxColourData
*) 0 ;
11493 wxColour
*arg3
= 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "i",(char *) "colour", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 arg2
= (int) SWIG_AsInt(obj1
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 Py_INCREF(Py_None
); resultobj
= Py_None
;
11525 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11528 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11530 return Py_BuildValue((char *)"");
11532 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxWindow
*arg1
= (wxWindow
*) 0 ;
11535 wxColourData
*arg2
= (wxColourData
*) NULL
;
11536 wxColourDialog
*result
;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "parent",(char *) "data", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11551 if (!wxPyCheckForApp()) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11565 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11568 wxColourData
*result
;
11569 PyObject
* obj0
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11581 result
= (wxColourData
*) &_result_ref
;
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11594 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11597 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11599 return Py_BuildValue((char *)"");
11601 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxWindow
*arg1
= (wxWindow
*) 0 ;
11604 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11605 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11606 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11607 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11608 long arg4
= (long) 0 ;
11609 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11610 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11611 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11612 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11613 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11614 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11615 wxDirDialog
*result
;
11616 bool temp2
= False
;
11617 bool temp3
= False
;
11620 bool temp7
= False
;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 PyObject
* obj2
= 0 ;
11624 PyObject
* obj3
= 0 ;
11625 PyObject
* obj4
= 0 ;
11626 PyObject
* obj5
= 0 ;
11627 PyObject
* obj6
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 arg2
= wxString_in_helper(obj1
);
11638 if (arg2
== NULL
) SWIG_fail
;
11644 arg3
= wxString_in_helper(obj2
);
11645 if (arg3
== NULL
) SWIG_fail
;
11650 arg4
= (long) SWIG_AsLong(obj3
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11656 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11662 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11667 arg7
= wxString_in_helper(obj6
);
11668 if (arg7
== NULL
) SWIG_fail
;
11673 if (!wxPyCheckForApp()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11711 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 char *kwnames
[] = {
11717 (char *) "self", NULL
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (arg1
)->GetPath();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11743 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (arg1
)->GetMessage();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11775 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11779 PyObject
* obj0
= 0 ;
11780 char *kwnames
[] = {
11781 (char *) "self", NULL
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (long)(arg1
)->GetStyle();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= SWIG_FromLong((long)result
);
11801 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11804 wxString
*arg2
= 0 ;
11805 bool temp2
= False
;
11806 PyObject
* obj0
= 0 ;
11807 PyObject
* obj1
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "message", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11816 arg2
= wxString_in_helper(obj1
);
11817 if (arg2
== NULL
) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 (arg1
)->SetMessage((wxString
const &)*arg2
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 Py_INCREF(Py_None
); resultobj
= Py_None
;
11842 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11845 wxString
*arg2
= 0 ;
11846 bool temp2
= False
;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "path", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg2
= wxString_in_helper(obj1
);
11858 if (arg2
== NULL
) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 (arg1
)->SetPath((wxString
const &)*arg2
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 Py_INCREF(Py_None
); resultobj
= Py_None
;
11883 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11886 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11888 return Py_BuildValue((char *)"");
11890 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxWindow
*arg1
= (wxWindow
*) 0 ;
11893 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11894 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11895 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11896 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11897 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11898 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11899 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11900 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11901 long arg6
= (long) 0 ;
11902 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11903 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11904 wxFileDialog
*result
;
11905 bool temp2
= False
;
11906 bool temp3
= False
;
11907 bool temp4
= False
;
11908 bool temp5
= False
;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 PyObject
* obj2
= 0 ;
11913 PyObject
* obj3
= 0 ;
11914 PyObject
* obj4
= 0 ;
11915 PyObject
* obj5
= 0 ;
11916 PyObject
* obj6
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11926 arg2
= wxString_in_helper(obj1
);
11927 if (arg2
== NULL
) SWIG_fail
;
11933 arg3
= wxString_in_helper(obj2
);
11934 if (arg3
== NULL
) SWIG_fail
;
11940 arg4
= wxString_in_helper(obj3
);
11941 if (arg4
== NULL
) SWIG_fail
;
11947 arg5
= wxString_in_helper(obj4
);
11948 if (arg5
== NULL
) SWIG_fail
;
11953 arg6
= (long) SWIG_AsLong(obj5
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11959 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11963 if (!wxPyCheckForApp()) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12009 static PyObject
*_wrap_FileDialog_SetMessage(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 *) "message", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",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
)->SetMessage((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_SetPath(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 *) "path", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",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
)->SetPath((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_SetDirectory(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 *) "dir", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",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
)->SetDirectory((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_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12135 wxString
*arg2
= 0 ;
12136 bool temp2
= False
;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self",(char *) "name", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 arg2
= wxString_in_helper(obj1
);
12148 if (arg2
== NULL
) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->SetFilename((wxString
const &)*arg2
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12173 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12176 wxString
*arg2
= 0 ;
12177 bool temp2
= False
;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "wildCard", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= wxString_in_helper(obj1
);
12189 if (arg2
== NULL
) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 PyObject
* obj1
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "style", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12227 arg2
= (long) SWIG_AsLong(obj1
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetStyle(arg2
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 Py_INCREF(Py_None
); resultobj
= Py_None
;
12243 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self",(char *) "filterIndex", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12256 arg2
= (int) SWIG_AsInt(obj1
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 (arg1
)->SetFilterIndex(arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 Py_INCREF(Py_None
); resultobj
= Py_None
;
12272 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12304 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12336 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12340 PyObject
* obj0
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12368 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12400 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12432 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_FromLong((long)result
);
12458 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_FromInt((int)result
);
12484 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
;
12510 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= result
;
12536 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12539 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12541 return Py_BuildValue((char *)"");
12543 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxWindow
*arg1
= (wxWindow
*) 0 ;
12546 wxString
*arg2
= 0 ;
12547 wxString
*arg3
= 0 ;
12548 int arg4
= (int) 0 ;
12549 wxString
*arg5
= (wxString
*) NULL
;
12550 long arg6
= (long) wxCHOICEDLG_STYLE
;
12551 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12552 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12553 wxMultiChoiceDialog
*result
;
12554 bool temp2
= False
;
12555 bool temp3
= False
;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 PyObject
* obj2
= 0 ;
12560 PyObject
* obj3
= 0 ;
12561 PyObject
* obj4
= 0 ;
12562 PyObject
* obj5
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12571 arg2
= wxString_in_helper(obj1
);
12572 if (arg2
== NULL
) SWIG_fail
;
12576 arg3
= wxString_in_helper(obj2
);
12577 if (arg3
== NULL
) SWIG_fail
;
12582 arg4
= PyList_Size(obj3
);
12583 arg5
= wxString_LIST_helper(obj3
);
12584 if (arg5
== NULL
) SWIG_fail
;
12588 arg6
= (long) SWIG_AsLong(obj4
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12594 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12598 if (!wxPyCheckForApp()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12615 if (arg5
) delete [] arg5
;
12628 if (arg5
) delete [] arg5
;
12634 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12637 wxArrayInt
*arg2
= 0 ;
12638 bool temp2
= False
;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self",(char *) "selections", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 if (! PySequence_Check(obj1
)) {
12650 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12653 arg2
= new wxArrayInt
;
12655 int i
, len
=PySequence_Length(obj1
);
12656 for (i
=0; i
<len
; i
++) {
12657 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12658 PyObject
* number
= PyNumber_Int(item
);
12659 arg2
->Add(PyInt_AS_LONG(number
));
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 if (temp2
) delete arg2
;
12678 if (temp2
) delete arg2
;
12684 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= result
;
12710 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12715 return Py_BuildValue((char *)"");
12717 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxWindow
*arg1
= (wxWindow
*) 0 ;
12720 wxString
*arg2
= 0 ;
12721 wxString
*arg3
= 0 ;
12723 wxString
*arg5
= (wxString
*) 0 ;
12724 long arg6
= (long) wxCHOICEDLG_STYLE
;
12725 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12726 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12727 wxSingleChoiceDialog
*result
;
12728 bool temp2
= False
;
12729 bool temp3
= False
;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 PyObject
* obj2
= 0 ;
12734 PyObject
* obj3
= 0 ;
12735 PyObject
* obj4
= 0 ;
12736 PyObject
* obj5
= 0 ;
12737 char *kwnames
[] = {
12738 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12745 arg2
= wxString_in_helper(obj1
);
12746 if (arg2
== NULL
) SWIG_fail
;
12750 arg3
= wxString_in_helper(obj2
);
12751 if (arg3
== NULL
) SWIG_fail
;
12755 arg4
= PyList_Size(obj3
);
12756 arg5
= wxString_LIST_helper(obj3
);
12757 if (arg5
== NULL
) SWIG_fail
;
12760 arg6
= (long) SWIG_AsLong(obj4
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12766 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12770 if (!wxPyCheckForApp()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12787 if (arg5
) delete [] arg5
;
12800 if (arg5
) delete [] arg5
;
12806 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (int)(arg1
)->GetSelection();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_FromInt((int)result
);
12832 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (arg1
)->GetStringSelection();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12864 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self",(char *) "sel", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 arg2
= (int) SWIG_AsInt(obj1
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 (arg1
)->SetSelection(arg2
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 Py_INCREF(Py_None
); resultobj
= Py_None
;
12893 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12896 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12898 return Py_BuildValue((char *)"");
12900 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxWindow
*arg1
= (wxWindow
*) 0 ;
12903 wxString
*arg2
= 0 ;
12904 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12908 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12909 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12910 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12911 wxTextEntryDialog
*result
;
12912 bool temp2
= False
;
12913 bool temp3
= False
;
12914 bool temp4
= False
;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 PyObject
* obj2
= 0 ;
12919 PyObject
* obj3
= 0 ;
12920 PyObject
* obj4
= 0 ;
12921 PyObject
* obj5
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12930 arg2
= wxString_in_helper(obj1
);
12931 if (arg2
== NULL
) SWIG_fail
;
12936 arg3
= wxString_in_helper(obj2
);
12937 if (arg3
== NULL
) SWIG_fail
;
12943 arg4
= wxString_in_helper(obj3
);
12944 if (arg4
== NULL
) SWIG_fail
;
12949 arg5
= (long) SWIG_AsLong(obj4
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12955 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12959 if (!wxPyCheckForApp()) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12997 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (arg1
)->GetValue();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13029 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13032 wxString
*arg2
= 0 ;
13033 bool temp2
= False
;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self",(char *) "value", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13044 arg2
= wxString_in_helper(obj1
);
13045 if (arg2
== NULL
) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 (arg1
)->SetValue((wxString
const &)*arg2
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 Py_INCREF(Py_None
); resultobj
= Py_None
;
13070 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13073 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13075 return Py_BuildValue((char *)"");
13077 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxFontData
*result
;
13080 char *kwnames
[] = {
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (wxFontData
*)new wxFontData();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13099 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxFontData
*arg1
= (wxFontData
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 Py_INCREF(Py_None
); resultobj
= Py_None
;
13124 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxFontData
*arg1
= (wxFontData
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "enable", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 arg2
= (bool) SWIG_AsBool(obj1
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->EnableEffects(arg2
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 Py_INCREF(Py_None
); resultobj
= Py_None
;
13153 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxFontData
*arg1
= (wxFontData
*) 0 ;
13157 PyObject
* obj0
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (bool)(arg1
)->GetAllowSymbols();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13181 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxFontData
*arg1
= (wxFontData
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (arg1
)->GetColour();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 wxColour
* resultptr
;
13202 resultptr
= new wxColour((wxColour
&) result
);
13203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13211 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxFontData
*arg1
= (wxFontData
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (arg1
)->GetChosenFont();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 wxFont
* resultptr
;
13232 resultptr
= new wxFont((wxFont
&) result
);
13233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13241 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxFontData
*arg1
= (wxFontData
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (bool)(arg1
)->GetEnableEffects();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13269 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxFontData
*arg1
= (wxFontData
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (arg1
)->GetInitialFont();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13289 wxFont
* resultptr
;
13290 resultptr
= new wxFont((wxFont
&) result
);
13291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13299 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxFontData
*arg1
= (wxFontData
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (bool)(arg1
)->GetShowHelp();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13327 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxFontData
*arg1
= (wxFontData
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "allowSymbols", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 arg2
= (bool) SWIG_AsBool(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->SetAllowSymbols(arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxFontData
*arg1
= (wxFontData
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "font", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13372 if (arg2
== NULL
) {
13373 PyErr_SetString(PyExc_TypeError
,"null reference");
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 Py_INCREF(Py_None
); resultobj
= Py_None
;
13390 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxFontData
*arg1
= (wxFontData
*) 0 ;
13393 wxColour
*arg2
= 0 ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "colour", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->SetColour((wxColour
const &)*arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxFontData
*arg1
= (wxFontData
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "font", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13438 if (arg2
== NULL
) {
13439 PyErr_SetString(PyExc_TypeError
,"null reference");
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13456 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxFontData
*arg1
= (wxFontData
*) 0 ;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 PyObject
* obj2
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self",(char *) "min",(char *) "max", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 arg2
= (int) SWIG_AsInt(obj1
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13473 arg3
= (int) SWIG_AsInt(obj2
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 (arg1
)->SetRange(arg2
,arg3
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 Py_INCREF(Py_None
); resultobj
= Py_None
;
13489 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxFontData
*arg1
= (wxFontData
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self",(char *) "showHelp", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13502 arg2
= (bool) SWIG_AsBool(obj1
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 (arg1
)->SetShowHelp(arg2
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 Py_INCREF(Py_None
); resultobj
= Py_None
;
13518 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13521 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13523 return Py_BuildValue((char *)"");
13525 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxWindow
*arg1
= (wxWindow
*) 0 ;
13528 wxFontData
*arg2
= 0 ;
13529 wxFontDialog
*result
;
13530 PyObject
* obj0
= 0 ;
13531 PyObject
* obj1
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "parent",(char *) "data", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13542 if (arg2
== NULL
) {
13543 PyErr_SetString(PyExc_TypeError
,"null reference");
13547 if (!wxPyCheckForApp()) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13561 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13564 wxFontData
*result
;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13577 result
= (wxFontData
*) &_result_ref
;
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13590 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13593 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13595 return Py_BuildValue((char *)"");
13597 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxWindow
*arg1
= (wxWindow
*) 0 ;
13600 wxString
*arg2
= 0 ;
13601 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13603 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13606 wxMessageDialog
*result
;
13607 bool temp2
= False
;
13608 bool temp3
= 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 *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 arg2
= wxString_in_helper(obj1
);
13624 if (arg2
== NULL
) SWIG_fail
;
13629 arg3
= wxString_in_helper(obj2
);
13630 if (arg3
== NULL
) SWIG_fail
;
13635 arg4
= (long) SWIG_AsLong(obj3
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13641 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13645 if (!wxPyCheckForApp()) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13675 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13678 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13680 return Py_BuildValue((char *)"");
13682 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxString
*arg1
= 0 ;
13685 wxString
*arg2
= 0 ;
13686 int arg3
= (int) 100 ;
13687 wxWindow
*arg4
= (wxWindow
*) NULL
;
13688 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13689 wxProgressDialog
*result
;
13690 bool temp1
= False
;
13691 bool temp2
= False
;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 PyObject
* obj2
= 0 ;
13695 PyObject
* obj3
= 0 ;
13696 PyObject
* obj4
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13703 arg1
= wxString_in_helper(obj0
);
13704 if (arg1
== NULL
) SWIG_fail
;
13708 arg2
= wxString_in_helper(obj1
);
13709 if (arg2
== NULL
) SWIG_fail
;
13713 arg3
= (int) SWIG_AsInt(obj2
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13721 arg5
= (int) SWIG_AsInt(obj4
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13725 if (!wxPyCheckForApp()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13755 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13759 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13760 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13762 bool temp3
= False
;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 PyObject
* obj2
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 arg2
= (int) SWIG_AsInt(obj1
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13777 arg3
= wxString_in_helper(obj2
);
13778 if (arg3
== NULL
) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13806 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 char *kwnames
[] = {
13811 (char *) "self", NULL
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 Py_INCREF(Py_None
); resultobj
= Py_None
;
13831 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13834 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13836 return Py_BuildValue((char *)"");
13838 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13841 int arg2
= (int) 0 ;
13842 wxFindDialogEvent
*result
;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "commandType",(char *) "id", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13851 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13855 arg2
= (int) SWIG_AsInt(obj1
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13872 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13876 PyObject
* obj0
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (int)(arg1
)->GetFlags();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_FromInt((int)result
);
13898 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 wxString
const &_result_ref
= (arg1
)->GetFindString();
13914 result
= (wxString
*) &_result_ref
;
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13924 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13933 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13949 result
= (wxString
*) &_result_ref
;
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13959 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13968 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13971 wxFindReplaceDialog
*result
;
13972 PyObject
* obj0
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13994 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 PyObject
* obj1
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self",(char *) "flags", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14007 arg2
= (int) SWIG_AsInt(obj1
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 (arg1
)->SetFlags(arg2
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 Py_INCREF(Py_None
); resultobj
= Py_None
;
14023 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14026 wxString
*arg2
= 0 ;
14027 bool temp2
= False
;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self",(char *) "str", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 arg2
= wxString_in_helper(obj1
);
14039 if (arg2
== NULL
) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 (arg1
)->SetFindString((wxString
const &)*arg2
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 Py_INCREF(Py_None
); resultobj
= Py_None
;
14064 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14067 wxString
*arg2
= 0 ;
14068 bool temp2
= False
;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "str", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 arg2
= wxString_in_helper(obj1
);
14080 if (arg2
== NULL
) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 Py_INCREF(Py_None
); resultobj
= Py_None
;
14105 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14108 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14110 return Py_BuildValue((char *)"");
14112 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 int arg1
= (int) 0 ;
14115 wxFindReplaceData
*result
;
14116 PyObject
* obj0
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "flags", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14123 arg1
= (int) SWIG_AsInt(obj0
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14140 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 Py_INCREF(Py_None
); resultobj
= Py_None
;
14165 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 wxString
const &_result_ref
= (arg1
)->GetFindString();
14181 result
= (wxString
*) &_result_ref
;
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14191 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14200 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14216 result
= (wxString
*) &_result_ref
;
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14235 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (int)(arg1
)->GetFlags();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= SWIG_FromInt((int)result
);
14261 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 PyObject
* obj1
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self",(char *) "flags", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14274 arg2
= (int) SWIG_AsInt(obj1
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 (arg1
)->SetFlags(arg2
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 Py_INCREF(Py_None
); resultobj
= Py_None
;
14290 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14293 wxString
*arg2
= 0 ;
14294 bool temp2
= False
;
14295 PyObject
* obj0
= 0 ;
14296 PyObject
* obj1
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self",(char *) "str", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14305 arg2
= wxString_in_helper(obj1
);
14306 if (arg2
== NULL
) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 (arg1
)->SetFindString((wxString
const &)*arg2
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 Py_INCREF(Py_None
); resultobj
= Py_None
;
14331 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14334 wxString
*arg2
= 0 ;
14335 bool temp2
= False
;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self",(char *) "str", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 arg2
= wxString_in_helper(obj1
);
14347 if (arg2
== NULL
) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 Py_INCREF(Py_None
); resultobj
= Py_None
;
14372 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14375 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14377 return Py_BuildValue((char *)"");
14379 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxWindow
*arg1
= (wxWindow
*) 0 ;
14382 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14383 wxString
*arg3
= 0 ;
14384 int arg4
= (int) 0 ;
14385 wxFindReplaceDialog
*result
;
14386 bool temp3
= False
;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 PyObject
* obj2
= 0 ;
14390 PyObject
* obj3
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 arg3
= wxString_in_helper(obj2
);
14402 if (arg3
== NULL
) SWIG_fail
;
14406 arg4
= (int) SWIG_AsInt(obj3
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 if (!wxPyCheckForApp()) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14432 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxFindReplaceDialog
*result
;
14435 char *kwnames
[] = {
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14441 if (!wxPyCheckForApp()) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14455 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14458 wxWindow
*arg2
= (wxWindow
*) 0 ;
14459 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14460 wxString
*arg4
= 0 ;
14461 int arg5
= (int) 0 ;
14463 bool temp4
= False
;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 PyObject
* obj3
= 0 ;
14468 PyObject
* obj4
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 arg4
= wxString_in_helper(obj3
);
14482 if (arg4
== NULL
) SWIG_fail
;
14486 arg5
= (int) SWIG_AsInt(obj4
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14513 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14516 wxFindReplaceData
*result
;
14517 PyObject
* obj0
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14539 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14542 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "data", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 (arg1
)->SetData(arg2
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 Py_INCREF(Py_None
); resultobj
= Py_None
;
14568 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14571 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14573 return Py_BuildValue((char *)"");
14575 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxWindow
*arg1
= (wxWindow
*) 0 ;
14578 int arg2
= (int) (int)-1 ;
14579 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14580 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14581 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14582 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14583 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14584 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14585 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14586 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14587 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14588 wxMDIParentFrame
*result
;
14589 bool temp3
= False
;
14592 bool temp7
= False
;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj1
= 0 ;
14595 PyObject
* obj2
= 0 ;
14596 PyObject
* obj3
= 0 ;
14597 PyObject
* obj4
= 0 ;
14598 PyObject
* obj5
= 0 ;
14599 PyObject
* obj6
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 arg2
= (int const) SWIG_AsInt(obj1
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14613 arg3
= wxString_in_helper(obj2
);
14614 if (arg3
== NULL
) SWIG_fail
;
14621 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14627 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14631 arg6
= (long) SWIG_AsLong(obj5
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14636 arg7
= wxString_in_helper(obj6
);
14637 if (arg7
== NULL
) SWIG_fail
;
14642 if (!wxPyCheckForApp()) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14672 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxMDIParentFrame
*result
;
14675 char *kwnames
[] = {
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14681 if (!wxPyCheckForApp()) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14695 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14698 wxWindow
*arg2
= (wxWindow
*) 0 ;
14699 int arg3
= (int) (int)-1 ;
14700 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14701 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14702 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14703 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14704 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14705 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14706 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14707 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14708 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14710 bool temp4
= False
;
14713 bool temp8
= False
;
14714 PyObject
* obj0
= 0 ;
14715 PyObject
* obj1
= 0 ;
14716 PyObject
* obj2
= 0 ;
14717 PyObject
* obj3
= 0 ;
14718 PyObject
* obj4
= 0 ;
14719 PyObject
* obj5
= 0 ;
14720 PyObject
* obj6
= 0 ;
14721 PyObject
* obj7
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 arg3
= (int const) SWIG_AsInt(obj2
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14737 arg4
= wxString_in_helper(obj3
);
14738 if (arg4
== NULL
) SWIG_fail
;
14745 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14751 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14755 arg7
= (long) SWIG_AsLong(obj6
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14760 arg8
= wxString_in_helper(obj7
);
14761 if (arg8
== NULL
) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14797 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 (arg1
)->ActivateNext();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 Py_INCREF(Py_None
); resultobj
= Py_None
;
14822 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->ActivatePrevious();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "self", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 (arg1
)->ArrangeIcons();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 Py_INCREF(Py_None
); resultobj
= Py_None
;
14872 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 Py_INCREF(Py_None
); resultobj
= Py_None
;
14897 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14900 wxMDIChildFrame
*result
;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= wxPyMake_wxObject(result
);
14925 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14928 wxMDIClientWindow
*result
;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= wxPyMake_wxObject(result
);
14953 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (wxWindow
*)(arg1
)->GetToolBar();
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14973 resultobj
= wxPyMake_wxObject(result
);
14981 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 Py_INCREF(Py_None
); resultobj
= Py_None
;
15006 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15009 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15011 return Py_BuildValue((char *)"");
15013 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15016 int arg2
= (int) (int)-1 ;
15017 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15023 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15024 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15026 wxMDIChildFrame
*result
;
15027 bool temp3
= False
;
15030 bool temp7
= False
;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 PyObject
* obj2
= 0 ;
15034 PyObject
* obj3
= 0 ;
15035 PyObject
* obj4
= 0 ;
15036 PyObject
* obj5
= 0 ;
15037 PyObject
* obj6
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15046 arg2
= (int const) SWIG_AsInt(obj1
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15051 arg3
= wxString_in_helper(obj2
);
15052 if (arg3
== NULL
) SWIG_fail
;
15059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15069 arg6
= (long) SWIG_AsLong(obj5
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15074 arg7
= wxString_in_helper(obj6
);
15075 if (arg7
== NULL
) SWIG_fail
;
15080 if (!wxPyCheckForApp()) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= wxPyMake_wxObject(result
);
15112 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxMDIChildFrame
*result
;
15115 char *kwnames
[] = {
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15121 if (!wxPyCheckForApp()) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= wxPyMake_wxObject(result
);
15137 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15140 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15141 int arg3
= (int) (int)-1 ;
15142 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15143 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15144 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15145 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15146 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15147 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15148 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15149 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15150 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15152 bool temp4
= False
;
15155 bool temp8
= False
;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 PyObject
* obj3
= 0 ;
15160 PyObject
* obj4
= 0 ;
15161 PyObject
* obj5
= 0 ;
15162 PyObject
* obj6
= 0 ;
15163 PyObject
* obj7
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15174 arg3
= (int const) SWIG_AsInt(obj2
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15179 arg4
= wxString_in_helper(obj3
);
15180 if (arg4
== NULL
) SWIG_fail
;
15187 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15193 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15197 arg7
= (long) SWIG_AsLong(obj6
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15202 arg8
= wxString_in_helper(obj7
);
15203 if (arg8
== NULL
) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15239 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 (arg1
)->Activate();
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 Py_INCREF(Py_None
); resultobj
= Py_None
;
15264 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "maximize", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 arg2
= (bool) SWIG_AsBool(obj1
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 (arg1
)->Maximize(arg2
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 Py_INCREF(Py_None
); resultobj
= Py_None
;
15293 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 Py_INCREF(Py_None
); resultobj
= Py_None
;
15318 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15321 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15323 return Py_BuildValue((char *)"");
15325 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15328 long arg2
= (long) 0 ;
15329 wxMDIClientWindow
*result
;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "parent",(char *) "style", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 arg2
= (long) SWIG_AsLong(obj1
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 if (!wxPyCheckForApp()) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= wxPyMake_wxObject(result
);
15360 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxMDIClientWindow
*result
;
15363 char *kwnames
[] = {
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15369 if (!wxPyCheckForApp()) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= wxPyMake_wxObject(result
);
15385 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15388 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15389 long arg3
= (long) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 PyObject
* obj1
= 0 ;
15393 PyObject
* obj2
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "parent",(char *) "style", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 arg3
= (long) SWIG_AsLong(obj2
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15426 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15428 return Py_BuildValue((char *)"");
15430 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxWindow
*arg1
= (wxWindow
*) 0 ;
15433 int arg2
= (int) (int)-1 ;
15434 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15435 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15436 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15437 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15438 long arg5
= (long) 0 ;
15439 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15440 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15441 wxPyWindow
*result
;
15444 bool temp6
= False
;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 PyObject
* obj2
= 0 ;
15448 PyObject
* obj3
= 0 ;
15449 PyObject
* obj4
= 0 ;
15450 PyObject
* obj5
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15459 arg2
= (int const) SWIG_AsInt(obj1
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15471 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15475 arg5
= (long) SWIG_AsLong(obj4
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15480 arg6
= wxString_in_helper(obj5
);
15481 if (arg6
== NULL
) SWIG_fail
;
15486 if (!wxPyCheckForApp()) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15508 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxPyWindow
*result
;
15511 char *kwnames
[] = {
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15517 if (!wxPyCheckForApp()) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (wxPyWindow
*)new wxPyWindow();
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15531 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15534 PyObject
*arg2
= (PyObject
*) 0 ;
15535 PyObject
*arg3
= (PyObject
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 PyObject
* obj1
= 0 ;
15538 PyObject
* obj2
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self",(char *) "self",(char *) "_class", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15562 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self",(char *) "size", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 Py_INCREF(Py_None
); resultobj
= Py_None
;
15594 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15601 PyObject
* obj0
= 0 ;
15602 PyObject
* obj1
= 0 ;
15603 PyObject
* obj2
= 0 ;
15604 PyObject
* obj3
= 0 ;
15605 PyObject
* obj4
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 arg2
= (int) SWIG_AsInt(obj1
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15615 arg3
= (int) SWIG_AsInt(obj2
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15617 arg4
= (int) SWIG_AsInt(obj3
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15619 arg5
= (int) SWIG_AsInt(obj4
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15628 Py_INCREF(Py_None
); resultobj
= Py_None
;
15635 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15642 int arg6
= (int) wxSIZE_AUTO
;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 PyObject
* obj2
= 0 ;
15646 PyObject
* obj3
= 0 ;
15647 PyObject
* obj4
= 0 ;
15648 PyObject
* obj5
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15656 arg2
= (int) SWIG_AsInt(obj1
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15658 arg3
= (int) SWIG_AsInt(obj2
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15660 arg4
= (int) SWIG_AsInt(obj3
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15662 arg5
= (int) SWIG_AsInt(obj4
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15665 arg6
= (int) SWIG_AsInt(obj5
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 Py_INCREF(Py_None
); resultobj
= Py_None
;
15682 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15687 PyObject
* obj0
= 0 ;
15688 PyObject
* obj1
= 0 ;
15689 PyObject
* obj2
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self",(char *) "width",(char *) "height", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 arg2
= (int) SWIG_AsInt(obj1
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15699 arg3
= (int) SWIG_AsInt(obj2
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 Py_INCREF(Py_None
); resultobj
= Py_None
;
15715 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 PyObject
* obj2
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "x",(char *) "y", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 arg2
= (int) SWIG_AsInt(obj1
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15732 arg3
= (int) SWIG_AsInt(obj2
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 Py_INCREF(Py_None
); resultobj
= Py_None
;
15748 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15751 int *arg2
= (int *) 0 ;
15752 int *arg3
= (int *) 0 ;
15755 PyObject
* obj0
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 Py_INCREF(Py_None
); resultobj
= Py_None
;
15774 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15775 resultobj
= t_output_helper(resultobj
,o
);
15778 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15779 resultobj
= t_output_helper(resultobj
,o
);
15787 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15790 int *arg2
= (int *) 0 ;
15791 int *arg3
= (int *) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 Py_INCREF(Py_None
); resultobj
= Py_None
;
15813 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15814 resultobj
= t_output_helper(resultobj
,o
);
15817 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15818 resultobj
= t_output_helper(resultobj
,o
);
15826 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15829 int *arg2
= (int *) 0 ;
15830 int *arg3
= (int *) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15853 resultobj
= t_output_helper(resultobj
,o
);
15856 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15857 resultobj
= t_output_helper(resultobj
,o
);
15865 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 wxSize
* resultptr
;
15886 resultptr
= new wxSize((wxSize
&) result
);
15887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15895 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15915 wxSize
* resultptr
;
15916 resultptr
= new wxSize((wxSize
&) result
);
15917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15925 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 (arg1
)->base_InitDialog();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 Py_INCREF(Py_None
); resultobj
= Py_None
;
15950 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= (bool)(arg1
)->base_TransferDataToWindow();
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15978 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16006 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 char *kwnames
[] = {
16012 (char *) "self", NULL
16015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (bool)(arg1
)->base_Validate();
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16034 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16062 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16090 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16110 wxSize
* resultptr
;
16111 resultptr
= new wxSize((wxSize
&) result
);
16112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16120 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16123 wxWindow
*arg2
= (wxWindow
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self",(char *) "child", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 (arg1
)->base_AddChild(arg2
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 Py_INCREF(Py_None
); resultobj
= Py_None
;
16149 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16152 wxWindow
*arg2
= (wxWindow
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 PyObject
* obj1
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "self",(char *) "child", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 (arg1
)->base_RemoveChild(arg2
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 Py_INCREF(Py_None
); resultobj
= Py_None
;
16178 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16206 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16209 wxColour
*arg2
= 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self",(char *) "c", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 Py_INCREF(Py_None
); resultobj
= Py_None
;
16238 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16241 wxVisualAttributes result
;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (arg1
)->base_GetDefaultAttributes();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 wxVisualAttributes
* resultptr
;
16259 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16268 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16271 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16273 return Py_BuildValue((char *)"");
16275 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxWindow
*arg1
= (wxWindow
*) 0 ;
16278 int arg2
= (int) (int)-1 ;
16279 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16280 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16281 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16282 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16283 long arg5
= (long) 0 ;
16284 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16285 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16289 bool temp6
= False
;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 PyObject
* obj2
= 0 ;
16293 PyObject
* obj3
= 0 ;
16294 PyObject
* obj4
= 0 ;
16295 PyObject
* obj5
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 arg2
= (int const) SWIG_AsInt(obj1
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16310 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16316 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16320 arg5
= (long) SWIG_AsLong(obj4
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16325 arg6
= wxString_in_helper(obj5
);
16326 if (arg6
== NULL
) SWIG_fail
;
16331 if (!wxPyCheckForApp()) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16353 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16356 char *kwnames
[] = {
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16362 if (!wxPyCheckForApp()) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (wxPyPanel
*)new wxPyPanel();
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16376 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16379 PyObject
*arg2
= (PyObject
*) 0 ;
16380 PyObject
*arg3
= (PyObject
*) 0 ;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 PyObject
* obj2
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "self",(char *) "_class", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "size", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16423 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 Py_INCREF(Py_None
); resultobj
= Py_None
;
16439 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 PyObject
* obj2
= 0 ;
16449 PyObject
* obj3
= 0 ;
16450 PyObject
* obj4
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16458 arg2
= (int) SWIG_AsInt(obj1
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16460 arg3
= (int) SWIG_AsInt(obj2
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16462 arg4
= (int) SWIG_AsInt(obj3
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16464 arg5
= (int) SWIG_AsInt(obj4
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16487 int arg6
= (int) wxSIZE_AUTO
;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 PyObject
* obj2
= 0 ;
16491 PyObject
* obj3
= 0 ;
16492 PyObject
* obj4
= 0 ;
16493 PyObject
* obj5
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16501 arg2
= (int) SWIG_AsInt(obj1
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16503 arg3
= (int) SWIG_AsInt(obj2
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16505 arg4
= (int) SWIG_AsInt(obj3
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16507 arg5
= (int) SWIG_AsInt(obj4
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 arg6
= (int) SWIG_AsInt(obj5
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 Py_INCREF(Py_None
); resultobj
= Py_None
;
16527 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 PyObject
* obj2
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "width",(char *) "height", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16542 arg2
= (int) SWIG_AsInt(obj1
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16544 arg3
= (int) SWIG_AsInt(obj2
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 PyObject
* obj1
= 0 ;
16567 PyObject
* obj2
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self",(char *) "x",(char *) "y", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16575 arg2
= (int) SWIG_AsInt(obj1
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16577 arg3
= (int) SWIG_AsInt(obj2
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 Py_INCREF(Py_None
); resultobj
= Py_None
;
16593 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16596 int *arg2
= (int *) 0 ;
16597 int *arg3
= (int *) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16620 resultobj
= t_output_helper(resultobj
,o
);
16623 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16624 resultobj
= t_output_helper(resultobj
,o
);
16632 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
;
16634 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16635 int *arg2
= (int *) 0 ;
16636 int *arg3
= (int *) 0 ;
16639 PyObject
* obj0
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "self", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16656 Py_INCREF(Py_None
); resultobj
= Py_None
;
16658 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16659 resultobj
= t_output_helper(resultobj
,o
);
16662 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16663 resultobj
= t_output_helper(resultobj
,o
);
16671 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16674 int *arg2
= (int *) 0 ;
16675 int *arg3
= (int *) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self", NULL
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16695 Py_INCREF(Py_None
); resultobj
= Py_None
;
16697 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16698 resultobj
= t_output_helper(resultobj
,o
);
16701 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16702 resultobj
= t_output_helper(resultobj
,o
);
16710 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16714 PyObject
* obj0
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "self", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 wxSize
* resultptr
;
16731 resultptr
= new wxSize((wxSize
&) result
);
16732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16740 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16760 wxSize
* resultptr
;
16761 resultptr
= new wxSize((wxSize
&) result
);
16762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16770 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 (arg1
)->base_InitDialog();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (bool)(arg1
)->base_TransferDataToWindow();
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16823 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
;
16825 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16827 PyObject
* obj0
= 0 ;
16828 char *kwnames
[] = {
16829 (char *) "self", NULL
16832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16851 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
;
16853 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16855 PyObject
* obj0
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (bool)(arg1
)->base_Validate();
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16879 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16907 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16935 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 wxSize
* resultptr
;
16956 resultptr
= new wxSize((wxSize
&) result
);
16957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16965 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
;
16967 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16968 wxWindow
*arg2
= (wxWindow
*) 0 ;
16969 PyObject
* obj0
= 0 ;
16970 PyObject
* obj1
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self",(char *) "child", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 (arg1
)->base_AddChild(arg2
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 Py_INCREF(Py_None
); resultobj
= Py_None
;
16994 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16997 wxWindow
*arg2
= (wxWindow
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self",(char *) "child", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 (arg1
)->base_RemoveChild(arg2
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 Py_INCREF(Py_None
); resultobj
= Py_None
;
17023 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17051 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17054 wxColour
*arg2
= 0 ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "c", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 Py_INCREF(Py_None
); resultobj
= Py_None
;
17083 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17086 wxVisualAttributes result
;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (arg1
)->base_GetDefaultAttributes();
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 wxVisualAttributes
* resultptr
;
17104 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17113 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17116 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17118 return Py_BuildValue((char *)"");
17120 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxWindow
*arg1
= (wxWindow
*) 0 ;
17123 int arg2
= (int) (int)-1 ;
17124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17128 long arg5
= (long) 0 ;
17129 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17130 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17131 wxPyScrolledWindow
*result
;
17134 bool temp6
= False
;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 PyObject
* obj2
= 0 ;
17138 PyObject
* obj3
= 0 ;
17139 PyObject
* obj4
= 0 ;
17140 PyObject
* obj5
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17149 arg2
= (int const) SWIG_AsInt(obj1
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17161 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17165 arg5
= (long) SWIG_AsLong(obj4
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17170 arg6
= wxString_in_helper(obj5
);
17171 if (arg6
== NULL
) SWIG_fail
;
17176 if (!wxPyCheckForApp()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17198 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxPyScrolledWindow
*result
;
17201 char *kwnames
[] = {
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17207 if (!wxPyCheckForApp()) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17221 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17224 PyObject
*arg2
= (PyObject
*) 0 ;
17225 PyObject
*arg3
= (PyObject
*) 0 ;
17226 PyObject
* obj0
= 0 ;
17227 PyObject
* obj1
= 0 ;
17228 PyObject
* obj2
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self",(char *) "self",(char *) "_class", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 Py_INCREF(Py_None
); resultobj
= Py_None
;
17252 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self",(char *) "size", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 Py_INCREF(Py_None
); resultobj
= Py_None
;
17284 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 PyObject
* obj2
= 0 ;
17294 PyObject
* obj3
= 0 ;
17295 PyObject
* obj4
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 arg2
= (int) SWIG_AsInt(obj1
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17305 arg3
= (int) SWIG_AsInt(obj2
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17307 arg4
= (int) SWIG_AsInt(obj3
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17309 arg5
= (int) SWIG_AsInt(obj4
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17332 int arg6
= (int) wxSIZE_AUTO
;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 PyObject
* obj2
= 0 ;
17336 PyObject
* obj3
= 0 ;
17337 PyObject
* obj4
= 0 ;
17338 PyObject
* obj5
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 arg2
= (int) SWIG_AsInt(obj1
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17348 arg3
= (int) SWIG_AsInt(obj2
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17350 arg4
= (int) SWIG_AsInt(obj3
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17352 arg5
= (int) SWIG_AsInt(obj4
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 arg6
= (int) SWIG_AsInt(obj5
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 Py_INCREF(Py_None
); resultobj
= Py_None
;
17372 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 PyObject
* obj2
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self",(char *) "width",(char *) "height", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17387 arg2
= (int) SWIG_AsInt(obj1
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17389 arg3
= (int) SWIG_AsInt(obj2
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 Py_INCREF(Py_None
); resultobj
= Py_None
;
17405 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 PyObject
* obj2
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "x",(char *) "y", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17420 arg2
= (int) SWIG_AsInt(obj1
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17422 arg3
= (int) SWIG_AsInt(obj2
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17438 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17441 int *arg2
= (int *) 0 ;
17442 int *arg3
= (int *) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 Py_INCREF(Py_None
); resultobj
= Py_None
;
17464 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17465 resultobj
= t_output_helper(resultobj
,o
);
17468 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17469 resultobj
= t_output_helper(resultobj
,o
);
17477 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17480 int *arg2
= (int *) 0 ;
17481 int *arg3
= (int *) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 Py_INCREF(Py_None
); resultobj
= Py_None
;
17503 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17504 resultobj
= t_output_helper(resultobj
,o
);
17507 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17508 resultobj
= t_output_helper(resultobj
,o
);
17516 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17519 int *arg2
= (int *) 0 ;
17520 int *arg3
= (int *) 0 ;
17523 PyObject
* obj0
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 Py_INCREF(Py_None
); resultobj
= Py_None
;
17542 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17543 resultobj
= t_output_helper(resultobj
,o
);
17546 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17547 resultobj
= t_output_helper(resultobj
,o
);
17555 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 wxSize
* resultptr
;
17576 resultptr
= new wxSize((wxSize
&) result
);
17577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17585 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17589 PyObject
* obj0
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 wxSize
* resultptr
;
17606 resultptr
= new wxSize((wxSize
&) result
);
17607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17615 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17618 PyObject
* obj0
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 (arg1
)->base_InitDialog();
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 Py_INCREF(Py_None
); resultobj
= Py_None
;
17640 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (bool)(arg1
)->base_TransferDataToWindow();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17668 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17696 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (bool)(arg1
)->base_Validate();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17724 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17752 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17756 PyObject
* obj0
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17780 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 wxSize
* resultptr
;
17801 resultptr
= new wxSize((wxSize
&) result
);
17802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17810 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17813 wxWindow
*arg2
= (wxWindow
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self",(char *) "child", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->base_AddChild(arg2
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 Py_INCREF(Py_None
); resultobj
= Py_None
;
17839 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17842 wxWindow
*arg2
= (wxWindow
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "child", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->base_RemoveChild(arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 char *kwnames
[] = {
17874 (char *) "self", NULL
17877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17896 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17899 wxColour
*arg2
= 0 ;
17901 PyObject
* obj0
= 0 ;
17902 PyObject
* obj1
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self",(char *) "c", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17912 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 Py_INCREF(Py_None
); resultobj
= Py_None
;
17928 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17931 wxVisualAttributes result
;
17932 PyObject
* obj0
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (arg1
)->base_GetDefaultAttributes();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 wxVisualAttributes
* resultptr
;
17949 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17958 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17961 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17963 return Py_BuildValue((char *)"");
17965 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17966 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17971 static PyObject
*_wrap_PrintoutTitleStr_get() {
17976 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17978 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17985 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17986 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17991 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17996 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17998 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18005 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxPrintData
*result
;
18008 char *kwnames
[] = {
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (wxPrintData
*)new wxPrintData();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18027 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18030 PyObject
* obj0
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 Py_INCREF(Py_None
); resultobj
= Py_None
;
18052 static PyObject
*_wrap_PrintData_GetNoCopies(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_GetNoCopies",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();
18066 result
= (int)(arg1
)->GetNoCopies();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_FromInt((int)result
);
18078 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 result
= (bool)(arg1
)->GetCollate();
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18106 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18110 PyObject
* obj0
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (int)(arg1
)->GetOrientation();
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_FromInt((int)result
);
18132 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (bool)(arg1
)->Ok();
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18160 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18176 result
= (wxString
*) &_result_ref
;
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18186 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18195 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (bool)(arg1
)->GetColour();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18223 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (int)(arg1
)->GetDuplex();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= SWIG_FromInt((int)result
);
18249 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (int)(arg1
)->GetPaperId();
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= SWIG_FromInt((int)result
);
18275 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
;
18277 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18279 PyObject
* obj0
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18290 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18291 result
= (wxSize
*) &_result_ref
;
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18304 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18308 PyObject
* obj0
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 result
= (int)(arg1
)->GetQuality();
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= SWIG_FromInt((int)result
);
18330 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self",(char *) "v", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18343 arg2
= (int) SWIG_AsInt(obj1
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 (arg1
)->SetNoCopies(arg2
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 Py_INCREF(Py_None
); resultobj
= Py_None
;
18359 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "flag", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 arg2
= (bool) SWIG_AsBool(obj1
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 (arg1
)->SetCollate(arg2
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 Py_INCREF(Py_None
); resultobj
= Py_None
;
18388 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "orient", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 arg2
= (int) SWIG_AsInt(obj1
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 (arg1
)->SetOrientation(arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 Py_INCREF(Py_None
); resultobj
= Py_None
;
18417 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18420 wxString
*arg2
= 0 ;
18421 bool temp2
= False
;
18422 PyObject
* obj0
= 0 ;
18423 PyObject
* obj1
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self",(char *) "name", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18432 arg2
= wxString_in_helper(obj1
);
18433 if (arg2
== NULL
) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 Py_INCREF(Py_None
); resultobj
= Py_None
;
18458 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "colour", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 arg2
= (bool) SWIG_AsBool(obj1
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 (arg1
)->SetColour(arg2
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18487 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self",(char *) "duplex", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 Py_INCREF(Py_None
); resultobj
= Py_None
;
18516 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self",(char *) "sizeId", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18529 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 Py_INCREF(Py_None
); resultobj
= Py_None
;
18545 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "sz", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self",(char *) "quality", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18590 arg2
= (int) SWIG_AsInt(obj1
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 (arg1
)->SetQuality(arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 Py_INCREF(Py_None
); resultobj
= Py_None
;
18606 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18610 PyObject
* obj0
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18622 result
= (wxString
*) &_result_ref
;
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18641 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18657 result
= (wxString
*) &_result_ref
;
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18665 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18667 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18676 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18692 result
= (wxString
*) &_result_ref
;
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18702 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18711 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
;
18713 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 wxString
const &_result_ref
= (arg1
)->GetFilename();
18727 result
= (wxString
*) &_result_ref
;
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18735 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18737 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18746 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18762 result
= (wxString
*) &_result_ref
;
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18772 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18781 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (double)(arg1
)->GetPrinterScaleX();
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= SWIG_FromDouble((double)result
);
18807 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= (double)(arg1
)->GetPrinterScaleY();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_FromDouble((double)result
);
18833 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (long)(arg1
)->GetPrinterTranslateX();
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_FromLong((long)result
);
18859 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (long)(arg1
)->GetPrinterTranslateY();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_FromLong((long)result
);
18885 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (int)(arg1
)->GetPrintMode();
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= SWIG_FromInt((int)result
);
18911 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18914 wxString
*arg2
= 0 ;
18915 bool temp2
= False
;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "command", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18926 arg2
= wxString_in_helper(obj1
);
18927 if (arg2
== NULL
) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18952 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18955 wxString
*arg2
= 0 ;
18956 bool temp2
= False
;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "options", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 arg2
= wxString_in_helper(obj1
);
18968 if (arg2
== NULL
) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18996 wxString
*arg2
= 0 ;
18997 bool temp2
= False
;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self",(char *) "command", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 arg2
= wxString_in_helper(obj1
);
19009 if (arg2
== NULL
) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19019 Py_INCREF(Py_None
); resultobj
= Py_None
;
19034 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19036 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19037 wxString
*arg2
= 0 ;
19038 bool temp2
= False
;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char *kwnames
[] = {
19042 (char *) "self",(char *) "filename", NULL
19045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19049 arg2
= wxString_in_helper(obj1
);
19050 if (arg2
== NULL
) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 (arg1
)->SetFilename((wxString
const &)*arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 Py_INCREF(Py_None
); resultobj
= Py_None
;
19075 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19078 wxString
*arg2
= 0 ;
19079 bool temp2
= False
;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self",(char *) "path", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19090 arg2
= wxString_in_helper(obj1
);
19091 if (arg2
== NULL
) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19116 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 PyObject
* obj1
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self",(char *) "x", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19129 arg2
= (double) SWIG_AsDouble(obj1
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 (arg1
)->SetPrinterScaleX(arg2
);
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 Py_INCREF(Py_None
); resultobj
= Py_None
;
19145 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
;
19147 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "self",(char *) "y", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19158 arg2
= (double) SWIG_AsDouble(obj1
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 (arg1
)->SetPrinterScaleY(arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 Py_INCREF(Py_None
); resultobj
= Py_None
;
19174 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 PyObject
* obj2
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "self",(char *) "x",(char *) "y", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19189 arg2
= (double) SWIG_AsDouble(obj1
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19191 arg3
= (double) SWIG_AsDouble(obj2
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "x", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19220 arg2
= (long) SWIG_AsLong(obj1
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->SetPrinterTranslateX(arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 Py_INCREF(Py_None
); resultobj
= Py_None
;
19236 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self",(char *) "y", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 arg2
= (long) SWIG_AsLong(obj1
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->SetPrinterTranslateY(arg2
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 Py_INCREF(Py_None
); resultobj
= Py_None
;
19265 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 PyObject
* obj2
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self",(char *) "x",(char *) "y", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19280 arg2
= (long) SWIG_AsLong(obj1
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19282 arg3
= (long) SWIG_AsLong(obj2
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self",(char *) "printMode", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 Py_INCREF(Py_None
); resultobj
= Py_None
;
19327 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19330 wxOutputStream
*result
;
19331 PyObject
* obj0
= 0 ;
19332 char *kwnames
[] = {
19333 (char *) "self", NULL
19336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19353 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19356 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "outputstream", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 (arg1
)->SetOutputStream(arg2
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 Py_INCREF(Py_None
); resultobj
= Py_None
;
19382 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19385 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19387 return Py_BuildValue((char *)"");
19389 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxPageSetupDialogData
*result
;
19392 char *kwnames
[] = {
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19411 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 Py_INCREF(Py_None
); resultobj
= Py_None
;
19436 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char *kwnames
[] = {
19443 (char *) "self",(char *) "flag", NULL
19446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 arg2
= (bool) SWIG_AsBool(obj1
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 (arg1
)->EnableHelp(arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 Py_INCREF(Py_None
); resultobj
= Py_None
;
19465 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self",(char *) "flag", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19478 arg2
= (bool) SWIG_AsBool(obj1
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 (arg1
)->EnableMargins(arg2
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 Py_INCREF(Py_None
); resultobj
= Py_None
;
19494 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "flag", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 arg2
= (bool) SWIG_AsBool(obj1
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 (arg1
)->EnableOrientation(arg2
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 Py_INCREF(Py_None
); resultobj
= Py_None
;
19523 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "flag", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19536 arg2
= (bool) SWIG_AsBool(obj1
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->EnablePaper(arg2
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 Py_INCREF(Py_None
); resultobj
= Py_None
;
19552 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
;
19554 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self",(char *) "flag", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19565 arg2
= (bool) SWIG_AsBool(obj1
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->EnablePrinter(arg2
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 Py_INCREF(Py_None
); resultobj
= Py_None
;
19581 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "self", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (bool)(arg1
)->GetDefaultMinMargins();
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19609 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 result
= (bool)(arg1
)->GetEnableMargins();
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19637 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (bool)(arg1
)->GetEnableOrientation();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19665 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19669 PyObject
* obj0
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (bool)(arg1
)->GetEnablePaper();
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19693 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= (bool)(arg1
)->GetEnablePrinter();
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19721 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 result
= (bool)(arg1
)->GetEnableHelp();
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19749 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (bool)(arg1
)->GetDefaultInfo();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19777 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (arg1
)->GetMarginTopLeft();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 wxPoint
* resultptr
;
19798 resultptr
= new wxPoint((wxPoint
&) result
);
19799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19807 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 result
= (arg1
)->GetMarginBottomRight();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19827 wxPoint
* resultptr
;
19828 resultptr
= new wxPoint((wxPoint
&) result
);
19829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19837 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (arg1
)->GetMinMarginTopLeft();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19857 wxPoint
* resultptr
;
19858 resultptr
= new wxPoint((wxPoint
&) result
);
19859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19867 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 char *kwnames
[] = {
19873 (char *) "self", NULL
19876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 result
= (arg1
)->GetMinMarginBottomRight();
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19887 wxPoint
* resultptr
;
19888 resultptr
= new wxPoint((wxPoint
&) result
);
19889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19897 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (int)(arg1
)->GetPaperId();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= SWIG_FromInt((int)result
);
19923 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (arg1
)->GetPaperSize();
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19943 wxSize
* resultptr
;
19944 resultptr
= new wxSize((wxSize
&) result
);
19945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19953 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19956 wxPrintData
*result
;
19957 PyObject
* obj0
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19969 result
= (wxPrintData
*) &_result_ref
;
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19982 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19986 PyObject
* obj0
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 result
= (bool)(arg1
)->Ok();
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20010 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj1
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self",(char *) "flag", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20023 arg2
= (bool) SWIG_AsBool(obj1
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 (arg1
)->SetDefaultInfo(arg2
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 Py_INCREF(Py_None
); resultobj
= Py_None
;
20039 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self",(char *) "flag", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20052 arg2
= (bool) SWIG_AsBool(obj1
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 (arg1
)->SetDefaultMinMargins(arg2
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 Py_INCREF(Py_None
); resultobj
= Py_None
;
20068 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20071 wxPoint
*arg2
= 0 ;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self",(char *) "pt", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 Py_INCREF(Py_None
); resultobj
= Py_None
;
20100 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20103 wxPoint
*arg2
= 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self",(char *) "pt", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 Py_INCREF(Py_None
); resultobj
= Py_None
;
20132 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20135 wxPoint
*arg2
= 0 ;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self",(char *) "pt", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 Py_INCREF(Py_None
); resultobj
= Py_None
;
20164 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20167 wxPoint
*arg2
= 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "pt", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "id", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20209 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 Py_INCREF(Py_None
); resultobj
= Py_None
;
20225 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self",(char *) "size", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20241 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 Py_INCREF(Py_None
); resultobj
= Py_None
;
20257 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20260 wxPrintData
*arg2
= 0 ;
20261 PyObject
* obj0
= 0 ;
20262 PyObject
* obj1
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "self",(char *) "printData", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20273 if (arg2
== NULL
) {
20274 PyErr_SetString(PyExc_TypeError
,"null reference");
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 Py_INCREF(Py_None
); resultobj
= Py_None
;
20291 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20294 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20296 return Py_BuildValue((char *)"");
20298 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxWindow
*arg1
= (wxWindow
*) 0 ;
20301 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20302 wxPageSetupDialog
*result
;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "parent",(char *) "data", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20317 if (!wxPyCheckForApp()) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20331 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20334 wxPageSetupDialogData
*result
;
20335 PyObject
* obj0
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20347 result
= (wxPageSetupDialogData
*) &_result_ref
;
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20360 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20361 PyObject
*resultobj
;
20362 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20364 PyObject
* obj0
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= (int)(arg1
)->ShowModal();
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= SWIG_FromInt((int)result
);
20386 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20389 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20391 return Py_BuildValue((char *)"");
20393 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20394 PyObject
*resultobj
;
20395 wxPrintDialogData
*result
;
20397 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20412 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20413 PyObject
*resultobj
;
20414 wxPrintData
*arg1
= 0 ;
20415 wxPrintDialogData
*result
;
20416 PyObject
* obj0
= 0 ;
20418 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20422 if (arg1
== NULL
) {
20423 PyErr_SetString(PyExc_TypeError
,"null reference");
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20440 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20445 argc
= PyObject_Length(args
);
20446 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20447 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20450 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20456 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20464 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20468 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20473 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_FromInt((int)result
);
20524 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_FromInt((int)result
);
20550 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_FromInt((int)result
);
20576 static PyObject
*_wrap_PrintDialogData_GetMaxPage(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_GetMaxPage",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
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_FromInt((int)result
);
20602 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_FromInt((int)result
);
20628 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20656 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "self", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20684 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20712 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20740 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20744 PyObject
* obj0
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20768 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20774 char *kwnames
[] = {
20775 (char *) "self",(char *) "v", NULL
20778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20781 arg2
= (int) SWIG_AsInt(obj1
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 (arg1
)->SetFromPage(arg2
);
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 Py_INCREF(Py_None
); resultobj
= Py_None
;
20797 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
;
20799 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self",(char *) "v", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20810 arg2
= (int) SWIG_AsInt(obj1
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 (arg1
)->SetToPage(arg2
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 Py_INCREF(Py_None
); resultobj
= Py_None
;
20826 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 PyObject
* obj1
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "self",(char *) "v", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 arg2
= (int) SWIG_AsInt(obj1
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 (arg1
)->SetMinPage(arg2
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 Py_INCREF(Py_None
); resultobj
= Py_None
;
20855 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self",(char *) "v", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20868 arg2
= (int) SWIG_AsInt(obj1
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 (arg1
)->SetMaxPage(arg2
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 Py_INCREF(Py_None
); resultobj
= Py_None
;
20884 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 PyObject
* obj1
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self",(char *) "v", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 arg2
= (int) SWIG_AsInt(obj1
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 (arg1
)->SetNoCopies(arg2
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 Py_INCREF(Py_None
); resultobj
= Py_None
;
20913 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self",(char *) "flag", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20926 arg2
= (bool) SWIG_AsBool(obj1
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 (arg1
)->SetAllPages(arg2
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 Py_INCREF(Py_None
); resultobj
= Py_None
;
20942 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 char *kwnames
[] = {
20949 (char *) "self",(char *) "flag", NULL
20952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20955 arg2
= (bool) SWIG_AsBool(obj1
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 (arg1
)->SetSelection(arg2
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 Py_INCREF(Py_None
); resultobj
= Py_None
;
20971 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "flag", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20984 arg2
= (bool) SWIG_AsBool(obj1
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->SetCollate(arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self",(char *) "flag", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21013 arg2
= (bool) SWIG_AsBool(obj1
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 (arg1
)->SetPrintToFile(arg2
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 Py_INCREF(Py_None
); resultobj
= Py_None
;
21029 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "flag", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 arg2
= (bool) SWIG_AsBool(obj1
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 (arg1
)->SetSetupDialog(arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self",(char *) "flag", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21071 arg2
= (bool) SWIG_AsBool(obj1
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 (arg1
)->EnablePrintToFile(arg2
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 Py_INCREF(Py_None
); resultobj
= Py_None
;
21087 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21089 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21091 PyObject
* obj0
= 0 ;
21092 PyObject
* obj1
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self",(char *) "flag", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21100 arg2
= (bool) SWIG_AsBool(obj1
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 (arg1
)->EnableSelection(arg2
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 Py_INCREF(Py_None
); resultobj
= Py_None
;
21116 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 char *kwnames
[] = {
21123 (char *) "self",(char *) "flag", NULL
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21129 arg2
= (bool) SWIG_AsBool(obj1
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 (arg1
)->EnablePageNumbers(arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 Py_INCREF(Py_None
); resultobj
= Py_None
;
21145 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "flag", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 arg2
= (bool) SWIG_AsBool(obj1
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 (arg1
)->EnableHelp(arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21202 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
;
21204 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21206 PyObject
* obj0
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21230 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21234 PyObject
* obj0
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21258 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
;
21260 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21262 PyObject
* obj0
= 0 ;
21263 char *kwnames
[] = {
21264 (char *) "self", NULL
21267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21286 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21290 PyObject
* obj0
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "self", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21314 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21317 wxPrintData
*result
;
21318 PyObject
* obj0
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21330 result
= (wxPrintData
*) &_result_ref
;
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21343 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21345 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21346 wxPrintData
*arg2
= 0 ;
21347 PyObject
* obj0
= 0 ;
21348 PyObject
* obj1
= 0 ;
21349 char *kwnames
[] = {
21350 (char *) "self",(char *) "printData", NULL
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21359 if (arg2
== NULL
) {
21360 PyErr_SetString(PyExc_TypeError
,"null reference");
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 Py_INCREF(Py_None
); resultobj
= Py_None
;
21377 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21380 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21382 return Py_BuildValue((char *)"");
21384 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxWindow
*arg1
= (wxWindow
*) 0 ;
21387 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21388 wxPrintDialog
*result
;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "parent",(char *) "data", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21403 if (!wxPyCheckForApp()) SWIG_fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21417 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21420 wxPrintDialogData
*result
;
21421 PyObject
* obj0
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21433 result
= (wxPrintDialogData
*) &_result_ref
;
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21446 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (wxDC
*)(arg1
)->GetPrintDC();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= wxPyMake_wxObject(result
);
21474 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (int)(arg1
)->ShowModal();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= SWIG_FromInt((int)result
);
21500 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21503 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21505 return Py_BuildValue((char *)"");
21507 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "data", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 if (!wxPyCheckForApp()) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (wxPrinter
*)new wxPrinter(arg1
);
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21536 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 Py_INCREF(Py_None
); resultobj
= Py_None
;
21561 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21564 wxWindow
*arg2
= (wxWindow
*) 0 ;
21565 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 PyObject
* obj2
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self",(char *) "parent",(char *) "printout", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21578 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 Py_INCREF(Py_None
); resultobj
= Py_None
;
21594 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
;
21596 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21597 wxPrintDialogData
*result
;
21598 PyObject
* obj0
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21610 result
= (wxPrintDialogData
*) &_result_ref
;
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21623 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21626 wxWindow
*arg2
= (wxWindow
*) 0 ;
21627 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21628 int arg4
= (int) True
;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 PyObject
* obj2
= 0 ;
21633 PyObject
* obj3
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21646 arg4
= (int) SWIG_AsInt(obj3
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21665 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21666 PyObject
*resultobj
;
21667 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21668 wxWindow
*arg2
= (wxWindow
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self",(char *) "parent", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= wxPyMake_wxObject(result
);
21697 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21700 wxWindow
*arg2
= (wxWindow
*) 0 ;
21701 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21702 wxString
*arg4
= 0 ;
21703 bool temp4
= False
;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 PyObject
* obj2
= 0 ;
21707 PyObject
* obj3
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21720 arg4
= wxString_in_helper(obj3
);
21721 if (arg4
== NULL
) SWIG_fail
;
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 Py_INCREF(Py_None
); resultobj
= Py_None
;
21746 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21749 wxWindow
*arg2
= (wxWindow
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "parent", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (bool)(arg1
)->Setup(arg2
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21778 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (bool)(arg1
)->GetAbort();
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21806 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21809 char *kwnames
[] = {
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (int)wxPrinter::GetLastError();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_FromInt((int)result
);
21828 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21831 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21833 return Py_BuildValue((char *)"");
21835 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21838 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21839 wxPyPrintout
*result
;
21840 bool temp1
= False
;
21841 PyObject
* obj0
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "title", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21849 arg1
= wxString_in_helper(obj0
);
21850 if (arg1
== NULL
) SWIG_fail
;
21855 if (!wxPyCheckForApp()) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= wxPyMake_wxObject(result
);
21879 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
;
21881 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21882 PyObject
*arg2
= (PyObject
*) 0 ;
21883 PyObject
*arg3
= (PyObject
*) 0 ;
21884 PyObject
* obj0
= 0 ;
21885 PyObject
* obj1
= 0 ;
21886 PyObject
* obj2
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self",(char *) "self",(char *) "_class", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21910 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21942 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21946 PyObject
* obj0
= 0 ;
21947 char *kwnames
[] = {
21948 (char *) "self", NULL
21951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (wxDC
*)(arg1
)->GetDC();
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= wxPyMake_wxObject(result
);
21970 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
;
21972 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21973 wxDC
*arg2
= (wxDC
*) 0 ;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self",(char *) "dc", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 (arg1
)->SetDC(arg2
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 Py_INCREF(Py_None
); resultobj
= Py_None
;
21999 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 PyObject
* obj2
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "w",(char *) "h", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 arg2
= (int) SWIG_AsInt(obj1
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22016 arg3
= (int) SWIG_AsInt(obj2
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 Py_INCREF(Py_None
); resultobj
= Py_None
;
22032 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22034 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22035 int *arg2
= (int *) 0 ;
22036 int *arg3
= (int *) 0 ;
22039 PyObject
* obj0
= 0 ;
22040 char *kwnames
[] = {
22041 (char *) "self", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 Py_INCREF(Py_None
); resultobj
= Py_None
;
22058 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22059 resultobj
= t_output_helper(resultobj
,o
);
22062 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22063 resultobj
= t_output_helper(resultobj
,o
);
22071 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
;
22073 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22076 PyObject
* obj0
= 0 ;
22077 PyObject
* obj1
= 0 ;
22078 PyObject
* obj2
= 0 ;
22079 char *kwnames
[] = {
22080 (char *) "self",(char *) "w",(char *) "h", NULL
22083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 arg2
= (int) SWIG_AsInt(obj1
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22088 arg3
= (int) SWIG_AsInt(obj2
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 Py_INCREF(Py_None
); resultobj
= Py_None
;
22104 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22106 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22107 int *arg2
= (int *) 0 ;
22108 int *arg3
= (int *) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 Py_INCREF(Py_None
); resultobj
= Py_None
;
22130 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22131 resultobj
= t_output_helper(resultobj
,o
);
22134 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22135 resultobj
= t_output_helper(resultobj
,o
);
22143 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "x",(char *) "y", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 arg2
= (int) SWIG_AsInt(obj1
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22160 arg3
= (int) SWIG_AsInt(obj2
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 (arg1
)->SetPPIScreen(arg2
,arg3
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 Py_INCREF(Py_None
); resultobj
= Py_None
;
22176 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22179 int *arg2
= (int *) 0 ;
22180 int *arg3
= (int *) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 (arg1
)->GetPPIScreen(arg2
,arg3
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 Py_INCREF(Py_None
); resultobj
= Py_None
;
22202 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22203 resultobj
= t_output_helper(resultobj
,o
);
22206 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22207 resultobj
= t_output_helper(resultobj
,o
);
22215 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 PyObject
* obj2
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self",(char *) "x",(char *) "y", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22230 arg2
= (int) SWIG_AsInt(obj1
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22232 arg3
= (int) SWIG_AsInt(obj2
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 Py_INCREF(Py_None
); resultobj
= Py_None
;
22248 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22251 int *arg2
= (int *) 0 ;
22252 int *arg3
= (int *) 0 ;
22255 PyObject
* obj0
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 Py_INCREF(Py_None
); resultobj
= Py_None
;
22274 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22275 resultobj
= t_output_helper(resultobj
,o
);
22278 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22279 resultobj
= t_output_helper(resultobj
,o
);
22287 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (bool)(arg1
)->IsPreview();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22315 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "p", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22328 arg2
= (bool) SWIG_AsBool(obj1
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 (arg1
)->SetIsPreview(arg2
);
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 Py_INCREF(Py_None
); resultobj
= Py_None
;
22344 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 PyObject
* obj1
= 0 ;
22352 PyObject
* obj2
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22360 arg2
= (int) SWIG_AsInt(obj1
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22362 arg3
= (int) SWIG_AsInt(obj2
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22380 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->base_OnEndDocument();
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22405 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 (arg1
)->base_OnBeginPrinting();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 Py_INCREF(Py_None
); resultobj
= Py_None
;
22430 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 (arg1
)->base_OnEndPrinting();
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22455 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "self", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 (arg1
)->base_OnPreparePrinting();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 Py_INCREF(Py_None
); resultobj
= Py_None
;
22480 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self",(char *) "page", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 arg2
= (int) SWIG_AsInt(obj1
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (bool)(arg1
)->base_HasPage(arg2
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22512 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22515 int *arg2
= (int *) 0 ;
22516 int *arg3
= (int *) 0 ;
22517 int *arg4
= (int *) 0 ;
22518 int *arg5
= (int *) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22545 resultobj
= t_output_helper(resultobj
,o
);
22548 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22549 resultobj
= t_output_helper(resultobj
,o
);
22552 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22553 resultobj
= t_output_helper(resultobj
,o
);
22556 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22557 resultobj
= t_output_helper(resultobj
,o
);
22565 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22568 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22570 return Py_BuildValue((char *)"");
22572 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22575 wxWindow
*arg2
= (wxWindow
*) 0 ;
22576 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22577 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22578 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22579 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22580 long arg5
= (long) 0 ;
22581 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22582 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22583 wxPreviewCanvas
*result
;
22586 bool temp6
= False
;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 PyObject
* obj2
= 0 ;
22590 PyObject
* obj3
= 0 ;
22591 PyObject
* obj4
= 0 ;
22592 PyObject
* obj5
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22611 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22615 arg5
= (long) SWIG_AsLong(obj4
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22620 arg6
= wxString_in_helper(obj5
);
22621 if (arg6
== NULL
) SWIG_fail
;
22626 if (!wxPyCheckForApp()) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22648 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22651 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22653 return Py_BuildValue((char *)"");
22655 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22658 wxFrame
*arg2
= (wxFrame
*) 0 ;
22659 wxString
*arg3
= 0 ;
22660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22664 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22665 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22666 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22667 wxPreviewFrame
*result
;
22668 bool temp3
= False
;
22671 bool temp7
= False
;
22672 PyObject
* obj0
= 0 ;
22673 PyObject
* obj1
= 0 ;
22674 PyObject
* obj2
= 0 ;
22675 PyObject
* obj3
= 0 ;
22676 PyObject
* obj4
= 0 ;
22677 PyObject
* obj5
= 0 ;
22678 PyObject
* obj6
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22689 arg3
= wxString_in_helper(obj2
);
22690 if (arg3
== NULL
) SWIG_fail
;
22696 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22702 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22706 arg6
= (long) SWIG_AsLong(obj5
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22711 arg7
= wxString_in_helper(obj6
);
22712 if (arg7
== NULL
) SWIG_fail
;
22717 if (!wxPyCheckForApp()) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22747 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
;
22749 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22750 PyObject
* obj0
= 0 ;
22751 char *kwnames
[] = {
22752 (char *) "self", NULL
22755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 (arg1
)->Initialize();
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 Py_INCREF(Py_None
); resultobj
= Py_None
;
22772 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 (arg1
)->CreateControlBar();
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 Py_INCREF(Py_None
); resultobj
= Py_None
;
22797 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->CreateCanvas();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 Py_INCREF(Py_None
); resultobj
= Py_None
;
22822 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22825 wxPreviewControlBar
*result
;
22826 PyObject
* obj0
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22848 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22851 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22853 return Py_BuildValue((char *)"");
22855 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22859 wxWindow
*arg3
= (wxWindow
*) 0 ;
22860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22864 long arg6
= (long) wxTAB_TRAVERSAL
;
22865 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22867 wxPreviewControlBar
*result
;
22870 bool temp7
= False
;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 PyObject
* obj2
= 0 ;
22874 PyObject
* obj3
= 0 ;
22875 PyObject
* obj4
= 0 ;
22876 PyObject
* obj5
= 0 ;
22877 PyObject
* obj6
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22885 arg2
= (long) SWIG_AsLong(obj1
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22887 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22902 arg6
= (long) SWIG_AsLong(obj5
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22907 arg7
= wxString_in_helper(obj6
);
22908 if (arg7
== NULL
) SWIG_fail
;
22913 if (!wxPyCheckForApp()) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22935 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (int)(arg1
)->GetZoomControl();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_FromInt((int)result
);
22961 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22965 PyObject
* obj0
= 0 ;
22966 PyObject
* obj1
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self",(char *) "zoom", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 arg2
= (int) SWIG_AsInt(obj1
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 (arg1
)->SetZoomControl(arg2
);
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22983 Py_INCREF(Py_None
); resultobj
= Py_None
;
22990 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
;
22992 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22993 wxPrintPreview
*result
;
22994 PyObject
* obj0
= 0 ;
22995 char *kwnames
[] = {
22996 (char *) "self", NULL
22999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23016 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 Py_INCREF(Py_None
); resultobj
= Py_None
;
23041 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23043 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23044 PyObject
* obj0
= 0 ;
23045 char *kwnames
[] = {
23046 (char *) "self", NULL
23049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 (arg1
)->OnPrevious();
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 Py_INCREF(Py_None
); resultobj
= Py_None
;
23066 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 Py_INCREF(Py_None
); resultobj
= Py_None
;
23091 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23116 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23119 PyObject
* obj0
= 0 ;
23120 char *kwnames
[] = {
23121 (char *) "self", NULL
23124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 Py_INCREF(Py_None
); resultobj
= Py_None
;
23141 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23144 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23146 return Py_BuildValue((char *)"");
23148 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23149 PyObject
*resultobj
;
23150 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23151 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23152 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23153 wxPrintPreview
*result
;
23154 PyObject
* obj0
= 0 ;
23155 PyObject
* obj1
= 0 ;
23156 PyObject
* obj2
= 0 ;
23158 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23164 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 if (!wxPyCheckForApp()) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23182 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23183 PyObject
*resultobj
;
23184 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23185 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23186 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23187 wxPrintPreview
*result
;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 PyObject
* obj2
= 0 ;
23192 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23200 if (!wxPyCheckForApp()) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23214 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23219 argc
= PyObject_Length(args
);
23220 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23221 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23223 if ((argc
>= 2) && (argc
<= 3)) {
23227 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23237 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23246 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23250 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23258 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23267 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23277 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23287 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23295 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23301 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23306 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self",(char *) "pageNum", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 arg2
= (int) SWIG_AsInt(obj1
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23338 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 result
= (int)(arg1
)->GetCurrentPage();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_FromInt((int)result
);
23364 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23367 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "printout", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 (arg1
)->SetPrintout(arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 Py_INCREF(Py_None
); resultobj
= Py_None
;
23393 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23396 wxPyPrintout
*result
;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= wxPyMake_wxObject(result
);
23421 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23424 wxPyPrintout
*result
;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= wxPyMake_wxObject(result
);
23449 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23451 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23452 wxFrame
*arg2
= (wxFrame
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "frame", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->SetFrame(arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 Py_INCREF(Py_None
); resultobj
= Py_None
;
23478 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23481 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "canvas", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 (arg1
)->SetCanvas(arg2
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 Py_INCREF(Py_None
); resultobj
= Py_None
;
23507 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (wxFrame
*)(arg1
)->GetFrame();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= wxPyMake_wxObject(result
);
23535 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23538 wxPreviewCanvas
*result
;
23539 PyObject
* obj0
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23561 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23564 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 PyObject
* obj2
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23582 if (arg3
== NULL
) {
23583 PyErr_SetString(PyExc_TypeError
,"null reference");
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23602 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23605 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 PyObject
* obj2
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23623 if (arg3
== NULL
) {
23624 PyErr_SetString(PyExc_TypeError
,"null reference");
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23643 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "pageNum", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23657 arg2
= (int) SWIG_AsInt(obj1
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (bool)(arg1
)->RenderPage(arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23675 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23678 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self",(char *) "canvas", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 (arg1
)->AdjustScrollbars(arg2
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 Py_INCREF(Py_None
); resultobj
= Py_None
;
23704 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23707 wxPrintDialogData
*result
;
23708 PyObject
* obj0
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23720 result
= (wxPrintDialogData
*) &_result_ref
;
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23733 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
;
23735 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23737 PyObject
* obj0
= 0 ;
23738 PyObject
* obj1
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self",(char *) "percent", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23746 arg2
= (int) SWIG_AsInt(obj1
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 (arg1
)->SetZoom(arg2
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 Py_INCREF(Py_None
); resultobj
= Py_None
;
23762 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (int)(arg1
)->GetZoom();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_FromInt((int)result
);
23788 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 char *kwnames
[] = {
23794 (char *) "self", NULL
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (int)(arg1
)->GetMaxPage();
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= SWIG_FromInt((int)result
);
23814 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= (int)(arg1
)->GetMinPage();
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_FromInt((int)result
);
23840 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
;
23842 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23844 PyObject
* obj0
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "self", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (bool)(arg1
)->Ok();
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23868 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23872 PyObject
* obj0
= 0 ;
23873 PyObject
* obj1
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self",(char *) "ok", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23881 arg2
= (bool) SWIG_AsBool(obj1
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetOk(arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 Py_INCREF(Py_None
); resultobj
= Py_None
;
23897 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23899 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self",(char *) "interactive", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 arg2
= (bool) SWIG_AsBool(obj1
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (bool)(arg1
)->Print(arg2
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23929 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 (arg1
)->DetermineScaling();
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 Py_INCREF(Py_None
); resultobj
= Py_None
;
23954 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23957 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23959 return Py_BuildValue((char *)"");
23961 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23962 PyObject
*resultobj
;
23963 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23964 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23965 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23966 wxPyPrintPreview
*result
;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 PyObject
* obj2
= 0 ;
23971 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 if (!wxPyCheckForApp()) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23995 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23996 PyObject
*resultobj
;
23997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23998 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23999 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24000 wxPyPrintPreview
*result
;
24001 PyObject
* obj0
= 0 ;
24002 PyObject
* obj1
= 0 ;
24003 PyObject
* obj2
= 0 ;
24005 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24013 if (!wxPyCheckForApp()) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24027 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24032 argc
= PyObject_Length(args
);
24033 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24034 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24036 if ((argc
>= 2) && (argc
<= 3)) {
24040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24050 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24059 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24063 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24071 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24080 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24090 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24100 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24108 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24114 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24119 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24122 PyObject
*arg2
= (PyObject
*) 0 ;
24123 PyObject
*arg3
= (PyObject
*) 0 ;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24126 PyObject
* obj2
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self",(char *) "self",(char *) "_class", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 Py_INCREF(Py_None
); resultobj
= Py_None
;
24150 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self",(char *) "pageNum", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24164 arg2
= (int) SWIG_AsInt(obj1
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24182 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24185 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 PyObject
* obj1
= 0 ;
24190 PyObject
* obj2
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24200 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24203 if (arg3
== NULL
) {
24204 PyErr_SetString(PyExc_TypeError
,"null reference");
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24223 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24226 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 PyObject
* obj2
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24241 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24244 if (arg3
== NULL
) {
24245 PyErr_SetString(PyExc_TypeError
,"null reference");
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24264 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "pageNum", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24278 arg2
= (int) SWIG_AsInt(obj1
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24296 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self",(char *) "percent", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24309 arg2
= (int) SWIG_AsInt(obj1
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 (arg1
)->base_SetZoom(arg2
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 Py_INCREF(Py_None
); resultobj
= Py_None
;
24325 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self",(char *) "interactive", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 arg2
= (bool) SWIG_AsBool(obj1
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (bool)(arg1
)->base_Print(arg2
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24357 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24360 PyObject
* obj0
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 (arg1
)->base_DetermineScaling();
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 Py_INCREF(Py_None
); resultobj
= Py_None
;
24382 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24385 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24387 return Py_BuildValue((char *)"");
24389 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24392 wxFrame
*arg2
= (wxFrame
*) 0 ;
24393 wxString
*arg3
= 0 ;
24394 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24395 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24396 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24397 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24398 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24399 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24400 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24401 wxPyPreviewFrame
*result
;
24402 bool temp3
= False
;
24405 bool temp7
= False
;
24406 PyObject
* obj0
= 0 ;
24407 PyObject
* obj1
= 0 ;
24408 PyObject
* obj2
= 0 ;
24409 PyObject
* obj3
= 0 ;
24410 PyObject
* obj4
= 0 ;
24411 PyObject
* obj5
= 0 ;
24412 PyObject
* obj6
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24423 arg3
= wxString_in_helper(obj2
);
24424 if (arg3
== NULL
) SWIG_fail
;
24430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24440 arg6
= (long) SWIG_AsLong(obj5
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24445 arg7
= wxString_in_helper(obj6
);
24446 if (arg7
== NULL
) SWIG_fail
;
24451 if (!wxPyCheckForApp()) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24481 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24484 PyObject
*arg2
= (PyObject
*) 0 ;
24485 PyObject
*arg3
= (PyObject
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 PyObject
* obj2
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "self",(char *) "_class", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 Py_INCREF(Py_None
); resultobj
= Py_None
;
24512 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24515 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24516 PyObject
* obj0
= 0 ;
24517 PyObject
* obj1
= 0 ;
24518 char *kwnames
[] = {
24519 (char *) "self",(char *) "canvas", NULL
24522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 (arg1
)->SetPreviewCanvas(arg2
);
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 Py_INCREF(Py_None
); resultobj
= Py_None
;
24541 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24544 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "bar", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 (arg1
)->SetControlBar(arg2
);
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 Py_INCREF(Py_None
); resultobj
= Py_None
;
24570 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
;
24572 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 (arg1
)->base_Initialize();
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 Py_INCREF(Py_None
); resultobj
= Py_None
;
24595 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
;
24597 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 (arg1
)->base_CreateCanvas();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 Py_INCREF(Py_None
); resultobj
= Py_None
;
24620 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24623 PyObject
* obj0
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->base_CreateControlBar();
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 Py_INCREF(Py_None
); resultobj
= Py_None
;
24645 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24648 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24650 return Py_BuildValue((char *)"");
24652 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24656 wxWindow
*arg3
= (wxWindow
*) 0 ;
24657 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24658 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24659 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24660 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24661 long arg6
= (long) 0 ;
24662 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24663 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24664 wxPyPreviewControlBar
*result
;
24667 bool temp7
= False
;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 PyObject
* obj2
= 0 ;
24671 PyObject
* obj3
= 0 ;
24672 PyObject
* obj4
= 0 ;
24673 PyObject
* obj5
= 0 ;
24674 PyObject
* obj6
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24682 arg2
= (long) SWIG_AsLong(obj1
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24684 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24699 arg6
= (long) SWIG_AsLong(obj5
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24704 arg7
= wxString_in_helper(obj6
);
24705 if (arg7
== NULL
) SWIG_fail
;
24710 if (!wxPyCheckForApp()) SWIG_fail
;
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24732 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24735 PyObject
*arg2
= (PyObject
*) 0 ;
24736 PyObject
*arg3
= (PyObject
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 PyObject
* obj2
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "self",(char *) "_class", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 Py_INCREF(Py_None
); resultobj
= Py_None
;
24763 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24766 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self",(char *) "preview", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 (arg1
)->SetPrintPreview(arg2
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 Py_INCREF(Py_None
); resultobj
= Py_None
;
24792 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24795 PyObject
* obj0
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->base_CreateButtons();
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 Py_INCREF(Py_None
); resultobj
= Py_None
;
24817 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self",(char *) "zoom", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 arg2
= (int) SWIG_AsInt(obj1
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 (arg1
)->base_SetZoomControl(arg2
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 Py_INCREF(Py_None
); resultobj
= Py_None
;
24846 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24849 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24851 return Py_BuildValue((char *)"");
24853 static PyMethodDef SwigMethods
[] = {
24854 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24860 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24875 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24876 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24882 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24896 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24920 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24932 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24936 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24940 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24945 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24961 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24989 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24996 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
25019 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
25027 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
25039 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25045 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25054 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25060 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25065 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25071 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25075 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25093 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25119 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25127 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25136 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25138 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25147 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25150 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25157 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25175 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25179 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25184 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25188 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25204 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25207 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25209 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25213 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25222 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25231 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25237 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25249 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25256 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25260 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25286 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25312 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25338 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25384 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25404 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25416 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25420 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25421 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25430 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25431 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25454 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25459 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25470 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25471 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25476 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25477 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25493 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25495 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25497 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25501 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25505 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25508 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25511 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25512 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25513 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25524 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25525 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25529 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25530 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25531 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25532 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25533 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25534 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25535 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25536 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25537 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25538 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25539 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25540 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25541 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25542 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25543 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25544 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25545 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25546 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25547 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25548 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25549 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25550 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25551 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25552 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25553 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25554 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25555 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25556 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25557 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25558 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25563 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25565 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25566 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25568 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25571 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25572 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25574 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25575 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25577 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25578 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25580 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25581 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25583 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25584 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25586 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25587 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25589 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25590 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25592 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25593 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25595 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25596 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25598 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25599 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25601 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25604 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25605 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25607 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25608 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25610 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25611 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25613 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25614 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25616 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25617 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25619 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25620 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25622 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25623 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25625 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25626 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25628 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25629 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25631 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25632 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25634 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25635 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25637 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25638 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25640 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25641 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25643 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25644 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25646 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25647 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25649 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25650 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25652 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25653 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25655 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25656 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25658 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25659 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25661 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25664 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25665 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25667 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25668 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25670 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25671 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25673 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25676 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25677 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25679 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25680 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25682 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25683 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25685 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25686 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25688 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25689 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25691 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25692 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25694 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25697 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25700 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25703 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25704 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25706 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25707 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25709 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25710 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25712 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25713 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25715 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25718 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25721 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25724 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25727 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25730 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25733 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25736 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25737 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25739 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25740 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25742 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25745 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25748 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25751 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25752 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25754 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25757 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25758 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25760 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25761 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25763 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25764 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25766 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25767 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25769 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25772 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25773 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25775 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25776 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25778 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25781 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25782 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25784 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25787 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25788 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25790 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25793 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25794 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25796 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25797 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25799 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25800 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25802 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25805 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25806 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25808 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25809 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25811 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25812 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25814 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25817 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25818 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25820 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25821 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25823 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25826 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25829 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25830 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25832 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25835 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25838 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25841 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25844 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25845 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25847 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25848 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25850 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25851 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25853 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25854 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25856 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25857 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25859 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25860 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25862 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25863 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25865 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25866 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25868 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25869 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25871 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25872 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25874 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25877 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25880 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25881 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25883 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25884 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25886 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25889 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25890 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25892 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25893 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25895 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25896 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25898 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25899 return (void *)((wxObject
*) ((wxSizer
*) x
));
25901 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25902 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25904 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25905 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25907 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25910 static void *_p_wxEventTo_p_wxObject(void *x
) {
25911 return (void *)((wxObject
*) ((wxEvent
*) x
));
25913 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25914 return (void *)((wxObject
*) ((wxFontData
*) x
));
25916 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25917 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25919 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25920 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25922 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25923 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25925 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25926 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25928 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25929 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25931 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25932 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25934 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25937 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25938 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25940 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25941 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25943 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25944 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25946 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25947 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25949 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25950 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25952 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25953 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25955 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25958 static void *_p_wxControlTo_p_wxObject(void *x
) {
25959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25961 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25962 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25964 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25967 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25968 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25970 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25971 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25973 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25974 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25976 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25979 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25980 return (void *)((wxObject
*) ((wxColourData
*) x
));
25982 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25983 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25985 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25986 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25988 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25991 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25994 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25997 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26000 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26003 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26006 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26009 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26012 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26015 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26016 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26018 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26019 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26021 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26022 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26024 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26025 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26027 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26030 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26031 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26033 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26034 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26036 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26037 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26039 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26040 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26042 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26043 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26045 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26046 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26048 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26049 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26051 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26052 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26054 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26055 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26057 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26058 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26060 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26061 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26063 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26064 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26066 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26067 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26069 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26070 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26072 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26073 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26075 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26076 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26078 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26079 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26081 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26082 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26084 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26085 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26087 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26088 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26090 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26093 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26096 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26097 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26099 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26102 static void *_p_wxImageTo_p_wxObject(void *x
) {
26103 return (void *)((wxObject
*) ((wxImage
*) x
));
26105 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26108 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26109 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26111 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26112 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26114 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26115 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26117 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26120 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26123 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26126 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26127 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26129 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26130 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26132 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26133 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26135 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26136 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26138 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26141 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26144 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26147 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26150 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26153 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26156 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26159 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26162 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26165 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26168 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26171 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26174 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26177 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26178 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26180 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26181 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26183 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26184 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26186 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26189 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26192 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26195 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26198 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26201 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26204 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26207 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26208 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26210 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26213 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26214 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26216 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26217 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26219 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26220 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26222 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26223 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26225 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26226 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26228 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26231 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26232 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26234 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26237 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26240 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26241 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26243 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26244 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26246 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26249 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26252 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26253 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26255 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26256 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26258 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26261 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26262 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26264 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26265 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26267 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26268 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26270 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26271 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26273 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26274 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26276 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26277 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26279 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26280 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26282 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26283 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26285 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26286 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26288 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26289 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26291 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26292 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26294 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26295 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26297 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26298 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26300 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26301 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26303 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26304 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26306 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26307 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26309 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26310 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26312 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26313 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26315 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26316 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26318 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26319 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26321 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26322 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26324 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26325 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26327 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26328 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26330 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26331 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26333 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26334 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26336 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26337 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26339 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26340 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26342 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26343 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26345 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26346 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26348 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26349 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26351 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26352 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26354 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26355 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26357 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26358 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26360 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26361 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26363 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26364 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26366 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26367 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26369 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26370 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26372 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26373 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26375 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26376 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26378 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26379 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26381 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26382 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26384 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26385 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26387 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26388 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26390 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26391 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26393 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26394 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26396 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26397 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26399 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26400 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26402 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26403 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26405 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26406 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26408 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26409 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26411 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26412 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26414 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26415 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26417 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26418 return (void *)((wxWindow
*) ((wxControl
*) x
));
26420 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26421 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26423 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26424 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26426 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26427 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26429 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26430 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26432 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26433 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26435 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26436 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26438 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26439 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26441 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26442 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26444 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26445 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26447 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26448 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26450 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26451 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26453 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26454 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26456 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26457 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26459 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26460 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26462 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26463 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26465 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26466 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26468 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26469 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26471 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26472 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26474 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26475 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26477 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26478 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26480 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26481 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26483 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26484 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26486 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26487 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26489 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26490 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26492 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26493 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26495 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26496 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26498 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26499 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26501 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26502 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26504 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26505 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26507 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26508 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26510 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26511 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26513 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26514 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26516 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26517 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26519 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26520 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26522 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26523 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26525 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26526 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26528 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26529 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26531 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26532 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26534 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26535 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26537 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26538 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26540 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26541 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26543 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26544 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26546 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26547 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26549 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26550 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26552 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26553 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26555 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26556 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26558 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26559 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26561 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26562 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26564 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26565 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26567 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26568 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26570 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26571 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26573 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26574 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26576 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26577 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26579 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}};
26580 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}};
26581 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}};
26582 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}};
26583 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}};
26584 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}};
26585 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}};
26586 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}};
26587 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}};
26588 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}};
26589 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}};
26590 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}};
26591 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}};
26592 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}};
26593 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}};
26594 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}};
26595 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}};
26596 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}};
26597 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}};
26598 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}};
26599 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}};
26600 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}};
26601 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}};
26602 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}};
26603 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}};
26604 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}};
26605 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}};
26606 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}};
26607 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}};
26608 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}};
26609 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}};
26610 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}};
26611 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}};
26612 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}};
26613 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}};
26614 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}};
26615 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}};
26616 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}};
26617 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}};
26618 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}};
26619 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}};
26620 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}};
26621 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}};
26622 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}};
26623 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}};
26624 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}};
26625 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}};
26626 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}};
26627 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}};
26628 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}};
26629 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}};
26630 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}};
26631 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}};
26632 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}};
26633 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}};
26634 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}};
26635 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}};
26636 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}};
26637 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}};
26638 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}};
26639 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}};
26640 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}};
26641 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}};
26642 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}};
26643 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}};
26644 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}};
26645 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}};
26646 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}};
26647 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}};
26648 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}};
26649 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}};
26650 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}};
26651 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}};
26652 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}};
26653 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}};
26654 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}};
26655 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}};
26656 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}};
26657 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}};
26658 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}};
26659 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}};
26660 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}};
26661 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}};
26662 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}};
26663 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}};
26664 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}};
26666 static swig_type_info
*swig_types_initial
[] = {
26667 _swigt__p_wxQueryLayoutInfoEvent
,
26668 _swigt__p_wxPreviewFrame
,
26669 _swigt__p_wxPyPreviewFrame
,
26670 _swigt__p_wxPyPanel
,
26672 _swigt__p_wxPrintData
,
26673 _swigt__p_wxFontData
,
26675 _swigt__p_wxTaskBarIcon
,
26676 _swigt__p_wxIconBundle
,
26677 _swigt__p_wxLayoutAlgorithm
,
26678 _swigt__p_wxFindDialogEvent
,
26679 _swigt__p_wxPreviewCanvas
,
26681 _swigt__p_wxSplitterEvent
,
26682 _swigt__p_wxRegion
,
26683 _swigt__p_wxFindReplaceData
,
26688 _swigt__p_wxVisualAttributes
,
26689 _swigt__p_wxMDIChildFrame
,
26690 _swigt__p_wxColourData
,
26691 _swigt__p_wxNotifyEvent
,
26692 _swigt__p_wxPyWindow
,
26693 _swigt__p_wxSplashScreen
,
26694 _swigt__p_wxFindReplaceDialog
,
26695 _swigt__p_wxProgressDialog
,
26696 _swigt__p_wxMessageDialog
,
26697 _swigt__p_wxTextEntryDialog
,
26698 _swigt__p_wxSingleChoiceDialog
,
26699 _swigt__p_wxMultiChoiceDialog
,
26700 _swigt__p_wxFileDialog
,
26701 _swigt__p_wxPrinter
,
26702 _swigt__p_wxArrayInt
,
26703 _swigt__p_wxEvtHandler
,
26704 _swigt__p_wxCalculateLayoutEvent
,
26705 _swigt__p_wxPyHtmlListBox
,
26706 _swigt__p_wxPyVListBox
,
26709 _swigt__p_wxMiniFrame
,
26711 _swigt__p_wxPyPrintout
,
26712 _swigt__p_wxTaskBarIconEvent
,
26713 _swigt__p_wxScrollWinEvent
,
26714 _swigt__p_wxStatusBar
,
26715 _swigt__p_wxMDIParentFrame
,
26717 _swigt__p_wxObject
,
26718 _swigt__p_wxOutputStream
,
26719 _swigt__p_wxPyScrolledWindow
,
26720 _swigt__p_wxMDIClientWindow
,
26721 _swigt__p_wxTipWindow
,
26722 _swigt__p_wxSashLayoutWindow
,
26723 _swigt__p_wxSplitterWindow
,
26724 _swigt__p_wxPyVScrolledWindow
,
26725 _swigt__p_wxPyPopupTransientWindow
,
26726 _swigt__p_wxPopupWindow
,
26727 _swigt__p_wxSashWindow
,
26728 _swigt__p_wxTopLevelWindow
,
26729 _swigt__p_wxWindow
,
26730 _swigt__p_wxScrolledWindow
,
26731 _swigt__p_wxSplashScreenWindow
,
26732 _swigt__p_wxMenuBar
,
26733 _swigt__p_wxPrintPreview
,
26734 _swigt__p_wxSashEvent
,
26735 _swigt__p_wxString
,
26736 _swigt__p_wxPyPrintPreview
,
26737 _swigt__p_wxFontDialog
,
26738 _swigt__p_wxDirDialog
,
26739 _swigt__p_wxColourDialog
,
26740 _swigt__p_wxDialog
,
26742 _swigt__p_wxPageSetupDialog
,
26743 _swigt__p_wxPrintDialog
,
26744 _swigt__p_wxFileSystem
,
26745 _swigt__p_wxBitmap
,
26746 _swigt__p_wxCommandEvent
,
26747 _swigt__p_wxPreviewControlBar
,
26748 _swigt__p_wxPyPreviewControlBar
,
26749 _swigt__p_wxColour
,
26750 _swigt__p_wxToolBar
,
26751 _swigt__p_wxPageSetupDialogData
,
26752 _swigt__p_wxPrintDialogData
,
26757 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26759 static swig_const_info swig_const_table
[] = {
26769 SWIGEXPORT(void) SWIG_init(void) {
26770 static PyObject
*SWIG_globals
= 0;
26771 static int typeinit
= 0;
26774 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26775 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26776 d
= PyModule_GetDict(m
);
26779 for (i
= 0; swig_types_initial
[i
]; i
++) {
26780 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26784 SWIG_InstallConstants(d
,swig_const_table
);
26786 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26787 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26788 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26789 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26790 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26791 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26792 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26793 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26794 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26795 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26796 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26797 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26798 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26799 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26800 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26801 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26802 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26803 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26804 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26805 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26806 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26807 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26808 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26809 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26810 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26811 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26812 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26813 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26814 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26815 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26816 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26817 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26818 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26819 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26820 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26821 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26822 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26823 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26824 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26825 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26826 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26827 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26828 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26829 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26830 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26831 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26832 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26833 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26834 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26835 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26836 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26837 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26838 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26839 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26840 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26841 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26842 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26843 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26844 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26845 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26846 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26847 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26848 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26849 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26850 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26851 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26852 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26853 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26854 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26855 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26856 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26857 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26858 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26859 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26860 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26861 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26862 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26863 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26864 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26865 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26866 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26867 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26868 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26869 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26870 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26871 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26872 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26873 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26874 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26875 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26876 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26877 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26878 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26880 // Map renamed classes back to their common name for OOR
26881 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26882 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26883 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26885 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26886 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26887 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26888 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26889 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26890 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26891 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26892 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26893 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26894 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26895 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26896 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26897 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26898 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26899 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26900 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26901 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26902 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26903 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26904 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26905 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26906 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26907 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26908 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26909 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26910 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26911 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26912 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26913 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26914 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26915 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26916 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26917 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26918 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26919 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26920 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26921 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26922 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26923 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26924 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26925 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26926 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26927 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26928 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26929 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26930 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26931 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26932 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26933 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26934 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26935 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26936 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26937 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26938 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26939 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26940 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26941 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26942 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26943 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26944 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26946 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");