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_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long 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
);
738 #include <wx/htmllbox.h>
741 class wxPyHtmlListBox
: public wxHtmlListBox
743 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
745 wxPyHtmlListBox() : wxHtmlListBox() {}
747 wxPyHtmlListBox(wxWindow
*parent
,
748 wxWindowID id
= wxID_ANY
,
749 const wxPoint
& pos
= wxDefaultPosition
,
750 const wxSize
& size
= wxDefaultSize
,
752 const wxString
& name
= wxPyVListBoxNameStr
)
753 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
756 // Overridable virtuals
758 // this method must be implemented in the derived class and should return
759 // the body (i.e. without <html>) of the HTML for the given item
760 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
762 // this function may be overridden to decorate HTML returned by OnGetItem()
763 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
766 // // this method allows to customize the selection appearance: it may be used
767 // // to specify the colour of the text which normally has the given colour
768 // // colFg when it is inside the selection
770 // // by default, the original colour is not used at all and all text has the
771 // // same (default for this system) colour inside selection
772 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774 // // this is the same as GetSelectedTextColour() but allows to customize the
775 // // background colour -- this is even more rarely used as you can change it
776 // // globally using SetSelectionBackground()
777 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
784 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
786 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
787 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
794 // implement dummy classes and such for wxMac
796 class wxTaskBarIcon
: public wxEvtHandler
799 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
803 class wxTaskBarIconEvent
: public wxEvent
806 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
807 { wxPyRaiseNotImplemented(); }
808 virtual wxEvent
* Clone() const { return NULL
; }
812 wxEVT_TASKBAR_MOVE
= 0,
813 wxEVT_TASKBAR_LEFT_DOWN
= 0,
814 wxEVT_TASKBAR_LEFT_UP
= 0,
815 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
816 wxEVT_TASKBAR_RIGHT_UP
= 0,
817 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
818 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
822 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
827 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
828 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
829 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
830 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
831 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
832 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
833 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
835 self
->GetFilenames(arr
);
836 return wxArrayString2PyList_helper(arr
);
838 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
841 return wxArrayString2PyList_helper(arr
);
843 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
844 return wxArrayInt2PyList_helper(self
->GetSelections());
846 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
847 return new wxSingleChoiceDialog(parent
, message
, caption
,
848 choices
, choices_array
, NULL
, style
, pos
);
853 // C++ version of Python aware wxWindow
854 class wxPyWindow
: public wxWindow
856 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
858 wxPyWindow() : wxWindow() {}
859 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
860 const wxPoint
& pos
= wxDefaultPosition
,
861 const wxSize
& size
= wxDefaultSize
,
863 const wxString
& name
= wxPyPanelNameStr
)
864 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
867 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
868 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
869 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
870 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
872 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
876 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
877 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
879 DEC_PYCALLBACK__(InitDialog
);
880 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
881 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
882 DEC_PYCALLBACK_BOOL_(Validate
);
884 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
885 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
886 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
888 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
889 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
891 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
892 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
897 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
899 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
900 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
901 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
902 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
904 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
906 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
908 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
911 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
912 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
914 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
916 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
917 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
918 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
920 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
921 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
923 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, ShouldInheritColours
);
924 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
927 // C++ version of Python aware wxPanel
928 class wxPyPanel
: public wxPanel
930 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
932 wxPyPanel() : wxPanel() {}
933 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
934 const wxPoint
& pos
= wxDefaultPosition
,
935 const wxSize
& size
= wxDefaultSize
,
937 const wxString
& name
= wxPyPanelNameStr
)
938 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
941 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
942 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
950 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
951 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
953 DEC_PYCALLBACK__(InitDialog
);
954 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
955 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
956 DEC_PYCALLBACK_BOOL_(Validate
);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
960 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
962 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
963 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
965 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
966 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
971 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
973 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
974 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
983 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
985 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
986 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
990 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
991 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
992 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
997 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, ShouldInheritColours
);
998 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1000 // C++ version of Python aware wxScrolledWindow
1001 class wxPyScrolledWindow
: public wxScrolledWindow
1003 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1005 wxPyScrolledWindow() : wxScrolledWindow() {}
1006 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1007 const wxPoint
& pos
= wxDefaultPosition
,
1008 const wxSize
& size
= wxDefaultSize
,
1010 const wxString
& name
= wxPyPanelNameStr
)
1011 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1014 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1015 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1016 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1017 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1019 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1021 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1023 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1024 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1026 DEC_PYCALLBACK__(InitDialog
);
1027 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1028 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1029 DEC_PYCALLBACK_BOOL_(Validate
);
1031 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1032 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1033 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1035 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1036 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1038 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
1039 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1044 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1046 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1047 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1048 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1049 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1051 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1053 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1055 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1056 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1058 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1059 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1061 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1063 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1064 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1065 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1067 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1068 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1070 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1071 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1074 #include "wx/wxPython/printfw.h"
1077 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1078 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1082 // Since this one would be tough and ugly to do with the Macros...
1083 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1084 bool hadErr
= False
;
1087 bool blocked
= wxPyBeginBlockThreads();
1088 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1089 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1090 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1093 val
= PyTuple_GetItem(result
, 0);
1094 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1097 val
= PyTuple_GetItem(result
, 1);
1098 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1101 val
= PyTuple_GetItem(result
, 2);
1102 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1105 val
= PyTuple_GetItem(result
, 3);
1106 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1113 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1118 wxPyEndBlockThreads(blocked
);
1120 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1123 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1124 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1128 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1129 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1130 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1131 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1132 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1133 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1134 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1140 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1141 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1142 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1145 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1146 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1149 bool blocked = wxPyBeginBlockThreads(); \
1150 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1151 PyObject* win = wxPyMake_wxObject(a); \
1152 PyObject* dc = wxPyMake_wxObject(&b); \
1153 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1157 wxPyEndBlockThreads(blocked); \
1159 rval = PCLASS::CBNAME(a, b); \
1162 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1163 return PCLASS::CBNAME(a, b); \
1169 class wxPyPrintPreview
: public wxPrintPreview
1171 DECLARE_CLASS(wxPyPrintPreview
)
1173 wxPyPrintPreview(wxPyPrintout
* printout
,
1174 wxPyPrintout
* printoutForPrinting
,
1175 wxPrintDialogData
* data
=NULL
)
1176 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1178 wxPyPrintPreview(wxPyPrintout
* printout
,
1179 wxPyPrintout
* printoutForPrinting
,
1180 wxPrintData
* data
=NULL
)
1181 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1184 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1185 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1186 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1187 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1188 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1189 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1190 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1195 // Stupid renamed classes... Fix this in 2.5...
1196 #if defined(__WXMSW__)
1197 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1198 #elif defined(__WXMAC__)
1199 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1201 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1204 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1205 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1206 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1207 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1208 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1209 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1210 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1213 class wxPyPreviewFrame
: public wxPreviewFrame
1215 DECLARE_CLASS(wxPyPreviewFrame
);
1217 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1218 const wxString
& title
,
1219 const wxPoint
& pos
= wxDefaultPosition
,
1220 const wxSize
& size
= wxDefaultSize
,
1221 long style
= wxDEFAULT_FRAME_STYLE
,
1222 const wxString
& name
= wxPyFrameNameStr
)
1223 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1226 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1227 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1229 DEC_PYCALLBACK_VOID_(Initialize
);
1230 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1231 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1236 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1238 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1240 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1243 class wxPyPreviewControlBar
: public wxPreviewControlBar
1245 DECLARE_CLASS(wxPyPreviewControlBar
);
1247 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1250 const wxPoint
& pos
= wxDefaultPosition
,
1251 const wxSize
& size
= wxDefaultSize
,
1253 const wxString
& name
= wxPyPanelNameStr
)
1254 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1257 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1259 DEC_PYCALLBACK_VOID_(CreateButtons
);
1260 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1265 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1266 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1267 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1272 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
*resultobj
;
1274 wxWindow
*arg1
= (wxWindow
*) 0 ;
1275 int arg2
= (int) (int)-1 ;
1276 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1277 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1278 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1279 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1280 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1281 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1282 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1286 bool temp6
= False
;
1287 PyObject
* obj0
= 0 ;
1288 PyObject
* obj1
= 0 ;
1289 PyObject
* obj2
= 0 ;
1290 PyObject
* obj3
= 0 ;
1291 PyObject
* obj4
= 0 ;
1292 PyObject
* obj5
= 0 ;
1294 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1301 arg2
= (int const) SWIG_AsInt(obj1
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1313 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1317 arg5
= (long) SWIG_AsLong(obj4
);
1318 if (PyErr_Occurred()) SWIG_fail
;
1322 arg6
= wxString_in_helper(obj5
);
1323 if (arg6
== NULL
) SWIG_fail
;
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) SWIG_fail
;
1334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1349 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
*resultobj
;
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 result
= (wxPanel
*)new wxPanel();
1361 wxPyEndAllowThreads(__tstate
);
1362 if (PyErr_Occurred()) SWIG_fail
;
1364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1371 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
*resultobj
;
1373 wxPanel
*arg1
= (wxPanel
*) 0 ;
1374 wxWindow
*arg2
= (wxWindow
*) 0 ;
1375 int arg3
= (int) (int)-1 ;
1376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1380 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1381 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1382 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1386 bool temp7
= False
;
1387 PyObject
* obj0
= 0 ;
1388 PyObject
* obj1
= 0 ;
1389 PyObject
* obj2
= 0 ;
1390 PyObject
* obj3
= 0 ;
1391 PyObject
* obj4
= 0 ;
1392 PyObject
* obj5
= 0 ;
1393 PyObject
* obj6
= 0 ;
1395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1404 arg3
= (int const) SWIG_AsInt(obj2
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1420 arg6
= (long) SWIG_AsLong(obj5
);
1421 if (PyErr_Occurred()) SWIG_fail
;
1425 arg7
= wxString_in_helper(obj6
);
1426 if (arg7
== NULL
) SWIG_fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1454 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxPanel
*arg1
= (wxPanel
*) 0 ;
1457 PyObject
* obj0
= 0 ;
1459 (char *) "self", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 (arg1
)->InitDialog();
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 Py_INCREF(Py_None
); resultobj
= Py_None
;
1479 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1482 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1484 return Py_BuildValue((char *)"");
1486 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
*resultobj
;
1488 wxWindow
*arg1
= (wxWindow
*) 0 ;
1489 int arg2
= (int) (int)-1 ;
1490 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1491 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1492 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1493 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1494 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1495 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1496 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1497 wxScrolledWindow
*result
;
1500 bool temp6
= False
;
1501 PyObject
* obj0
= 0 ;
1502 PyObject
* obj1
= 0 ;
1503 PyObject
* obj2
= 0 ;
1504 PyObject
* obj3
= 0 ;
1505 PyObject
* obj4
= 0 ;
1506 PyObject
* obj5
= 0 ;
1508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1515 arg2
= (int const) SWIG_AsInt(obj1
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1527 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1531 arg5
= (long) SWIG_AsLong(obj4
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1536 arg6
= wxString_in_helper(obj5
);
1537 if (arg6
== NULL
) SWIG_fail
;
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) SWIG_fail
;
1548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1563 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
*resultobj
;
1565 wxScrolledWindow
*result
;
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1585 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1587 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1588 wxWindow
*arg2
= (wxWindow
*) 0 ;
1589 int arg3
= (int) (int)-1 ;
1590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1594 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1595 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1596 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1600 bool temp7
= False
;
1601 PyObject
* obj0
= 0 ;
1602 PyObject
* obj1
= 0 ;
1603 PyObject
* obj2
= 0 ;
1604 PyObject
* obj3
= 0 ;
1605 PyObject
* obj4
= 0 ;
1606 PyObject
* obj5
= 0 ;
1607 PyObject
* obj6
= 0 ;
1609 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1618 arg3
= (int const) SWIG_AsInt(obj2
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1630 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1634 arg6
= (long) SWIG_AsLong(obj5
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1639 arg7
= wxString_in_helper(obj6
);
1640 if (arg7
== NULL
) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1668 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1675 int arg6
= (int) 0 ;
1676 int arg7
= (int) 0 ;
1677 bool arg8
= (bool) False
;
1678 PyObject
* obj0
= 0 ;
1679 PyObject
* obj1
= 0 ;
1680 PyObject
* obj2
= 0 ;
1681 PyObject
* obj3
= 0 ;
1682 PyObject
* obj4
= 0 ;
1683 PyObject
* obj5
= 0 ;
1684 PyObject
* obj6
= 0 ;
1685 PyObject
* obj7
= 0 ;
1687 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1693 arg2
= (int) SWIG_AsInt(obj1
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1695 arg3
= (int) SWIG_AsInt(obj2
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1697 arg4
= (int) SWIG_AsInt(obj3
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1699 arg5
= (int) SWIG_AsInt(obj4
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1702 arg6
= (int) SWIG_AsInt(obj5
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1706 arg7
= (int) SWIG_AsInt(obj6
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1710 arg8
= (bool) SWIG_AsBool(obj7
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1720 Py_INCREF(Py_None
); resultobj
= Py_None
;
1727 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1732 PyObject
* obj0
= 0 ;
1733 PyObject
* obj1
= 0 ;
1734 PyObject
* obj2
= 0 ;
1736 (char *) "self",(char *) "x",(char *) "y", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1742 arg2
= (int) SWIG_AsInt(obj1
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1744 arg3
= (int) SWIG_AsInt(obj2
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 (arg1
)->Scroll(arg2
,arg3
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 Py_INCREF(Py_None
); resultobj
= Py_None
;
1760 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1765 PyObject
* obj0
= 0 ;
1766 PyObject
* obj1
= 0 ;
1768 (char *) "self",(char *) "orient", NULL
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1774 arg2
= (int) SWIG_AsInt(obj1
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 resultobj
= SWIG_FromInt((int)result
);
1790 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1795 PyObject
* obj0
= 0 ;
1796 PyObject
* obj1
= 0 ;
1797 PyObject
* obj2
= 0 ;
1799 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1805 arg2
= (int) SWIG_AsInt(obj1
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1807 arg3
= (int) SWIG_AsInt(obj2
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 Py_INCREF(Py_None
); resultobj
= Py_None
;
1823 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1828 PyObject
* obj0
= 0 ;
1829 PyObject
* obj1
= 0 ;
1830 PyObject
* obj2
= 0 ;
1832 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1838 arg2
= (int) SWIG_AsInt(obj1
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1840 arg3
= (int) SWIG_AsInt(obj2
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 (arg1
)->SetScrollRate(arg2
,arg3
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1856 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1859 int *arg2
= (int *) 0 ;
1860 int *arg3
= (int *) 0 ;
1863 PyObject
* obj0
= 0 ;
1865 (char *) "self", NULL
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 Py_INCREF(Py_None
); resultobj
= Py_None
;
1882 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1883 resultobj
= t_output_helper(resultobj
,o
);
1886 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1887 resultobj
= t_output_helper(resultobj
,o
);
1895 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
*resultobj
;
1897 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1900 PyObject
* obj0
= 0 ;
1901 PyObject
* obj1
= 0 ;
1902 PyObject
* obj2
= 0 ;
1904 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1910 arg2
= (bool) SWIG_AsBool(obj1
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1912 arg3
= (bool) SWIG_AsBool(obj2
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 (arg1
)->EnableScrolling(arg2
,arg3
);
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 Py_INCREF(Py_None
); resultobj
= Py_None
;
1928 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1931 int *arg2
= (int *) 0 ;
1932 int *arg3
= (int *) 0 ;
1935 PyObject
* obj0
= 0 ;
1937 (char *) "self", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 Py_INCREF(Py_None
); resultobj
= Py_None
;
1954 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1955 resultobj
= t_output_helper(resultobj
,o
);
1958 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1959 resultobj
= t_output_helper(resultobj
,o
);
1967 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1973 PyObject
* obj1
= 0 ;
1974 PyObject
* obj2
= 0 ;
1976 (char *) "self",(char *) "xs",(char *) "ys", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 arg2
= (double) SWIG_AsDouble(obj1
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1984 arg3
= (double) SWIG_AsDouble(obj2
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 (arg1
)->SetScale(arg2
,arg3
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 Py_INCREF(Py_None
); resultobj
= Py_None
;
2000 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2006 (char *) "self", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 resultobj
= SWIG_FromDouble((double)result
);
2026 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
*resultobj
;
2028 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2030 PyObject
* obj0
= 0 ;
2032 (char *) "self", NULL
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2040 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2042 wxPyEndAllowThreads(__tstate
);
2043 if (PyErr_Occurred()) SWIG_fail
;
2045 resultobj
= SWIG_FromDouble((double)result
);
2052 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2053 PyObject
*resultobj
;
2054 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2058 PyObject
* obj0
= 0 ;
2059 PyObject
* obj1
= 0 ;
2061 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2076 wxPoint
* resultptr
;
2077 resultptr
= new wxPoint((wxPoint
&) result
);
2078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2086 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2087 PyObject
*resultobj
;
2088 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2091 int *arg4
= (int *) 0 ;
2092 int *arg5
= (int *) 0 ;
2095 PyObject
* obj0
= 0 ;
2096 PyObject
* obj1
= 0 ;
2097 PyObject
* obj2
= 0 ;
2101 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2104 arg2
= (int) SWIG_AsInt(obj1
);
2105 if (PyErr_Occurred()) SWIG_fail
;
2106 arg3
= (int) SWIG_AsInt(obj2
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2117 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2118 resultobj
= t_output_helper(resultobj
,o
);
2121 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2122 resultobj
= t_output_helper(resultobj
,o
);
2130 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2135 argc
= PyObject_Length(args
);
2136 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2137 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2143 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2152 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2155 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2163 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2171 _v
= SWIG_CheckInt(argv
[1]);
2173 _v
= SWIG_CheckInt(argv
[2]);
2175 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2181 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2186 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2187 PyObject
*resultobj
;
2188 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2192 PyObject
* obj0
= 0 ;
2193 PyObject
* obj1
= 0 ;
2195 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2210 wxPoint
* resultptr
;
2211 resultptr
= new wxPoint((wxPoint
&) result
);
2212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2220 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2221 PyObject
*resultobj
;
2222 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2225 int *arg4
= (int *) 0 ;
2226 int *arg5
= (int *) 0 ;
2229 PyObject
* obj0
= 0 ;
2230 PyObject
* obj1
= 0 ;
2231 PyObject
* obj2
= 0 ;
2235 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2238 arg2
= (int) SWIG_AsInt(obj1
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2240 arg3
= (int) SWIG_AsInt(obj2
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 Py_INCREF(Py_None
); resultobj
= Py_None
;
2251 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2252 resultobj
= t_output_helper(resultobj
,o
);
2255 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2256 resultobj
= t_output_helper(resultobj
,o
);
2264 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2269 argc
= PyObject_Length(args
);
2270 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2271 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2277 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2286 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2289 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2297 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2305 _v
= SWIG_CheckInt(argv
[1]);
2307 _v
= SWIG_CheckInt(argv
[2]);
2309 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2315 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2320 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2322 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2323 PyObject
* obj0
= 0 ;
2325 (char *) "self", NULL
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 (arg1
)->AdjustScrollbars();
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 Py_INCREF(Py_None
); resultobj
= Py_None
;
2345 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2348 wxScrollWinEvent
*arg2
= 0 ;
2350 PyObject
* obj0
= 0 ;
2351 PyObject
* obj1
= 0 ;
2353 (char *) "self",(char *) "event", NULL
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2363 PyErr_SetString(PyExc_TypeError
,"null reference");
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2373 resultobj
= SWIG_FromInt((int)result
);
2380 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
*resultobj
;
2382 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2383 wxWindow
*arg2
= (wxWindow
*) 0 ;
2384 PyObject
* obj0
= 0 ;
2385 PyObject
* obj1
= 0 ;
2387 (char *) "self",(char *) "target", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 (arg1
)->SetTargetWindow(arg2
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 Py_INCREF(Py_None
); resultobj
= Py_None
;
2409 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
*resultobj
;
2411 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2413 PyObject
* obj0
= 0 ;
2415 (char *) "self", NULL
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2429 resultobj
= wxPyMake_wxObject(result
);
2437 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2440 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2442 return Py_BuildValue((char *)"");
2444 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2445 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2450 static PyObject
*_wrap_FrameNameStr_get() {
2455 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2457 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2464 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2465 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2470 static PyObject
*_wrap_DialogNameStr_get() {
2475 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2477 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2484 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2485 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2490 static PyObject
*_wrap_StatusLineNameStr_get() {
2495 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2497 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2504 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2505 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2510 static PyObject
*_wrap_ToolBarNameStr_get() {
2515 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2517 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2524 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2527 bool arg2
= (bool) True
;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "maximize", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2538 arg2
= (bool) SWIG_AsBool(obj1
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->Maximize(arg2
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2558 PyObject
* obj0
= 0 ;
2560 (char *) "self", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 Py_INCREF(Py_None
); resultobj
= Py_None
;
2580 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2583 bool arg2
= (bool) True
;
2584 PyObject
* obj0
= 0 ;
2585 PyObject
* obj1
= 0 ;
2587 (char *) "self",(char *) "iconize", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 arg2
= (bool) SWIG_AsBool(obj1
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 (arg1
)->Iconize(arg2
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2604 Py_INCREF(Py_None
); resultobj
= Py_None
;
2611 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2615 PyObject
* obj0
= 0 ;
2617 (char *) "self", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2639 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2643 PyObject
* obj0
= 0 ;
2645 (char *) "self", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2667 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2671 PyObject
* obj0
= 0 ;
2673 (char *) "self", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2688 resultptr
= new wxIcon((wxIcon
&) result
);
2689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2697 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2701 PyObject
* obj0
= 0 ;
2702 PyObject
* obj1
= 0 ;
2704 (char *) "self",(char *) "icon", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2714 PyErr_SetString(PyExc_TypeError
,"null reference");
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 Py_INCREF(Py_None
); resultobj
= Py_None
;
2731 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2734 wxIconBundle
*arg2
= 0 ;
2735 PyObject
* obj0
= 0 ;
2736 PyObject
* obj1
= 0 ;
2738 (char *) "self",(char *) "icons", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2748 PyErr_SetString(PyExc_TypeError
,"null reference");
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 Py_INCREF(Py_None
); resultobj
= Py_None
;
2765 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2769 long arg3
= (long) wxFULLSCREEN_ALL
;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2773 PyObject
* obj2
= 0 ;
2775 (char *) "self",(char *) "show",(char *) "style", NULL
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2781 arg2
= (bool) SWIG_AsBool(obj1
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 arg3
= (long) SWIG_AsLong(obj2
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2803 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
*resultobj
;
2805 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2807 PyObject
* obj0
= 0 ;
2809 (char *) "self", NULL
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2817 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2819 wxPyEndAllowThreads(__tstate
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2831 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2834 wxString
*arg2
= 0 ;
2835 bool temp2
= False
;
2836 PyObject
* obj0
= 0 ;
2837 PyObject
* obj1
= 0 ;
2839 (char *) "self",(char *) "title", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2846 arg2
= wxString_in_helper(obj1
);
2847 if (arg2
== NULL
) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 (arg1
)->SetTitle((wxString
const &)*arg2
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2857 Py_INCREF(Py_None
); resultobj
= Py_None
;
2872 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2876 PyObject
* obj0
= 0 ;
2878 (char *) "self", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2904 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2907 wxRegion
*arg2
= 0 ;
2909 PyObject
* obj0
= 0 ;
2910 PyObject
* obj1
= 0 ;
2912 (char *) "self",(char *) "region", NULL
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
2916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
2919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2922 PyErr_SetString(PyExc_TypeError
,"null reference");
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2941 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2944 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
2946 return Py_BuildValue((char *)"");
2948 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxWindow
*arg1
= (wxWindow
*) 0 ;
2952 wxString
*arg3
= 0 ;
2953 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2954 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2955 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2956 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2957 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
2958 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
2959 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2961 bool temp3
= False
;
2964 bool temp7
= False
;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2968 PyObject
* obj3
= 0 ;
2969 PyObject
* obj4
= 0 ;
2970 PyObject
* obj5
= 0 ;
2971 PyObject
* obj6
= 0 ;
2973 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2979 arg2
= (int const) SWIG_AsInt(obj1
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2982 arg3
= wxString_in_helper(obj2
);
2983 if (arg3
== NULL
) SWIG_fail
;
2989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2999 arg6
= (long) SWIG_AsLong(obj5
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3004 arg7
= wxString_in_helper(obj6
);
3005 if (arg7
== NULL
) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= wxPyMake_wxObject(result
);
3041 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
*resultobj
;
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 result
= (wxFrame
*)new wxFrame();
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3057 resultobj
= wxPyMake_wxObject(result
);
3065 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxFrame
*arg1
= (wxFrame
*) 0 ;
3068 wxWindow
*arg2
= (wxWindow
*) 0 ;
3070 wxString
*arg4
= 0 ;
3071 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3072 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3073 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3074 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3075 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3076 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3079 bool temp4
= False
;
3082 bool temp8
= False
;
3083 PyObject
* obj0
= 0 ;
3084 PyObject
* obj1
= 0 ;
3085 PyObject
* obj2
= 0 ;
3086 PyObject
* obj3
= 0 ;
3087 PyObject
* obj4
= 0 ;
3088 PyObject
* obj5
= 0 ;
3089 PyObject
* obj6
= 0 ;
3090 PyObject
* obj7
= 0 ;
3092 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3100 arg3
= (int const) SWIG_AsInt(obj2
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3103 arg4
= wxString_in_helper(obj3
);
3104 if (arg4
== NULL
) SWIG_fail
;
3110 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3116 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3120 arg7
= (long) SWIG_AsLong(obj6
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3125 arg8
= wxString_in_helper(obj7
);
3126 if (arg8
== NULL
) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3162 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 wxFrame
*arg1
= (wxFrame
*) 0 ;
3166 PyObject
* obj0
= 0 ;
3168 (char *) "self", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 wxPoint
* resultptr
;
3183 resultptr
= new wxPoint((wxPoint
&) result
);
3184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3192 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
;
3194 wxFrame
*arg1
= (wxFrame
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "self", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 (arg1
)->SendSizeEvent();
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3210 Py_INCREF(Py_None
); resultobj
= Py_None
;
3217 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxFrame
*arg1
= (wxFrame
*) 0 ;
3220 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3221 PyObject
* obj0
= 0 ;
3222 PyObject
* obj1
= 0 ;
3224 (char *) "self",(char *) "menubar", NULL
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 (arg1
)->SetMenuBar(arg2
);
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3239 Py_INCREF(Py_None
); resultobj
= Py_None
;
3246 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxFrame
*arg1
= (wxFrame
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "self", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= wxPyMake_wxObject(result
);
3274 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxFrame
*arg1
= (wxFrame
*) 0 ;
3279 PyObject
* obj0
= 0 ;
3280 PyObject
* obj1
= 0 ;
3282 (char *) "self",(char *) "winid", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3288 arg2
= (int) SWIG_AsInt(obj1
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3306 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxFrame
*arg1
= (wxFrame
*) 0 ;
3309 int arg2
= (int) 1 ;
3310 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3311 int arg4
= (int) 0 ;
3312 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3313 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3314 wxStatusBar
*result
;
3315 bool temp5
= False
;
3316 PyObject
* obj0
= 0 ;
3317 PyObject
* obj1
= 0 ;
3318 PyObject
* obj2
= 0 ;
3319 PyObject
* obj3
= 0 ;
3320 PyObject
* obj4
= 0 ;
3322 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3329 arg2
= (int) SWIG_AsInt(obj1
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 arg3
= (long) SWIG_AsLong(obj2
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3337 arg4
= (int) SWIG_AsInt(obj3
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3342 arg5
= wxString_in_helper(obj4
);
3343 if (arg5
== NULL
) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3355 resultobj
= wxPyMake_wxObject(result
);
3371 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxFrame
*arg1
= (wxFrame
*) 0 ;
3374 wxStatusBar
*result
;
3375 PyObject
* obj0
= 0 ;
3377 (char *) "self", NULL
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3391 resultobj
= wxPyMake_wxObject(result
);
3399 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxFrame
*arg1
= (wxFrame
*) 0 ;
3402 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "self",(char *) "statBar", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetStatusBar(arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxFrame
*arg1
= (wxFrame
*) 0 ;
3431 wxString
*arg2
= 0 ;
3432 int arg3
= (int) 0 ;
3433 bool temp2
= False
;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3436 PyObject
* obj2
= 0 ;
3438 (char *) "self",(char *) "text",(char *) "number", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3445 arg2
= wxString_in_helper(obj1
);
3446 if (arg2
== NULL
) SWIG_fail
;
3450 arg3
= (int) SWIG_AsInt(obj2
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxFrame
*arg1
= (wxFrame
*) 0 ;
3479 int *arg3
= (int *) 0 ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3483 (char *) "self",(char *) "widths", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 arg2
= PyList_Size(obj1
);
3491 arg3
= int_LIST_helper(obj1
);
3492 if (arg3
== NULL
) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 if (arg3
) delete [] arg3
;
3508 if (arg3
) delete [] arg3
;
3514 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxFrame
*arg1
= (wxFrame
*) 0 ;
3517 wxString
*arg2
= 0 ;
3518 int arg3
= (int) 0 ;
3519 bool temp2
= False
;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3522 PyObject
* obj2
= 0 ;
3524 (char *) "self",(char *) "text",(char *) "number", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3531 arg2
= wxString_in_helper(obj1
);
3532 if (arg2
== NULL
) SWIG_fail
;
3536 arg3
= (int) SWIG_AsInt(obj2
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxFrame
*arg1
= (wxFrame
*) 0 ;
3564 int arg2
= (int) 0 ;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3568 (char *) "self",(char *) "number", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3575 arg2
= (int) SWIG_AsInt(obj1
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 (arg1
)->PopStatusText(arg2
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3585 Py_INCREF(Py_None
); resultobj
= Py_None
;
3592 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxFrame
*arg1
= (wxFrame
*) 0 ;
3596 PyObject
* obj0
= 0 ;
3597 PyObject
* obj1
= 0 ;
3599 (char *) "self",(char *) "n", NULL
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3605 arg2
= (int) SWIG_AsInt(obj1
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 (arg1
)->SetStatusBarPane(arg2
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 Py_INCREF(Py_None
); resultobj
= Py_None
;
3621 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
*resultobj
;
3623 wxFrame
*arg1
= (wxFrame
*) 0 ;
3625 PyObject
* obj0
= 0 ;
3627 (char *) "self", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3640 resultobj
= SWIG_FromInt((int)result
);
3647 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxFrame
*arg1
= (wxFrame
*) 0 ;
3650 long arg2
= (long) -1 ;
3651 int arg3
= (int) -1 ;
3652 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3653 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3655 bool temp4
= False
;
3656 PyObject
* obj0
= 0 ;
3657 PyObject
* obj1
= 0 ;
3658 PyObject
* obj2
= 0 ;
3659 PyObject
* obj3
= 0 ;
3661 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3668 arg2
= (long) SWIG_AsLong(obj1
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3672 arg3
= (int) SWIG_AsInt(obj2
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3677 arg4
= wxString_in_helper(obj3
);
3678 if (arg4
== NULL
) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= wxPyMake_wxObject(result
);
3706 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxFrame
*arg1
= (wxFrame
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 resultobj
= wxPyMake_wxObject(result
);
3734 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxFrame
*arg1
= (wxFrame
*) 0 ;
3737 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3739 PyObject
* obj1
= 0 ;
3741 (char *) "self",(char *) "toolbar", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 (arg1
)->SetToolBar(arg2
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3756 Py_INCREF(Py_None
); resultobj
= Py_None
;
3763 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxFrame
*arg1
= (wxFrame
*) 0 ;
3766 wxString
*arg2
= 0 ;
3768 bool temp2
= False
;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3771 PyObject
* obj2
= 0 ;
3773 (char *) "self",(char *) "text",(char *) "show", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3780 arg2
= wxString_in_helper(obj1
);
3781 if (arg2
== NULL
) SWIG_fail
;
3784 arg3
= (bool) SWIG_AsBool(obj2
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxFrame
*arg1
= (wxFrame
*) 0 ;
3811 wxMenu
*arg2
= (wxMenu
*) NULL
;
3812 PyObject
* obj0
= 0 ;
3813 PyObject
* obj1
= 0 ;
3815 (char *) "self",(char *) "menu", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 (arg1
)->DoMenuUpdates(arg2
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 Py_INCREF(Py_None
); resultobj
= Py_None
;
3839 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
3841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3842 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
3844 return Py_BuildValue((char *)"");
3846 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxWindow
*arg1
= (wxWindow
*) 0 ;
3850 wxString
*arg3
= 0 ;
3851 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3852 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3853 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3854 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3855 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
3856 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
3857 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3859 bool temp3
= False
;
3862 bool temp7
= False
;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3865 PyObject
* obj2
= 0 ;
3866 PyObject
* obj3
= 0 ;
3867 PyObject
* obj4
= 0 ;
3868 PyObject
* obj5
= 0 ;
3869 PyObject
* obj6
= 0 ;
3871 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3877 arg2
= (int const) SWIG_AsInt(obj1
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 arg3
= wxString_in_helper(obj2
);
3881 if (arg3
== NULL
) SWIG_fail
;
3887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3897 arg6
= (long) SWIG_AsLong(obj5
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3902 arg7
= wxString_in_helper(obj6
);
3903 if (arg7
== NULL
) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3937 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 result
= (wxDialog
*)new wxDialog();
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
3959 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxDialog
*arg1
= (wxDialog
*) 0 ;
3962 wxWindow
*arg2
= (wxWindow
*) 0 ;
3964 wxString
*arg4
= 0 ;
3965 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3966 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3967 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3968 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3969 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
3970 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
3971 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3973 bool temp4
= False
;
3976 bool temp8
= False
;
3977 PyObject
* obj0
= 0 ;
3978 PyObject
* obj1
= 0 ;
3979 PyObject
* obj2
= 0 ;
3980 PyObject
* obj3
= 0 ;
3981 PyObject
* obj4
= 0 ;
3982 PyObject
* obj5
= 0 ;
3983 PyObject
* obj6
= 0 ;
3984 PyObject
* obj7
= 0 ;
3986 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
3991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3994 arg3
= (int const) SWIG_AsInt(obj2
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 arg4
= wxString_in_helper(obj3
);
3998 if (arg4
== NULL
) SWIG_fail
;
4004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4014 arg7
= (long) SWIG_AsLong(obj6
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4019 arg8
= wxString_in_helper(obj7
);
4020 if (arg8
== NULL
) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4056 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxDialog
*arg1
= (wxDialog
*) 0 ;
4060 PyObject
* obj0
= 0 ;
4061 PyObject
* obj1
= 0 ;
4063 (char *) "self",(char *) "returnCode", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4069 arg2
= (int) SWIG_AsInt(obj1
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 (arg1
)->SetReturnCode(arg2
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 Py_INCREF(Py_None
); resultobj
= Py_None
;
4085 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
;
4087 wxDialog
*arg1
= (wxDialog
*) 0 ;
4089 PyObject
* obj0
= 0 ;
4091 (char *) "self", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= SWIG_FromInt((int)result
);
4111 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxDialog
*arg1
= (wxDialog
*) 0 ;
4114 wxString
*arg2
= 0 ;
4116 bool temp2
= False
;
4117 PyObject
* obj0
= 0 ;
4118 PyObject
* obj1
= 0 ;
4120 (char *) "self",(char *) "message", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4127 arg2
= wxString_in_helper(obj1
);
4128 if (arg2
== NULL
) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= wxPyMake_wxSizer(result
);
4155 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxDialog
*arg1
= (wxDialog
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4163 (char *) "self",(char *) "flags", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4169 arg2
= (long) SWIG_AsLong(obj1
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= wxPyMake_wxSizer(result
);
4187 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxDialog
*arg1
= (wxDialog
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4193 (char *) "self", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4215 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
;
4217 wxDialog
*arg1
= (wxDialog
*) 0 ;
4219 PyObject
* obj0
= 0 ;
4221 (char *) "self", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (int)(arg1
)->ShowModal();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_FromInt((int)result
);
4241 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxDialog
*arg1
= (wxDialog
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4248 (char *) "self",(char *) "retCode", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4254 arg2
= (int) SWIG_AsInt(obj1
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 (arg1
)->EndModal(arg2
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 Py_INCREF(Py_None
); resultobj
= Py_None
;
4270 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4273 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4275 return Py_BuildValue((char *)"");
4277 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxWindow
*arg1
= (wxWindow
*) 0 ;
4281 wxString
*arg3
= 0 ;
4282 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4283 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4284 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4285 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4286 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4287 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4288 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4289 wxMiniFrame
*result
;
4290 bool temp3
= False
;
4293 bool temp7
= False
;
4294 PyObject
* obj0
= 0 ;
4295 PyObject
* obj1
= 0 ;
4296 PyObject
* obj2
= 0 ;
4297 PyObject
* obj3
= 0 ;
4298 PyObject
* obj4
= 0 ;
4299 PyObject
* obj5
= 0 ;
4300 PyObject
* obj6
= 0 ;
4302 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4308 arg2
= (int const) SWIG_AsInt(obj1
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 arg3
= wxString_in_helper(obj2
);
4312 if (arg3
== NULL
) SWIG_fail
;
4318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4328 arg6
= (long) SWIG_AsLong(obj5
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4333 arg7
= wxString_in_helper(obj6
);
4334 if (arg7
== NULL
) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4368 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxMiniFrame
*result
;
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (wxMiniFrame
*)new wxMiniFrame();
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4390 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4393 wxWindow
*arg2
= (wxWindow
*) 0 ;
4395 wxString
*arg4
= 0 ;
4396 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4397 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4398 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4399 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4400 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4401 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4402 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4404 bool temp4
= False
;
4407 bool temp8
= False
;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 PyObject
* obj2
= 0 ;
4411 PyObject
* obj3
= 0 ;
4412 PyObject
* obj4
= 0 ;
4413 PyObject
* obj5
= 0 ;
4414 PyObject
* obj6
= 0 ;
4415 PyObject
* obj7
= 0 ;
4417 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 arg3
= (int const) SWIG_AsInt(obj2
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 arg4
= wxString_in_helper(obj3
);
4429 if (arg4
== NULL
) SWIG_fail
;
4435 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4441 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4445 arg7
= (long) SWIG_AsLong(obj6
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4450 arg8
= wxString_in_helper(obj7
);
4451 if (arg8
== NULL
) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4487 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4490 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4492 return Py_BuildValue((char *)"");
4494 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxBitmap
*arg1
= 0 ;
4497 wxWindow
*arg2
= (wxWindow
*) 0 ;
4499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4503 long arg6
= (long) wxNO_BORDER
;
4504 wxSplashScreenWindow
*result
;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4509 PyObject
* obj2
= 0 ;
4510 PyObject
* obj3
= 0 ;
4511 PyObject
* obj4
= 0 ;
4512 PyObject
* obj5
= 0 ;
4514 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4522 PyErr_SetString(PyExc_TypeError
,"null reference");
4525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4527 arg3
= (int) SWIG_AsInt(obj2
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4542 arg6
= (long) SWIG_AsLong(obj5
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4559 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4562 wxBitmap
*arg2
= 0 ;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4566 (char *) "self",(char *) "bitmap", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4576 PyErr_SetString(PyExc_TypeError
,"null reference");
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 Py_INCREF(Py_None
); resultobj
= Py_None
;
4593 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4609 result
= (wxBitmap
*) &_result_ref
;
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 wxBitmap
* resultptr
= new wxBitmap(*result
);
4617 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4625 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4628 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4630 return Py_BuildValue((char *)"");
4632 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxBitmap
*arg1
= 0 ;
4637 wxWindow
*arg4
= (wxWindow
*) 0 ;
4639 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4640 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4641 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4642 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4643 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4644 wxSplashScreen
*result
;
4647 PyObject
* obj0
= 0 ;
4648 PyObject
* obj1
= 0 ;
4649 PyObject
* obj2
= 0 ;
4650 PyObject
* obj3
= 0 ;
4651 PyObject
* obj4
= 0 ;
4652 PyObject
* obj5
= 0 ;
4653 PyObject
* obj6
= 0 ;
4654 PyObject
* obj7
= 0 ;
4656 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4664 PyErr_SetString(PyExc_TypeError
,"null reference");
4667 arg2
= (long) SWIG_AsLong(obj1
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4669 arg3
= (int) SWIG_AsInt(obj2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4671 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4673 arg5
= (int) SWIG_AsInt(obj4
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4678 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4684 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4688 arg8
= (long) SWIG_AsLong(obj7
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4705 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4711 (char *) "self", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_FromLong((long)result
);
4731 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4733 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4734 wxSplashScreenWindow
*result
;
4735 PyObject
* obj0
= 0 ;
4737 (char *) "self", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4757 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4761 PyObject
* obj0
= 0 ;
4763 (char *) "self", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
4767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= SWIG_FromInt((int)result
);
4783 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
4785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4786 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
4788 return Py_BuildValue((char *)"");
4790 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxWindow
*arg1
= (wxWindow
*) 0 ;
4793 int arg2
= (int) -1 ;
4794 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
4795 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
4796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4797 wxStatusBar
*result
;
4798 bool temp4
= False
;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4801 PyObject
* obj2
= 0 ;
4802 PyObject
* obj3
= 0 ;
4804 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4811 arg2
= (int) SWIG_AsInt(obj1
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 arg3
= (long) SWIG_AsLong(obj2
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4820 arg4
= wxString_in_helper(obj3
);
4821 if (arg4
== NULL
) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= wxPyMake_wxObject(result
);
4849 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxStatusBar
*result
;
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (wxStatusBar
*)new wxStatusBar();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= wxPyMake_wxObject(result
);
4873 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4876 wxWindow
*arg2
= (wxWindow
*) 0 ;
4878 long arg4
= (long) wxST_SIZEGRIP
;
4879 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4880 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4882 bool temp5
= False
;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4885 PyObject
* obj2
= 0 ;
4886 PyObject
* obj3
= 0 ;
4887 PyObject
* obj4
= 0 ;
4889 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4897 arg3
= (int) SWIG_AsInt(obj2
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 arg4
= (long) SWIG_AsLong(obj3
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4905 arg5
= wxString_in_helper(obj4
);
4906 if (arg5
== NULL
) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4934 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4937 int arg2
= (int) 1 ;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4941 (char *) "self",(char *) "number", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
4945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4948 arg2
= (int) SWIG_AsInt(obj1
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 (arg1
)->SetFieldsCount(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4965 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
4976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_FromInt((int)result
);
4991 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
4994 wxString
*arg2
= 0 ;
4995 int arg3
= (int) 0 ;
4996 bool temp2
= False
;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
4999 PyObject
* obj2
= 0 ;
5001 (char *) "self",(char *) "text",(char *) "number", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 arg2
= wxString_in_helper(obj1
);
5009 if (arg2
== NULL
) SWIG_fail
;
5013 arg3
= (int) SWIG_AsInt(obj2
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 Py_INCREF(Py_None
); resultobj
= Py_None
;
5038 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5041 int arg2
= (int) 0 ;
5043 PyObject
* obj0
= 0 ;
5044 PyObject
* obj1
= 0 ;
5046 (char *) "self",(char *) "number", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5053 arg2
= (int) SWIG_AsInt(obj1
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5076 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5079 wxString
*arg2
= 0 ;
5080 int arg3
= (int) 0 ;
5081 bool temp2
= False
;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5086 (char *) "self",(char *) "text",(char *) "number", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 arg2
= wxString_in_helper(obj1
);
5094 if (arg2
== NULL
) SWIG_fail
;
5098 arg3
= (int) SWIG_AsInt(obj2
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5123 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
*resultobj
;
5125 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5126 int arg2
= (int) 0 ;
5127 PyObject
* obj0
= 0 ;
5128 PyObject
* obj1
= 0 ;
5130 (char *) "self",(char *) "number", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5137 arg2
= (int) SWIG_AsInt(obj1
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 (arg1
)->PopStatusText(arg2
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 Py_INCREF(Py_None
); resultobj
= Py_None
;
5154 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5158 int *arg3
= (int *) 0 ;
5159 PyObject
* obj0
= 0 ;
5160 PyObject
* obj1
= 0 ;
5162 (char *) "self",(char *) "widths", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5169 arg2
= PyList_Size(obj1
);
5170 arg3
= int_LIST_helper(obj1
);
5171 if (arg3
== NULL
) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 Py_INCREF(Py_None
); resultobj
= Py_None
;
5182 if (arg3
) delete [] arg3
;
5187 if (arg3
) delete [] arg3
;
5193 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5201 (char *) "self",(char *) "i", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 arg2
= (int) SWIG_AsInt(obj1
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5218 resultptr
= new wxRect((wxRect
&) result
);
5219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5227 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 (char *) "self",(char *) "height", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5240 arg2
= (int) SWIG_AsInt(obj1
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 (arg1
)->SetMinHeight(arg2
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 Py_INCREF(Py_None
); resultobj
= Py_None
;
5256 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "self", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_FromInt((int)result
);
5282 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_FromInt((int)result
);
5308 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5311 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5313 return Py_BuildValue((char *)"");
5315 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5316 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5321 static PyObject
*_wrap_SplitterNameStr_get() {
5326 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5328 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5335 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxWindow
*arg1
= (wxWindow
*) 0 ;
5338 int arg2
= (int) -1 ;
5339 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5340 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5341 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5342 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5343 long arg5
= (long) wxSP_3D
;
5344 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5345 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5346 wxSplitterWindow
*result
;
5349 bool temp6
= False
;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5352 PyObject
* obj2
= 0 ;
5353 PyObject
* obj3
= 0 ;
5354 PyObject
* obj4
= 0 ;
5355 PyObject
* obj5
= 0 ;
5357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5364 arg2
= (int) SWIG_AsInt(obj1
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5370 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5376 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5380 arg5
= (long) SWIG_AsLong(obj4
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5385 arg6
= wxString_in_helper(obj5
);
5386 if (arg6
== NULL
) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5412 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxSplitterWindow
*result
;
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5434 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5437 wxWindow
*arg2
= (wxWindow
*) 0 ;
5438 int arg3
= (int) -1 ;
5439 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5440 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5441 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5442 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5443 long arg6
= (long) wxSP_3D
;
5444 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5445 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5449 bool temp7
= False
;
5450 PyObject
* obj0
= 0 ;
5451 PyObject
* obj1
= 0 ;
5452 PyObject
* obj2
= 0 ;
5453 PyObject
* obj3
= 0 ;
5454 PyObject
* obj4
= 0 ;
5455 PyObject
* obj5
= 0 ;
5456 PyObject
* obj6
= 0 ;
5458 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 arg3
= (int) SWIG_AsInt(obj2
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5483 arg6
= (long) SWIG_AsLong(obj5
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5488 arg7
= wxString_in_helper(obj6
);
5489 if (arg7
== NULL
) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5517 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "self", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= wxPyMake_wxObject(result
);
5545 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= wxPyMake_wxObject(result
);
5573 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "mode", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5586 arg2
= (int) SWIG_AsInt(obj1
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 (arg1
)->SetSplitMode(arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 Py_INCREF(Py_None
); resultobj
= Py_None
;
5602 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5608 (char *) "self", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= SWIG_FromInt((int)result
);
5628 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5631 wxWindow
*arg2
= (wxWindow
*) 0 ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5635 (char *) "self",(char *) "window", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 (arg1
)->Initialize(arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5660 wxWindow
*arg2
= (wxWindow
*) 0 ;
5661 wxWindow
*arg3
= (wxWindow
*) 0 ;
5662 int arg4
= (int) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5669 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 arg4
= (int) SWIG_AsInt(obj3
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5699 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5702 wxWindow
*arg2
= (wxWindow
*) 0 ;
5703 wxWindow
*arg3
= (wxWindow
*) 0 ;
5704 int arg4
= (int) 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 PyObject
* obj2
= 0 ;
5709 PyObject
* obj3
= 0 ;
5711 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5719 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 arg4
= (int) SWIG_AsInt(obj3
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5741 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5744 wxWindow
*arg2
= (wxWindow
*) NULL
;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5749 (char *) "self",(char *) "toRemove", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (bool)(arg1
)->Unsplit(arg2
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5775 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5778 wxWindow
*arg2
= (wxWindow
*) 0 ;
5779 wxWindow
*arg3
= (wxWindow
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5783 PyObject
* obj2
= 0 ;
5785 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5811 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5816 (char *) "self", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->UpdateSize();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 Py_INCREF(Py_None
); resultobj
= Py_None
;
5836 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5840 PyObject
* obj0
= 0 ;
5842 (char *) "self", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5864 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5871 (char *) "self",(char *) "width", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 arg2
= (int) SWIG_AsInt(obj1
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetSashSize(arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 (char *) "self",(char *) "width", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5906 arg2
= (int) SWIG_AsInt(obj1
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 (arg1
)->SetBorderSize(arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5928 (char *) "self", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= SWIG_FromInt((int)result
);
5948 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5952 PyObject
* obj0
= 0 ;
5954 (char *) "self", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_FromInt((int)result
);
5974 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5978 bool arg3
= (bool) True
;
5979 PyObject
* obj0
= 0 ;
5980 PyObject
* obj1
= 0 ;
5981 PyObject
* obj2
= 0 ;
5983 (char *) "self",(char *) "position",(char *) "redraw", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5989 arg2
= (int) SWIG_AsInt(obj1
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 arg3
= (bool) SWIG_AsBool(obj2
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 (arg1
)->SetSashPosition(arg2
,arg3
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 Py_INCREF(Py_None
); resultobj
= Py_None
;
6009 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_FromInt((int)result
);
6035 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6040 PyObject
* obj1
= 0 ;
6042 (char *) "self",(char *) "min", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 arg2
= (int) SWIG_AsInt(obj1
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 (arg1
)->SetMinimumPaneSize(arg2
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 Py_INCREF(Py_None
); resultobj
= Py_None
;
6064 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6066 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6068 PyObject
* obj0
= 0 ;
6070 (char *) "self", NULL
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_FromInt((int)result
);
6090 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6095 int arg4
= (int) 5 ;
6097 PyObject
* obj0
= 0 ;
6098 PyObject
* obj1
= 0 ;
6099 PyObject
* obj2
= 0 ;
6100 PyObject
* obj3
= 0 ;
6102 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6108 arg2
= (int) SWIG_AsInt(obj1
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6110 arg3
= (int) SWIG_AsInt(obj2
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 arg4
= (int) SWIG_AsInt(obj3
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6132 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6137 (char *) "self", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 (arg1
)->SizeWindows();
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "needUpdating", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 arg2
= (bool) SWIG_AsBool(obj1
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetNeedUpdating(arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 Py_INCREF(Py_None
); resultobj
= Py_None
;
6186 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6192 (char *) "self", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6214 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6217 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6219 return Py_BuildValue((char *)"");
6221 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6224 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6225 wxSplitterEvent
*result
;
6226 PyObject
* obj0
= 0 ;
6227 PyObject
* obj1
= 0 ;
6229 (char *) "type",(char *) "splitter", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6234 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6255 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6262 (char *) "self",(char *) "pos", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 arg2
= (int) SWIG_AsInt(obj1
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 (arg1
)->SetSashPosition(arg2
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 Py_INCREF(Py_None
); resultobj
= Py_None
;
6284 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6290 (char *) "self", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= SWIG_FromInt((int)result
);
6310 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6314 PyObject
* obj0
= 0 ;
6316 (char *) "self", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= wxPyMake_wxObject(result
);
6338 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6342 PyObject
* obj0
= 0 ;
6344 (char *) "self", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= SWIG_FromInt((int)result
);
6364 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_FromInt((int)result
);
6390 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6393 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6395 return Py_BuildValue((char *)"");
6397 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6398 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6403 static PyObject
*_wrap_SashNameStr_get() {
6408 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6410 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6417 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6418 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6423 static PyObject
*_wrap_SashLayoutNameStr_get() {
6428 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6430 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6437 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxWindow
*arg1
= (wxWindow
*) 0 ;
6441 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6442 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6443 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6444 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6445 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6446 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6447 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6448 wxSashWindow
*result
;
6451 bool temp6
= False
;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6454 PyObject
* obj2
= 0 ;
6455 PyObject
* obj3
= 0 ;
6456 PyObject
* obj4
= 0 ;
6457 PyObject
* obj5
= 0 ;
6459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6465 arg2
= (int) SWIG_AsInt(obj1
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6480 arg5
= (long) SWIG_AsLong(obj4
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6485 arg6
= wxString_in_helper(obj5
);
6486 if (arg6
== NULL
) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6512 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxSashWindow
*result
;
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (wxSashWindow
*)new wxSashWindow();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6534 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6537 wxWindow
*arg2
= (wxWindow
*) 0 ;
6539 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6540 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6541 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6542 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6543 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6544 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6545 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6549 bool temp7
= False
;
6550 PyObject
* obj0
= 0 ;
6551 PyObject
* obj1
= 0 ;
6552 PyObject
* obj2
= 0 ;
6553 PyObject
* obj3
= 0 ;
6554 PyObject
* obj4
= 0 ;
6555 PyObject
* obj5
= 0 ;
6556 PyObject
* obj6
= 0 ;
6558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 arg3
= (int) SWIG_AsInt(obj2
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6581 arg6
= (long) SWIG_AsLong(obj5
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6586 arg7
= wxString_in_helper(obj6
);
6587 if (arg7
== NULL
) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6622 PyObject
* obj2
= 0 ;
6624 (char *) "self",(char *) "edge",(char *) "sash", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6632 arg3
= (bool) SWIG_AsBool(obj2
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 Py_INCREF(Py_None
); resultobj
= Py_None
;
6648 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6656 (char *) "self",(char *) "edge", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6662 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6680 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6689 (char *) "self",(char *) "edge",(char *) "border", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6697 arg3
= (bool) SWIG_AsBool(obj2
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 Py_INCREF(Py_None
); resultobj
= Py_None
;
6713 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6721 (char *) "self",(char *) "edge", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6727 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6745 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6753 (char *) "self",(char *) "edge", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6759 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_FromInt((int)result
);
6775 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6782 (char *) "self",(char *) "width", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6788 arg2
= (int) SWIG_AsInt(obj1
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 (arg1
)->SetDefaultBorderSize(arg2
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 Py_INCREF(Py_None
); resultobj
= Py_None
;
6804 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_FromInt((int)result
);
6830 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6834 PyObject
* obj0
= 0 ;
6835 PyObject
* obj1
= 0 ;
6837 (char *) "self",(char *) "width", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6843 arg2
= (int) SWIG_AsInt(obj1
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 (arg1
)->SetExtraBorderSize(arg2
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 Py_INCREF(Py_None
); resultobj
= Py_None
;
6859 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6865 (char *) "self", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_FromInt((int)result
);
6885 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6892 (char *) "self",(char *) "min", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
6896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6898 arg2
= (int) SWIG_AsInt(obj1
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 (arg1
)->SetMinimumSizeX(arg2
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 Py_INCREF(Py_None
); resultobj
= Py_None
;
6914 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6921 (char *) "self",(char *) "min", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
6925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6927 arg2
= (int) SWIG_AsInt(obj1
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 (arg1
)->SetMinimumSizeY(arg2
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 Py_INCREF(Py_None
); resultobj
= Py_None
;
6943 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "self", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_FromInt((int)result
);
6969 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_FromInt((int)result
);
6995 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7002 (char *) "self",(char *) "max", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 arg2
= (int) SWIG_AsInt(obj1
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 (arg1
)->SetMaximumSizeX(arg2
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 Py_INCREF(Py_None
); resultobj
= Py_None
;
7024 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7031 (char *) "self",(char *) "max", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 arg2
= (int) SWIG_AsInt(obj1
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->SetMaximumSizeY(arg2
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 Py_INCREF(Py_None
); resultobj
= Py_None
;
7053 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_FromInt((int)result
);
7079 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7085 (char *) "self", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_FromInt((int)result
);
7105 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7110 int arg4
= (int) 2 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7114 PyObject
* obj2
= 0 ;
7115 PyObject
* obj3
= 0 ;
7117 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7123 arg2
= (int) SWIG_AsInt(obj1
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7125 arg3
= (int) SWIG_AsInt(obj2
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 arg4
= (int) SWIG_AsInt(obj3
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_FromInt((int)result
);
7145 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7150 (char *) "self", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 (arg1
)->SizeWindows();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7170 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7173 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7175 return Py_BuildValue((char *)"");
7177 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 int arg1
= (int) 0 ;
7180 int arg2
= (int) wxSASH_NONE
;
7181 wxSashEvent
*result
;
7182 PyObject
* obj0
= 0 ;
7183 PyObject
* obj1
= 0 ;
7185 (char *) "id",(char *) "edge", NULL
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7190 arg1
= (int) SWIG_AsInt(obj0
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7194 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7211 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "edge", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7224 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 Py_INCREF(Py_None
); resultobj
= Py_None
;
7240 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7246 (char *) "self", NULL
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_FromInt((int)result
);
7266 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7268 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7274 (char *) "self",(char *) "rect", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 Py_INCREF(Py_None
); resultobj
= Py_None
;
7298 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7319 resultptr
= new wxRect((wxRect
&) result
);
7320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7328 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7335 (char *) "self",(char *) "status", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7363 (char *) "self", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= SWIG_FromInt((int)result
);
7383 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7386 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7388 return Py_BuildValue((char *)"");
7390 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 int arg1
= (int) 0 ;
7393 wxQueryLayoutInfoEvent
*result
;
7394 PyObject
* obj0
= 0 ;
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7401 arg1
= (int) SWIG_AsInt(obj0
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7418 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7422 PyObject
* obj0
= 0 ;
7423 PyObject
* obj1
= 0 ;
7425 (char *) "self",(char *) "length", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7431 arg2
= (int) SWIG_AsInt(obj1
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 (arg1
)->SetRequestedLength(arg2
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 Py_INCREF(Py_None
); resultobj
= Py_None
;
7447 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7453 (char *) "self", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= SWIG_FromInt((int)result
);
7473 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj1
= 0 ;
7480 (char *) "self",(char *) "flags", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 arg2
= (int) SWIG_AsInt(obj1
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 (arg1
)->SetFlags(arg2
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7502 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7506 PyObject
* obj0
= 0 ;
7508 (char *) "self", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_FromInt((int)result
);
7528 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7536 (char *) "self",(char *) "size", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7544 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 (arg1
)->SetSize((wxSize
const &)*arg2
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 Py_INCREF(Py_None
); resultobj
= Py_None
;
7560 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7564 PyObject
* obj0
= 0 ;
7566 (char *) "self", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7581 resultptr
= new wxSize((wxSize
&) result
);
7582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7590 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7597 (char *) "self",(char *) "orient", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7603 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7619 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7625 (char *) "self", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_FromInt((int)result
);
7645 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7652 (char *) "self",(char *) "align", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 Py_INCREF(Py_None
); resultobj
= Py_None
;
7674 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_FromInt((int)result
);
7700 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7703 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
7705 return Py_BuildValue((char *)"");
7707 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 int arg1
= (int) 0 ;
7710 wxCalculateLayoutEvent
*result
;
7711 PyObject
* obj0
= 0 ;
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
7718 arg1
= (int) SWIG_AsInt(obj0
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
7735 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7742 (char *) "self",(char *) "flags", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7748 arg2
= (int) SWIG_AsInt(obj1
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 (arg1
)->SetFlags(arg2
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 Py_INCREF(Py_None
); resultobj
= Py_None
;
7764 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7768 PyObject
* obj0
= 0 ;
7770 (char *) "self", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= SWIG_FromInt((int)result
);
7790 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "rect", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 (arg1
)->SetRect((wxRect
const &)*arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 Py_INCREF(Py_None
); resultobj
= Py_None
;
7822 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7828 (char *) "self", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
7832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
7833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7843 resultptr
= new wxRect((wxRect
&) result
);
7844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7852 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7855 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
7857 return Py_BuildValue((char *)"");
7859 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxWindow
*arg1
= (wxWindow
*) 0 ;
7863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7867 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7868 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
7869 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7870 wxSashLayoutWindow
*result
;
7873 bool temp6
= False
;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7876 PyObject
* obj2
= 0 ;
7877 PyObject
* obj3
= 0 ;
7878 PyObject
* obj4
= 0 ;
7879 PyObject
* obj5
= 0 ;
7881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7887 arg2
= (int) SWIG_AsInt(obj1
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7892 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7898 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7902 arg5
= (long) SWIG_AsLong(obj4
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7907 arg6
= wxString_in_helper(obj5
);
7908 if (arg6
== NULL
) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7934 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxSashLayoutWindow
*result
;
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
7956 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
7959 wxWindow
*arg2
= (wxWindow
*) 0 ;
7961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7965 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7966 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
7967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7971 bool temp7
= False
;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7974 PyObject
* obj2
= 0 ;
7975 PyObject
* obj3
= 0 ;
7976 PyObject
* obj4
= 0 ;
7977 PyObject
* obj5
= 0 ;
7978 PyObject
* obj6
= 0 ;
7980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
7985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7988 arg3
= (int) SWIG_AsInt(obj2
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7993 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7999 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8003 arg6
= (long) SWIG_AsLong(obj5
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8008 arg7
= wxString_in_helper(obj6
);
8009 if (arg7
== NULL
) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8037 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8043 (char *) "self", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (int)(arg1
)->GetAlignment();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= SWIG_FromInt((int)result
);
8063 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8067 PyObject
* obj0
= 0 ;
8069 (char *) "self", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (int)(arg1
)->GetOrientation();
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_FromInt((int)result
);
8089 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8094 PyObject
* obj1
= 0 ;
8096 (char *) "self",(char *) "alignment", NULL
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8102 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 Py_INCREF(Py_None
); resultobj
= Py_None
;
8118 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8126 (char *) "self",(char *) "size", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8150 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8157 (char *) "self",(char *) "orientation", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8163 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 Py_INCREF(Py_None
); resultobj
= Py_None
;
8179 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8182 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8184 return Py_BuildValue((char *)"");
8186 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxLayoutAlgorithm
*result
;
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8208 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8233 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8236 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8237 wxRect
*arg3
= (wxRect
*) NULL
;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 PyObject
* obj2
= 0 ;
8243 (char *) "self",(char *) "frame",(char *) "rect", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8252 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8271 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8274 wxFrame
*arg2
= (wxFrame
*) 0 ;
8275 wxWindow
*arg3
= (wxWindow
*) NULL
;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8279 PyObject
* obj2
= 0 ;
8281 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8290 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8312 wxWindow
*arg2
= (wxWindow
*) 0 ;
8313 wxWindow
*arg3
= (wxWindow
*) NULL
;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8317 PyObject
* obj2
= 0 ;
8319 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8347 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8350 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8352 return Py_BuildValue((char *)"");
8354 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxWindow
*arg1
= (wxWindow
*) 0 ;
8357 int arg2
= (int) wxBORDER_NONE
;
8358 wxPopupWindow
*result
;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8362 (char *) "parent",(char *) "flags", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8369 arg2
= (int) SWIG_AsInt(obj1
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8386 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
;
8388 wxPopupWindow
*result
;
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (wxPopupWindow
*)new wxPopupWindow();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8408 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8411 wxWindow
*arg2
= (wxWindow
*) 0 ;
8412 int arg3
= (int) wxBORDER_NONE
;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8416 PyObject
* obj2
= 0 ;
8418 (char *) "self",(char *) "parent",(char *) "flags", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 arg3
= (int) SWIG_AsInt(obj2
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8446 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8455 PyObject
* obj2
= 0 ;
8457 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8469 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8485 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8488 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8490 return Py_BuildValue((char *)"");
8492 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxWindow
*arg1
= (wxWindow
*) 0 ;
8495 int arg2
= (int) wxBORDER_NONE
;
8496 wxPyPopupTransientWindow
*result
;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8500 (char *) "parent",(char *) "style", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8507 arg2
= (int) SWIG_AsInt(obj1
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8524 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxPyPopupTransientWindow
*result
;
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8546 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8549 PyObject
*arg2
= (PyObject
*) 0 ;
8550 PyObject
*arg3
= (PyObject
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8553 PyObject
* obj2
= 0 ;
8555 (char *) "self",(char *) "self",(char *) "_class", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 Py_INCREF(Py_None
); resultobj
= Py_None
;
8577 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8580 wxWindow
*arg2
= (wxWindow
*) NULL
;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8584 (char *) "self",(char *) "focus", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 (arg1
)->Popup(arg2
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8608 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8611 PyObject
* obj0
= 0 ;
8613 (char *) "self", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 Py_INCREF(Py_None
); resultobj
= Py_None
;
8633 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8636 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8638 return Py_BuildValue((char *)"");
8640 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxWindow
*arg1
= (wxWindow
*) 0 ;
8643 wxString
*arg2
= 0 ;
8644 int arg3
= (int) 100 ;
8645 wxRect
*arg4
= (wxRect
*) NULL
;
8646 wxTipWindow
*result
;
8647 bool temp2
= False
;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8650 PyObject
* obj2
= 0 ;
8651 PyObject
* obj3
= 0 ;
8653 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 arg2
= wxString_in_helper(obj1
);
8661 if (arg2
== NULL
) SWIG_fail
;
8665 arg3
= (int) SWIG_AsInt(obj2
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8669 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
8694 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8702 (char *) "self",(char *) "rectBound", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8710 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 Py_INCREF(Py_None
); resultobj
= Py_None
;
8726 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
8736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8754 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
8756 return Py_BuildValue((char *)"");
8758 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxWindow
*arg1
= (wxWindow
*) 0 ;
8761 int arg2
= (int) wxID_ANY
;
8762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8766 long arg5
= (long) 0 ;
8767 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8769 wxPyVScrolledWindow
*result
;
8772 bool temp6
= False
;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8775 PyObject
* obj2
= 0 ;
8776 PyObject
* obj3
= 0 ;
8777 PyObject
* obj4
= 0 ;
8778 PyObject
* obj5
= 0 ;
8780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8787 arg2
= (int) SWIG_AsInt(obj1
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8793 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8799 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8803 arg5
= (long) SWIG_AsLong(obj4
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8808 arg6
= wxString_in_helper(obj5
);
8809 if (arg6
== NULL
) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8835 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxPyVScrolledWindow
*result
;
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
8857 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8860 PyObject
*arg2
= (PyObject
*) 0 ;
8861 PyObject
*arg3
= (PyObject
*) 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8866 (char *) "self",(char *) "self",(char *) "_class", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 Py_INCREF(Py_None
); resultobj
= Py_None
;
8888 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8891 wxWindow
*arg2
= (wxWindow
*) 0 ;
8892 int arg3
= (int) wxID_ANY
;
8893 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8894 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8895 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8896 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8897 long arg6
= (long) 0 ;
8898 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8899 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8903 bool temp7
= False
;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8906 PyObject
* obj2
= 0 ;
8907 PyObject
* obj3
= 0 ;
8908 PyObject
* obj4
= 0 ;
8909 PyObject
* obj5
= 0 ;
8910 PyObject
* obj6
= 0 ;
8912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 arg3
= (int) SWIG_AsInt(obj2
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8937 arg6
= (long) SWIG_AsLong(obj5
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8942 arg7
= wxString_in_helper(obj6
);
8943 if (arg7
== NULL
) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8971 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8978 (char *) "self",(char *) "count", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 (arg1
)->SetLineCount(arg2
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9000 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9008 (char *) "self",(char *) "line", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9014 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9032 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9040 (char *) "self",(char *) "lines", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9046 arg2
= (int) SWIG_AsInt(obj1
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (bool)(arg1
)->ScrollLines(arg2
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9064 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9072 (char *) "self",(char *) "pages", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9078 arg2
= (int) SWIG_AsInt(obj1
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (bool)(arg1
)->ScrollPages(arg2
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9103 (char *) "self",(char *) "line", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 (arg1
)->RefreshLine(arg2
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 Py_INCREF(Py_None
); resultobj
= Py_None
;
9125 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9131 PyObject
* obj1
= 0 ;
9132 PyObject
* obj2
= 0 ;
9134 (char *) "self",(char *) "from",(char *) "to", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9140 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9142 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 (arg1
)->RefreshLines(arg2
,arg3
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 Py_INCREF(Py_None
); resultobj
= Py_None
;
9158 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9166 PyObject
* obj2
= 0 ;
9168 (char *) "self",(char *) "x",(char *) "y", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9174 arg2
= (int) SWIG_AsInt(obj1
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9176 arg3
= (int) SWIG_AsInt(obj2
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_FromInt((int)result
);
9192 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9201 (char *) "self",(char *) "pt", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9209 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_FromInt((int)result
);
9225 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9228 PyObject
* obj0
= 0 ;
9230 (char *) "self", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->RefreshAll();
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 Py_INCREF(Py_None
); resultobj
= Py_None
;
9250 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9252 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9254 PyObject
* obj0
= 0 ;
9256 (char *) "self", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9276 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
;
9278 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9282 (char *) "self", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9302 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9328 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9334 PyObject
* obj1
= 0 ;
9336 (char *) "self",(char *) "line", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9360 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9363 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9365 return Py_BuildValue((char *)"");
9367 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9368 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9373 static PyObject
*_wrap_VListBoxNameStr_get() {
9378 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9380 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9387 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxWindow
*arg1
= (wxWindow
*) 0 ;
9390 int arg2
= (int) wxID_ANY
;
9391 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9392 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9393 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9394 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9395 long arg5
= (long) 0 ;
9396 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9397 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9398 wxPyVListBox
*result
;
9401 bool temp6
= False
;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9404 PyObject
* obj2
= 0 ;
9405 PyObject
* obj3
= 0 ;
9406 PyObject
* obj4
= 0 ;
9407 PyObject
* obj5
= 0 ;
9409 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9416 arg2
= (int) SWIG_AsInt(obj1
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9432 arg5
= (long) SWIG_AsLong(obj4
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9437 arg6
= wxString_in_helper(obj5
);
9438 if (arg6
== NULL
) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9464 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxPyVListBox
*result
;
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (wxPyVListBox
*)new wxPyVListBox();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9486 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9489 PyObject
*arg2
= (PyObject
*) 0 ;
9490 PyObject
*arg3
= (PyObject
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 PyObject
* obj2
= 0 ;
9495 (char *) "self",(char *) "self",(char *) "_class", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 Py_INCREF(Py_None
); resultobj
= Py_None
;
9517 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9520 wxWindow
*arg2
= (wxWindow
*) 0 ;
9521 int arg3
= (int) wxID_ANY
;
9522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9526 long arg6
= (long) 0 ;
9527 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9528 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9532 bool temp7
= False
;
9533 PyObject
* obj0
= 0 ;
9534 PyObject
* obj1
= 0 ;
9535 PyObject
* obj2
= 0 ;
9536 PyObject
* obj3
= 0 ;
9537 PyObject
* obj4
= 0 ;
9538 PyObject
* obj5
= 0 ;
9539 PyObject
* obj6
= 0 ;
9541 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9550 arg3
= (int) SWIG_AsInt(obj2
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9566 arg6
= (long) SWIG_AsLong(obj5
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9571 arg7
= wxString_in_helper(obj6
);
9572 if (arg7
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9600 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9606 (char *) "self", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9626 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 (char *) "self", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9654 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9658 PyObject
* obj0
= 0 ;
9660 (char *) "self", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_FromInt((int)result
);
9680 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9688 (char *) "self",(char *) "item", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9712 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9720 (char *) "self",(char *) "item", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9726 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9770 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9773 unsigned long *arg2
= 0 ;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9778 (char *) "self",(char *) "cookie", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetFirstSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9788 PyErr_SetString(PyExc_TypeError
,"null reference");
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (int)((wxPyVListBox
const *)arg1
)->GetFirstSelected(*arg2
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_FromInt((int)result
);
9805 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9808 unsigned long *arg2
= 0 ;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9813 (char *) "self",(char *) "cookie", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_long
,
9820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9823 PyErr_SetString(PyExc_TypeError
,"null reference");
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (int)((wxPyVListBox
const *)arg1
)->GetNextSelected(*arg2
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_FromInt((int)result
);
9840 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 wxPoint
* resultptr
;
9861 resultptr
= new wxPoint((wxPoint
&) result
);
9862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9870 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9874 PyObject
* obj0
= 0 ;
9876 (char *) "self", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
9880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
9886 result
= (wxColour
*) &_result_ref
;
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9899 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj1
= 0 ;
9906 (char *) "self",(char *) "count", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9912 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 (arg1
)->SetItemCount(arg2
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 Py_INCREF(Py_None
); resultobj
= Py_None
;
9928 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9933 (char *) "self", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
9937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 Py_INCREF(Py_None
); resultobj
= Py_None
;
9953 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9960 (char *) "self",(char *) "selection", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9966 arg2
= (int) SWIG_AsInt(obj1
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->SetSelection(arg2
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 Py_INCREF(Py_None
); resultobj
= Py_None
;
9982 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9986 bool arg3
= (bool) True
;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9990 PyObject
* obj2
= 0 ;
9992 (char *) "self",(char *) "item",(char *) "select", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 arg3
= (bool) SWIG_AsBool(obj2
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10020 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 PyObject
* obj2
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self",(char *) "from",(char *) "to", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10036 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10038 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10056 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self",(char *) "item", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 (arg1
)->Toggle(arg2
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 Py_INCREF(Py_None
); resultobj
= Py_None
;
10085 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (bool)(arg1
)->SelectAll();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10113 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10117 PyObject
* obj0
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 result
= (bool)(arg1
)->DeselectAll();
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10141 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10144 wxPoint
*arg2
= 0 ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "pt", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 Py_INCREF(Py_None
); resultobj
= Py_None
;
10173 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 PyObject
* obj2
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "x",(char *) "y", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10188 arg2
= (int) SWIG_AsInt(obj1
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10190 arg3
= (int) SWIG_AsInt(obj2
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 (arg1
)->SetMargins(arg2
,arg3
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 Py_INCREF(Py_None
); resultobj
= Py_None
;
10206 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10209 wxColour
*arg2
= 0 ;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self",(char *) "col", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10238 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10241 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10243 return Py_BuildValue((char *)"");
10245 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxWindow
*arg1
= (wxWindow
*) 0 ;
10248 int arg2
= (int) wxID_ANY
;
10249 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10250 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10251 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10252 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10253 long arg5
= (long) 0 ;
10254 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10255 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10256 wxPyHtmlListBox
*result
;
10259 bool temp6
= False
;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 PyObject
* obj2
= 0 ;
10263 PyObject
* obj3
= 0 ;
10264 PyObject
* obj4
= 0 ;
10265 PyObject
* obj5
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10274 arg2
= (int) SWIG_AsInt(obj1
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10280 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10286 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10290 arg5
= (long) SWIG_AsLong(obj4
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10295 arg6
= wxString_in_helper(obj5
);
10296 if (arg6
== NULL
) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10322 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxPyHtmlListBox
*result
;
10325 char *kwnames
[] = {
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10344 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10347 PyObject
*arg2
= (PyObject
*) 0 ;
10348 PyObject
*arg3
= (PyObject
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 PyObject
* obj2
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self",(char *) "self",(char *) "_class", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10378 wxWindow
*arg2
= (wxWindow
*) 0 ;
10379 int arg3
= (int) wxID_ANY
;
10380 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10381 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10382 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10383 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10384 long arg6
= (long) 0 ;
10385 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10386 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10390 bool temp7
= False
;
10391 PyObject
* obj0
= 0 ;
10392 PyObject
* obj1
= 0 ;
10393 PyObject
* obj2
= 0 ;
10394 PyObject
* obj3
= 0 ;
10395 PyObject
* obj4
= 0 ;
10396 PyObject
* obj5
= 0 ;
10397 PyObject
* obj6
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 arg3
= (int) SWIG_AsInt(obj2
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10424 arg6
= (long) SWIG_AsLong(obj5
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10429 arg7
= wxString_in_helper(obj6
);
10430 if (arg7
== NULL
) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10458 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 (arg1
)->RefreshAll();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self",(char *) "count", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 (arg1
)->SetItemCount(arg2
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 Py_INCREF(Py_None
); resultobj
= Py_None
;
10512 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10515 wxFileSystem
*result
;
10516 PyObject
* obj0
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10528 result
= (wxFileSystem
*) &_result_ref
;
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10541 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10544 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10546 return Py_BuildValue((char *)"");
10548 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxTaskBarIcon
*result
;
10551 char *kwnames
[] = {
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10570 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10573 PyObject
* obj0
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 Py_INCREF(Py_None
); resultobj
= Py_None
;
10595 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10598 PyObject
* obj0
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 wxTaskBarIcon_Destroy(arg1
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 Py_INCREF(Py_None
); resultobj
= Py_None
;
10620 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10624 PyObject
* obj0
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10648 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10676 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10680 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10681 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10683 bool temp3
= False
;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10697 if (arg2
== NULL
) {
10698 PyErr_SetString(PyExc_TypeError
,"null reference");
10703 arg3
= wxString_in_helper(obj2
);
10704 if (arg3
== NULL
) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10732 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 result
= (bool)(arg1
)->RemoveIcon();
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10760 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10763 wxMenu
*arg2
= (wxMenu
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "menu", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (bool)(arg1
)->PopupMenu(arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10792 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
10794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10795 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
10797 return Py_BuildValue((char *)"");
10799 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10802 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
10803 wxTaskBarIconEvent
*result
;
10804 PyObject
* obj0
= 0 ;
10805 PyObject
* obj1
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "evtType",(char *) "tbIcon", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10811 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
10829 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10832 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
10834 return Py_BuildValue((char *)"");
10836 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
10837 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
10842 static PyObject
*_wrap_FileSelectorPromptStr_get() {
10847 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10849 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
10856 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
10857 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
10862 static PyObject
*_wrap_DirSelectorPromptStr_get() {
10867 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10869 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
10876 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
10877 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
10882 static PyObject
*_wrap_DirDialogNameStr_get() {
10887 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10889 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
10896 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
10897 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
10902 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
10907 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10909 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
10916 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
10917 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
10922 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
10927 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10929 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
10936 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
10937 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
10942 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
10947 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10949 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
10956 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10958 wxColourData
*result
;
10959 char *kwnames
[] = {
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (wxColourData
*)new wxColourData();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
10978 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxColourData
*arg1
= (wxColourData
*) 0 ;
10981 PyObject
* obj0
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 Py_INCREF(Py_None
); resultobj
= Py_None
;
11003 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxColourData
*arg1
= (wxColourData
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (bool)(arg1
)->GetChooseFull();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11031 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxColourData
*arg1
= (wxColourData
*) 0 ;
11035 PyObject
* obj0
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 result
= (arg1
)->GetColour();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 wxColour
* resultptr
;
11052 resultptr
= new wxColour((wxColour
&) result
);
11053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11061 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxColourData
*arg1
= (wxColourData
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self",(char *) "i", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11075 arg2
= (int) SWIG_AsInt(obj1
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (arg1
)->GetCustomColour(arg2
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 wxColour
* resultptr
;
11086 resultptr
= new wxColour((wxColour
&) result
);
11087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11095 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxColourData
*arg1
= (wxColourData
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self",(char *) "flag", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11108 arg2
= (int) SWIG_AsInt(obj1
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 (arg1
)->SetChooseFull(arg2
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 Py_INCREF(Py_None
); resultobj
= Py_None
;
11124 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxColourData
*arg1
= (wxColourData
*) 0 ;
11127 wxColour
*arg2
= 0 ;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "self",(char *) "colour", NULL
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 (arg1
)->SetColour((wxColour
const &)*arg2
);
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 Py_INCREF(Py_None
); resultobj
= Py_None
;
11156 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxColourData
*arg1
= (wxColourData
*) 0 ;
11160 wxColour
*arg3
= 0 ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 PyObject
* obj2
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self",(char *) "i",(char *) "colour", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11172 arg2
= (int) SWIG_AsInt(obj1
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 Py_INCREF(Py_None
); resultobj
= Py_None
;
11192 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11195 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11197 return Py_BuildValue((char *)"");
11199 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxWindow
*arg1
= (wxWindow
*) 0 ;
11202 wxColourData
*arg2
= (wxColourData
*) NULL
;
11203 wxColourDialog
*result
;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "parent",(char *) "data", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11231 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11234 wxColourData
*result
;
11235 PyObject
* obj0
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11247 result
= (wxColourData
*) &_result_ref
;
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11260 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11263 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11265 return Py_BuildValue((char *)"");
11267 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxWindow
*arg1
= (wxWindow
*) 0 ;
11270 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11271 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11272 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11273 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11274 long arg4
= (long) 0 ;
11275 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11276 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11277 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11278 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11279 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11280 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11281 wxDirDialog
*result
;
11282 bool temp2
= False
;
11283 bool temp3
= False
;
11286 bool temp7
= False
;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 PyObject
* obj2
= 0 ;
11290 PyObject
* obj3
= 0 ;
11291 PyObject
* obj4
= 0 ;
11292 PyObject
* obj5
= 0 ;
11293 PyObject
* obj6
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11303 arg2
= wxString_in_helper(obj1
);
11304 if (arg2
== NULL
) SWIG_fail
;
11310 arg3
= wxString_in_helper(obj2
);
11311 if (arg3
== NULL
) SWIG_fail
;
11316 arg4
= (long) SWIG_AsLong(obj3
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11322 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11328 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11333 arg7
= wxString_in_helper(obj6
);
11334 if (arg7
== NULL
) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11376 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 char *kwnames
[] = {
11382 (char *) "self", NULL
11385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (arg1
)->GetPath();
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11408 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 result
= (arg1
)->GetMessage();
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11440 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (long)(arg1
)->GetStyle();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_FromLong((long)result
);
11466 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11469 wxString
*arg2
= 0 ;
11470 bool temp2
= False
;
11471 PyObject
* obj0
= 0 ;
11472 PyObject
* obj1
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self",(char *) "message", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11481 arg2
= wxString_in_helper(obj1
);
11482 if (arg2
== NULL
) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SetMessage((wxString
const &)*arg2
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11507 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11510 wxString
*arg2
= 0 ;
11511 bool temp2
= False
;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self",(char *) "path", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11522 arg2
= wxString_in_helper(obj1
);
11523 if (arg2
== NULL
) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 (arg1
)->SetPath((wxString
const &)*arg2
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 Py_INCREF(Py_None
); resultobj
= Py_None
;
11548 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11551 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11553 return Py_BuildValue((char *)"");
11555 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxWindow
*arg1
= (wxWindow
*) 0 ;
11558 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11559 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11560 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11562 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11563 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11564 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11565 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11566 long arg6
= (long) 0 ;
11567 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11568 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11569 wxFileDialog
*result
;
11570 bool temp2
= False
;
11571 bool temp3
= False
;
11572 bool temp4
= False
;
11573 bool temp5
= False
;
11575 PyObject
* obj0
= 0 ;
11576 PyObject
* obj1
= 0 ;
11577 PyObject
* obj2
= 0 ;
11578 PyObject
* obj3
= 0 ;
11579 PyObject
* obj4
= 0 ;
11580 PyObject
* obj5
= 0 ;
11581 PyObject
* obj6
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11591 arg2
= wxString_in_helper(obj1
);
11592 if (arg2
== NULL
) SWIG_fail
;
11598 arg3
= wxString_in_helper(obj2
);
11599 if (arg3
== NULL
) SWIG_fail
;
11605 arg4
= wxString_in_helper(obj3
);
11606 if (arg4
== NULL
) SWIG_fail
;
11612 arg5
= wxString_in_helper(obj4
);
11613 if (arg5
== NULL
) SWIG_fail
;
11618 arg6
= (long) SWIG_AsLong(obj5
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11624 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11673 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11676 wxString
*arg2
= 0 ;
11677 bool temp2
= False
;
11678 PyObject
* obj0
= 0 ;
11679 PyObject
* obj1
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "message", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11688 arg2
= wxString_in_helper(obj1
);
11689 if (arg2
== NULL
) SWIG_fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->SetMessage((wxString
const &)*arg2
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11717 wxString
*arg2
= 0 ;
11718 bool temp2
= False
;
11719 PyObject
* obj0
= 0 ;
11720 PyObject
* obj1
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self",(char *) "path", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11729 arg2
= wxString_in_helper(obj1
);
11730 if (arg2
== NULL
) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 (arg1
)->SetPath((wxString
const &)*arg2
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 Py_INCREF(Py_None
); resultobj
= Py_None
;
11755 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11758 wxString
*arg2
= 0 ;
11759 bool temp2
= False
;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self",(char *) "dir", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
11767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11770 arg2
= wxString_in_helper(obj1
);
11771 if (arg2
== NULL
) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 (arg1
)->SetDirectory((wxString
const &)*arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 Py_INCREF(Py_None
); resultobj
= Py_None
;
11796 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11799 wxString
*arg2
= 0 ;
11800 bool temp2
= False
;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "name", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11811 arg2
= wxString_in_helper(obj1
);
11812 if (arg2
== NULL
) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 (arg1
)->SetFilename((wxString
const &)*arg2
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 Py_INCREF(Py_None
); resultobj
= Py_None
;
11837 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11839 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11840 wxString
*arg2
= 0 ;
11841 bool temp2
= False
;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self",(char *) "wildCard", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11852 arg2
= wxString_in_helper(obj1
);
11853 if (arg2
== NULL
) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->SetWildcard((wxString
const &)*arg2
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 Py_INCREF(Py_None
); resultobj
= Py_None
;
11878 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self",(char *) "style", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11891 arg2
= (long) SWIG_AsLong(obj1
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 (arg1
)->SetStyle(arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "filterIndex", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 arg2
= (int) SWIG_AsInt(obj1
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetFilterIndex(arg2
);
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 Py_INCREF(Py_None
); resultobj
= Py_None
;
11936 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
;
11938 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11940 PyObject
* obj0
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "self", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11968 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11972 PyObject
* obj0
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= ((wxFileDialog
const *)arg1
)->GetPath();
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12000 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "self", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12032 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
;
12034 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12036 PyObject
* obj0
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12064 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12096 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= SWIG_FromLong((long)result
);
12122 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= SWIG_FromInt((int)result
);
12148 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
;
12150 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12152 PyObject
* obj0
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "self", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= result
;
12174 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= result
;
12200 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12203 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12205 return Py_BuildValue((char *)"");
12207 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxWindow
*arg1
= (wxWindow
*) 0 ;
12210 wxString
*arg2
= 0 ;
12211 wxString
*arg3
= 0 ;
12212 int arg4
= (int) 0 ;
12213 wxString
*arg5
= (wxString
*) 0 ;
12214 long arg6
= (long) wxCHOICEDLG_STYLE
;
12215 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12216 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12217 wxMultiChoiceDialog
*result
;
12218 bool temp2
= False
;
12219 bool temp3
= False
;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 PyObject
* obj2
= 0 ;
12224 PyObject
* obj3
= 0 ;
12225 PyObject
* obj4
= 0 ;
12226 PyObject
* obj5
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 arg2
= wxString_in_helper(obj1
);
12236 if (arg2
== NULL
) SWIG_fail
;
12240 arg3
= wxString_in_helper(obj2
);
12241 if (arg3
== NULL
) SWIG_fail
;
12246 arg4
= PyList_Size(obj3
);
12247 arg5
= wxString_LIST_helper(obj3
);
12248 if (arg5
== NULL
) SWIG_fail
;
12252 arg6
= (long) SWIG_AsLong(obj4
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12258 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12278 if (arg5
) delete [] arg5
;
12291 if (arg5
) delete [] arg5
;
12297 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12300 wxArrayInt
*arg2
= 0 ;
12301 bool temp2
= False
;
12302 PyObject
* obj0
= 0 ;
12303 PyObject
* obj1
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self",(char *) "selections", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 if (! PySequence_Check(obj1
)) {
12313 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12316 arg2
= new wxArrayInt
;
12318 int i
, len
=PySequence_Length(obj1
);
12319 for (i
=0; i
<len
; i
++) {
12320 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12321 PyObject
* number
= PyNumber_Int(item
);
12322 arg2
->Add(PyInt_AS_LONG(number
));
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 Py_INCREF(Py_None
); resultobj
= Py_None
;
12336 if (temp2
) delete arg2
;
12341 if (temp2
) delete arg2
;
12347 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= result
;
12373 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12376 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12378 return Py_BuildValue((char *)"");
12380 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxWindow
*arg1
= (wxWindow
*) 0 ;
12383 wxString
*arg2
= 0 ;
12384 wxString
*arg3
= 0 ;
12386 wxString
*arg5
= (wxString
*) 0 ;
12387 long arg6
= (long) wxCHOICEDLG_STYLE
;
12388 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12389 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12390 wxSingleChoiceDialog
*result
;
12391 bool temp2
= False
;
12392 bool temp3
= False
;
12394 PyObject
* obj0
= 0 ;
12395 PyObject
* obj1
= 0 ;
12396 PyObject
* obj2
= 0 ;
12397 PyObject
* obj3
= 0 ;
12398 PyObject
* obj4
= 0 ;
12399 PyObject
* obj5
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 arg2
= wxString_in_helper(obj1
);
12409 if (arg2
== NULL
) SWIG_fail
;
12413 arg3
= wxString_in_helper(obj2
);
12414 if (arg3
== NULL
) SWIG_fail
;
12418 arg4
= PyList_Size(obj3
);
12419 arg5
= wxString_LIST_helper(obj3
);
12420 if (arg5
== NULL
) SWIG_fail
;
12423 arg6
= (long) SWIG_AsLong(obj4
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12429 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12449 if (arg5
) delete [] arg5
;
12462 if (arg5
) delete [] arg5
;
12468 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (int)(arg1
)->GetSelection();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_FromInt((int)result
);
12494 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (arg1
)->GetStringSelection();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12526 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "sel", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 arg2
= (int) SWIG_AsInt(obj1
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 (arg1
)->SetSelection(arg2
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 Py_INCREF(Py_None
); resultobj
= Py_None
;
12555 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12558 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12560 return Py_BuildValue((char *)"");
12562 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxWindow
*arg1
= (wxWindow
*) 0 ;
12565 wxString
*arg2
= 0 ;
12566 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12567 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12568 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12569 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12570 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12571 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12572 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12573 wxTextEntryDialog
*result
;
12574 bool temp2
= False
;
12575 bool temp3
= False
;
12576 bool temp4
= False
;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 PyObject
* obj2
= 0 ;
12581 PyObject
* obj3
= 0 ;
12582 PyObject
* obj4
= 0 ;
12583 PyObject
* obj5
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 arg2
= wxString_in_helper(obj1
);
12593 if (arg2
== NULL
) SWIG_fail
;
12598 arg3
= wxString_in_helper(obj2
);
12599 if (arg3
== NULL
) SWIG_fail
;
12605 arg4
= wxString_in_helper(obj3
);
12606 if (arg4
== NULL
) SWIG_fail
;
12611 arg5
= (long) SWIG_AsLong(obj4
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12617 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12658 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (arg1
)->GetValue();
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12690 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12693 wxString
*arg2
= 0 ;
12694 bool temp2
= False
;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self",(char *) "value", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12705 arg2
= wxString_in_helper(obj1
);
12706 if (arg2
== NULL
) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 (arg1
)->SetValue((wxString
const &)*arg2
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 Py_INCREF(Py_None
); resultobj
= Py_None
;
12731 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12734 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
12736 return Py_BuildValue((char *)"");
12738 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFontData
*result
;
12741 char *kwnames
[] = {
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (wxFontData
*)new wxFontData();
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
12760 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxFontData
*arg1
= (wxFontData
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 Py_INCREF(Py_None
); resultobj
= Py_None
;
12785 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxFontData
*arg1
= (wxFontData
*) 0 ;
12789 PyObject
* obj0
= 0 ;
12790 PyObject
* obj1
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self",(char *) "enable", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
12796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12798 arg2
= (bool) SWIG_AsBool(obj1
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 (arg1
)->EnableEffects(arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 Py_INCREF(Py_None
); resultobj
= Py_None
;
12814 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxFontData
*arg1
= (wxFontData
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (bool)(arg1
)->GetAllowSymbols();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12842 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxFontData
*arg1
= (wxFontData
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (arg1
)->GetColour();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 wxColour
* resultptr
;
12863 resultptr
= new wxColour((wxColour
&) result
);
12864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12872 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxFontData
*arg1
= (wxFontData
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 result
= (arg1
)->GetChosenFont();
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12892 wxFont
* resultptr
;
12893 resultptr
= new wxFont((wxFont
&) result
);
12894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12902 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12904 wxFontData
*arg1
= (wxFontData
*) 0 ;
12906 PyObject
* obj0
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
12912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (bool)(arg1
)->GetEnableEffects();
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12930 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxFontData
*arg1
= (wxFontData
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 result
= (arg1
)->GetInitialFont();
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12950 wxFont
* resultptr
;
12951 resultptr
= new wxFont((wxFont
&) result
);
12952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12960 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxFontData
*arg1
= (wxFontData
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
12971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (bool)(arg1
)->GetShowHelp();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12988 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxFontData
*arg1
= (wxFontData
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 PyObject
* obj1
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self",(char *) "allowSymbols", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 arg2
= (bool) SWIG_AsBool(obj1
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 (arg1
)->SetAllowSymbols(arg2
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 Py_INCREF(Py_None
); resultobj
= Py_None
;
13017 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxFontData
*arg1
= (wxFontData
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self",(char *) "font", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13033 if (arg2
== NULL
) {
13034 PyErr_SetString(PyExc_TypeError
,"null reference");
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 Py_INCREF(Py_None
); resultobj
= Py_None
;
13051 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxFontData
*arg1
= (wxFontData
*) 0 ;
13054 wxColour
*arg2
= 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "colour", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 (arg1
)->SetColour((wxColour
const &)*arg2
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxFontData
*arg1
= (wxFontData
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self",(char *) "font", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13099 if (arg2
== NULL
) {
13100 PyErr_SetString(PyExc_TypeError
,"null reference");
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 Py_INCREF(Py_None
); resultobj
= Py_None
;
13117 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxFontData
*arg1
= (wxFontData
*) 0 ;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 PyObject
* obj2
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self",(char *) "min",(char *) "max", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13132 arg2
= (int) SWIG_AsInt(obj1
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13134 arg3
= (int) SWIG_AsInt(obj2
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->SetRange(arg2
,arg3
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13150 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxFontData
*arg1
= (wxFontData
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "showHelp", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13163 arg2
= (bool) SWIG_AsBool(obj1
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 (arg1
)->SetShowHelp(arg2
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 Py_INCREF(Py_None
); resultobj
= Py_None
;
13179 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13182 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13184 return Py_BuildValue((char *)"");
13186 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxWindow
*arg1
= (wxWindow
*) 0 ;
13189 wxFontData
*arg2
= 0 ;
13190 wxFontDialog
*result
;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "parent",(char *) "data", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13203 if (arg2
== NULL
) {
13204 PyErr_SetString(PyExc_TypeError
,"null reference");
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13221 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13224 wxFontData
*result
;
13225 PyObject
* obj0
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13237 result
= (wxFontData
*) &_result_ref
;
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13250 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13253 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13255 return Py_BuildValue((char *)"");
13257 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxWindow
*arg1
= (wxWindow
*) 0 ;
13260 wxString
*arg2
= 0 ;
13261 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13263 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13264 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13265 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13266 wxMessageDialog
*result
;
13267 bool temp2
= False
;
13268 bool temp3
= False
;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 PyObject
* obj2
= 0 ;
13273 PyObject
* obj3
= 0 ;
13274 PyObject
* obj4
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= wxString_in_helper(obj1
);
13284 if (arg2
== NULL
) SWIG_fail
;
13289 arg3
= wxString_in_helper(obj2
);
13290 if (arg3
== NULL
) SWIG_fail
;
13295 arg4
= (long) SWIG_AsLong(obj3
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13301 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13334 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13337 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13339 return Py_BuildValue((char *)"");
13341 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxString
*arg1
= 0 ;
13344 wxString
*arg2
= 0 ;
13345 int arg3
= (int) 100 ;
13346 wxWindow
*arg4
= (wxWindow
*) NULL
;
13347 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13348 wxProgressDialog
*result
;
13349 bool temp1
= False
;
13350 bool temp2
= False
;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 PyObject
* obj3
= 0 ;
13355 PyObject
* obj4
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13362 arg1
= wxString_in_helper(obj0
);
13363 if (arg1
== NULL
) SWIG_fail
;
13367 arg2
= wxString_in_helper(obj1
);
13368 if (arg2
== NULL
) SWIG_fail
;
13372 arg3
= (int) SWIG_AsInt(obj2
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13376 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13380 arg5
= (int) SWIG_AsInt(obj4
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13413 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13417 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13418 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13420 bool temp3
= False
;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 PyObject
* obj2
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13431 arg2
= (int) SWIG_AsInt(obj1
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13435 arg3
= wxString_in_helper(obj2
);
13436 if (arg3
== NULL
) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13464 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 Py_INCREF(Py_None
); resultobj
= Py_None
;
13489 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13492 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13494 return Py_BuildValue((char *)"");
13496 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13499 int arg2
= (int) 0 ;
13500 wxFindDialogEvent
*result
;
13501 PyObject
* obj0
= 0 ;
13502 PyObject
* obj1
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "commandType",(char *) "id", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13509 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13513 arg2
= (int) SWIG_AsInt(obj1
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13530 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (int)(arg1
)->GetFlags();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_FromInt((int)result
);
13556 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 wxString
const &_result_ref
= (arg1
)->GetFindString();
13572 result
= (wxString
*) &_result_ref
;
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13582 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13591 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13607 result
= (wxString
*) &_result_ref
;
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13617 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13626 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13629 wxFindReplaceDialog
*result
;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13652 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self",(char *) "flags", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 arg2
= (int) SWIG_AsInt(obj1
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 (arg1
)->SetFlags(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 Py_INCREF(Py_None
); resultobj
= Py_None
;
13681 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13684 wxString
*arg2
= 0 ;
13685 bool temp2
= False
;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self",(char *) "str", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 arg2
= wxString_in_helper(obj1
);
13697 if (arg2
== NULL
) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->SetFindString((wxString
const &)*arg2
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 Py_INCREF(Py_None
); resultobj
= Py_None
;
13722 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13725 wxString
*arg2
= 0 ;
13726 bool temp2
= False
;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self",(char *) "str", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 arg2
= wxString_in_helper(obj1
);
13738 if (arg2
== NULL
) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 Py_INCREF(Py_None
); resultobj
= Py_None
;
13763 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13766 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
13768 return Py_BuildValue((char *)"");
13770 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 int arg1
= (int) 0 ;
13773 wxFindReplaceData
*result
;
13774 PyObject
* obj0
= 0 ;
13775 char *kwnames
[] = {
13776 (char *) "flags", NULL
13779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13781 arg1
= (int) SWIG_AsInt(obj0
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
13798 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
;
13800 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "self", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 Py_INCREF(Py_None
); resultobj
= Py_None
;
13823 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 wxString
const &_result_ref
= (arg1
)->GetFindString();
13839 result
= (wxString
*) &_result_ref
;
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13849 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13858 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13874 result
= (wxString
*) &_result_ref
;
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13884 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13893 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "self", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 result
= (int)(arg1
)->GetFlags();
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_FromInt((int)result
);
13919 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
;
13921 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self",(char *) "flags", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13932 arg2
= (int) SWIG_AsInt(obj1
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 (arg1
)->SetFlags(arg2
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 Py_INCREF(Py_None
); resultobj
= Py_None
;
13948 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13951 wxString
*arg2
= 0 ;
13952 bool temp2
= False
;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self",(char *) "str", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
13961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13963 arg2
= wxString_in_helper(obj1
);
13964 if (arg2
== NULL
) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 (arg1
)->SetFindString((wxString
const &)*arg2
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 Py_INCREF(Py_None
); resultobj
= Py_None
;
13989 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
13992 wxString
*arg2
= 0 ;
13993 bool temp2
= False
;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self",(char *) "str", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14004 arg2
= wxString_in_helper(obj1
);
14005 if (arg2
== NULL
) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 Py_INCREF(Py_None
); resultobj
= Py_None
;
14030 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14033 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14035 return Py_BuildValue((char *)"");
14037 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxWindow
*arg1
= (wxWindow
*) 0 ;
14040 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14041 wxString
*arg3
= 0 ;
14042 int arg4
= (int) 0 ;
14043 wxFindReplaceDialog
*result
;
14044 bool temp3
= False
;
14045 PyObject
* obj0
= 0 ;
14046 PyObject
* obj1
= 0 ;
14047 PyObject
* obj2
= 0 ;
14048 PyObject
* obj3
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14059 arg3
= wxString_in_helper(obj2
);
14060 if (arg3
== NULL
) SWIG_fail
;
14064 arg4
= (int) SWIG_AsInt(obj3
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14089 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxFindReplaceDialog
*result
;
14092 char *kwnames
[] = {
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14111 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
;
14113 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14114 wxWindow
*arg2
= (wxWindow
*) 0 ;
14115 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14116 wxString
*arg4
= 0 ;
14117 int arg5
= (int) 0 ;
14119 bool temp4
= False
;
14120 PyObject
* obj0
= 0 ;
14121 PyObject
* obj1
= 0 ;
14122 PyObject
* obj2
= 0 ;
14123 PyObject
* obj3
= 0 ;
14124 PyObject
* obj4
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14134 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 arg4
= wxString_in_helper(obj3
);
14138 if (arg4
== NULL
) SWIG_fail
;
14142 arg5
= (int) SWIG_AsInt(obj4
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14169 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14172 wxFindReplaceData
*result
;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14195 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14198 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14199 PyObject
* obj0
= 0 ;
14200 PyObject
* obj1
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self",(char *) "data", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 (arg1
)->SetData(arg2
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 Py_INCREF(Py_None
); resultobj
= Py_None
;
14224 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14227 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14229 return Py_BuildValue((char *)"");
14231 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxWindow
*arg1
= (wxWindow
*) 0 ;
14235 wxString
*arg3
= 0 ;
14236 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14237 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14238 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14239 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14240 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14241 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14243 wxMDIParentFrame
*result
;
14244 bool temp3
= False
;
14247 bool temp7
= False
;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 PyObject
* obj2
= 0 ;
14251 PyObject
* obj3
= 0 ;
14252 PyObject
* obj4
= 0 ;
14253 PyObject
* obj5
= 0 ;
14254 PyObject
* obj6
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 arg2
= (int const) SWIG_AsInt(obj1
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 arg3
= wxString_in_helper(obj2
);
14266 if (arg3
== NULL
) SWIG_fail
;
14272 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14278 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14282 arg6
= (long) SWIG_AsLong(obj5
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14287 arg7
= wxString_in_helper(obj6
);
14288 if (arg7
== NULL
) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14322 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxMDIParentFrame
*result
;
14325 char *kwnames
[] = {
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14344 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14347 wxWindow
*arg2
= (wxWindow
*) 0 ;
14349 wxString
*arg4
= 0 ;
14350 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14351 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14352 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14353 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14354 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14355 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14356 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14358 bool temp4
= False
;
14361 bool temp8
= False
;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 PyObject
* obj2
= 0 ;
14365 PyObject
* obj3
= 0 ;
14366 PyObject
* obj4
= 0 ;
14367 PyObject
* obj5
= 0 ;
14368 PyObject
* obj6
= 0 ;
14369 PyObject
* obj7
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 arg3
= (int const) SWIG_AsInt(obj2
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 arg4
= wxString_in_helper(obj3
);
14383 if (arg4
== NULL
) SWIG_fail
;
14389 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14395 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14399 arg7
= (long) SWIG_AsLong(obj6
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14404 arg8
= wxString_in_helper(obj7
);
14405 if (arg8
== NULL
) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14441 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 (arg1
)->ActivateNext();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 Py_INCREF(Py_None
); resultobj
= Py_None
;
14466 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 (arg1
)->ActivatePrevious();
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 Py_INCREF(Py_None
); resultobj
= Py_None
;
14491 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->ArrangeIcons();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 Py_INCREF(Py_None
); resultobj
= Py_None
;
14516 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 Py_INCREF(Py_None
); resultobj
= Py_None
;
14541 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14544 wxMDIChildFrame
*result
;
14545 PyObject
* obj0
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= wxPyMake_wxObject(result
);
14569 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14572 wxMDIClientWindow
*result
;
14573 PyObject
* obj0
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= wxPyMake_wxObject(result
);
14597 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14601 PyObject
* obj0
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (wxWindow
*)(arg1
)->GetToolBar();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= wxPyMake_wxObject(result
);
14625 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14628 PyObject
* obj0
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 Py_INCREF(Py_None
); resultobj
= Py_None
;
14650 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14653 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14655 return Py_BuildValue((char *)"");
14657 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14661 wxString
*arg3
= 0 ;
14662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14666 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14667 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14668 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14669 wxMDIChildFrame
*result
;
14670 bool temp3
= False
;
14673 bool temp7
= False
;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 PyObject
* obj2
= 0 ;
14677 PyObject
* obj3
= 0 ;
14678 PyObject
* obj4
= 0 ;
14679 PyObject
* obj5
= 0 ;
14680 PyObject
* obj6
= 0 ;
14681 char *kwnames
[] = {
14682 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14688 arg2
= (int const) SWIG_AsInt(obj1
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 arg3
= wxString_in_helper(obj2
);
14692 if (arg3
== NULL
) SWIG_fail
;
14698 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14704 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14708 arg6
= (long) SWIG_AsLong(obj5
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14713 arg7
= wxString_in_helper(obj6
);
14714 if (arg7
== NULL
) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= wxPyMake_wxObject(result
);
14750 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxMDIChildFrame
*result
;
14753 char *kwnames
[] = {
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= wxPyMake_wxObject(result
);
14774 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14777 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
14779 wxString
*arg4
= 0 ;
14780 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14781 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14782 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14783 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14784 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
14785 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14786 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14788 bool temp4
= False
;
14791 bool temp8
= False
;
14792 PyObject
* obj0
= 0 ;
14793 PyObject
* obj1
= 0 ;
14794 PyObject
* obj2
= 0 ;
14795 PyObject
* obj3
= 0 ;
14796 PyObject
* obj4
= 0 ;
14797 PyObject
* obj5
= 0 ;
14798 PyObject
* obj6
= 0 ;
14799 PyObject
* obj7
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 arg3
= (int const) SWIG_AsInt(obj2
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 arg4
= wxString_in_helper(obj3
);
14813 if (arg4
== NULL
) SWIG_fail
;
14819 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14825 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14829 arg7
= (long) SWIG_AsLong(obj6
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14834 arg8
= wxString_in_helper(obj7
);
14835 if (arg8
== NULL
) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14871 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 (arg1
)->Activate();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 Py_INCREF(Py_None
); resultobj
= Py_None
;
14896 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 PyObject
* obj1
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self",(char *) "maximize", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14909 arg2
= (bool) SWIG_AsBool(obj1
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 (arg1
)->Maximize(arg2
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 Py_INCREF(Py_None
); resultobj
= Py_None
;
14925 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
14935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 Py_INCREF(Py_None
); resultobj
= Py_None
;
14950 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14953 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
14955 return Py_BuildValue((char *)"");
14957 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14960 long arg2
= (long) 0 ;
14961 wxMDIClientWindow
*result
;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "parent",(char *) "style", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 arg2
= (long) SWIG_AsLong(obj1
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= wxPyMake_wxObject(result
);
14991 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxMDIClientWindow
*result
;
14994 char *kwnames
[] = {
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= wxPyMake_wxObject(result
);
15015 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15018 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15019 long arg3
= (long) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 PyObject
* obj2
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "parent",(char *) "style", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15034 arg3
= (long) SWIG_AsLong(obj2
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15053 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15056 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15058 return Py_BuildValue((char *)"");
15060 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxWindow
*arg1
= (wxWindow
*) 0 ;
15064 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15065 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15066 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15067 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15068 long arg5
= (long) 0 ;
15069 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15070 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15071 wxPyWindow
*result
;
15074 bool temp6
= False
;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 PyObject
* obj2
= 0 ;
15078 PyObject
* obj3
= 0 ;
15079 PyObject
* obj4
= 0 ;
15080 PyObject
* obj5
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15088 arg2
= (int const) SWIG_AsInt(obj1
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15093 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15099 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15103 arg5
= (long) SWIG_AsLong(obj4
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15108 arg6
= wxString_in_helper(obj5
);
15109 if (arg6
== NULL
) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15135 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxPyWindow
*result
;
15138 char *kwnames
[] = {
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (wxPyWindow
*)new wxPyWindow();
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15157 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15160 PyObject
*arg2
= (PyObject
*) 0 ;
15161 PyObject
*arg3
= (PyObject
*) 0 ;
15162 PyObject
* obj0
= 0 ;
15163 PyObject
* obj1
= 0 ;
15164 PyObject
* obj2
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "self",(char *) "_class", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 PyObject
* obj2
= 0 ;
15198 PyObject
* obj3
= 0 ;
15199 PyObject
* obj4
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15207 arg2
= (int) SWIG_AsInt(obj1
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15209 arg3
= (int) SWIG_AsInt(obj2
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15211 arg4
= (int) SWIG_AsInt(obj3
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15213 arg5
= (int) SWIG_AsInt(obj4
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 Py_INCREF(Py_None
); resultobj
= Py_None
;
15229 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15236 int arg6
= (int) wxSIZE_AUTO
;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 PyObject
* obj2
= 0 ;
15240 PyObject
* obj3
= 0 ;
15241 PyObject
* obj4
= 0 ;
15242 PyObject
* obj5
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 arg2
= (int) SWIG_AsInt(obj1
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15252 arg3
= (int) SWIG_AsInt(obj2
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15254 arg4
= (int) SWIG_AsInt(obj3
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15256 arg5
= (int) SWIG_AsInt(obj4
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 arg6
= (int) SWIG_AsInt(obj5
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 PyObject
* obj1
= 0 ;
15283 PyObject
* obj2
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self",(char *) "width",(char *) "height", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15291 arg2
= (int) SWIG_AsInt(obj1
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15293 arg3
= (int) SWIG_AsInt(obj2
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 Py_INCREF(Py_None
); resultobj
= Py_None
;
15309 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15314 PyObject
* obj0
= 0 ;
15315 PyObject
* obj1
= 0 ;
15316 PyObject
* obj2
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self",(char *) "x",(char *) "y", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15324 arg2
= (int) SWIG_AsInt(obj1
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15326 arg3
= (int) SWIG_AsInt(obj2
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 Py_INCREF(Py_None
); resultobj
= Py_None
;
15342 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15345 int *arg2
= (int *) 0 ;
15346 int *arg3
= (int *) 0 ;
15349 PyObject
* obj0
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 Py_INCREF(Py_None
); resultobj
= Py_None
;
15368 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15369 resultobj
= t_output_helper(resultobj
,o
);
15372 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15373 resultobj
= t_output_helper(resultobj
,o
);
15381 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15384 int *arg2
= (int *) 0 ;
15385 int *arg3
= (int *) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 Py_INCREF(Py_None
); resultobj
= Py_None
;
15407 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15408 resultobj
= t_output_helper(resultobj
,o
);
15411 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15412 resultobj
= t_output_helper(resultobj
,o
);
15420 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15423 int *arg2
= (int *) 0 ;
15424 int *arg3
= (int *) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 Py_INCREF(Py_None
); resultobj
= Py_None
;
15446 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15447 resultobj
= t_output_helper(resultobj
,o
);
15450 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15451 resultobj
= t_output_helper(resultobj
,o
);
15459 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 wxSize
* resultptr
;
15480 resultptr
= new wxSize((wxSize
&) result
);
15481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15489 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15509 wxSize
* resultptr
;
15510 resultptr
= new wxSize((wxSize
&) result
);
15511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15519 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 (arg1
)->base_InitDialog();
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 Py_INCREF(Py_None
); resultobj
= Py_None
;
15544 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (bool)(arg1
)->base_TransferDataToWindow();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15572 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15576 PyObject
* obj0
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15600 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (bool)(arg1
)->base_Validate();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15628 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15656 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15684 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 wxSize
* resultptr
;
15705 resultptr
= new wxSize((wxSize
&) result
);
15706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15714 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15717 wxWindow
*arg2
= (wxWindow
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self",(char *) "child", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 (arg1
)->base_AddChild(arg2
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 Py_INCREF(Py_None
); resultobj
= Py_None
;
15743 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15746 wxWindow
*arg2
= (wxWindow
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 PyObject
* obj1
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self",(char *) "child", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
15754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 (arg1
)->base_RemoveChild(arg2
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 Py_INCREF(Py_None
); resultobj
= Py_None
;
15772 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
15782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (bool)(arg1
)->base_ShouldInheritColours();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15800 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15803 wxColour
*arg2
= 0 ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 char *kwnames
[] = {
15808 (char *) "self",(char *) "c", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
15812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 Py_INCREF(Py_None
); resultobj
= Py_None
;
15832 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15835 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
15837 return Py_BuildValue((char *)"");
15839 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxWindow
*arg1
= (wxWindow
*) 0 ;
15843 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15844 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15845 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15846 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15847 long arg5
= (long) 0 ;
15848 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15849 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15853 bool temp6
= False
;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 PyObject
* obj2
= 0 ;
15857 PyObject
* obj3
= 0 ;
15858 PyObject
* obj4
= 0 ;
15859 PyObject
* obj5
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 arg2
= (int const) SWIG_AsInt(obj1
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15878 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15882 arg5
= (long) SWIG_AsLong(obj4
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15887 arg6
= wxString_in_helper(obj5
);
15888 if (arg6
== NULL
) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15914 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15917 char *kwnames
[] = {
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (wxPyPanel
*)new wxPyPanel();
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
15936 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15939 PyObject
*arg2
= (PyObject
*) 0 ;
15940 PyObject
*arg3
= (PyObject
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 PyObject
* obj2
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "self",(char *) "_class", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 Py_INCREF(Py_None
); resultobj
= Py_None
;
15967 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 PyObject
* obj2
= 0 ;
15977 PyObject
* obj3
= 0 ;
15978 PyObject
* obj4
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
15985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 arg2
= (int) SWIG_AsInt(obj1
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15988 arg3
= (int) SWIG_AsInt(obj2
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15990 arg4
= (int) SWIG_AsInt(obj3
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15992 arg5
= (int) SWIG_AsInt(obj4
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 Py_INCREF(Py_None
); resultobj
= Py_None
;
16008 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16015 int arg6
= (int) wxSIZE_AUTO
;
16016 PyObject
* obj0
= 0 ;
16017 PyObject
* obj1
= 0 ;
16018 PyObject
* obj2
= 0 ;
16019 PyObject
* obj3
= 0 ;
16020 PyObject
* obj4
= 0 ;
16021 PyObject
* obj5
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 arg2
= (int) SWIG_AsInt(obj1
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16031 arg3
= (int) SWIG_AsInt(obj2
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16033 arg4
= (int) SWIG_AsInt(obj3
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16035 arg5
= (int) SWIG_AsInt(obj4
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 arg6
= (int) SWIG_AsInt(obj5
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 Py_INCREF(Py_None
); resultobj
= Py_None
;
16055 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16060 PyObject
* obj0
= 0 ;
16061 PyObject
* obj1
= 0 ;
16062 PyObject
* obj2
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self",(char *) "width",(char *) "height", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16070 arg2
= (int) SWIG_AsInt(obj1
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16072 arg3
= (int) SWIG_AsInt(obj2
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 Py_INCREF(Py_None
); resultobj
= Py_None
;
16088 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 PyObject
* obj2
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self",(char *) "x",(char *) "y", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16103 arg2
= (int) SWIG_AsInt(obj1
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16105 arg3
= (int) SWIG_AsInt(obj2
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 Py_INCREF(Py_None
); resultobj
= Py_None
;
16121 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16124 int *arg2
= (int *) 0 ;
16125 int *arg3
= (int *) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16145 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16148 resultobj
= t_output_helper(resultobj
,o
);
16151 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16152 resultobj
= t_output_helper(resultobj
,o
);
16160 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16163 int *arg2
= (int *) 0 ;
16164 int *arg3
= (int *) 0 ;
16167 PyObject
* obj0
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16186 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16187 resultobj
= t_output_helper(resultobj
,o
);
16190 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16191 resultobj
= t_output_helper(resultobj
,o
);
16199 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16202 int *arg2
= (int *) 0 ;
16203 int *arg3
= (int *) 0 ;
16206 PyObject
* obj0
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 Py_INCREF(Py_None
); resultobj
= Py_None
;
16225 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16226 resultobj
= t_output_helper(resultobj
,o
);
16229 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16230 resultobj
= t_output_helper(resultobj
,o
);
16238 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 wxSize
* resultptr
;
16259 resultptr
= new wxSize((wxSize
&) result
);
16260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16268 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "self", NULL
16277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 wxSize
* resultptr
;
16289 resultptr
= new wxSize((wxSize
&) result
);
16290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16298 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 (arg1
)->base_InitDialog();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (bool)(arg1
)->base_TransferDataToWindow();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16379 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (bool)(arg1
)->base_Validate();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16407 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16435 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16463 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 wxSize
* resultptr
;
16484 resultptr
= new wxSize((wxSize
&) result
);
16485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16493 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16496 wxWindow
*arg2
= (wxWindow
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "child", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 (arg1
)->base_AddChild(arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 Py_INCREF(Py_None
); resultobj
= Py_None
;
16522 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16525 wxWindow
*arg2
= (wxWindow
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "child", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 (arg1
)->base_RemoveChild(arg2
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 Py_INCREF(Py_None
); resultobj
= Py_None
;
16551 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (bool)(arg1
)->base_ShouldInheritColours();
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16579 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16582 wxColour
*arg2
= 0 ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "self",(char *) "c", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
16613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16614 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
16616 return Py_BuildValue((char *)"");
16618 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxWindow
*arg1
= (wxWindow
*) 0 ;
16622 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16623 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16624 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16625 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16626 long arg5
= (long) 0 ;
16627 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16628 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16629 wxPyScrolledWindow
*result
;
16632 bool temp6
= False
;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 PyObject
* obj2
= 0 ;
16636 PyObject
* obj3
= 0 ;
16637 PyObject
* obj4
= 0 ;
16638 PyObject
* obj5
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16646 arg2
= (int const) SWIG_AsInt(obj1
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16657 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16661 arg5
= (long) SWIG_AsLong(obj4
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16666 arg6
= wxString_in_helper(obj5
);
16667 if (arg6
== NULL
) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16693 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxPyScrolledWindow
*result
;
16696 char *kwnames
[] = {
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
16715 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16718 PyObject
*arg2
= (PyObject
*) 0 ;
16719 PyObject
*arg3
= (PyObject
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 PyObject
* obj2
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "self",(char *) "_class", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 Py_INCREF(Py_None
); resultobj
= Py_None
;
16746 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 PyObject
* obj2
= 0 ;
16756 PyObject
* obj3
= 0 ;
16757 PyObject
* obj4
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16765 arg2
= (int) SWIG_AsInt(obj1
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16767 arg3
= (int) SWIG_AsInt(obj2
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16769 arg4
= (int) SWIG_AsInt(obj3
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16771 arg5
= (int) SWIG_AsInt(obj4
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 Py_INCREF(Py_None
); resultobj
= Py_None
;
16787 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16794 int arg6
= (int) wxSIZE_AUTO
;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 PyObject
* obj2
= 0 ;
16798 PyObject
* obj3
= 0 ;
16799 PyObject
* obj4
= 0 ;
16800 PyObject
* obj5
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16808 arg2
= (int) SWIG_AsInt(obj1
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16810 arg3
= (int) SWIG_AsInt(obj2
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16812 arg4
= (int) SWIG_AsInt(obj3
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16814 arg5
= (int) SWIG_AsInt(obj4
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 arg6
= (int) SWIG_AsInt(obj5
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 Py_INCREF(Py_None
); resultobj
= Py_None
;
16834 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 PyObject
* obj2
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self",(char *) "width",(char *) "height", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16849 arg2
= (int) SWIG_AsInt(obj1
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16851 arg3
= (int) SWIG_AsInt(obj2
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 Py_INCREF(Py_None
); resultobj
= Py_None
;
16867 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16872 PyObject
* obj0
= 0 ;
16873 PyObject
* obj1
= 0 ;
16874 PyObject
* obj2
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self",(char *) "x",(char *) "y", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16882 arg2
= (int) SWIG_AsInt(obj1
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16884 arg3
= (int) SWIG_AsInt(obj2
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 Py_INCREF(Py_None
); resultobj
= Py_None
;
16900 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16903 int *arg2
= (int *) 0 ;
16904 int *arg3
= (int *) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16926 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16927 resultobj
= t_output_helper(resultobj
,o
);
16930 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16931 resultobj
= t_output_helper(resultobj
,o
);
16939 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16942 int *arg2
= (int *) 0 ;
16943 int *arg3
= (int *) 0 ;
16946 PyObject
* obj0
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 Py_INCREF(Py_None
); resultobj
= Py_None
;
16965 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16966 resultobj
= t_output_helper(resultobj
,o
);
16969 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16970 resultobj
= t_output_helper(resultobj
,o
);
16978 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
16981 int *arg2
= (int *) 0 ;
16982 int *arg3
= (int *) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
16994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 Py_INCREF(Py_None
); resultobj
= Py_None
;
17004 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17005 resultobj
= t_output_helper(resultobj
,o
);
17008 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17009 resultobj
= t_output_helper(resultobj
,o
);
17017 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
;
17019 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17021 PyObject
* obj0
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 wxSize
* resultptr
;
17038 resultptr
= new wxSize((wxSize
&) result
);
17039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17047 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17051 PyObject
* obj0
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 wxSize
* resultptr
;
17068 resultptr
= new wxSize((wxSize
&) result
);
17069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17077 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "self", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 (arg1
)->base_InitDialog();
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 Py_INCREF(Py_None
); resultobj
= Py_None
;
17102 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17106 PyObject
* obj0
= 0 ;
17107 char *kwnames
[] = {
17108 (char *) "self", NULL
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 result
= (bool)(arg1
)->base_TransferDataToWindow();
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17130 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "self", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17158 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (bool)(arg1
)->base_Validate();
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17186 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17214 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17242 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 wxSize
* resultptr
;
17263 resultptr
= new wxSize((wxSize
&) result
);
17264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17272 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17275 wxWindow
*arg2
= (wxWindow
*) 0 ;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self",(char *) "child", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 (arg1
)->base_AddChild(arg2
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 Py_INCREF(Py_None
); resultobj
= Py_None
;
17301 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
;
17303 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17304 wxWindow
*arg2
= (wxWindow
*) 0 ;
17305 PyObject
* obj0
= 0 ;
17306 PyObject
* obj1
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self",(char *) "child", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 (arg1
)->base_RemoveChild(arg2
);
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17323 Py_INCREF(Py_None
); resultobj
= Py_None
;
17330 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "self", NULL
17339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (bool)(arg1
)->base_ShouldInheritColours();
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17358 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17361 wxColour
*arg2
= 0 ;
17363 PyObject
* obj0
= 0 ;
17364 PyObject
* obj1
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "self",(char *) "c", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17374 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 Py_INCREF(Py_None
); resultobj
= Py_None
;
17390 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17393 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17395 return Py_BuildValue((char *)"");
17397 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17398 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17403 static PyObject
*_wrap_PrintoutTitleStr_get() {
17408 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17410 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17417 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17418 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17423 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17428 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17430 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17437 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxPrintData
*result
;
17440 char *kwnames
[] = {
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrintData",kwnames
)) goto fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 result
= (wxPrintData
*)new wxPrintData();
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17459 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17462 PyObject
* obj0
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 Py_INCREF(Py_None
); resultobj
= Py_None
;
17484 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
17494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (int)(arg1
)->GetNoCopies();
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= SWIG_FromInt((int)result
);
17510 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (bool)(arg1
)->GetCollate();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17538 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
17548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 result
= (int)(arg1
)->GetOrientation();
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= SWIG_FromInt((int)result
);
17564 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 char *kwnames
[] = {
17570 (char *) "self", NULL
17573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
17574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (bool)(arg1
)->Ok();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17592 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
17602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
17608 result
= (wxString
*) &_result_ref
;
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17618 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17627 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17631 PyObject
* obj0
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (bool)(arg1
)->GetColour();
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17655 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (int)(arg1
)->GetDuplex();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= SWIG_FromInt((int)result
);
17681 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17685 PyObject
* obj0
= 0 ;
17686 char *kwnames
[] = {
17687 (char *) "self", NULL
17690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
17691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (int)(arg1
)->GetPaperId();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_FromInt((int)result
);
17707 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
17723 result
= (wxSize
*) &_result_ref
;
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
17736 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17740 PyObject
* obj0
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (int)(arg1
)->GetQuality();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_FromInt((int)result
);
17762 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "v", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 arg2
= (int) SWIG_AsInt(obj1
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetNoCopies(arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17791 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "flag", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
17802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 arg2
= (bool) SWIG_AsBool(obj1
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 (arg1
)->SetCollate(arg2
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 Py_INCREF(Py_None
); resultobj
= Py_None
;
17820 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "orient", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 arg2
= (int) SWIG_AsInt(obj1
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 (arg1
)->SetOrientation(arg2
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 Py_INCREF(Py_None
); resultobj
= Py_None
;
17849 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17852 wxString
*arg2
= 0 ;
17853 bool temp2
= False
;
17854 PyObject
* obj0
= 0 ;
17855 PyObject
* obj1
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self",(char *) "name", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
17861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17864 arg2
= wxString_in_helper(obj1
);
17865 if (arg2
== NULL
) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 PyObject
* obj1
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self",(char *) "colour", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17903 arg2
= (bool) SWIG_AsBool(obj1
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 (arg1
)->SetColour(arg2
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 Py_INCREF(Py_None
); resultobj
= Py_None
;
17919 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "duplex", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17948 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "sizeId", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 Py_INCREF(Py_None
); resultobj
= Py_None
;
17977 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self",(char *) "sz", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 Py_INCREF(Py_None
); resultobj
= Py_None
;
18009 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self",(char *) "quality", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18022 arg2
= (int) SWIG_AsInt(obj1
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 (arg1
)->SetQuality(arg2
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 Py_INCREF(Py_None
); resultobj
= Py_None
;
18038 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18054 result
= (wxString
*) &_result_ref
;
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18064 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18073 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18089 result
= (wxString
*) &_result_ref
;
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18099 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18108 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18124 result
= (wxString
*) &_result_ref
;
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18143 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 wxString
const &_result_ref
= (arg1
)->GetFilename();
18159 result
= (wxString
*) &_result_ref
;
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18169 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18178 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18194 result
= (wxString
*) &_result_ref
;
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18213 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18217 PyObject
* obj0
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 result
= (double)(arg1
)->GetPrinterScaleX();
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= SWIG_FromDouble((double)result
);
18239 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 result
= (double)(arg1
)->GetPrinterScaleY();
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_FromDouble((double)result
);
18265 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (long)(arg1
)->GetPrinterTranslateX();
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_FromLong((long)result
);
18291 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (long)(arg1
)->GetPrinterTranslateY();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_FromLong((long)result
);
18317 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18321 PyObject
* obj0
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 result
= (int)(arg1
)->GetPrintMode();
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_FromInt((int)result
);
18343 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18346 wxString
*arg2
= 0 ;
18347 bool temp2
= False
;
18348 PyObject
* obj0
= 0 ;
18349 PyObject
* obj1
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self",(char *) "command", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 arg2
= wxString_in_helper(obj1
);
18359 if (arg2
== NULL
) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 Py_INCREF(Py_None
); resultobj
= Py_None
;
18384 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18387 wxString
*arg2
= 0 ;
18388 bool temp2
= False
;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self",(char *) "options", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18399 arg2
= wxString_in_helper(obj1
);
18400 if (arg2
== NULL
) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 Py_INCREF(Py_None
); resultobj
= Py_None
;
18425 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18428 wxString
*arg2
= 0 ;
18429 bool temp2
= False
;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "command", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 arg2
= wxString_in_helper(obj1
);
18441 if (arg2
== NULL
) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 Py_INCREF(Py_None
); resultobj
= Py_None
;
18466 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18469 wxString
*arg2
= 0 ;
18470 bool temp2
= False
;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self",(char *) "filename", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18481 arg2
= wxString_in_helper(obj1
);
18482 if (arg2
== NULL
) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->SetFilename((wxString
const &)*arg2
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 Py_INCREF(Py_None
); resultobj
= Py_None
;
18507 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18510 wxString
*arg2
= 0 ;
18511 bool temp2
= False
;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self",(char *) "path", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
18519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18522 arg2
= wxString_in_helper(obj1
);
18523 if (arg2
== NULL
) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 Py_INCREF(Py_None
); resultobj
= Py_None
;
18548 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "x", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 arg2
= (double) SWIG_AsDouble(obj1
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->SetPrinterScaleX(arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_PrintData_SetPrinterScaleY(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 *) "y", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",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
= (double) SWIG_AsDouble(obj1
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 (arg1
)->SetPrinterScaleY(arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 Py_INCREF(Py_None
); resultobj
= Py_None
;
18606 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 PyObject
* obj1
= 0 ;
18613 PyObject
* obj2
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "x",(char *) "y", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 arg2
= (double) SWIG_AsDouble(obj1
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18623 arg3
= (double) SWIG_AsDouble(obj2
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->SetPrinterScaling(arg2
,arg3
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 Py_INCREF(Py_None
); resultobj
= Py_None
;
18639 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self",(char *) "x", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18652 arg2
= (long) SWIG_AsLong(obj1
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 (arg1
)->SetPrinterTranslateX(arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 Py_INCREF(Py_None
); resultobj
= Py_None
;
18668 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "y", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 arg2
= (long) SWIG_AsLong(obj1
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 (arg1
)->SetPrinterTranslateY(arg2
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 Py_INCREF(Py_None
); resultobj
= Py_None
;
18697 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 PyObject
* obj2
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "x",(char *) "y", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 arg2
= (long) SWIG_AsLong(obj1
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18714 arg3
= (long) SWIG_AsLong(obj2
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 Py_INCREF(Py_None
); resultobj
= Py_None
;
18730 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self",(char *) "printMode", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18743 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 Py_INCREF(Py_None
); resultobj
= Py_None
;
18759 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18762 wxOutputStream
*result
;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
18785 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18788 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 PyObject
* obj1
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self",(char *) "outputstream", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
18799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 (arg1
)->SetOutputStream(arg2
);
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 Py_INCREF(Py_None
); resultobj
= Py_None
;
18814 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
18816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18817 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
18819 return Py_BuildValue((char *)"");
18821 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18823 wxPageSetupDialogData
*result
;
18824 char *kwnames
[] = {
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PageSetupDialogData",kwnames
)) goto fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
18843 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 Py_INCREF(Py_None
); resultobj
= Py_None
;
18868 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "self",(char *) "flag", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18881 arg2
= (bool) SWIG_AsBool(obj1
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 (arg1
)->EnableHelp(arg2
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 Py_INCREF(Py_None
); resultobj
= Py_None
;
18897 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self",(char *) "flag", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18910 arg2
= (bool) SWIG_AsBool(obj1
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 (arg1
)->EnableMargins(arg2
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self",(char *) "flag", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18939 arg2
= (bool) SWIG_AsBool(obj1
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->EnableOrientation(arg2
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 Py_INCREF(Py_None
); resultobj
= Py_None
;
18955 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "flag", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 arg2
= (bool) SWIG_AsBool(obj1
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->EnablePaper(arg2
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "flag", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 arg2
= (bool) SWIG_AsBool(obj1
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->EnablePrinter(arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (bool)(arg1
)->GetDefaultMinMargins();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19041 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= (bool)(arg1
)->GetEnableMargins();
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19069 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (bool)(arg1
)->GetEnableOrientation();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19097 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= (bool)(arg1
)->GetEnablePaper();
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19125 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (bool)(arg1
)->GetEnablePrinter();
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19153 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19157 PyObject
* obj0
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 result
= (bool)(arg1
)->GetEnableHelp();
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19181 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19185 PyObject
* obj0
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (bool)(arg1
)->GetDefaultInfo();
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19209 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= (arg1
)->GetMarginTopLeft();
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19229 wxPoint
* resultptr
;
19230 resultptr
= new wxPoint((wxPoint
&) result
);
19231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19239 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= (arg1
)->GetMarginBottomRight();
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19259 wxPoint
* resultptr
;
19260 resultptr
= new wxPoint((wxPoint
&) result
);
19261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19269 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 result
= (arg1
)->GetMinMarginTopLeft();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19289 wxPoint
* resultptr
;
19290 resultptr
= new wxPoint((wxPoint
&) result
);
19291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19299 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19303 PyObject
* obj0
= 0 ;
19304 char *kwnames
[] = {
19305 (char *) "self", NULL
19308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (arg1
)->GetMinMarginBottomRight();
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19319 wxPoint
* resultptr
;
19320 resultptr
= new wxPoint((wxPoint
&) result
);
19321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19329 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
;
19331 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19333 PyObject
* obj0
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 result
= (int)(arg1
)->GetPaperId();
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= SWIG_FromInt((int)result
);
19355 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 result
= (arg1
)->GetPaperSize();
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19375 wxSize
* resultptr
;
19376 resultptr
= new wxSize((wxSize
&) result
);
19377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19385 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19388 wxPrintData
*result
;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
19401 result
= (wxPrintData
*) &_result_ref
;
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
19414 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 result
= (bool)(arg1
)->Ok();
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19442 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self",(char *) "flag", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19455 arg2
= (bool) SWIG_AsBool(obj1
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 (arg1
)->SetDefaultInfo(arg2
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 Py_INCREF(Py_None
); resultobj
= Py_None
;
19471 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "flag", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19484 arg2
= (bool) SWIG_AsBool(obj1
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 (arg1
)->SetDefaultMinMargins(arg2
);
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 Py_INCREF(Py_None
); resultobj
= Py_None
;
19500 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19503 wxPoint
*arg2
= 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self",(char *) "pt", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19516 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 Py_INCREF(Py_None
); resultobj
= Py_None
;
19532 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19535 wxPoint
*arg2
= 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "pt", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 Py_INCREF(Py_None
); resultobj
= Py_None
;
19564 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19567 wxPoint
*arg2
= 0 ;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 char *kwnames
[] = {
19572 (char *) "self",(char *) "pt", NULL
19575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
19576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 Py_INCREF(Py_None
); resultobj
= Py_None
;
19596 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19599 wxPoint
*arg2
= 0 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "pt", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 Py_INCREF(Py_None
); resultobj
= Py_None
;
19628 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char *kwnames
[] = {
19635 (char *) "self",(char *) "id", NULL
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
19639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19641 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 Py_INCREF(Py_None
); resultobj
= Py_None
;
19657 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19659 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 PyObject
* obj1
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self",(char *) "size", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 Py_INCREF(Py_None
); resultobj
= Py_None
;
19689 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19692 wxPrintData
*arg2
= 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "printData", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
19703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19705 if (arg2
== NULL
) {
19706 PyErr_SetString(PyExc_TypeError
,"null reference");
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 Py_INCREF(Py_None
); resultobj
= Py_None
;
19723 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
19725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19726 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
19728 return Py_BuildValue((char *)"");
19730 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxWindow
*arg1
= (wxWindow
*) 0 ;
19733 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
19734 wxPageSetupDialog
*result
;
19735 PyObject
* obj0
= 0 ;
19736 PyObject
* obj1
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "parent",(char *) "data", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
19762 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19765 wxPageSetupDialogData
*result
;
19766 PyObject
* obj0
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
19772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
19778 result
= (wxPageSetupDialogData
*) &_result_ref
;
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
19791 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
19795 PyObject
* obj0
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 result
= (int)(arg1
)->ShowModal();
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= SWIG_FromInt((int)result
);
19817 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
19819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19820 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
19822 return Py_BuildValue((char *)"");
19824 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19825 PyObject
*resultobj
;
19826 wxPrintDialogData
*result
;
19828 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (wxPrintDialogData
*)new wxPrintDialogData();
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19843 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19844 PyObject
*resultobj
;
19845 wxPrintData
*arg1
= 0 ;
19846 wxPrintDialogData
*result
;
19847 PyObject
* obj0
= 0 ;
19849 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19853 if (arg1
== NULL
) {
19854 PyErr_SetString(PyExc_TypeError
,"null reference");
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
19871 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
19876 argc
= PyObject_Length(args
);
19877 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19878 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19881 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
19887 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
19895 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
19899 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
19904 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= SWIG_FromInt((int)result
);
19955 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= SWIG_FromInt((int)result
);
19981 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
;
19983 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
19991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
19992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= SWIG_FromInt((int)result
);
20007 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20011 PyObject
* obj0
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= SWIG_FromInt((int)result
);
20033 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 char *kwnames
[] = {
20039 (char *) "self", NULL
20042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_FromInt((int)result
);
20059 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20087 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20115 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20143 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
;
20145 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20147 PyObject
* obj0
= 0 ;
20148 char *kwnames
[] = {
20149 (char *) "self", NULL
20152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20171 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20199 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self",(char *) "v", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20212 arg2
= (int) SWIG_AsInt(obj1
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 (arg1
)->SetFromPage(arg2
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 Py_INCREF(Py_None
); resultobj
= Py_None
;
20228 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self",(char *) "v", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20241 arg2
= (int) SWIG_AsInt(obj1
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 (arg1
)->SetToPage(arg2
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 Py_INCREF(Py_None
); resultobj
= Py_None
;
20257 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20261 PyObject
* obj0
= 0 ;
20262 PyObject
* obj1
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "self",(char *) "v", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 arg2
= (int) SWIG_AsInt(obj1
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->SetMinPage(arg2
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 Py_INCREF(Py_None
); resultobj
= Py_None
;
20286 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self",(char *) "v", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20299 arg2
= (int) SWIG_AsInt(obj1
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 (arg1
)->SetMaxPage(arg2
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 Py_INCREF(Py_None
); resultobj
= Py_None
;
20315 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
;
20317 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self",(char *) "v", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20328 arg2
= (int) SWIG_AsInt(obj1
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 (arg1
)->SetNoCopies(arg2
);
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 Py_INCREF(Py_None
); resultobj
= Py_None
;
20344 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "flag", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 arg2
= (bool) SWIG_AsBool(obj1
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 (arg1
)->SetAllPages(arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 Py_INCREF(Py_None
); resultobj
= Py_None
;
20373 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self",(char *) "flag", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 arg2
= (bool) SWIG_AsBool(obj1
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 (arg1
)->SetSelection(arg2
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 Py_INCREF(Py_None
); resultobj
= Py_None
;
20402 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self",(char *) "flag", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20415 arg2
= (bool) SWIG_AsBool(obj1
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 (arg1
)->SetCollate(arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 Py_INCREF(Py_None
); resultobj
= Py_None
;
20431 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 PyObject
* obj1
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self",(char *) "flag", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 arg2
= (bool) SWIG_AsBool(obj1
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 (arg1
)->SetPrintToFile(arg2
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 Py_INCREF(Py_None
); resultobj
= Py_None
;
20460 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "self",(char *) "flag", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20473 arg2
= (bool) SWIG_AsBool(obj1
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 (arg1
)->SetSetupDialog(arg2
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 Py_INCREF(Py_None
); resultobj
= Py_None
;
20489 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self",(char *) "flag", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20502 arg2
= (bool) SWIG_AsBool(obj1
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 (arg1
)->EnablePrintToFile(arg2
);
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 Py_INCREF(Py_None
); resultobj
= Py_None
;
20518 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 PyObject
* obj1
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self",(char *) "flag", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 arg2
= (bool) SWIG_AsBool(obj1
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->EnableSelection(arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 Py_INCREF(Py_None
); resultobj
= Py_None
;
20547 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "flag", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20560 arg2
= (bool) SWIG_AsBool(obj1
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 (arg1
)->EnablePageNumbers(arg2
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 Py_INCREF(Py_None
); resultobj
= Py_None
;
20576 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
;
20578 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self",(char *) "flag", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20589 arg2
= (bool) SWIG_AsBool(obj1
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 (arg1
)->EnableHelp(arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 Py_INCREF(Py_None
); resultobj
= Py_None
;
20605 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
20643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20661 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
20671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20689 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20717 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20721 PyObject
* obj0
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20745 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20748 wxPrintData
*result
;
20749 PyObject
* obj0
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20761 result
= (wxPrintData
*) &_result_ref
;
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20774 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20777 wxPrintData
*arg2
= 0 ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self",(char *) "printData", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20790 if (arg2
== NULL
) {
20791 PyErr_SetString(PyExc_TypeError
,"null reference");
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20801 Py_INCREF(Py_None
); resultobj
= Py_None
;
20808 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20811 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
20813 return Py_BuildValue((char *)"");
20815 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxWindow
*arg1
= (wxWindow
*) 0 ;
20818 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
20819 wxPrintDialog
*result
;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "parent",(char *) "data", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
20847 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20850 wxPrintDialogData
*result
;
20851 PyObject
* obj0
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
20863 result
= (wxPrintDialogData
*) &_result_ref
;
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
20876 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20880 PyObject
* obj0
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "self", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
20886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (wxDC
*)(arg1
)->GetPrintDC();
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= wxPyMake_wxObject(result
);
20904 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
20908 PyObject
* obj0
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
20915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (int)(arg1
)->ShowModal();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_FromInt((int)result
);
20930 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20933 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
20935 return Py_BuildValue((char *)"");
20937 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
20941 PyObject
* obj0
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "data", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
20948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (wxPrinter
*)new wxPrinter(arg1
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
20965 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20968 PyObject
* obj0
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 Py_INCREF(Py_None
); resultobj
= Py_None
;
20990 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
20993 wxWindow
*arg2
= (wxWindow
*) 0 ;
20994 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 PyObject
* obj2
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self",(char *) "parent",(char *) "printout", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 Py_INCREF(Py_None
); resultobj
= Py_None
;
21023 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21026 wxPrintDialogData
*result
;
21027 PyObject
* obj0
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21039 result
= (wxPrintDialogData
*) &_result_ref
;
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21052 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21055 wxWindow
*arg2
= (wxWindow
*) 0 ;
21056 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21057 int arg4
= (int) True
;
21059 PyObject
* obj0
= 0 ;
21060 PyObject
* obj1
= 0 ;
21061 PyObject
* obj2
= 0 ;
21062 PyObject
* obj3
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21072 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21075 arg4
= (int) SWIG_AsInt(obj3
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21094 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21097 wxWindow
*arg2
= (wxWindow
*) 0 ;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self",(char *) "parent", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= wxPyMake_wxObject(result
);
21126 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21129 wxWindow
*arg2
= (wxWindow
*) 0 ;
21130 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21131 wxString
*arg4
= 0 ;
21132 bool temp4
= False
;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 PyObject
* obj2
= 0 ;
21136 PyObject
* obj3
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21146 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21149 arg4
= wxString_in_helper(obj3
);
21150 if (arg4
== NULL
) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 Py_INCREF(Py_None
); resultobj
= Py_None
;
21175 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21178 wxWindow
*arg2
= (wxWindow
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 PyObject
* obj1
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "parent", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (bool)(arg1
)->Setup(arg2
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21207 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (bool)(arg1
)->GetAbort();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21235 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21238 char *kwnames
[] = {
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (int)wxPrinter::GetLastError();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_FromInt((int)result
);
21257 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21260 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21262 return Py_BuildValue((char *)"");
21264 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21267 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21268 wxPyPrintout
*result
;
21269 bool temp1
= False
;
21270 PyObject
* obj0
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "title", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21278 arg1
= wxString_in_helper(obj0
);
21279 if (arg1
== NULL
) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= wxPyMake_wxObject(result
);
21307 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21310 PyObject
*arg2
= (PyObject
*) 0 ;
21311 PyObject
*arg3
= (PyObject
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 PyObject
* obj2
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "self",(char *) "_class", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 Py_INCREF(Py_None
); resultobj
= Py_None
;
21338 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21370 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21374 PyObject
* obj0
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (wxDC
*)(arg1
)->GetDC();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= wxPyMake_wxObject(result
);
21398 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21401 wxDC
*arg2
= (wxDC
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "dc", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
21412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 (arg1
)->SetDC(arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 Py_INCREF(Py_None
); resultobj
= Py_None
;
21427 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 PyObject
* obj2
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self",(char *) "w",(char *) "h", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 arg2
= (int) SWIG_AsInt(obj1
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21444 arg3
= (int) SWIG_AsInt(obj2
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 (arg1
)->SetPageSizePixels(arg2
,arg3
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 Py_INCREF(Py_None
); resultobj
= Py_None
;
21460 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21463 int *arg2
= (int *) 0 ;
21464 int *arg3
= (int *) 0 ;
21467 PyObject
* obj0
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 (arg1
)->GetPageSizePixels(arg2
,arg3
);
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 Py_INCREF(Py_None
); resultobj
= Py_None
;
21486 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21487 resultobj
= t_output_helper(resultobj
,o
);
21490 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21491 resultobj
= t_output_helper(resultobj
,o
);
21499 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 PyObject
* obj2
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "self",(char *) "w",(char *) "h", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21514 arg2
= (int) SWIG_AsInt(obj1
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21516 arg3
= (int) SWIG_AsInt(obj2
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 (arg1
)->SetPageSizeMM(arg2
,arg3
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21532 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21535 int *arg2
= (int *) 0 ;
21536 int *arg3
= (int *) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 (arg1
)->GetPageSizeMM(arg2
,arg3
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 Py_INCREF(Py_None
); resultobj
= Py_None
;
21558 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21559 resultobj
= t_output_helper(resultobj
,o
);
21562 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21563 resultobj
= t_output_helper(resultobj
,o
);
21571 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "x",(char *) "y", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 arg2
= (int) SWIG_AsInt(obj1
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21588 arg3
= (int) SWIG_AsInt(obj2
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 (arg1
)->SetPPIScreen(arg2
,arg3
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 Py_INCREF(Py_None
); resultobj
= Py_None
;
21604 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21607 int *arg2
= (int *) 0 ;
21608 int *arg3
= (int *) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
21619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 (arg1
)->GetPPIScreen(arg2
,arg3
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 Py_INCREF(Py_None
); resultobj
= Py_None
;
21630 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21631 resultobj
= t_output_helper(resultobj
,o
);
21634 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21635 resultobj
= t_output_helper(resultobj
,o
);
21643 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 PyObject
* obj2
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self",(char *) "x",(char *) "y", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21658 arg2
= (int) SWIG_AsInt(obj1
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21660 arg3
= (int) SWIG_AsInt(obj2
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 (arg1
)->SetPPIPrinter(arg2
,arg3
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 Py_INCREF(Py_None
); resultobj
= Py_None
;
21676 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21679 int *arg2
= (int *) 0 ;
21680 int *arg3
= (int *) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 (arg1
)->GetPPIPrinter(arg2
,arg3
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 Py_INCREF(Py_None
); resultobj
= Py_None
;
21702 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21703 resultobj
= t_output_helper(resultobj
,o
);
21706 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21707 resultobj
= t_output_helper(resultobj
,o
);
21715 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (bool)(arg1
)->IsPreview();
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21743 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 char *kwnames
[] = {
21750 (char *) "self",(char *) "p", NULL
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
21754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21756 arg2
= (bool) SWIG_AsBool(obj1
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 (arg1
)->SetIsPreview(arg2
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 Py_INCREF(Py_None
); resultobj
= Py_None
;
21772 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 PyObject
* obj2
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21788 arg2
= (int) SWIG_AsInt(obj1
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21790 arg3
= (int) SWIG_AsInt(obj2
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21808 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
21817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 (arg1
)->base_OnEndDocument();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 Py_INCREF(Py_None
); resultobj
= Py_None
;
21833 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->base_OnBeginPrinting();
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21858 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21861 PyObject
* obj0
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "self", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
21867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 (arg1
)->base_OnEndPrinting();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 Py_INCREF(Py_None
); resultobj
= Py_None
;
21883 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 (arg1
)->base_OnPreparePrinting();
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21908 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "page", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 arg2
= (int) SWIG_AsInt(obj1
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= (bool)(arg1
)->base_HasPage(arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21940 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21943 int *arg2
= (int *) 0 ;
21944 int *arg3
= (int *) 0 ;
21945 int *arg4
= (int *) 0 ;
21946 int *arg5
= (int *) 0 ;
21951 PyObject
* obj0
= 0 ;
21952 char *kwnames
[] = {
21953 (char *) "self", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
21961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 Py_INCREF(Py_None
); resultobj
= Py_None
;
21972 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21973 resultobj
= t_output_helper(resultobj
,o
);
21976 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21977 resultobj
= t_output_helper(resultobj
,o
);
21980 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
21981 resultobj
= t_output_helper(resultobj
,o
);
21984 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
21985 resultobj
= t_output_helper(resultobj
,o
);
21993 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
21995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21996 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
21998 return Py_BuildValue((char *)"");
22000 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22003 wxWindow
*arg2
= (wxWindow
*) 0 ;
22004 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22005 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22006 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22007 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22008 long arg5
= (long) 0 ;
22009 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22010 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22011 wxPreviewCanvas
*result
;
22014 bool temp6
= False
;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 PyObject
* obj2
= 0 ;
22018 PyObject
* obj3
= 0 ;
22019 PyObject
* obj4
= 0 ;
22020 PyObject
* obj5
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22039 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22043 arg5
= (long) SWIG_AsLong(obj4
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22048 arg6
= wxString_in_helper(obj5
);
22049 if (arg6
== NULL
) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22075 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22078 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22080 return Py_BuildValue((char *)"");
22082 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22085 wxFrame
*arg2
= (wxFrame
*) 0 ;
22086 wxString
*arg3
= 0 ;
22087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22091 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22092 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22094 wxPreviewFrame
*result
;
22095 bool temp3
= False
;
22098 bool temp7
= False
;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 PyObject
* obj2
= 0 ;
22102 PyObject
* obj3
= 0 ;
22103 PyObject
* obj4
= 0 ;
22104 PyObject
* obj5
= 0 ;
22105 PyObject
* obj6
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22116 arg3
= wxString_in_helper(obj2
);
22117 if (arg3
== NULL
) SWIG_fail
;
22123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22133 arg6
= (long) SWIG_AsLong(obj5
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22138 arg7
= wxString_in_helper(obj6
);
22139 if (arg7
== NULL
) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22173 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 (arg1
)->Initialize();
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 Py_INCREF(Py_None
); resultobj
= Py_None
;
22198 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22201 PyObject
* obj0
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 (arg1
)->CreateControlBar();
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 Py_INCREF(Py_None
); resultobj
= Py_None
;
22223 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22226 PyObject
* obj0
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 (arg1
)->CreateCanvas();
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 Py_INCREF(Py_None
); resultobj
= Py_None
;
22248 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22251 wxPreviewControlBar
*result
;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22274 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22277 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22279 return Py_BuildValue((char *)"");
22281 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22285 wxWindow
*arg3
= (wxWindow
*) 0 ;
22286 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22287 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22288 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22289 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22290 long arg6
= (long) wxTAB_TRAVERSAL
;
22291 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22292 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22293 wxPreviewControlBar
*result
;
22296 bool temp7
= False
;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 PyObject
* obj2
= 0 ;
22300 PyObject
* obj3
= 0 ;
22301 PyObject
* obj4
= 0 ;
22302 PyObject
* obj5
= 0 ;
22303 PyObject
* obj6
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 arg2
= (long) SWIG_AsLong(obj1
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22313 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22328 arg6
= (long) SWIG_AsLong(obj5
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22333 arg7
= wxString_in_helper(obj6
);
22334 if (arg7
== NULL
) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22360 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (int)(arg1
)->GetZoomControl();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_FromInt((int)result
);
22386 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self",(char *) "zoom", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22399 arg2
= (int) SWIG_AsInt(obj1
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 (arg1
)->SetZoomControl(arg2
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 Py_INCREF(Py_None
); resultobj
= Py_None
;
22415 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22416 PyObject
*resultobj
;
22417 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22418 wxPrintPreview
*result
;
22419 PyObject
* obj0
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
22441 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
22450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 (arg1
)->OnPrevious();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 Py_INCREF(Py_None
); resultobj
= Py_None
;
22491 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
;
22493 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
22500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 Py_INCREF(Py_None
); resultobj
= Py_None
;
22516 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 Py_INCREF(Py_None
); resultobj
= Py_None
;
22541 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
22550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 Py_INCREF(Py_None
); resultobj
= Py_None
;
22566 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
22568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22569 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
22571 return Py_BuildValue((char *)"");
22573 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
22574 PyObject
*resultobj
;
22575 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22576 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22577 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
22578 wxPrintPreview
*result
;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 PyObject
* obj2
= 0 ;
22583 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22606 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
22607 PyObject
*resultobj
;
22608 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22609 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22610 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
22611 wxPrintPreview
*result
;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 PyObject
* obj2
= 0 ;
22616 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
22617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22621 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
22622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
22637 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
22642 argc
= PyObject_Length(args
);
22643 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
22644 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22646 if ((argc
>= 2) && (argc
<= 3)) {
22650 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22660 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22669 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22673 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22681 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
22690 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22700 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
22710 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22718 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
22724 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
22729 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self",(char *) "pageNum", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22743 arg2
= (int) SWIG_AsInt(obj1
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22761 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22765 PyObject
* obj0
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
22771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (int)(arg1
)->GetCurrentPage();
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= SWIG_FromInt((int)result
);
22787 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22790 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self",(char *) "printout", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
22798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 (arg1
)->SetPrintout(arg2
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 Py_INCREF(Py_None
); resultobj
= Py_None
;
22816 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22819 wxPyPrintout
*result
;
22820 PyObject
* obj0
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= wxPyMake_wxObject(result
);
22844 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22847 wxPyPrintout
*result
;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= wxPyMake_wxObject(result
);
22872 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22875 wxFrame
*arg2
= (wxFrame
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self",(char *) "frame", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
22883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 (arg1
)->SetFrame(arg2
);
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22894 Py_INCREF(Py_None
); resultobj
= Py_None
;
22901 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
;
22903 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22904 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self",(char *) "canvas", NULL
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
22912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 (arg1
)->SetCanvas(arg2
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 Py_INCREF(Py_None
); resultobj
= Py_None
;
22930 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 result
= (wxFrame
*)(arg1
)->GetFrame();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= wxPyMake_wxObject(result
);
22958 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22961 wxPreviewCanvas
*result
;
22962 PyObject
* obj0
= 0 ;
22963 char *kwnames
[] = {
22964 (char *) "self", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
22968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
22984 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22987 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 PyObject
* obj2
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23002 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23005 if (arg3
== NULL
) {
23006 PyErr_SetString(PyExc_TypeError
,"null reference");
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23025 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
;
23027 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23028 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 PyObject
* obj1
= 0 ;
23033 PyObject
* obj2
= 0 ;
23034 char *kwnames
[] = {
23035 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23046 if (arg3
== NULL
) {
23047 PyErr_SetString(PyExc_TypeError
,"null reference");
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23066 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self",(char *) "pageNum", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23080 arg2
= (int) SWIG_AsInt(obj1
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (bool)(arg1
)->RenderPage(arg2
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23098 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23101 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23102 PyObject
* obj0
= 0 ;
23103 PyObject
* obj1
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self",(char *) "canvas", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 (arg1
)->AdjustScrollbars(arg2
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 Py_INCREF(Py_None
); resultobj
= Py_None
;
23127 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23130 wxPrintDialogData
*result
;
23131 PyObject
* obj0
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23143 result
= (wxPrintDialogData
*) &_result_ref
;
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23156 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "self",(char *) "percent", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 arg2
= (int) SWIG_AsInt(obj1
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 (arg1
)->SetZoom(arg2
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 Py_INCREF(Py_None
); resultobj
= Py_None
;
23185 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (int)(arg1
)->GetZoom();
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_FromInt((int)result
);
23211 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23215 PyObject
* obj0
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (int)(arg1
)->GetMaxPage();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_FromInt((int)result
);
23237 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23241 PyObject
* obj0
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= (int)(arg1
)->GetMinPage();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_FromInt((int)result
);
23263 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (bool)(arg1
)->Ok();
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23291 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self",(char *) "ok", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 arg2
= (bool) SWIG_AsBool(obj1
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 (arg1
)->SetOk(arg2
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 Py_INCREF(Py_None
); resultobj
= Py_None
;
23320 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
;
23322 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23325 PyObject
* obj0
= 0 ;
23326 PyObject
* obj1
= 0 ;
23327 char *kwnames
[] = {
23328 (char *) "self",(char *) "interactive", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23334 arg2
= (bool) SWIG_AsBool(obj1
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= (bool)(arg1
)->Print(arg2
);
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23352 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->DetermineScaling();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23380 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23382 return Py_BuildValue((char *)"");
23384 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23385 PyObject
*resultobj
;
23386 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23387 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23388 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23389 wxPyPrintPreview
*result
;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 PyObject
* obj2
= 0 ;
23394 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23417 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23418 PyObject
*resultobj
;
23419 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23420 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23421 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23422 wxPyPrintPreview
*result
;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 PyObject
* obj2
= 0 ;
23427 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23432 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
23448 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
23453 argc
= PyObject_Length(args
);
23454 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23455 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23457 if ((argc
>= 2) && (argc
<= 3)) {
23461 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23471 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23480 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23484 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23492 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
23501 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23511 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23521 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23529 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
23535 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
23540 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23543 PyObject
*arg2
= (PyObject
*) 0 ;
23544 PyObject
*arg3
= (PyObject
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 PyObject
* obj1
= 0 ;
23547 PyObject
* obj2
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self",(char *) "self",(char *) "_class", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23564 Py_INCREF(Py_None
); resultobj
= Py_None
;
23571 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "self",(char *) "pageNum", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 arg2
= (int) SWIG_AsInt(obj1
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23603 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23606 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23609 PyObject
* obj0
= 0 ;
23610 PyObject
* obj1
= 0 ;
23611 PyObject
* obj2
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23621 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23624 if (arg3
== NULL
) {
23625 PyErr_SetString(PyExc_TypeError
,"null reference");
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23644 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23647 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23650 PyObject
* obj0
= 0 ;
23651 PyObject
* obj1
= 0 ;
23652 PyObject
* obj2
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23665 if (arg3
== NULL
) {
23666 PyErr_SetString(PyExc_TypeError
,"null reference");
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23685 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self",(char *) "pageNum", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23699 arg2
= (int) SWIG_AsInt(obj1
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (bool)(arg1
)->base_RenderPage(arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23717 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23721 PyObject
* obj0
= 0 ;
23722 PyObject
* obj1
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self",(char *) "percent", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 arg2
= (int) SWIG_AsInt(obj1
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 (arg1
)->base_SetZoom(arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 Py_INCREF(Py_None
); resultobj
= Py_None
;
23746 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self",(char *) "interactive", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 arg2
= (bool) SWIG_AsBool(obj1
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (bool)(arg1
)->base_Print(arg2
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23778 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
23788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->base_DetermineScaling();
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 Py_INCREF(Py_None
); resultobj
= Py_None
;
23803 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
23805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23806 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
23808 return Py_BuildValue((char *)"");
23810 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23813 wxFrame
*arg2
= (wxFrame
*) 0 ;
23814 wxString
*arg3
= 0 ;
23815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23819 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23820 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23822 wxPyPreviewFrame
*result
;
23823 bool temp3
= False
;
23826 bool temp7
= False
;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 PyObject
* obj2
= 0 ;
23830 PyObject
* obj3
= 0 ;
23831 PyObject
* obj4
= 0 ;
23832 PyObject
* obj5
= 0 ;
23833 PyObject
* obj6
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23844 arg3
= wxString_in_helper(obj2
);
23845 if (arg3
== NULL
) SWIG_fail
;
23851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23861 arg6
= (long) SWIG_AsLong(obj5
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23866 arg7
= wxString_in_helper(obj6
);
23867 if (arg7
== NULL
) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
23901 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23904 PyObject
*arg2
= (PyObject
*) 0 ;
23905 PyObject
*arg3
= (PyObject
*) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 PyObject
* obj2
= 0 ;
23909 char *kwnames
[] = {
23910 (char *) "self",(char *) "self",(char *) "_class", NULL
23913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 Py_INCREF(Py_None
); resultobj
= Py_None
;
23932 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23935 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23936 PyObject
* obj0
= 0 ;
23937 PyObject
* obj1
= 0 ;
23938 char *kwnames
[] = {
23939 (char *) "self",(char *) "canvas", NULL
23942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 (arg1
)->SetPreviewCanvas(arg2
);
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 Py_INCREF(Py_None
); resultobj
= Py_None
;
23961 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
;
23963 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23964 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self",(char *) "bar", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
23972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
23973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
23975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 (arg1
)->SetControlBar(arg2
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 Py_INCREF(Py_None
); resultobj
= Py_None
;
23990 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
23993 PyObject
* obj0
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 (arg1
)->base_Initialize();
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 Py_INCREF(Py_None
); resultobj
= Py_None
;
24015 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
;
24017 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 (arg1
)->base_CreateCanvas();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 Py_INCREF(Py_None
); resultobj
= Py_None
;
24040 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 (arg1
)->base_CreateControlBar();
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 Py_INCREF(Py_None
); resultobj
= Py_None
;
24065 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24068 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24070 return Py_BuildValue((char *)"");
24072 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24076 wxWindow
*arg3
= (wxWindow
*) 0 ;
24077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24081 long arg6
= (long) 0 ;
24082 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24084 wxPyPreviewControlBar
*result
;
24087 bool temp7
= False
;
24088 PyObject
* obj0
= 0 ;
24089 PyObject
* obj1
= 0 ;
24090 PyObject
* obj2
= 0 ;
24091 PyObject
* obj3
= 0 ;
24092 PyObject
* obj4
= 0 ;
24093 PyObject
* obj5
= 0 ;
24094 PyObject
* obj6
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 arg2
= (long) SWIG_AsLong(obj1
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24104 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24119 arg6
= (long) SWIG_AsLong(obj5
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24124 arg7
= wxString_in_helper(obj6
);
24125 if (arg7
== NULL
) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24151 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24154 PyObject
*arg2
= (PyObject
*) 0 ;
24155 PyObject
*arg3
= (PyObject
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 PyObject
* obj2
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "self",(char *) "_class", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 Py_INCREF(Py_None
); resultobj
= Py_None
;
24182 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24185 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 PyObject
* obj1
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self",(char *) "preview", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 (arg1
)->SetPrintPreview(arg2
);
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 Py_INCREF(Py_None
); resultobj
= Py_None
;
24211 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24214 PyObject
* obj0
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->base_CreateButtons();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self",(char *) "zoom", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 arg2
= (int) SWIG_AsInt(obj1
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 (arg1
)->base_SetZoomControl(arg2
);
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24258 Py_INCREF(Py_None
); resultobj
= Py_None
;
24265 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24268 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24270 return Py_BuildValue((char *)"");
24272 static PyMethodDef SwigMethods
[] = {
24273 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24274 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24275 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24276 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24277 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24278 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24279 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24280 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24281 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24282 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24283 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24284 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24285 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24286 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24287 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24288 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24289 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24290 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24291 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24292 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24293 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24294 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24295 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24296 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24297 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24298 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24299 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24300 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24301 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24302 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24303 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24304 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24305 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24306 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24307 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24308 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24309 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24310 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24311 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24313 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24317 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24318 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24321 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24324 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24325 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
24330 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
24336 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24345 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
24347 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
24351 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
24355 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
24360 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
24375 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
24379 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
24402 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
24409 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24422 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
24432 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
24440 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
24452 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
24458 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
24467 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
24473 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
24478 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
24484 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
24488 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
24506 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
24532 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
24540 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
24549 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
24551 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
24560 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
24563 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
24570 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
24588 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
24592 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
24597 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
24601 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
24617 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
24620 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
24622 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
24626 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
24635 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
24644 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
24650 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
24662 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
24669 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
24673 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
24697 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
24721 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
24745 { (char *)"new_PrintData", (PyCFunction
) _wrap_new_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
24791 { (char *)"new_PageSetupDialogData", (PyCFunction
) _wrap_new_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
24823 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
24827 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
24828 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
24861 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
24866 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
24877 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
24900 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
24902 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
24908 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
24918 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
24919 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
24942 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
24943 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
24952 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
24960 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
24970 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24972 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
24973 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
24975 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
24976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
24978 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
24979 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
24981 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
24982 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
24984 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
24985 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
24987 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
24988 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
24990 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
24991 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
24993 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
24994 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
24996 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
24997 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
24999 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25000 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25002 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25003 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25005 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25006 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25008 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25009 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25011 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25012 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25014 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25015 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25017 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25020 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25021 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25023 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25024 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25026 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25027 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25029 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25030 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25032 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25033 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25035 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25036 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25038 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25039 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25041 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25042 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25044 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25047 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25048 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25050 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25051 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25053 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25054 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25056 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25057 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25059 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25060 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25062 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25063 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25065 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25066 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25068 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25071 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25072 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25074 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25075 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25077 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25078 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25080 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25081 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25083 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25084 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25086 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25087 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25089 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25090 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25092 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25093 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25095 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25096 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25098 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25099 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25101 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25104 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25107 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25110 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25111 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25113 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25114 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25116 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25117 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25119 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25120 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25122 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25125 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25128 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25131 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25134 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25137 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25140 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25143 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25144 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25146 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25147 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25149 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25152 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25155 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25158 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25159 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25161 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25164 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25165 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25167 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25168 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25170 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25171 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25173 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25174 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25176 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25179 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25180 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25182 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25183 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25185 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25188 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25189 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25191 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25194 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25197 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25200 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25201 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25203 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25206 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25207 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25209 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25212 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25215 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25218 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25221 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25224 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25225 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25227 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25230 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25233 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25236 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25239 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25242 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25245 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25248 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25251 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25252 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25254 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25255 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25257 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25258 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25260 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25261 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25263 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25264 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25266 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25267 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25269 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25270 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25272 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25273 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25275 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25276 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25278 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25279 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25281 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25284 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25287 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25288 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25290 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25291 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25293 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25294 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25296 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25297 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25299 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25300 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25302 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25303 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25305 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25306 return (void *)((wxObject
*) ((wxSizer
*) x
));
25308 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25309 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25311 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25314 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25317 static void *_p_wxEventTo_p_wxObject(void *x
) {
25318 return (void *)((wxObject
*) ((wxEvent
*) x
));
25320 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25321 return (void *)((wxObject
*) ((wxFontData
*) x
));
25323 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25324 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25326 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25327 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25329 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25330 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25332 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25333 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25335 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25336 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25338 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25339 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25341 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25342 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25344 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25345 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25347 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25348 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25350 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25351 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25353 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25354 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25356 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25357 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25359 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25360 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25362 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25365 static void *_p_wxControlTo_p_wxObject(void *x
) {
25366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25368 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25369 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25371 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
25372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25374 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25375 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25377 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
25378 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
25380 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25381 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25383 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
25384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25386 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
25387 return (void *)((wxObject
*) ((wxColourData
*) x
));
25389 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25390 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25392 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25395 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
25396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
25398 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
25399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25401 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
25402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25404 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
25405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25407 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
25408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25410 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
25411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25413 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
25414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25416 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
25417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25419 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
25420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25422 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25423 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25425 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
25426 return (void *)((wxObject
*) ((wxPrinter
*) x
));
25428 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25429 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25431 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25432 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25434 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25437 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25438 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25440 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25441 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25443 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25444 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25446 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25447 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25449 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25450 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25452 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25453 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25455 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25458 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25461 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25464 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25467 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25470 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25473 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25474 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25476 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25477 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25479 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25480 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25482 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25485 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25486 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25488 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25491 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25492 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25494 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
25495 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25497 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
25498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25500 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
25501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25503 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25504 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25506 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
25507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25509 static void *_p_wxImageTo_p_wxObject(void *x
) {
25510 return (void *)((wxObject
*) ((wxImage
*) x
));
25512 static void *_p_wxFrameTo_p_wxObject(void *x
) {
25513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25515 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
25516 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
25518 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25519 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25521 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
25522 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25524 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
25525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
25527 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
25528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25530 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25533 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25534 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25536 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25537 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25539 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25540 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25542 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25543 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25545 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25548 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
25549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25551 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
25552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
25554 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
25555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
25557 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
25558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
25560 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
25561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
25563 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
25564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25566 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
25567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
25569 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
25570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25572 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
25573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25575 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
25576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25578 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
25579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
25581 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
25582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25584 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
25585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
25587 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
25588 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
25590 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
25591 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25593 static void *_p_wxPanelTo_p_wxObject(void *x
) {
25594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
25596 static void *_p_wxDialogTo_p_wxObject(void *x
) {
25597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25599 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
25600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25602 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
25603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25605 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
25606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25608 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
25609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25611 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
25612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25614 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25615 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25617 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25620 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25621 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25623 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25624 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25626 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25627 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25629 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25630 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25632 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25633 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25635 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25638 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25639 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25641 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
25642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25644 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
25645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25647 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25648 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25650 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25651 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25653 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25654 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25656 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25659 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
25660 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
25662 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
25663 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
25665 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25668 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25669 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25671 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25672 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25674 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
25675 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25677 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
25678 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25680 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
25681 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25683 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
25684 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25686 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
25687 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25689 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
25690 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
25692 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
25693 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
25695 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
25696 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
25698 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
25699 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
25701 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
25702 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
25704 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
25705 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
25707 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
25708 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
25710 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
25711 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
25713 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
25714 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
25716 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
25717 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
25719 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
25720 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
25722 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
25723 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
25725 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
25726 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
25728 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
25729 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
25731 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
25732 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
25734 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25735 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25737 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
25738 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25740 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
25741 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
25743 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25744 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
25746 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
25747 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25749 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
25750 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25752 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
25753 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25755 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
25756 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
25758 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25759 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25761 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
25762 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25764 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
25765 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25767 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
25768 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25770 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
25771 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25773 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
25774 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25776 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
25777 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25779 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
25780 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25782 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
25783 return (void *)((wxWindow
*) ((wxPanel
*) x
));
25785 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
25786 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
25788 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
25789 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
25791 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
25792 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25794 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
25795 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25797 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
25798 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25800 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
25801 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
25803 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
25804 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25806 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
25807 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
25809 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
25810 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
25812 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
25813 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
25815 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
25816 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
25818 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
25819 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
25821 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
25822 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25824 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25825 return (void *)((wxWindow
*) ((wxControl
*) x
));
25827 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
25828 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25830 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
25831 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25833 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
25834 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25836 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25837 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25839 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
25840 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
25842 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
25843 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25845 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
25846 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25848 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
25849 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25851 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
25852 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
25854 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
25855 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25857 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
25858 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
25860 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
25861 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25863 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
25864 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25866 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
25867 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25869 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
25870 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
25872 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
25873 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25875 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
25876 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25878 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
25879 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25881 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
25882 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25884 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
25885 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25887 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
25888 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
25890 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
25891 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
25893 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
25894 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
25896 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
25897 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
25899 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
25900 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
25902 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
25903 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
25905 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
25906 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
25908 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
25909 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25911 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
25912 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25914 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
25915 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
25917 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
25918 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
25920 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
25921 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
25923 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
25924 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
25926 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
25927 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25929 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
25930 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25932 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
25933 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25935 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
25936 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25938 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
25939 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
25941 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
25942 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25944 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
25945 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
25947 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
25948 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25950 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
25951 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25953 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
25954 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
25956 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
25957 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25959 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
25960 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25962 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
25963 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25965 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
25966 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25968 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
25969 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25971 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
25972 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25974 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
25975 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25977 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
25978 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25980 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
25981 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
25983 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
25984 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25986 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}};
25987 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}};
25988 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}};
25989 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}};
25990 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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26038 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}};
26039 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}};
26040 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}};
26041 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}};
26042 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}};
26043 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}};
26044 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}};
26045 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}};
26046 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}};
26047 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}};
26048 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}};
26049 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}};
26050 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}};
26051 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}};
26052 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}};
26053 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}};
26054 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}};
26055 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}};
26056 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}};
26057 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}};
26058 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}};
26059 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}};
26060 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}};
26061 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}};
26062 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}};
26063 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}};
26064 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}};
26065 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}};
26066 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}};
26067 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}};
26068 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}};
26069 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}};
26070 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}};
26071 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}};
26073 static swig_type_info
*swig_types_initial
[] = {
26074 _swigt__p_wxQueryLayoutInfoEvent
,
26075 _swigt__p_wxPreviewFrame
,
26076 _swigt__p_wxPyPreviewFrame
,
26077 _swigt__p_wxPyPanel
,
26079 _swigt__p_wxPrintData
,
26080 _swigt__p_wxFontData
,
26082 _swigt__p_wxTaskBarIcon
,
26083 _swigt__p_wxIconBundle
,
26084 _swigt__p_wxLayoutAlgorithm
,
26085 _swigt__p_wxFindDialogEvent
,
26086 _swigt__p_wxPreviewCanvas
,
26088 _swigt__p_wxSplitterEvent
,
26089 _swigt__p_wxRegion
,
26090 _swigt__p_wxFindReplaceData
,
26095 _swigt__p_wxMDIChildFrame
,
26096 _swigt__p_wxColourData
,
26097 _swigt__p_wxNotifyEvent
,
26098 _swigt__p_wxPyWindow
,
26099 _swigt__p_wxSplashScreen
,
26100 _swigt__p_wxFindReplaceDialog
,
26101 _swigt__p_wxProgressDialog
,
26102 _swigt__p_wxMessageDialog
,
26103 _swigt__p_wxTextEntryDialog
,
26104 _swigt__p_wxSingleChoiceDialog
,
26105 _swigt__p_wxMultiChoiceDialog
,
26106 _swigt__p_wxFileDialog
,
26107 _swigt__p_wxPrinter
,
26108 _swigt__p_wxArrayInt
,
26109 _swigt__p_wxEvtHandler
,
26110 _swigt__p_wxCalculateLayoutEvent
,
26111 _swigt__p_wxPyHtmlListBox
,
26112 _swigt__p_wxPyVListBox
,
26115 _swigt__p_wxMiniFrame
,
26117 _swigt__p_wxPyPrintout
,
26118 _swigt__p_wxTaskBarIconEvent
,
26119 _swigt__p_wxScrollWinEvent
,
26120 _swigt__p_wxStatusBar
,
26121 _swigt__p_wxMDIParentFrame
,
26123 _swigt__p_wxObject
,
26124 _swigt__p_wxOutputStream
,
26125 _swigt__p_unsigned_long
,
26126 _swigt__p_wxPyScrolledWindow
,
26127 _swigt__p_wxMDIClientWindow
,
26128 _swigt__p_wxTipWindow
,
26129 _swigt__p_wxSashLayoutWindow
,
26130 _swigt__p_wxSplitterWindow
,
26131 _swigt__p_wxPyVScrolledWindow
,
26132 _swigt__p_wxPyPopupTransientWindow
,
26133 _swigt__p_wxPopupWindow
,
26134 _swigt__p_wxSashWindow
,
26135 _swigt__p_wxTopLevelWindow
,
26136 _swigt__p_wxWindow
,
26137 _swigt__p_wxScrolledWindow
,
26138 _swigt__p_wxSplashScreenWindow
,
26139 _swigt__p_wxMenuBar
,
26140 _swigt__p_wxPrintPreview
,
26141 _swigt__p_wxSashEvent
,
26142 _swigt__p_wxString
,
26143 _swigt__p_wxPyPrintPreview
,
26144 _swigt__p_wxFontDialog
,
26145 _swigt__p_wxDirDialog
,
26146 _swigt__p_wxColourDialog
,
26147 _swigt__p_wxDialog
,
26149 _swigt__p_wxPageSetupDialog
,
26150 _swigt__p_wxPrintDialog
,
26151 _swigt__p_wxFileSystem
,
26152 _swigt__p_wxBitmap
,
26153 _swigt__p_wxCommandEvent
,
26154 _swigt__p_wxPreviewControlBar
,
26155 _swigt__p_wxPyPreviewControlBar
,
26156 _swigt__p_wxColour
,
26157 _swigt__p_wxToolBar
,
26158 _swigt__p_wxPageSetupDialogData
,
26159 _swigt__p_wxPrintDialogData
,
26164 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26166 static swig_const_info swig_const_table
[] = {
26176 SWIGEXPORT(void) SWIG_init(void) {
26177 static PyObject
*SWIG_globals
= 0;
26178 static int typeinit
= 0;
26181 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26182 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26183 d
= PyModule_GetDict(m
);
26186 for (i
= 0; swig_types_initial
[i
]; i
++) {
26187 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26191 SWIG_InstallConstants(d
,swig_const_table
);
26193 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26194 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26195 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26196 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26197 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26198 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26199 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26200 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26201 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26202 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26203 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26204 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26205 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26206 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26207 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26208 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26209 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26210 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26211 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26212 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26213 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26214 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26215 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26216 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26217 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26218 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26219 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26220 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26221 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26222 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26223 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26224 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26225 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26226 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26227 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26228 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26229 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26230 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26231 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26232 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26233 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26234 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26235 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26236 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26237 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26238 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26239 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26240 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26241 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26242 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26243 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26244 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26245 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26246 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26247 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26248 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26249 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26250 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26251 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26252 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26253 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26254 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26255 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26256 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26257 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26258 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26259 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26260 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26261 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26262 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26263 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26264 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26265 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26266 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26267 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26268 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26269 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26270 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26271 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26272 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26273 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26274 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26275 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26276 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26277 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26278 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26279 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26280 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26281 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26282 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26283 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26284 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26285 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26287 // Map renamed classes back to their common name for OOR
26288 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26289 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26290 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26292 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26293 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26294 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26295 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26296 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26297 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26298 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26299 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26300 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26301 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26302 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26303 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26304 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26305 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26306 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26307 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26308 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26309 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26310 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26311 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26312 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26313 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26314 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26315 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26316 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26317 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26318 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26319 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26320 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26321 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26322 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26323 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26324 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26325 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26326 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26327 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26328 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
26329 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
26330 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
26331 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
26332 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
26333 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
26334 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
26335 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
26336 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
26337 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
26338 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
26339 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
26340 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
26341 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
26342 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
26343 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
26344 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
26345 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
26346 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
26347 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
26348 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
26349 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
26350 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
26351 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
26353 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");