1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
305 #define SWIG_name "_windows_"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
355 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject
*obj
)
443 return PyObject_IsTrue(obj
) ? true : false;
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject
* obj
)
451 if (PyErr_Occurred()) {
460 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
466 } else if (target
== Py_None
) {
470 if (!PyTuple_Check(target
)) {
472 target
= PyTuple_New(1);
473 PyTuple_SetItem(target
, 0, o2
);
476 PyTuple_SetItem(o3
, 0, o
);
479 target
= PySequence_Concat(o2
, o3
);
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject
*obj
)
490 if (PyNumber_Check(obj
))
491 return PyFloat_AsDouble(obj
);
493 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
494 obj
->ob_type
->tp_name
);
495 PyErr_SetObject(PyExc_TypeError
, errmsg
);
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject
* obj
)
506 if (PyErr_Occurred()) {
514 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
515 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
516 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
517 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
520 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
522 self
->GetFieldRect(i
, r
);
525 static const wxString
wxPySplitterNameStr(wxT("splitter"));
526 static const wxString
wxPySashNameStr(wxT("sashWindow"));
527 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
529 #include <wx/popupwin.h>
532 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
537 : wxPopupTransientWindow(parent
, style
) {}
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
540 DEC_PYCALLBACK__(OnDismiss
);
541 DEC_PYCALLBACK_BOOL_(CanDismiss
);
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
551 #include <wx/tipwin.h>
553 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
554 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
557 #include <wx/tipwin.h>
560 #include <wx/vscroll.h>
563 class wxPyVScrolledWindow
: public wxVScrolledWindow
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569 wxPyVScrolledWindow(wxWindow
*parent
,
570 wxWindowID id
= wxID_ANY
,
571 const wxPoint
& pos
= wxDefaultPosition
,
572 const wxSize
& size
= wxDefaultSize
,
574 const wxString
& name
= wxPyPanelNameStr
)
575 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
578 // Overridable virtuals
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
607 // this function should return the best guess for the total height it may
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
612 // Also expose some other interesting protected methods
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject
* obj
)
639 if (PyLong_Check(obj
)) {
640 return PyLong_AsUnsignedLong(obj
);
642 long i
= SWIG_AsLong(obj
);
643 if ( !PyErr_Occurred() && (i
< 0)) {
644 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject
* obj
)
654 SWIG_AsUnsignedLong(obj
);
655 if (PyErr_Occurred()) {
664 SWIGSTATICINLINE(PyObject
* )
665 SWIG_FromUnsignedLong(unsigned long value
)
667 return (value
> LONG_MAX
) ?
668 PyLong_FromUnsignedLong(value
)
669 : PyInt_FromLong(swig_numeric_cast(long,value
));
673 #include <wx/vlbox.h>
675 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
677 class wxPyVListBox
: public wxVListBox
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
681 wxPyVListBox() : wxVListBox() {}
683 wxPyVListBox(wxWindow
*parent
,
684 wxWindowID id
= wxID_ANY
,
685 const wxPoint
& pos
= wxDefaultPosition
,
686 const wxSize
& size
= wxDefaultSize
,
688 const wxString
& name
= wxPyVListBoxNameStr
)
689 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
692 // Overridable virtuals
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
700 // the derived class must implement this method to return the height of the
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
715 // this method is used to draw the items background and, maybe, a border
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
737 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
738 unsigned long cookie
= 0;
739 int selected
= self
->GetFirstSelected(cookie
);
740 bool blocked
= wxPyBeginBlockThreads();
741 PyObject
* tup
= PyTuple_New(2);
742 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
743 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
744 wxPyEndBlockThreads(blocked
);
747 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
748 int selected
= self
->GetNextSelected(cookie
);
749 bool blocked
= wxPyBeginBlockThreads();
750 PyObject
* tup
= PyTuple_New(2);
751 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
752 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
753 wxPyEndBlockThreads(blocked
);
757 #include <wx/htmllbox.h>
760 class wxPyHtmlListBox
: public wxHtmlListBox
762 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
764 wxPyHtmlListBox() : wxHtmlListBox() {}
766 wxPyHtmlListBox(wxWindow
*parent
,
767 wxWindowID id
= wxID_ANY
,
768 const wxPoint
& pos
= wxDefaultPosition
,
769 const wxSize
& size
= wxDefaultSize
,
771 const wxString
& name
= wxPyVListBoxNameStr
)
772 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
775 // Overridable virtuals
777 // this method must be implemented in the derived class and should return
778 // the body (i.e. without <html>) of the HTML for the given item
779 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
781 // this function may be overridden to decorate HTML returned by OnGetItem()
782 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
785 // // this method allows to customize the selection appearance: it may be used
786 // // to specify the colour of the text which normally has the given colour
787 // // colFg when it is inside the selection
789 // // by default, the original colour is not used at all and all text has the
790 // // same (default for this system) colour inside selection
791 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
793 // // this is the same as GetSelectedTextColour() but allows to customize the
794 // // background colour -- this is even more rarely used as you can change it
795 // // globally using SetSelectionBackground()
796 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
803 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
805 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
806 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
813 // implement dummy classes and such for wxMac
815 class wxTaskBarIcon
: public wxEvtHandler
818 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
822 class wxTaskBarIconEvent
: public wxEvent
825 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
826 { wxPyRaiseNotImplemented(); }
827 virtual wxEvent
* Clone() const { return NULL
; }
831 wxEVT_TASKBAR_MOVE
= 0,
832 wxEVT_TASKBAR_LEFT_DOWN
= 0,
833 wxEVT_TASKBAR_LEFT_UP
= 0,
834 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
835 wxEVT_TASKBAR_RIGHT_UP
= 0,
836 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
837 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
842 // // Otherwise make a class that can virtualize CreatePopupMenu
843 // class wxPyTaskBarIcon : public wxTaskBarIcon
845 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
847 // wxPyTaskBarIcon() : wxTaskBarIcon()
850 // wxMenu* CreatePopupMenu() {
851 // wxMenu *rval = NULL;
853 // bool blocked = wxPyBeginBlockThreads();
854 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
857 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
859 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
864 // wxPyEndBlockThreads(blocked);
866 // rval = wxTaskBarIcon::CreatePopupMenu();
873 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
877 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
882 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
883 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
884 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
885 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
886 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
887 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
888 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
890 self
->GetFilenames(arr
);
891 return wxArrayString2PyList_helper(arr
);
893 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
896 return wxArrayString2PyList_helper(arr
);
898 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
899 return wxArrayInt2PyList_helper(self
->GetSelections());
901 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
902 return new wxSingleChoiceDialog(parent
, message
, caption
,
903 choices
, choices_array
, NULL
, style
, pos
);
908 // C++ version of Python aware wxWindow
909 class wxPyWindow
: public wxWindow
911 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
913 wxPyWindow() : wxWindow() {}
914 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
915 const wxPoint
& pos
= wxDefaultPosition
,
916 const wxSize
& size
= wxDefaultSize
,
918 const wxString
& name
= wxPyPanelNameStr
)
919 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
921 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
923 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
924 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
925 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
928 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
932 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
933 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
935 DEC_PYCALLBACK__(InitDialog
);
936 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
937 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
938 DEC_PYCALLBACK_BOOL_(Validate
);
940 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
942 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
944 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
945 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
947 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
948 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
949 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
954 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
956 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
957 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
958 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
959 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
961 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
962 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
965 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
966 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
968 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
969 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
970 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
971 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
973 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
974 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
975 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
977 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
978 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
980 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
981 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
982 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
985 // C++ version of Python aware wxPanel
986 class wxPyPanel
: public wxPanel
988 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
990 wxPyPanel() : wxPanel() {}
991 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
992 const wxPoint
& pos
= wxDefaultPosition
,
993 const wxSize
& size
= wxDefaultSize
,
995 const wxString
& name
= wxPyPanelNameStr
)
996 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
998 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1001 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1002 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1003 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1004 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1006 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1007 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1008 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1010 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1011 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1013 DEC_PYCALLBACK__(InitDialog
);
1014 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1015 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1016 DEC_PYCALLBACK_BOOL_(Validate
);
1018 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1019 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1020 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1022 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1023 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1025 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1026 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1027 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1032 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1034 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1035 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1036 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1037 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1039 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1040 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1041 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1043 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1044 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1046 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1047 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1048 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1049 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1051 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1052 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1053 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1055 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1056 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1058 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1059 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1060 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1063 // C++ version of Python aware wxScrolledWindow
1064 class wxPyScrolledWindow
: public wxScrolledWindow
1066 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1068 wxPyScrolledWindow() : wxScrolledWindow() {}
1069 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1070 const wxPoint
& pos
= wxDefaultPosition
,
1071 const wxSize
& size
= wxDefaultSize
,
1073 const wxString
& name
= wxPyPanelNameStr
)
1074 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1076 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1078 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1079 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1080 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1081 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1083 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1084 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1085 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1087 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1088 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1090 DEC_PYCALLBACK__(InitDialog
);
1091 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1092 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1093 DEC_PYCALLBACK_BOOL_(Validate
);
1095 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1096 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1097 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1099 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1100 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1102 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1103 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1104 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1109 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1111 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1112 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1113 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1114 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1116 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1117 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1118 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1120 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1121 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1123 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1124 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1125 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1126 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1128 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1129 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1130 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1132 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1133 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1135 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1136 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1137 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1141 #include "wx/wxPython/printfw.h"
1144 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1145 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1149 // Since this one would be tough and ugly to do with the Macros...
1150 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1151 bool hadErr
= False
;
1154 bool blocked
= wxPyBeginBlockThreads();
1155 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1156 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1157 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1160 val
= PyTuple_GetItem(result
, 0);
1161 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1164 val
= PyTuple_GetItem(result
, 1);
1165 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1168 val
= PyTuple_GetItem(result
, 2);
1169 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1172 val
= PyTuple_GetItem(result
, 3);
1173 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1180 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1185 wxPyEndBlockThreads(blocked
);
1187 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1190 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1191 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1195 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1196 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1197 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1198 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1199 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1200 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1201 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1207 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1208 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1209 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1212 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1213 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1216 bool blocked = wxPyBeginBlockThreads(); \
1217 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1218 PyObject* win = wxPyMake_wxObject(a,false); \
1219 PyObject* dc = wxPyMake_wxObject(&b,false); \
1220 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1224 wxPyEndBlockThreads(blocked); \
1226 rval = PCLASS::CBNAME(a, b); \
1229 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1230 return PCLASS::CBNAME(a, b); \
1236 class wxPyPrintPreview
: public wxPrintPreview
1238 DECLARE_CLASS(wxPyPrintPreview
)
1240 wxPyPrintPreview(wxPyPrintout
* printout
,
1241 wxPyPrintout
* printoutForPrinting
,
1242 wxPrintDialogData
* data
=NULL
)
1243 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1245 wxPyPrintPreview(wxPyPrintout
* printout
,
1246 wxPyPrintout
* printoutForPrinting
,
1247 wxPrintData
* data
=NULL
)
1248 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1251 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1252 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1253 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1254 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1255 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1256 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1257 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1262 // Stupid renamed classes... Fix this in 2.5...
1263 #if defined(__WXMSW__)
1264 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1265 #elif defined(__WXMAC__)
1266 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1268 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1271 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1272 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1273 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1274 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1275 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1276 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1277 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1280 class wxPyPreviewFrame
: public wxPreviewFrame
1282 DECLARE_CLASS(wxPyPreviewFrame
);
1284 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1285 const wxString
& title
,
1286 const wxPoint
& pos
= wxDefaultPosition
,
1287 const wxSize
& size
= wxDefaultSize
,
1288 long style
= wxDEFAULT_FRAME_STYLE
,
1289 const wxString
& name
= wxPyFrameNameStr
)
1290 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1293 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1294 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1296 DEC_PYCALLBACK_VOID_(Initialize
);
1297 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1298 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1303 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1305 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1306 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1307 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1310 class wxPyPreviewControlBar
: public wxPreviewControlBar
1312 DECLARE_CLASS(wxPyPreviewControlBar
);
1314 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1317 const wxPoint
& pos
= wxDefaultPosition
,
1318 const wxSize
& size
= wxDefaultSize
,
1320 const wxString
& name
= wxPyPanelNameStr
)
1321 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1324 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1326 DEC_PYCALLBACK_VOID_(CreateButtons
);
1327 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1332 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1333 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1334 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1339 static PyObject
*_wrap_new_Panel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
*resultobj
;
1341 wxWindow
*arg1
= (wxWindow
*) 0 ;
1342 int arg2
= (int) (int)-1 ;
1343 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1344 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1345 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1346 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1347 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1348 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1349 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1353 bool temp6
= False
;
1354 PyObject
* obj0
= 0 ;
1355 PyObject
* obj1
= 0 ;
1356 PyObject
* obj2
= 0 ;
1357 PyObject
* obj3
= 0 ;
1358 PyObject
* obj4
= 0 ;
1359 PyObject
* obj5
= 0 ;
1361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1368 arg2
= (int const) SWIG_AsInt(obj1
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1374 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1380 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1384 arg5
= (long) SWIG_AsLong(obj4
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1389 arg6
= wxString_in_helper(obj5
);
1390 if (arg6
== NULL
) SWIG_fail
;
1395 if (!wxPyCheckForApp()) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1417 static PyObject
*_wrap_new_PrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
*resultobj
;
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1426 if (!wxPyCheckForApp()) SWIG_fail
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 result
= (wxPanel
*)new wxPanel();
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1440 static PyObject
*_wrap_Panel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
*resultobj
;
1442 wxPanel
*arg1
= (wxPanel
*) 0 ;
1443 wxWindow
*arg2
= (wxWindow
*) 0 ;
1444 int arg3
= (int) (int)-1 ;
1445 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1446 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1447 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1448 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1449 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1450 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1455 bool temp7
= False
;
1456 PyObject
* obj0
= 0 ;
1457 PyObject
* obj1
= 0 ;
1458 PyObject
* obj2
= 0 ;
1459 PyObject
* obj3
= 0 ;
1460 PyObject
* obj4
= 0 ;
1461 PyObject
* obj5
= 0 ;
1462 PyObject
* obj6
= 0 ;
1464 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1473 arg3
= (int const) SWIG_AsInt(obj2
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1479 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1485 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1489 arg6
= (long) SWIG_AsLong(obj5
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1494 arg7
= wxString_in_helper(obj6
);
1495 if (arg7
== NULL
) SWIG_fail
;
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1523 static PyObject
*_wrap_Panel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxPanel
*arg1
= (wxPanel
*) 0 ;
1526 PyObject
* obj0
= 0 ;
1528 (char *) "self", NULL
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 (arg1
)->InitDialog();
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 Py_INCREF(Py_None
); resultobj
= Py_None
;
1548 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1551 wxVisualAttributes result
;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "variant", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1559 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1560 if (PyErr_Occurred()) SWIG_fail
;
1563 if (!wxPyCheckForApp()) SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1571 wxVisualAttributes
* resultptr
;
1572 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1581 static PyObject
* Panel_swigregister(PyObject
*self
, PyObject
*args
) {
1583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1584 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1586 return Py_BuildValue((char *)"");
1588 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
*resultobj
;
1590 wxWindow
*arg1
= (wxWindow
*) 0 ;
1591 int arg2
= (int) (int)-1 ;
1592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1596 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1597 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1599 wxScrolledWindow
*result
;
1602 bool temp6
= False
;
1603 PyObject
* obj0
= 0 ;
1604 PyObject
* obj1
= 0 ;
1605 PyObject
* obj2
= 0 ;
1606 PyObject
* obj3
= 0 ;
1607 PyObject
* obj4
= 0 ;
1608 PyObject
* obj5
= 0 ;
1610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1617 arg2
= (int const) SWIG_AsInt(obj1
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1633 arg5
= (long) SWIG_AsLong(obj4
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1638 arg6
= wxString_in_helper(obj5
);
1639 if (arg6
== NULL
) SWIG_fail
;
1644 if (!wxPyCheckForApp()) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1666 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
*resultobj
;
1668 wxScrolledWindow
*result
;
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1675 if (!wxPyCheckForApp()) SWIG_fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1689 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1692 wxWindow
*arg2
= (wxWindow
*) 0 ;
1693 int arg3
= (int) (int)-1 ;
1694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1698 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1699 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1700 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1704 bool temp7
= False
;
1705 PyObject
* obj0
= 0 ;
1706 PyObject
* obj1
= 0 ;
1707 PyObject
* obj2
= 0 ;
1708 PyObject
* obj3
= 0 ;
1709 PyObject
* obj4
= 0 ;
1710 PyObject
* obj5
= 0 ;
1711 PyObject
* obj6
= 0 ;
1713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1722 arg3
= (int const) SWIG_AsInt(obj2
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1738 arg6
= (long) SWIG_AsLong(obj5
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1743 arg7
= wxString_in_helper(obj6
);
1744 if (arg7
== NULL
) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1772 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1774 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1779 int arg6
= (int) 0 ;
1780 int arg7
= (int) 0 ;
1781 bool arg8
= (bool) False
;
1782 PyObject
* obj0
= 0 ;
1783 PyObject
* obj1
= 0 ;
1784 PyObject
* obj2
= 0 ;
1785 PyObject
* obj3
= 0 ;
1786 PyObject
* obj4
= 0 ;
1787 PyObject
* obj5
= 0 ;
1788 PyObject
* obj6
= 0 ;
1789 PyObject
* obj7
= 0 ;
1791 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1797 arg2
= (int) SWIG_AsInt(obj1
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1799 arg3
= (int) SWIG_AsInt(obj2
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1801 arg4
= (int) SWIG_AsInt(obj3
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1803 arg5
= (int) SWIG_AsInt(obj4
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 arg6
= (int) SWIG_AsInt(obj5
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1810 arg7
= (int) SWIG_AsInt(obj6
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1814 arg8
= (bool) SWIG_AsBool(obj7
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1837 PyObject
* obj1
= 0 ;
1838 PyObject
* obj2
= 0 ;
1840 (char *) "self",(char *) "x",(char *) "y", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1846 arg2
= (int) SWIG_AsInt(obj1
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1848 arg3
= (int) SWIG_AsInt(obj2
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 (arg1
)->Scroll(arg2
,arg3
);
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 Py_INCREF(Py_None
); resultobj
= Py_None
;
1864 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "orient", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 arg2
= (int) SWIG_AsInt(obj1
);
1879 if (PyErr_Occurred()) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1887 resultobj
= SWIG_FromInt((int)result
);
1894 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1896 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1899 PyObject
* obj0
= 0 ;
1900 PyObject
* obj1
= 0 ;
1901 PyObject
* obj2
= 0 ;
1903 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1909 arg2
= (int) SWIG_AsInt(obj1
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1911 arg3
= (int) SWIG_AsInt(obj2
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 (arg1
)->SetScrollPageSize(arg2
,arg3
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 Py_INCREF(Py_None
); resultobj
= Py_None
;
1927 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1933 PyObject
* obj1
= 0 ;
1934 PyObject
* obj2
= 0 ;
1936 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1942 arg2
= (int) SWIG_AsInt(obj1
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1944 arg3
= (int) SWIG_AsInt(obj2
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 (arg1
)->SetScrollRate(arg2
,arg3
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 Py_INCREF(Py_None
); resultobj
= Py_None
;
1960 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1963 int *arg2
= (int *) 0 ;
1964 int *arg3
= (int *) 0 ;
1967 PyObject
* obj0
= 0 ;
1969 (char *) "self", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1984 Py_INCREF(Py_None
); resultobj
= Py_None
;
1986 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1987 resultobj
= t_output_helper(resultobj
,o
);
1990 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1991 resultobj
= t_output_helper(resultobj
,o
);
1999 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2006 PyObject
* obj2
= 0 ;
2008 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 arg2
= (bool) SWIG_AsBool(obj1
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2016 arg3
= (bool) SWIG_AsBool(obj2
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 (arg1
)->EnableScrolling(arg2
,arg3
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2032 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2035 int *arg2
= (int *) 0 ;
2036 int *arg3
= (int *) 0 ;
2039 PyObject
* obj0
= 0 ;
2041 (char *) "self", NULL
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2058 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2059 resultobj
= t_output_helper(resultobj
,o
);
2062 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
2063 resultobj
= t_output_helper(resultobj
,o
);
2071 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2077 PyObject
* obj1
= 0 ;
2078 PyObject
* obj2
= 0 ;
2080 (char *) "self",(char *) "xs",(char *) "ys", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2086 arg2
= (double) SWIG_AsDouble(obj1
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2088 arg3
= (double) SWIG_AsDouble(obj2
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 (arg1
)->SetScale(arg2
,arg3
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 Py_INCREF(Py_None
); resultobj
= Py_None
;
2104 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2108 PyObject
* obj0
= 0 ;
2110 (char *) "self", NULL
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2123 resultobj
= SWIG_FromDouble((double)result
);
2130 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
*resultobj
;
2132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2134 PyObject
* obj0
= 0 ;
2136 (char *) "self", NULL
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2149 resultobj
= SWIG_FromDouble((double)result
);
2156 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2157 PyObject
*resultobj
;
2158 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2162 PyObject
* obj0
= 0 ;
2163 PyObject
* obj1
= 0 ;
2165 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2180 wxPoint
* resultptr
;
2181 resultptr
= new wxPoint((wxPoint
&) result
);
2182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2190 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2191 PyObject
*resultobj
;
2192 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2195 int *arg4
= (int *) 0 ;
2196 int *arg5
= (int *) 0 ;
2199 PyObject
* obj0
= 0 ;
2200 PyObject
* obj1
= 0 ;
2201 PyObject
* obj2
= 0 ;
2205 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 arg2
= (int) SWIG_AsInt(obj1
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2210 arg3
= (int) SWIG_AsInt(obj2
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2219 Py_INCREF(Py_None
); resultobj
= Py_None
;
2221 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2222 resultobj
= t_output_helper(resultobj
,o
);
2225 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2226 resultobj
= t_output_helper(resultobj
,o
);
2234 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2239 argc
= PyObject_Length(args
);
2240 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2241 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2247 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2256 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2259 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2267 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2275 _v
= SWIG_CheckInt(argv
[1]);
2277 _v
= SWIG_CheckInt(argv
[2]);
2279 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2285 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2290 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
2291 PyObject
*resultobj
;
2292 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2296 PyObject
* obj0
= 0 ;
2297 PyObject
* obj1
= 0 ;
2299 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 wxPoint
* resultptr
;
2315 resultptr
= new wxPoint((wxPoint
&) result
);
2316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2324 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
2325 PyObject
*resultobj
;
2326 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2329 int *arg4
= (int *) 0 ;
2330 int *arg5
= (int *) 0 ;
2333 PyObject
* obj0
= 0 ;
2334 PyObject
* obj1
= 0 ;
2335 PyObject
* obj2
= 0 ;
2339 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2342 arg2
= (int) SWIG_AsInt(obj1
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2344 arg3
= (int) SWIG_AsInt(obj2
);
2345 if (PyErr_Occurred()) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 Py_INCREF(Py_None
); resultobj
= Py_None
;
2355 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
2356 resultobj
= t_output_helper(resultobj
,o
);
2359 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
2360 resultobj
= t_output_helper(resultobj
,o
);
2368 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2373 argc
= PyObject_Length(args
);
2374 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2375 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2381 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2390 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2393 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2401 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2409 _v
= SWIG_CheckInt(argv
[1]);
2411 _v
= SWIG_CheckInt(argv
[2]);
2413 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2419 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2424 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 (arg1
)->AdjustScrollbars();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2452 wxScrollWinEvent
*arg2
= 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "event", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2467 PyErr_SetString(PyExc_TypeError
,"null reference");
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 resultobj
= SWIG_FromInt((int)result
);
2484 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2487 wxWindow
*arg2
= (wxWindow
*) 0 ;
2488 PyObject
* obj0
= 0 ;
2489 PyObject
* obj1
= 0 ;
2491 (char *) "self",(char *) "target", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 (arg1
)->SetTargetWindow(arg2
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 Py_INCREF(Py_None
); resultobj
= Py_None
;
2513 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2517 PyObject
* obj0
= 0 ;
2519 (char *) "self", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2533 resultobj
= wxPyMake_wxObject(result
, 0);
2541 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2543 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2544 wxVisualAttributes result
;
2545 PyObject
* obj0
= 0 ;
2547 (char *) "variant", NULL
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2552 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2556 if (!wxPyCheckForApp()) SWIG_fail
;
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2564 wxVisualAttributes
* resultptr
;
2565 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2574 static PyObject
* ScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
2576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2577 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2579 return Py_BuildValue((char *)"");
2581 static int _wrap_FrameNameStr_set(PyObject
*_val
) {
2582 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2587 static PyObject
*_wrap_FrameNameStr_get() {
2592 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2594 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2601 static int _wrap_DialogNameStr_set(PyObject
*_val
) {
2602 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2607 static PyObject
*_wrap_DialogNameStr_get() {
2612 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2614 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2621 static int _wrap_StatusLineNameStr_set(PyObject
*_val
) {
2622 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2627 static PyObject
*_wrap_StatusLineNameStr_get() {
2632 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2634 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2641 static int _wrap_ToolBarNameStr_set(PyObject
*_val
) {
2642 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2647 static PyObject
*_wrap_ToolBarNameStr_get() {
2652 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2654 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2661 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2664 bool arg2
= (bool) True
;
2665 PyObject
* obj0
= 0 ;
2666 PyObject
* obj1
= 0 ;
2668 (char *) "self",(char *) "maximize", NULL
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2675 arg2
= (bool) SWIG_AsBool(obj1
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 (arg1
)->Maximize(arg2
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2685 Py_INCREF(Py_None
); resultobj
= Py_None
;
2692 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2695 PyObject
* obj0
= 0 ;
2697 (char *) "self", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 Py_INCREF(Py_None
); resultobj
= Py_None
;
2717 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2720 bool arg2
= (bool) True
;
2721 PyObject
* obj0
= 0 ;
2722 PyObject
* obj1
= 0 ;
2724 (char *) "self",(char *) "iconize", NULL
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2731 arg2
= (bool) SWIG_AsBool(obj1
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 (arg1
)->Iconize(arg2
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2754 (char *) "self", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2776 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2778 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2780 PyObject
* obj0
= 0 ;
2782 (char *) "self", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2804 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2808 PyObject
* obj0
= 0 ;
2810 (char *) "self", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2825 resultptr
= new wxIcon((wxIcon
&) result
);
2826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2834 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2838 PyObject
* obj0
= 0 ;
2839 PyObject
* obj1
= 0 ;
2841 (char *) "self",(char *) "icon", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2851 PyErr_SetString(PyExc_TypeError
,"null reference");
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2861 Py_INCREF(Py_None
); resultobj
= Py_None
;
2868 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2871 wxIconBundle
*arg2
= 0 ;
2872 PyObject
* obj0
= 0 ;
2873 PyObject
* obj1
= 0 ;
2875 (char *) "self",(char *) "icons", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
2882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2885 PyErr_SetString(PyExc_TypeError
,"null reference");
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2895 Py_INCREF(Py_None
); resultobj
= Py_None
;
2902 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2906 long arg3
= (long) wxFULLSCREEN_ALL
;
2908 PyObject
* obj0
= 0 ;
2909 PyObject
* obj1
= 0 ;
2910 PyObject
* obj2
= 0 ;
2912 (char *) "self",(char *) "show",(char *) "style", NULL
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2918 arg2
= (bool) SWIG_AsBool(obj1
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 arg3
= (long) SWIG_AsLong(obj2
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2940 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
2950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2968 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2971 wxString
*arg2
= 0 ;
2972 bool temp2
= False
;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2976 (char *) "self",(char *) "title", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
2980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 arg2
= wxString_in_helper(obj1
);
2984 if (arg2
== NULL
) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 (arg1
)->SetTitle((wxString
const &)*arg2
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 Py_INCREF(Py_None
); resultobj
= Py_None
;
3009 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
;
3011 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3013 PyObject
* obj0
= 0 ;
3015 (char *) "self", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3041 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
*resultobj
;
3043 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3044 wxRegion
*arg2
= 0 ;
3046 PyObject
* obj0
= 0 ;
3047 PyObject
* obj1
= 0 ;
3049 (char *) "self",(char *) "region", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3059 PyErr_SetString(PyExc_TypeError
,"null reference");
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3078 static PyObject
* TopLevelWindow_swigregister(PyObject
*self
, PyObject
*args
) {
3080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3081 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3083 return Py_BuildValue((char *)"");
3085 static PyObject
*_wrap_new_Frame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxWindow
*arg1
= (wxWindow
*) 0 ;
3088 int arg2
= (int) (int)-1 ;
3089 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3090 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3095 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3096 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3097 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3099 bool temp3
= False
;
3102 bool temp7
= False
;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3105 PyObject
* obj2
= 0 ;
3106 PyObject
* obj3
= 0 ;
3107 PyObject
* obj4
= 0 ;
3108 PyObject
* obj5
= 0 ;
3109 PyObject
* obj6
= 0 ;
3111 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3118 arg2
= (int const) SWIG_AsInt(obj1
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3123 arg3
= wxString_in_helper(obj2
);
3124 if (arg3
== NULL
) SWIG_fail
;
3131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3141 arg6
= (long) SWIG_AsLong(obj5
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3146 arg7
= wxString_in_helper(obj6
);
3147 if (arg7
== NULL
) SWIG_fail
;
3152 if (!wxPyCheckForApp()) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3182 static PyObject
*_wrap_new_PreFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3191 if (!wxPyCheckForApp()) SWIG_fail
;
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 result
= (wxFrame
*)new wxFrame();
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3205 static PyObject
*_wrap_Frame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
*resultobj
;
3207 wxFrame
*arg1
= (wxFrame
*) 0 ;
3208 wxWindow
*arg2
= (wxWindow
*) 0 ;
3209 int arg3
= (int) (int)-1 ;
3210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3212 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3213 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3214 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3215 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3216 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3217 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3218 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3220 bool temp4
= False
;
3223 bool temp8
= False
;
3224 PyObject
* obj0
= 0 ;
3225 PyObject
* obj1
= 0 ;
3226 PyObject
* obj2
= 0 ;
3227 PyObject
* obj3
= 0 ;
3228 PyObject
* obj4
= 0 ;
3229 PyObject
* obj5
= 0 ;
3230 PyObject
* obj6
= 0 ;
3231 PyObject
* obj7
= 0 ;
3233 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3242 arg3
= (int const) SWIG_AsInt(obj2
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3247 arg4
= wxString_in_helper(obj3
);
3248 if (arg4
== NULL
) SWIG_fail
;
3255 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3261 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3265 arg7
= (long) SWIG_AsLong(obj6
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3270 arg8
= wxString_in_helper(obj7
);
3271 if (arg8
== NULL
) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3307 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxFrame
*arg1
= (wxFrame
*) 0 ;
3311 PyObject
* obj0
= 0 ;
3313 (char *) "self", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 wxPoint
* resultptr
;
3328 resultptr
= new wxPoint((wxPoint
&) result
);
3329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3337 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxFrame
*arg1
= (wxFrame
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3342 (char *) "self", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 (arg1
)->SendSizeEvent();
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3355 Py_INCREF(Py_None
); resultobj
= Py_None
;
3362 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxFrame
*arg1
= (wxFrame
*) 0 ;
3365 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 (char *) "self",(char *) "menubar", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 (arg1
)->SetMenuBar(arg2
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxFrame
*arg1
= (wxFrame
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3397 (char *) "self", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3411 resultobj
= wxPyMake_wxObject(result
, 0);
3419 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxFrame
*arg1
= (wxFrame
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3427 (char *) "self",(char *) "winid", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 arg2
= (int) SWIG_AsInt(obj1
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3451 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxFrame
*arg1
= (wxFrame
*) 0 ;
3454 int arg2
= (int) 1 ;
3455 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3456 int arg4
= (int) 0 ;
3457 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3458 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3459 wxStatusBar
*result
;
3460 bool temp5
= False
;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3463 PyObject
* obj2
= 0 ;
3464 PyObject
* obj3
= 0 ;
3465 PyObject
* obj4
= 0 ;
3467 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg2
= (int) SWIG_AsInt(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3478 arg3
= (long) SWIG_AsLong(obj2
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 arg4
= (int) SWIG_AsInt(obj3
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3487 arg5
= wxString_in_helper(obj4
);
3488 if (arg5
== NULL
) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= wxPyMake_wxObject(result
, 0);
3516 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxFrame
*arg1
= (wxFrame
*) 0 ;
3519 wxStatusBar
*result
;
3520 PyObject
* obj0
= 0 ;
3522 (char *) "self", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= wxPyMake_wxObject(result
, 0);
3544 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxFrame
*arg1
= (wxFrame
*) 0 ;
3547 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3551 (char *) "self",(char *) "statBar", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 (arg1
)->SetStatusBar(arg2
);
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3566 Py_INCREF(Py_None
); resultobj
= Py_None
;
3573 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
;
3575 wxFrame
*arg1
= (wxFrame
*) 0 ;
3576 wxString
*arg2
= 0 ;
3577 int arg3
= (int) 0 ;
3578 bool temp2
= False
;
3579 PyObject
* obj0
= 0 ;
3580 PyObject
* obj1
= 0 ;
3581 PyObject
* obj2
= 0 ;
3583 (char *) "self",(char *) "text",(char *) "number", NULL
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3590 arg2
= wxString_in_helper(obj1
);
3591 if (arg2
== NULL
) SWIG_fail
;
3595 arg3
= (int) SWIG_AsInt(obj2
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 Py_INCREF(Py_None
); resultobj
= Py_None
;
3620 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxFrame
*arg1
= (wxFrame
*) 0 ;
3624 int *arg3
= (int *) 0 ;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj1
= 0 ;
3628 (char *) "self",(char *) "widths", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3635 arg2
= PyList_Size(obj1
);
3636 arg3
= int_LIST_helper(obj1
);
3637 if (arg3
== NULL
) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 if (arg3
) delete [] arg3
;
3653 if (arg3
) delete [] arg3
;
3659 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxFrame
*arg1
= (wxFrame
*) 0 ;
3662 wxString
*arg2
= 0 ;
3663 int arg3
= (int) 0 ;
3664 bool temp2
= False
;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3667 PyObject
* obj2
= 0 ;
3669 (char *) "self",(char *) "text",(char *) "number", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3676 arg2
= wxString_in_helper(obj1
);
3677 if (arg2
== NULL
) SWIG_fail
;
3681 arg3
= (int) SWIG_AsInt(obj2
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3691 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxFrame
*arg1
= (wxFrame
*) 0 ;
3709 int arg2
= (int) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3713 (char *) "self",(char *) "number", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3720 arg2
= (int) SWIG_AsInt(obj1
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->PopStatusText(arg2
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxFrame
*arg1
= (wxFrame
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3742 PyObject
* obj1
= 0 ;
3744 (char *) "self",(char *) "n", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3750 arg2
= (int) SWIG_AsInt(obj1
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->SetStatusBarPane(arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxFrame
*arg1
= (wxFrame
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_FromInt((int)result
);
3792 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxFrame
*arg1
= (wxFrame
*) 0 ;
3795 long arg2
= (long) -1 ;
3796 int arg3
= (int) -1 ;
3797 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3798 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3800 bool temp4
= False
;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3803 PyObject
* obj2
= 0 ;
3804 PyObject
* obj3
= 0 ;
3806 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3813 arg2
= (long) SWIG_AsLong(obj1
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3817 arg3
= (int) SWIG_AsInt(obj2
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3822 arg4
= wxString_in_helper(obj3
);
3823 if (arg4
== NULL
) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= wxPyMake_wxObject(result
, 0);
3851 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxFrame
*arg1
= (wxFrame
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3857 (char *) "self", NULL
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
3861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= wxPyMake_wxObject(result
, 0);
3879 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 wxFrame
*arg1
= (wxFrame
*) 0 ;
3882 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3886 (char *) "self",(char *) "toolbar", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
3893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 (arg1
)->SetToolBar(arg2
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 Py_INCREF(Py_None
); resultobj
= Py_None
;
3908 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxFrame
*arg1
= (wxFrame
*) 0 ;
3911 wxString
*arg2
= 0 ;
3913 bool temp2
= False
;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3916 PyObject
* obj2
= 0 ;
3918 (char *) "self",(char *) "text",(char *) "show", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3925 arg2
= wxString_in_helper(obj1
);
3926 if (arg2
== NULL
) SWIG_fail
;
3929 arg3
= (bool) SWIG_AsBool(obj2
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 Py_INCREF(Py_None
); resultobj
= Py_None
;
3953 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxFrame
*arg1
= (wxFrame
*) 0 ;
3956 wxMenu
*arg2
= (wxMenu
*) NULL
;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3960 (char *) "self",(char *) "menu", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
3964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
3968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 (arg1
)->DoMenuUpdates(arg2
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3987 wxVisualAttributes result
;
3988 PyObject
* obj0
= 0 ;
3990 (char *) "variant", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3995 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3999 if (!wxPyCheckForApp()) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4007 wxVisualAttributes
* resultptr
;
4008 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4017 static PyObject
* Frame_swigregister(PyObject
*self
, PyObject
*args
) {
4019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4020 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4022 return Py_BuildValue((char *)"");
4024 static PyObject
*_wrap_new_Dialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxWindow
*arg1
= (wxWindow
*) 0 ;
4027 int arg2
= (int) (int)-1 ;
4028 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4029 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4034 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4035 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4036 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4038 bool temp3
= False
;
4041 bool temp7
= False
;
4042 PyObject
* obj0
= 0 ;
4043 PyObject
* obj1
= 0 ;
4044 PyObject
* obj2
= 0 ;
4045 PyObject
* obj3
= 0 ;
4046 PyObject
* obj4
= 0 ;
4047 PyObject
* obj5
= 0 ;
4048 PyObject
* obj6
= 0 ;
4050 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4057 arg2
= (int const) SWIG_AsInt(obj1
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4062 arg3
= wxString_in_helper(obj2
);
4063 if (arg3
== NULL
) SWIG_fail
;
4070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4080 arg6
= (long) SWIG_AsLong(obj5
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4085 arg7
= wxString_in_helper(obj6
);
4086 if (arg7
== NULL
) SWIG_fail
;
4091 if (!wxPyCheckForApp()) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4121 static PyObject
*_wrap_new_PreDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
;
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4130 if (!wxPyCheckForApp()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (wxDialog
*)new wxDialog();
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4144 static PyObject
*_wrap_Dialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4146 wxDialog
*arg1
= (wxDialog
*) 0 ;
4147 wxWindow
*arg2
= (wxWindow
*) 0 ;
4148 int arg3
= (int) (int)-1 ;
4149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4151 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4152 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4153 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4154 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4155 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4156 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4159 bool temp4
= False
;
4162 bool temp8
= False
;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4165 PyObject
* obj2
= 0 ;
4166 PyObject
* obj3
= 0 ;
4167 PyObject
* obj4
= 0 ;
4168 PyObject
* obj5
= 0 ;
4169 PyObject
* obj6
= 0 ;
4170 PyObject
* obj7
= 0 ;
4172 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4181 arg3
= (int const) SWIG_AsInt(obj2
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4186 arg4
= wxString_in_helper(obj3
);
4187 if (arg4
== NULL
) SWIG_fail
;
4194 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4200 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4204 arg7
= (long) SWIG_AsLong(obj6
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4209 arg8
= wxString_in_helper(obj7
);
4210 if (arg8
== NULL
) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4246 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxDialog
*arg1
= (wxDialog
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4251 PyObject
* obj1
= 0 ;
4253 (char *) "self",(char *) "returnCode", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 arg2
= (int) SWIG_AsInt(obj1
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->SetReturnCode(arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxDialog
*arg1
= (wxDialog
*) 0 ;
4279 PyObject
* obj0
= 0 ;
4281 (char *) "self", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= SWIG_FromInt((int)result
);
4301 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxDialog
*arg1
= (wxDialog
*) 0 ;
4304 wxString
*arg2
= 0 ;
4306 bool temp2
= False
;
4307 PyObject
* obj0
= 0 ;
4308 PyObject
* obj1
= 0 ;
4310 (char *) "self",(char *) "message", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4317 arg2
= wxString_in_helper(obj1
);
4318 if (arg2
== NULL
) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= wxPyMake_wxSizer(result
, 0);
4345 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxDialog
*arg1
= (wxDialog
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4353 (char *) "self",(char *) "flags", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4359 arg2
= (long) SWIG_AsLong(obj1
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= wxPyMake_wxSizer(result
, 0);
4377 static PyObject
*_wrap_Dialog_IsModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxDialog
*arg1
= (wxDialog
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4383 (char *) "self", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4405 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxDialog
*arg1
= (wxDialog
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4411 (char *) "self", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)(arg1
)->ShowModal();
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_FromInt((int)result
);
4431 static PyObject
*_wrap_Dialog_EndModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxDialog
*arg1
= (wxDialog
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4436 PyObject
* obj1
= 0 ;
4438 (char *) "self",(char *) "retCode", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4444 arg2
= (int) SWIG_AsInt(obj1
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 (arg1
)->EndModal(arg2
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 Py_INCREF(Py_None
); resultobj
= Py_None
;
4460 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4463 wxVisualAttributes result
;
4464 PyObject
* obj0
= 0 ;
4466 (char *) "variant", NULL
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4471 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4475 if (!wxPyCheckForApp()) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 wxVisualAttributes
* resultptr
;
4484 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4493 static PyObject
* Dialog_swigregister(PyObject
*self
, PyObject
*args
) {
4495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4496 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4498 return Py_BuildValue((char *)"");
4500 static PyObject
*_wrap_new_MiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxWindow
*arg1
= (wxWindow
*) 0 ;
4503 int arg2
= (int) (int)-1 ;
4504 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4505 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4510 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4511 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4512 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4513 wxMiniFrame
*result
;
4514 bool temp3
= False
;
4517 bool temp7
= False
;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4520 PyObject
* obj2
= 0 ;
4521 PyObject
* obj3
= 0 ;
4522 PyObject
* obj4
= 0 ;
4523 PyObject
* obj5
= 0 ;
4524 PyObject
* obj6
= 0 ;
4526 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4533 arg2
= (int const) SWIG_AsInt(obj1
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4538 arg3
= wxString_in_helper(obj2
);
4539 if (arg3
== NULL
) SWIG_fail
;
4546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4556 arg6
= (long) SWIG_AsLong(obj5
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4561 arg7
= wxString_in_helper(obj6
);
4562 if (arg7
== NULL
) SWIG_fail
;
4567 if (!wxPyCheckForApp()) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4597 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxMiniFrame
*result
;
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4606 if (!wxPyCheckForApp()) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= (wxMiniFrame
*)new wxMiniFrame();
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4620 static PyObject
*_wrap_MiniFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4623 wxWindow
*arg2
= (wxWindow
*) 0 ;
4624 int arg3
= (int) (int)-1 ;
4625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4627 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4628 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4629 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4630 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4631 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4632 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4633 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4635 bool temp4
= False
;
4638 bool temp8
= False
;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4641 PyObject
* obj2
= 0 ;
4642 PyObject
* obj3
= 0 ;
4643 PyObject
* obj4
= 0 ;
4644 PyObject
* obj5
= 0 ;
4645 PyObject
* obj6
= 0 ;
4646 PyObject
* obj7
= 0 ;
4648 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4657 arg3
= (int const) SWIG_AsInt(obj2
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4662 arg4
= wxString_in_helper(obj3
);
4663 if (arg4
== NULL
) SWIG_fail
;
4670 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4676 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4680 arg7
= (long) SWIG_AsLong(obj6
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4685 arg8
= wxString_in_helper(obj7
);
4686 if (arg8
== NULL
) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4722 static PyObject
* MiniFrame_swigregister(PyObject
*self
, PyObject
*args
) {
4724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4725 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4727 return Py_BuildValue((char *)"");
4729 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
;
4731 wxBitmap
*arg1
= 0 ;
4732 wxWindow
*arg2
= (wxWindow
*) 0 ;
4734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4738 long arg6
= (long) wxNO_BORDER
;
4739 wxSplashScreenWindow
*result
;
4742 PyObject
* obj0
= 0 ;
4743 PyObject
* obj1
= 0 ;
4744 PyObject
* obj2
= 0 ;
4745 PyObject
* obj3
= 0 ;
4746 PyObject
* obj4
= 0 ;
4747 PyObject
* obj5
= 0 ;
4749 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4757 PyErr_SetString(PyExc_TypeError
,"null reference");
4760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4762 arg3
= (int) SWIG_AsInt(obj2
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4767 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4773 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4777 arg6
= (long) SWIG_AsLong(obj5
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4781 if (!wxPyCheckForApp()) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4795 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4798 wxBitmap
*arg2
= 0 ;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4802 (char *) "self",(char *) "bitmap", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4812 PyErr_SetString(PyExc_TypeError
,"null reference");
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 Py_INCREF(Py_None
); resultobj
= Py_None
;
4829 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4833 PyObject
* obj0
= 0 ;
4835 (char *) "self", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
4839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
4845 result
= (wxBitmap
*) &_result_ref
;
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4852 wxBitmap
* resultptr
= new wxBitmap(*result
);
4853 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4861 static PyObject
* SplashScreenWindow_swigregister(PyObject
*self
, PyObject
*args
) {
4863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4864 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
4866 return Py_BuildValue((char *)"");
4868 static PyObject
*_wrap_new_SplashScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxBitmap
*arg1
= 0 ;
4873 wxWindow
*arg4
= (wxWindow
*) 0 ;
4874 int arg5
= (int) -1 ;
4875 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
4876 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
4877 wxSize
const &arg7_defvalue
= wxDefaultSize
;
4878 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
4879 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
4880 wxSplashScreen
*result
;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4885 PyObject
* obj2
= 0 ;
4886 PyObject
* obj3
= 0 ;
4887 PyObject
* obj4
= 0 ;
4888 PyObject
* obj5
= 0 ;
4889 PyObject
* obj6
= 0 ;
4890 PyObject
* obj7
= 0 ;
4892 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4900 PyErr_SetString(PyExc_TypeError
,"null reference");
4903 arg2
= (long) SWIG_AsLong(obj1
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4905 arg3
= (int) SWIG_AsInt(obj2
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4907 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 arg5
= (int) SWIG_AsInt(obj4
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4916 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
4922 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
4926 arg8
= (long) SWIG_AsLong(obj7
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4930 if (!wxPyCheckForApp()) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
4944 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
4954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_FromLong((long)result
);
4970 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
4973 wxSplashScreenWindow
*result
;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "self", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
4981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
4996 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "self", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_FromInt((int)result
);
5022 static PyObject
* SplashScreen_swigregister(PyObject
*self
, PyObject
*args
) {
5024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5025 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5027 return Py_BuildValue((char *)"");
5029 static PyObject
*_wrap_new_StatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxWindow
*arg1
= (wxWindow
*) 0 ;
5032 int arg2
= (int) -1 ;
5033 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5034 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5036 wxStatusBar
*result
;
5037 bool temp4
= False
;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5040 PyObject
* obj2
= 0 ;
5041 PyObject
* obj3
= 0 ;
5043 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5050 arg2
= (int) SWIG_AsInt(obj1
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5054 arg3
= (long) SWIG_AsLong(obj2
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5059 arg4
= wxString_in_helper(obj3
);
5060 if (arg4
== NULL
) SWIG_fail
;
5065 if (!wxPyCheckForApp()) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5087 static PyObject
*_wrap_new_PreStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxStatusBar
*result
;
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5096 if (!wxPyCheckForApp()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxStatusBar
*)new wxStatusBar();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5110 static PyObject
*_wrap_StatusBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5113 wxWindow
*arg2
= (wxWindow
*) 0 ;
5114 int arg3
= (int) -1 ;
5115 long arg4
= (long) wxST_SIZEGRIP
;
5116 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5117 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5119 bool temp5
= False
;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5123 PyObject
* obj3
= 0 ;
5124 PyObject
* obj4
= 0 ;
5126 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 arg3
= (int) SWIG_AsInt(obj2
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5139 arg4
= (long) SWIG_AsLong(obj3
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5144 arg5
= wxString_in_helper(obj4
);
5145 if (arg5
== NULL
) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5173 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5176 int arg2
= (int) 1 ;
5177 PyObject
* obj0
= 0 ;
5178 PyObject
* obj1
= 0 ;
5180 (char *) "self",(char *) "number", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5187 arg2
= (int) SWIG_AsInt(obj1
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 (arg1
)->SetFieldsCount(arg2
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 Py_INCREF(Py_None
); resultobj
= Py_None
;
5204 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5210 (char *) "self", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_FromInt((int)result
);
5230 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5233 wxString
*arg2
= 0 ;
5234 int arg3
= (int) 0 ;
5235 bool temp2
= False
;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5238 PyObject
* obj2
= 0 ;
5240 (char *) "self",(char *) "text",(char *) "number", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 arg2
= wxString_in_helper(obj1
);
5248 if (arg2
== NULL
) SWIG_fail
;
5252 arg3
= (int) SWIG_AsInt(obj2
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5262 Py_INCREF(Py_None
); resultobj
= Py_None
;
5277 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5280 int arg2
= (int) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5285 (char *) "self",(char *) "number", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 arg2
= (int) SWIG_AsInt(obj1
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5315 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5318 wxString
*arg2
= 0 ;
5319 int arg3
= (int) 0 ;
5320 bool temp2
= False
;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 PyObject
* obj2
= 0 ;
5325 (char *) "self",(char *) "text",(char *) "number", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5332 arg2
= wxString_in_helper(obj1
);
5333 if (arg2
== NULL
) SWIG_fail
;
5337 arg3
= (int) SWIG_AsInt(obj2
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 Py_INCREF(Py_None
); resultobj
= Py_None
;
5362 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5365 int arg2
= (int) 0 ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5369 (char *) "self",(char *) "number", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 arg2
= (int) SWIG_AsInt(obj1
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->PopStatusText(arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5397 int *arg3
= (int *) 0 ;
5398 PyObject
* obj0
= 0 ;
5399 PyObject
* obj1
= 0 ;
5401 (char *) "self",(char *) "widths", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5408 arg2
= PyList_Size(obj1
);
5409 arg3
= int_LIST_helper(obj1
);
5410 if (arg3
== NULL
) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 if (arg3
) delete [] arg3
;
5426 if (arg3
) delete [] arg3
;
5432 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5440 (char *) "self",(char *) "i", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5446 arg2
= (int) SWIG_AsInt(obj1
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5457 resultptr
= new wxRect((wxRect
&) result
);
5458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5466 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5473 (char *) "self",(char *) "height", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5479 arg2
= (int) SWIG_AsInt(obj1
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 (arg1
)->SetMinHeight(arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 Py_INCREF(Py_None
); resultobj
= Py_None
;
5495 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5499 PyObject
* obj0
= 0 ;
5501 (char *) "self", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_FromInt((int)result
);
5521 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5525 PyObject
* obj0
= 0 ;
5527 (char *) "self", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= SWIG_FromInt((int)result
);
5547 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5550 wxVisualAttributes result
;
5551 PyObject
* obj0
= 0 ;
5553 (char *) "variant", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5558 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5562 if (!wxPyCheckForApp()) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 wxVisualAttributes
* resultptr
;
5571 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5580 static PyObject
* StatusBar_swigregister(PyObject
*self
, PyObject
*args
) {
5582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5585 return Py_BuildValue((char *)"");
5587 static int _wrap_SplitterNameStr_set(PyObject
*_val
) {
5588 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5593 static PyObject
*_wrap_SplitterNameStr_get() {
5598 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5600 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5607 static PyObject
*_wrap_new_SplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxWindow
*arg1
= (wxWindow
*) 0 ;
5610 int arg2
= (int) -1 ;
5611 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5612 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5613 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5614 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5615 long arg5
= (long) wxSP_3D
;
5616 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5617 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5618 wxSplitterWindow
*result
;
5621 bool temp6
= False
;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5624 PyObject
* obj2
= 0 ;
5625 PyObject
* obj3
= 0 ;
5626 PyObject
* obj4
= 0 ;
5627 PyObject
* obj5
= 0 ;
5629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 arg2
= (int) SWIG_AsInt(obj1
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5642 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5648 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5652 arg5
= (long) SWIG_AsLong(obj4
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5657 arg6
= wxString_in_helper(obj5
);
5658 if (arg6
== NULL
) SWIG_fail
;
5663 if (!wxPyCheckForApp()) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5685 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxSplitterWindow
*result
;
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5694 if (!wxPyCheckForApp()) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5708 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5711 wxWindow
*arg2
= (wxWindow
*) 0 ;
5712 int arg3
= (int) -1 ;
5713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5717 long arg6
= (long) wxSP_3D
;
5718 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5719 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5723 bool temp7
= False
;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5726 PyObject
* obj2
= 0 ;
5727 PyObject
* obj3
= 0 ;
5728 PyObject
* obj4
= 0 ;
5729 PyObject
* obj5
= 0 ;
5730 PyObject
* obj6
= 0 ;
5732 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5741 arg3
= (int) SWIG_AsInt(obj2
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5757 arg6
= (long) SWIG_AsLong(obj5
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5762 arg7
= wxString_in_helper(obj6
);
5763 if (arg7
== NULL
) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5791 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5795 PyObject
* obj0
= 0 ;
5797 (char *) "self", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5811 resultobj
= wxPyMake_wxObject(result
, 0);
5819 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5825 (char *) "self", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= wxPyMake_wxObject(result
, 0);
5847 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5854 (char *) "self",(char *) "mode", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= (int) SWIG_AsInt(obj1
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 (arg1
)->SetSplitMode(arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 Py_INCREF(Py_None
); resultobj
= Py_None
;
5876 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5882 (char *) "self", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
5886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_FromInt((int)result
);
5902 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5905 wxWindow
*arg2
= (wxWindow
*) 0 ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5909 (char *) "self",(char *) "window", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 (arg1
)->Initialize(arg2
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 Py_INCREF(Py_None
); resultobj
= Py_None
;
5931 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5934 wxWindow
*arg2
= (wxWindow
*) 0 ;
5935 wxWindow
*arg3
= (wxWindow
*) 0 ;
5936 int arg4
= (int) 0 ;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj1
= 0 ;
5940 PyObject
* obj2
= 0 ;
5941 PyObject
* obj3
= 0 ;
5943 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5951 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5954 arg4
= (int) SWIG_AsInt(obj3
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5973 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5976 wxWindow
*arg2
= (wxWindow
*) 0 ;
5977 wxWindow
*arg3
= (wxWindow
*) 0 ;
5978 int arg4
= (int) 0 ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5982 PyObject
* obj2
= 0 ;
5983 PyObject
* obj3
= 0 ;
5985 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 arg4
= (int) SWIG_AsInt(obj3
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6015 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
*resultobj
;
6017 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6018 wxWindow
*arg2
= (wxWindow
*) NULL
;
6020 PyObject
* obj0
= 0 ;
6021 PyObject
* obj1
= 0 ;
6023 (char *) "self",(char *) "toRemove", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (bool)(arg1
)->Unsplit(arg2
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6052 wxWindow
*arg2
= (wxWindow
*) 0 ;
6053 wxWindow
*arg3
= (wxWindow
*) 0 ;
6055 PyObject
* obj0
= 0 ;
6056 PyObject
* obj1
= 0 ;
6057 PyObject
* obj2
= 0 ;
6059 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6067 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6085 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6088 PyObject
* obj0
= 0 ;
6090 (char *) "self", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 (arg1
)->UpdateSize();
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 Py_INCREF(Py_None
); resultobj
= Py_None
;
6110 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6116 (char *) "self", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6138 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6145 (char *) "self",(char *) "width", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6151 arg2
= (int) SWIG_AsInt(obj1
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 (arg1
)->SetSashSize(arg2
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 Py_INCREF(Py_None
); resultobj
= Py_None
;
6167 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6172 PyObject
* obj1
= 0 ;
6174 (char *) "self",(char *) "width", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 arg2
= (int) SWIG_AsInt(obj1
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 (arg1
)->SetBorderSize(arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6202 (char *) "self", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_FromInt((int)result
);
6222 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6228 (char *) "self", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_FromInt((int)result
);
6248 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6252 bool arg3
= (bool) True
;
6253 PyObject
* obj0
= 0 ;
6254 PyObject
* obj1
= 0 ;
6255 PyObject
* obj2
= 0 ;
6257 (char *) "self",(char *) "position",(char *) "redraw", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 arg2
= (int) SWIG_AsInt(obj1
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 arg3
= (bool) SWIG_AsBool(obj2
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->SetSashPosition(arg2
,arg3
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_FromInt((int)result
);
6309 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6316 (char *) "self",(char *) "min", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 arg2
= (int) SWIG_AsInt(obj1
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 (arg1
)->SetMinimumPaneSize(arg2
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 Py_INCREF(Py_None
); resultobj
= Py_None
;
6338 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6342 PyObject
* obj0
= 0 ;
6344 (char *) "self", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= SWIG_FromInt((int)result
);
6364 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6369 int arg4
= (int) 5 ;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6373 PyObject
* obj2
= 0 ;
6374 PyObject
* obj3
= 0 ;
6376 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 arg2
= (int) SWIG_AsInt(obj1
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6384 arg3
= (int) SWIG_AsInt(obj2
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 arg4
= (int) SWIG_AsInt(obj3
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6406 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6411 (char *) "self", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->SizeWindows();
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6436 PyObject
* obj1
= 0 ;
6438 (char *) "self",(char *) "needUpdating", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 arg2
= (bool) SWIG_AsBool(obj1
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 (arg1
)->SetNeedUpdating(arg2
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 Py_INCREF(Py_None
); resultobj
= Py_None
;
6460 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
*resultobj
;
6462 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6464 PyObject
* obj0
= 0 ;
6466 (char *) "self", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6488 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6491 wxVisualAttributes result
;
6492 PyObject
* obj0
= 0 ;
6494 (char *) "variant", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6499 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6503 if (!wxPyCheckForApp()) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 wxVisualAttributes
* resultptr
;
6512 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6521 static PyObject
* SplitterWindow_swigregister(PyObject
*self
, PyObject
*args
) {
6523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6524 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6526 return Py_BuildValue((char *)"");
6528 static PyObject
*_wrap_new_SplitterEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6531 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6532 wxSplitterEvent
*result
;
6533 PyObject
* obj0
= 0 ;
6534 PyObject
* obj1
= 0 ;
6536 (char *) "type",(char *) "splitter", NULL
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6541 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6562 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6569 (char *) "self",(char *) "pos", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 arg2
= (int) SWIG_AsInt(obj1
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 (arg1
)->SetSashPosition(arg2
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= SWIG_FromInt((int)result
);
6617 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6621 PyObject
* obj0
= 0 ;
6623 (char *) "self", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= wxPyMake_wxObject(result
, 0);
6645 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_FromInt((int)result
);
6671 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6677 (char *) "self", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= SWIG_FromInt((int)result
);
6697 static PyObject
* SplitterEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6700 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6702 return Py_BuildValue((char *)"");
6704 static int _wrap_SashNameStr_set(PyObject
*_val
) {
6705 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6710 static PyObject
*_wrap_SashNameStr_get() {
6715 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6717 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6724 static int _wrap_SashLayoutNameStr_set(PyObject
*_val
) {
6725 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6730 static PyObject
*_wrap_SashLayoutNameStr_get() {
6735 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6737 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6744 static PyObject
*_wrap_new_SashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxWindow
*arg1
= (wxWindow
*) 0 ;
6747 int arg2
= (int) -1 ;
6748 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6749 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6750 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6751 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6752 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6753 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6754 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6755 wxSashWindow
*result
;
6758 bool temp6
= False
;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6761 PyObject
* obj2
= 0 ;
6762 PyObject
* obj3
= 0 ;
6763 PyObject
* obj4
= 0 ;
6764 PyObject
* obj5
= 0 ;
6766 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6773 arg2
= (int) SWIG_AsInt(obj1
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6779 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6785 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6789 arg5
= (long) SWIG_AsLong(obj4
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6794 arg6
= wxString_in_helper(obj5
);
6795 if (arg6
== NULL
) SWIG_fail
;
6800 if (!wxPyCheckForApp()) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6822 static PyObject
*_wrap_new_PreSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxSashWindow
*result
;
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
6831 if (!wxPyCheckForApp()) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (wxSashWindow
*)new wxSashWindow();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
6845 static PyObject
*_wrap_SashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6848 wxWindow
*arg2
= (wxWindow
*) 0 ;
6849 int arg3
= (int) -1 ;
6850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6854 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6855 wxString
const &arg7_defvalue
= wxPySashNameStr
;
6856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6860 bool temp7
= False
;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6863 PyObject
* obj2
= 0 ;
6864 PyObject
* obj3
= 0 ;
6865 PyObject
* obj4
= 0 ;
6866 PyObject
* obj5
= 0 ;
6867 PyObject
* obj6
= 0 ;
6869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6878 arg3
= (int) SWIG_AsInt(obj2
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6884 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6890 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6894 arg6
= (long) SWIG_AsLong(obj5
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6899 arg7
= wxString_in_helper(obj6
);
6900 if (arg7
== NULL
) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6928 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6937 (char *) "self",(char *) "edge",(char *) "sash", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6943 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6945 arg3
= (bool) SWIG_AsBool(obj2
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 Py_INCREF(Py_None
); resultobj
= Py_None
;
6961 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6969 (char *) "self",(char *) "edge", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6975 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6993 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7000 PyObject
* obj2
= 0 ;
7002 (char *) "self",(char *) "edge",(char *) "border", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7010 arg3
= (bool) SWIG_AsBool(obj2
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 Py_INCREF(Py_None
); resultobj
= Py_None
;
7026 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7034 (char *) "self",(char *) "edge", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7040 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7058 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7064 PyObject
* obj1
= 0 ;
7066 (char *) "self",(char *) "edge", NULL
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7072 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= SWIG_FromInt((int)result
);
7088 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7095 (char *) "self",(char *) "width", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7101 arg2
= (int) SWIG_AsInt(obj1
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 (arg1
)->SetDefaultBorderSize(arg2
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 Py_INCREF(Py_None
); resultobj
= Py_None
;
7117 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_FromInt((int)result
);
7143 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7150 (char *) "self",(char *) "width", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 arg2
= (int) SWIG_AsInt(obj1
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 (arg1
)->SetExtraBorderSize(arg2
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_FromInt((int)result
);
7198 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "min", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 arg2
= (int) SWIG_AsInt(obj1
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 (arg1
)->SetMinimumSizeX(arg2
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 Py_INCREF(Py_None
); resultobj
= Py_None
;
7227 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7231 PyObject
* obj0
= 0 ;
7232 PyObject
* obj1
= 0 ;
7234 (char *) "self",(char *) "min", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7240 arg2
= (int) SWIG_AsInt(obj1
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 (arg1
)->SetMinimumSizeY(arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7262 (char *) "self", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_FromInt((int)result
);
7282 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
;
7284 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7286 PyObject
* obj0
= 0 ;
7288 (char *) "self", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_FromInt((int)result
);
7308 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7315 (char *) "self",(char *) "max", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7321 arg2
= (int) SWIG_AsInt(obj1
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 (arg1
)->SetMaximumSizeX(arg2
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 Py_INCREF(Py_None
); resultobj
= Py_None
;
7337 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7341 PyObject
* obj0
= 0 ;
7342 PyObject
* obj1
= 0 ;
7344 (char *) "self",(char *) "max", NULL
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7350 arg2
= (int) SWIG_AsInt(obj1
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 (arg1
)->SetMaximumSizeY(arg2
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 Py_INCREF(Py_None
); resultobj
= Py_None
;
7366 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7370 PyObject
* obj0
= 0 ;
7372 (char *) "self", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_FromInt((int)result
);
7392 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7396 PyObject
* obj0
= 0 ;
7398 (char *) "self", NULL
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_FromInt((int)result
);
7418 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7423 int arg4
= (int) 2 ;
7425 PyObject
* obj0
= 0 ;
7426 PyObject
* obj1
= 0 ;
7427 PyObject
* obj2
= 0 ;
7428 PyObject
* obj3
= 0 ;
7430 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7436 arg2
= (int) SWIG_AsInt(obj1
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7438 arg3
= (int) SWIG_AsInt(obj2
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 arg4
= (int) SWIG_AsInt(obj3
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 resultobj
= SWIG_FromInt((int)result
);
7458 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7463 (char *) "self", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 (arg1
)->SizeWindows();
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 Py_INCREF(Py_None
); resultobj
= Py_None
;
7483 static PyObject
* SashWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7486 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7488 return Py_BuildValue((char *)"");
7490 static PyObject
*_wrap_new_SashEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 int arg1
= (int) 0 ;
7493 int arg2
= (int) wxSASH_NONE
;
7494 wxSashEvent
*result
;
7495 PyObject
* obj0
= 0 ;
7496 PyObject
* obj1
= 0 ;
7498 (char *) "id",(char *) "edge", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7503 arg1
= (int) SWIG_AsInt(obj0
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7507 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7524 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7531 (char *) "self",(char *) "edge", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 arg2
= (wxSashEdgePosition
) SWIG_AsInt(obj1
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 Py_INCREF(Py_None
); resultobj
= Py_None
;
7553 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7559 (char *) "self", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_FromInt((int)result
);
7579 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7587 (char *) "self",(char *) "rect", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7595 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7615 PyObject
* obj0
= 0 ;
7617 (char *) "self", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7632 resultptr
= new wxRect((wxRect
&) result
);
7633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7641 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7648 (char *) "self",(char *) "status", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 arg2
= (wxSashDragStatus
) SWIG_AsInt(obj1
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_FromInt((int)result
);
7696 static PyObject
* SashEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7699 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7701 return Py_BuildValue((char *)"");
7703 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
;
7705 int arg1
= (int) 0 ;
7706 wxQueryLayoutInfoEvent
*result
;
7707 PyObject
* obj0
= 0 ;
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7714 arg1
= (int) SWIG_AsInt(obj0
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7731 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7738 (char *) "self",(char *) "length", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7744 arg2
= (int) SWIG_AsInt(obj1
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 (arg1
)->SetRequestedLength(arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7760 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_FromInt((int)result
);
7786 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7793 (char *) "self",(char *) "flags", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7799 arg2
= (int) SWIG_AsInt(obj1
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->SetFlags(arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "self", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_FromInt((int)result
);
7841 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7849 (char *) "self",(char *) "size", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7857 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 (arg1
)->SetSize((wxSize
const &)*arg2
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 Py_INCREF(Py_None
); resultobj
= Py_None
;
7873 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7879 (char *) "self", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
7883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7894 resultptr
= new wxSize((wxSize
&) result
);
7895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
7903 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7910 (char *) "self",(char *) "orient", NULL
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
7914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 Py_INCREF(Py_None
); resultobj
= Py_None
;
7932 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
;
7934 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7938 (char *) "self", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
7942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= SWIG_FromInt((int)result
);
7958 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7960 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7965 (char *) "self",(char *) "align", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7971 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 Py_INCREF(Py_None
); resultobj
= Py_None
;
7987 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7991 PyObject
* obj0
= 0 ;
7993 (char *) "self", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 resultobj
= SWIG_FromInt((int)result
);
8013 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8016 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8018 return Py_BuildValue((char *)"");
8020 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 int arg1
= (int) 0 ;
8023 wxCalculateLayoutEvent
*result
;
8024 PyObject
* obj0
= 0 ;
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8031 arg1
= (int) SWIG_AsInt(obj0
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8048 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8055 (char *) "self",(char *) "flags", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8061 arg2
= (int) SWIG_AsInt(obj1
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 (arg1
)->SetFlags(arg2
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 Py_INCREF(Py_None
); resultobj
= Py_None
;
8077 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8083 (char *) "self", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= SWIG_FromInt((int)result
);
8103 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8111 (char *) "self",(char *) "rect", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetRect((wxRect
const &)*arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "self", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8156 resultptr
= new wxRect((wxRect
&) result
);
8157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8165 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8168 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8170 return Py_BuildValue((char *)"");
8172 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxWindow
*arg1
= (wxWindow
*) 0 ;
8175 int arg2
= (int) -1 ;
8176 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8177 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8178 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8179 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8180 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8181 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8182 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8183 wxSashLayoutWindow
*result
;
8186 bool temp6
= False
;
8187 PyObject
* obj0
= 0 ;
8188 PyObject
* obj1
= 0 ;
8189 PyObject
* obj2
= 0 ;
8190 PyObject
* obj3
= 0 ;
8191 PyObject
* obj4
= 0 ;
8192 PyObject
* obj5
= 0 ;
8194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8201 arg2
= (int) SWIG_AsInt(obj1
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8217 arg5
= (long) SWIG_AsLong(obj4
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8222 arg6
= wxString_in_helper(obj5
);
8223 if (arg6
== NULL
) SWIG_fail
;
8228 if (!wxPyCheckForApp()) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8250 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxSashLayoutWindow
*result
;
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8259 if (!wxPyCheckForApp()) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8273 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8276 wxWindow
*arg2
= (wxWindow
*) 0 ;
8277 int arg3
= (int) -1 ;
8278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8282 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8283 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8284 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8288 bool temp7
= False
;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8291 PyObject
* obj2
= 0 ;
8292 PyObject
* obj3
= 0 ;
8293 PyObject
* obj4
= 0 ;
8294 PyObject
* obj5
= 0 ;
8295 PyObject
* obj6
= 0 ;
8297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8306 arg3
= (int) SWIG_AsInt(obj2
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8322 arg6
= (long) SWIG_AsLong(obj5
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8327 arg7
= wxString_in_helper(obj6
);
8328 if (arg7
== NULL
) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8356 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8360 PyObject
* obj0
= 0 ;
8362 (char *) "self", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (int)(arg1
)->GetAlignment();
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= SWIG_FromInt((int)result
);
8382 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "self", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (int)(arg1
)->GetOrientation();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_FromInt((int)result
);
8408 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8415 (char *) "self",(char *) "alignment", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8421 arg2
= (wxLayoutAlignment
) SWIG_AsInt(obj1
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 Py_INCREF(Py_None
); resultobj
= Py_None
;
8437 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8445 (char *) "self",(char *) "size", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 Py_INCREF(Py_None
); resultobj
= Py_None
;
8469 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8473 PyObject
* obj0
= 0 ;
8474 PyObject
* obj1
= 0 ;
8476 (char *) "self",(char *) "orientation", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8482 arg2
= (wxLayoutOrientation
) SWIG_AsInt(obj1
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 Py_INCREF(Py_None
); resultobj
= Py_None
;
8498 static PyObject
* SashLayoutWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8501 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8503 return Py_BuildValue((char *)"");
8505 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxLayoutAlgorithm
*result
;
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8527 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "self", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 Py_INCREF(Py_None
); resultobj
= Py_None
;
8552 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8555 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8556 wxRect
*arg3
= (wxRect
*) NULL
;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8562 (char *) "self",(char *) "frame",(char *) "rect", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8571 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8590 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8593 wxFrame
*arg2
= (wxFrame
*) 0 ;
8594 wxWindow
*arg3
= (wxWindow
*) NULL
;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8600 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8628 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8631 wxWindow
*arg2
= (wxWindow
*) 0 ;
8632 wxWindow
*arg3
= (wxWindow
*) NULL
;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8636 PyObject
* obj2
= 0 ;
8638 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8666 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*self
, PyObject
*args
) {
8668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8669 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8671 return Py_BuildValue((char *)"");
8673 static PyObject
*_wrap_new_PopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxWindow
*arg1
= (wxWindow
*) 0 ;
8676 int arg2
= (int) wxBORDER_NONE
;
8677 wxPopupWindow
*result
;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8681 (char *) "parent",(char *) "flags", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8688 arg2
= (int) SWIG_AsInt(obj1
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8692 if (!wxPyCheckForApp()) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8706 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxPopupWindow
*result
;
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8715 if (!wxPyCheckForApp()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (wxPopupWindow
*)new wxPopupWindow();
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8729 static PyObject
*_wrap_PopupWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8732 wxWindow
*arg2
= (wxWindow
*) 0 ;
8733 int arg3
= (int) wxBORDER_NONE
;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 PyObject
* obj2
= 0 ;
8739 (char *) "self",(char *) "parent",(char *) "flags", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8748 arg3
= (int) SWIG_AsInt(obj2
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8767 static PyObject
*_wrap_PopupWindow_Position(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8776 PyObject
* obj2
= 0 ;
8778 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8790 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 Py_INCREF(Py_None
); resultobj
= Py_None
;
8806 static PyObject
* PopupWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8809 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
8811 return Py_BuildValue((char *)"");
8813 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
;
8815 wxWindow
*arg1
= (wxWindow
*) 0 ;
8816 int arg2
= (int) wxBORDER_NONE
;
8817 wxPyPopupTransientWindow
*result
;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8821 (char *) "parent",(char *) "style", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8828 arg2
= (int) SWIG_AsInt(obj1
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8832 if (!wxPyCheckForApp()) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8846 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxPyPopupTransientWindow
*result
;
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
8855 if (!wxPyCheckForApp()) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
8869 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8872 PyObject
*arg2
= (PyObject
*) 0 ;
8873 PyObject
*arg3
= (PyObject
*) 0 ;
8874 PyObject
* obj0
= 0 ;
8875 PyObject
* obj1
= 0 ;
8876 PyObject
* obj2
= 0 ;
8878 (char *) "self",(char *) "self",(char *) "_class", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 Py_INCREF(Py_None
); resultobj
= Py_None
;
8900 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
;
8902 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8903 wxWindow
*arg2
= (wxWindow
*) NULL
;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8907 (char *) "self",(char *) "focus", NULL
8910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
8911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 (arg1
)->Popup(arg2
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 Py_INCREF(Py_None
); resultobj
= Py_None
;
8931 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8936 (char *) "self", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
8941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
* PopupTransientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8959 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
8961 return Py_BuildValue((char *)"");
8963 static PyObject
*_wrap_new_TipWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxWindow
*arg1
= (wxWindow
*) 0 ;
8966 wxString
*arg2
= 0 ;
8967 int arg3
= (int) 100 ;
8968 wxRect
*arg4
= (wxRect
*) NULL
;
8969 wxTipWindow
*result
;
8970 bool temp2
= False
;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8973 PyObject
* obj2
= 0 ;
8974 PyObject
* obj3
= 0 ;
8976 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 arg2
= wxString_in_helper(obj1
);
8984 if (arg2
== NULL
) SWIG_fail
;
8988 arg3
= (int) SWIG_AsInt(obj2
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8992 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
8993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8996 if (!wxPyCheckForApp()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9018 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9024 PyObject
* obj1
= 0 ;
9026 (char *) "self",(char *) "rectBound", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 Py_INCREF(Py_None
); resultobj
= Py_None
;
9050 static PyObject
*_wrap_TipWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9055 (char *) "self", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9075 static PyObject
* TipWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9078 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9080 return Py_BuildValue((char *)"");
9082 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxWindow
*arg1
= (wxWindow
*) 0 ;
9085 int arg2
= (int) wxID_ANY
;
9086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9090 long arg5
= (long) 0 ;
9091 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9092 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9093 wxPyVScrolledWindow
*result
;
9096 bool temp6
= False
;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9101 PyObject
* obj4
= 0 ;
9102 PyObject
* obj5
= 0 ;
9104 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 arg2
= (int) SWIG_AsInt(obj1
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9123 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9127 arg5
= (long) SWIG_AsLong(obj4
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9132 arg6
= wxString_in_helper(obj5
);
9133 if (arg6
== NULL
) SWIG_fail
;
9138 if (!wxPyCheckForApp()) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9160 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxPyVScrolledWindow
*result
;
9167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9169 if (!wxPyCheckForApp()) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9183 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9186 PyObject
*arg2
= (PyObject
*) 0 ;
9187 PyObject
*arg3
= (PyObject
*) 0 ;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9190 PyObject
* obj2
= 0 ;
9192 (char *) "self",(char *) "self",(char *) "_class", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 Py_INCREF(Py_None
); resultobj
= Py_None
;
9214 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
;
9216 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9217 wxWindow
*arg2
= (wxWindow
*) 0 ;
9218 int arg3
= (int) wxID_ANY
;
9219 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9220 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9221 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9222 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9223 long arg6
= (long) 0 ;
9224 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9225 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9229 bool temp7
= False
;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9232 PyObject
* obj2
= 0 ;
9233 PyObject
* obj3
= 0 ;
9234 PyObject
* obj4
= 0 ;
9235 PyObject
* obj5
= 0 ;
9236 PyObject
* obj6
= 0 ;
9238 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg3
= (int) SWIG_AsInt(obj2
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9253 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9259 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9263 arg6
= (long) SWIG_AsLong(obj5
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9268 arg7
= wxString_in_helper(obj6
);
9269 if (arg7
== NULL
) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9297 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9304 (char *) "self",(char *) "count", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9310 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 (arg1
)->SetLineCount(arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 Py_INCREF(Py_None
); resultobj
= Py_None
;
9326 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9334 (char *) "self",(char *) "line", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9340 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9358 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9360 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9366 (char *) "self",(char *) "lines", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 arg2
= (int) SWIG_AsInt(obj1
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (bool)(arg1
)->ScrollLines(arg2
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9390 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9396 PyObject
* obj1
= 0 ;
9398 (char *) "self",(char *) "pages", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9404 arg2
= (int) SWIG_AsInt(obj1
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (bool)(arg1
)->ScrollPages(arg2
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9422 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9429 (char *) "self",(char *) "line", NULL
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9435 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 (arg1
)->RefreshLine(arg2
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 Py_INCREF(Py_None
); resultobj
= Py_None
;
9451 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 PyObject
* obj2
= 0 ;
9460 (char *) "self",(char *) "from",(char *) "to", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9468 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 (arg1
)->RefreshLines(arg2
,arg3
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 Py_INCREF(Py_None
); resultobj
= Py_None
;
9484 static PyObject
*_wrap_VScrolledWindow_HitTestXT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 PyObject
* obj2
= 0 ;
9494 (char *) "self",(char *) "x",(char *) "y", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 arg2
= (int) SWIG_AsInt(obj1
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9502 arg3
= (int) SWIG_AsInt(obj2
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_FromInt((int)result
);
9518 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9527 (char *) "self",(char *) "pt", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_FromInt((int)result
);
9551 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9556 (char *) "self", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 (arg1
)->RefreshAll();
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 Py_INCREF(Py_None
); resultobj
= Py_None
;
9576 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9580 PyObject
* obj0
= 0 ;
9582 (char *) "self", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9602 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9608 (char *) "self", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9628 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9632 PyObject
* obj0
= 0 ;
9634 (char *) "self", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9654 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9662 (char *) "self",(char *) "line", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9668 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9686 static PyObject
* VScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
9688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9689 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9691 return Py_BuildValue((char *)"");
9693 static int _wrap_VListBoxNameStr_set(PyObject
*_val
) {
9694 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9699 static PyObject
*_wrap_VListBoxNameStr_get() {
9704 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9706 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9713 static PyObject
*_wrap_new_VListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 wxWindow
*arg1
= (wxWindow
*) 0 ;
9716 int arg2
= (int) wxID_ANY
;
9717 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9718 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9719 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9720 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9721 long arg5
= (long) 0 ;
9722 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9723 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9724 wxPyVListBox
*result
;
9727 bool temp6
= False
;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 PyObject
* obj2
= 0 ;
9731 PyObject
* obj3
= 0 ;
9732 PyObject
* obj4
= 0 ;
9733 PyObject
* obj5
= 0 ;
9735 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9742 arg2
= (int) SWIG_AsInt(obj1
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9748 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9754 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9758 arg5
= (long) SWIG_AsLong(obj4
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9763 arg6
= wxString_in_helper(obj5
);
9764 if (arg6
== NULL
) SWIG_fail
;
9769 if (!wxPyCheckForApp()) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9791 static PyObject
*_wrap_new_PreVListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxPyVListBox
*result
;
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9800 if (!wxPyCheckForApp()) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (wxPyVListBox
*)new wxPyVListBox();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9814 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9817 PyObject
*arg2
= (PyObject
*) 0 ;
9818 PyObject
*arg3
= (PyObject
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9821 PyObject
* obj2
= 0 ;
9823 (char *) "self",(char *) "self",(char *) "_class", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 Py_INCREF(Py_None
); resultobj
= Py_None
;
9845 static PyObject
*_wrap_VListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9848 wxWindow
*arg2
= (wxWindow
*) 0 ;
9849 int arg3
= (int) wxID_ANY
;
9850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9854 long arg6
= (long) 0 ;
9855 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
9856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9860 bool temp7
= False
;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9863 PyObject
* obj2
= 0 ;
9864 PyObject
* obj3
= 0 ;
9865 PyObject
* obj4
= 0 ;
9866 PyObject
* obj5
= 0 ;
9867 PyObject
* obj6
= 0 ;
9869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9878 arg3
= (int) SWIG_AsInt(obj2
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9884 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9890 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9894 arg6
= (long) SWIG_AsLong(obj5
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9899 arg7
= wxString_in_helper(obj6
);
9900 if (arg7
== NULL
) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9928 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
9954 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9982 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9986 PyObject
* obj0
= 0 ;
9988 (char *) "self", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_FromInt((int)result
);
10008 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self",(char *) "item", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10040 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10045 PyObject
* obj0
= 0 ;
10046 PyObject
* obj1
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "self",(char *) "item", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10054 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10072 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10076 PyObject
* obj0
= 0 ;
10077 char *kwnames
[] = {
10078 (char *) "self", NULL
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10098 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= result
;
10124 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10127 unsigned long arg2
;
10129 PyObject
* obj0
= 0 ;
10130 PyObject
* obj1
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self",(char *) "cookie", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= result
;
10154 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10174 wxPoint
* resultptr
;
10175 resultptr
= new wxPoint((wxPoint
&) result
);
10176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10184 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10200 result
= (wxColour
*) &_result_ref
;
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10213 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "count", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 (arg1
)->SetItemCount(arg2
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 Py_INCREF(Py_None
); resultobj
= Py_None
;
10242 static PyObject
*_wrap_VListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 Py_INCREF(Py_None
); resultobj
= Py_None
;
10267 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 PyObject
* obj1
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self",(char *) "selection", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 arg2
= (int) SWIG_AsInt(obj1
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetSelection(arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
*_wrap_VListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10300 bool arg3
= (bool) True
;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10304 PyObject
* obj2
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self",(char *) "item",(char *) "select", NULL
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 arg3
= (bool) SWIG_AsBool(obj2
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10334 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 PyObject
* obj2
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self",(char *) "from",(char *) "to", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10350 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10352 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10370 static PyObject
*_wrap_VListBox_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "item", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 (arg1
)->Toggle(arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (bool)(arg1
)->SelectAll();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10427 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (bool)(arg1
)->DeselectAll();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10455 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10458 wxPoint
*arg2
= 0 ;
10460 PyObject
* obj0
= 0 ;
10461 PyObject
* obj1
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self",(char *) "pt", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 Py_INCREF(Py_None
); resultobj
= Py_None
;
10487 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 PyObject
* obj2
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self",(char *) "x",(char *) "y", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 arg2
= (int) SWIG_AsInt(obj1
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10504 arg3
= (int) SWIG_AsInt(obj2
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 (arg1
)->SetMargins(arg2
,arg3
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10523 wxColour
*arg2
= 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "self",(char *) "col", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 Py_INCREF(Py_None
); resultobj
= Py_None
;
10552 static PyObject
* VListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10555 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10557 return Py_BuildValue((char *)"");
10559 static PyObject
*_wrap_new_HtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxWindow
*arg1
= (wxWindow
*) 0 ;
10562 int arg2
= (int) wxID_ANY
;
10563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10567 long arg5
= (long) 0 ;
10568 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10569 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10570 wxPyHtmlListBox
*result
;
10573 bool temp6
= False
;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 PyObject
* obj2
= 0 ;
10577 PyObject
* obj3
= 0 ;
10578 PyObject
* obj4
= 0 ;
10579 PyObject
* obj5
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10588 arg2
= (int) SWIG_AsInt(obj1
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10600 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10604 arg5
= (long) SWIG_AsLong(obj4
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10609 arg6
= wxString_in_helper(obj5
);
10610 if (arg6
== NULL
) SWIG_fail
;
10615 if (!wxPyCheckForApp()) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10637 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxPyHtmlListBox
*result
;
10640 char *kwnames
[] = {
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10646 if (!wxPyCheckForApp()) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10660 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10663 PyObject
*arg2
= (PyObject
*) 0 ;
10664 PyObject
*arg3
= (PyObject
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 PyObject
* obj2
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self",(char *) "self",(char *) "_class", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 Py_INCREF(Py_None
); resultobj
= Py_None
;
10691 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10694 wxWindow
*arg2
= (wxWindow
*) 0 ;
10695 int arg3
= (int) wxID_ANY
;
10696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10700 long arg6
= (long) 0 ;
10701 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10706 bool temp7
= False
;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 PyObject
* obj2
= 0 ;
10710 PyObject
* obj3
= 0 ;
10711 PyObject
* obj4
= 0 ;
10712 PyObject
* obj5
= 0 ;
10713 PyObject
* obj6
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10724 arg3
= (int) SWIG_AsInt(obj2
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10740 arg6
= (long) SWIG_AsLong(obj5
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10745 arg7
= wxString_in_helper(obj6
);
10746 if (arg7
== NULL
) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10774 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 char *kwnames
[] = {
10779 (char *) "self", NULL
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 (arg1
)->RefreshAll();
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 Py_INCREF(Py_None
); resultobj
= Py_None
;
10799 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "count", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetItemCount(arg2
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 Py_INCREF(Py_None
); resultobj
= Py_None
;
10828 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10831 wxFileSystem
*result
;
10832 PyObject
* obj0
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10844 result
= (wxFileSystem
*) &_result_ref
;
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
10857 static PyObject
* HtmlListBox_swigregister(PyObject
*self
, PyObject
*args
) {
10859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10860 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
10862 return Py_BuildValue((char *)"");
10864 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxTaskBarIcon
*result
;
10867 char *kwnames
[] = {
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
10873 if (!wxPyCheckForApp()) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
10887 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 wxTaskBarIcon_Destroy(arg1
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 char *kwnames
[] = {
10943 (char *) "self", NULL
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
10947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10965 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "self", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
10997 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10998 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11000 bool temp3
= False
;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 PyObject
* obj2
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11014 if (arg2
== NULL
) {
11015 PyErr_SetString(PyExc_TypeError
,"null reference");
11020 arg3
= wxString_in_helper(obj2
);
11021 if (arg3
== NULL
) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11049 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)(arg1
)->RemoveIcon();
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11077 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11080 wxMenu
*arg2
= (wxMenu
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 PyObject
* obj1
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self",(char *) "menu", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (bool)(arg1
)->PopupMenu(arg2
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11109 static PyObject
* TaskBarIcon_swigregister(PyObject
*self
, PyObject
*args
) {
11111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11112 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11114 return Py_BuildValue((char *)"");
11116 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11119 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11120 wxTaskBarIconEvent
*result
;
11121 PyObject
* obj0
= 0 ;
11122 PyObject
* obj1
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "evtType",(char *) "tbIcon", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11128 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11146 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11149 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11151 return Py_BuildValue((char *)"");
11153 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
11154 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11159 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11164 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11166 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11173 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
11174 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11179 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11184 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11186 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11193 static int _wrap_DirDialogNameStr_set(PyObject
*_val
) {
11194 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11199 static PyObject
*_wrap_DirDialogNameStr_get() {
11204 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11206 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11213 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
11214 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11219 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11224 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11226 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11233 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*_val
) {
11234 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11239 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11244 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11246 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11253 static int _wrap_MessageBoxCaptionStr_set(PyObject
*_val
) {
11254 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11259 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11264 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11266 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11273 static PyObject
*_wrap_new_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxColourData
*result
;
11276 char *kwnames
[] = {
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (wxColourData
*)new wxColourData();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11295 static PyObject
*_wrap_delete_ColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxColourData
*arg1
= (wxColourData
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 Py_INCREF(Py_None
); resultobj
= Py_None
;
11320 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
;
11322 wxColourData
*arg1
= (wxColourData
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= (bool)(arg1
)->GetChooseFull();
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11348 static PyObject
*_wrap_ColourData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxColourData
*arg1
= (wxColourData
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (arg1
)->GetColour();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11368 wxColour
* resultptr
;
11369 resultptr
= new wxColour((wxColour
&) result
);
11370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11378 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxColourData
*arg1
= (wxColourData
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 char *kwnames
[] = {
11386 (char *) "self",(char *) "i", NULL
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11392 arg2
= (int) SWIG_AsInt(obj1
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (arg1
)->GetCustomColour(arg2
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 wxColour
* resultptr
;
11403 resultptr
= new wxColour((wxColour
&) result
);
11404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11412 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxColourData
*arg1
= (wxColourData
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "flag", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 arg2
= (int) SWIG_AsInt(obj1
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 (arg1
)->SetChooseFull(arg2
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 Py_INCREF(Py_None
); resultobj
= Py_None
;
11441 static PyObject
*_wrap_ColourData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxColourData
*arg1
= (wxColourData
*) 0 ;
11444 wxColour
*arg2
= 0 ;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self",(char *) "colour", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 (arg1
)->SetColour((wxColour
const &)*arg2
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxColourData
*arg1
= (wxColourData
*) 0 ;
11477 wxColour
*arg3
= 0 ;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 PyObject
* obj2
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self",(char *) "i",(char *) "colour", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11489 arg2
= (int) SWIG_AsInt(obj1
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11493 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 Py_INCREF(Py_None
); resultobj
= Py_None
;
11509 static PyObject
* ColourData_swigregister(PyObject
*self
, PyObject
*args
) {
11511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11512 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11514 return Py_BuildValue((char *)"");
11516 static PyObject
*_wrap_new_ColourDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxWindow
*arg1
= (wxWindow
*) 0 ;
11519 wxColourData
*arg2
= (wxColourData
*) NULL
;
11520 wxColourDialog
*result
;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "parent",(char *) "data", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11535 if (!wxPyCheckForApp()) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11549 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11552 wxColourData
*result
;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11565 result
= (wxColourData
*) &_result_ref
;
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11578 static PyObject
* ColourDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11581 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11583 return Py_BuildValue((char *)"");
11585 static PyObject
*_wrap_new_DirDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxWindow
*arg1
= (wxWindow
*) 0 ;
11588 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11589 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11590 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11591 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11592 long arg4
= (long) 0 ;
11593 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11594 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11595 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11596 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11597 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11598 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11599 wxDirDialog
*result
;
11600 bool temp2
= False
;
11601 bool temp3
= False
;
11604 bool temp7
= False
;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 PyObject
* obj2
= 0 ;
11608 PyObject
* obj3
= 0 ;
11609 PyObject
* obj4
= 0 ;
11610 PyObject
* obj5
= 0 ;
11611 PyObject
* obj6
= 0 ;
11612 char *kwnames
[] = {
11613 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11621 arg2
= wxString_in_helper(obj1
);
11622 if (arg2
== NULL
) SWIG_fail
;
11628 arg3
= wxString_in_helper(obj2
);
11629 if (arg3
== NULL
) SWIG_fail
;
11634 arg4
= (long) SWIG_AsLong(obj3
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11640 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11646 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11651 arg7
= wxString_in_helper(obj6
);
11652 if (arg7
== NULL
) SWIG_fail
;
11657 if (!wxPyCheckForApp()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11695 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (arg1
)->GetPath();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11727 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (arg1
)->GetMessage();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11759 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (long)(arg1
)->GetStyle();
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_FromLong((long)result
);
11785 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
;
11787 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11788 wxString
*arg2
= 0 ;
11789 bool temp2
= False
;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "message", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11800 arg2
= wxString_in_helper(obj1
);
11801 if (arg2
== NULL
) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 (arg1
)->SetMessage((wxString
const &)*arg2
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 Py_INCREF(Py_None
); resultobj
= Py_None
;
11826 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11829 wxString
*arg2
= 0 ;
11830 bool temp2
= False
;
11831 PyObject
* obj0
= 0 ;
11832 PyObject
* obj1
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "self",(char *) "path", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 arg2
= wxString_in_helper(obj1
);
11842 if (arg2
== NULL
) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 (arg1
)->SetPath((wxString
const &)*arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 Py_INCREF(Py_None
); resultobj
= Py_None
;
11867 static PyObject
* DirDialog_swigregister(PyObject
*self
, PyObject
*args
) {
11869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11870 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11872 return Py_BuildValue((char *)"");
11874 static PyObject
*_wrap_new_FileDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxWindow
*arg1
= (wxWindow
*) 0 ;
11877 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11878 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11879 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11880 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11881 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11882 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11883 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11884 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11885 long arg6
= (long) 0 ;
11886 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11887 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11888 wxFileDialog
*result
;
11889 bool temp2
= False
;
11890 bool temp3
= False
;
11891 bool temp4
= False
;
11892 bool temp5
= False
;
11894 PyObject
* obj0
= 0 ;
11895 PyObject
* obj1
= 0 ;
11896 PyObject
* obj2
= 0 ;
11897 PyObject
* obj3
= 0 ;
11898 PyObject
* obj4
= 0 ;
11899 PyObject
* obj5
= 0 ;
11900 PyObject
* obj6
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11910 arg2
= wxString_in_helper(obj1
);
11911 if (arg2
== NULL
) SWIG_fail
;
11917 arg3
= wxString_in_helper(obj2
);
11918 if (arg3
== NULL
) SWIG_fail
;
11924 arg4
= wxString_in_helper(obj3
);
11925 if (arg4
== NULL
) SWIG_fail
;
11931 arg5
= wxString_in_helper(obj4
);
11932 if (arg5
== NULL
) SWIG_fail
;
11937 arg6
= (long) SWIG_AsLong(obj5
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11943 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11947 if (!wxPyCheckForApp()) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11993 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11996 wxString
*arg2
= 0 ;
11997 bool temp2
= False
;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self",(char *) "message", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12008 arg2
= wxString_in_helper(obj1
);
12009 if (arg2
== NULL
) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 (arg1
)->SetMessage((wxString
const &)*arg2
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 Py_INCREF(Py_None
); resultobj
= Py_None
;
12034 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12037 wxString
*arg2
= 0 ;
12038 bool temp2
= False
;
12039 PyObject
* obj0
= 0 ;
12040 PyObject
* obj1
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self",(char *) "path", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12049 arg2
= wxString_in_helper(obj1
);
12050 if (arg2
== NULL
) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 (arg1
)->SetPath((wxString
const &)*arg2
);
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 Py_INCREF(Py_None
); resultobj
= Py_None
;
12075 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12078 wxString
*arg2
= 0 ;
12079 bool temp2
= False
;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self",(char *) "dir", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 arg2
= wxString_in_helper(obj1
);
12091 if (arg2
== NULL
) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 Py_INCREF(Py_None
); resultobj
= Py_None
;
12116 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12119 wxString
*arg2
= 0 ;
12120 bool temp2
= False
;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self",(char *) "name", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12131 arg2
= wxString_in_helper(obj1
);
12132 if (arg2
== NULL
) SWIG_fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 (arg1
)->SetFilename((wxString
const &)*arg2
);
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 Py_INCREF(Py_None
); resultobj
= Py_None
;
12157 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12160 wxString
*arg2
= 0 ;
12161 bool temp2
= False
;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "wildCard", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12172 arg2
= wxString_in_helper(obj1
);
12173 if (arg2
== NULL
) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 Py_INCREF(Py_None
); resultobj
= Py_None
;
12198 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "style", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12211 arg2
= (long) SWIG_AsLong(obj1
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 (arg1
)->SetStyle(arg2
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 Py_INCREF(Py_None
); resultobj
= Py_None
;
12227 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
;
12229 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 PyObject
* obj1
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "filterIndex", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 arg2
= (int) SWIG_AsInt(obj1
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 (arg1
)->SetFilterIndex(arg2
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 Py_INCREF(Py_None
); resultobj
= Py_None
;
12256 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12288 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12320 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12324 PyObject
* obj0
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12352 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12384 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12416 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12420 PyObject
* obj0
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "self", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_FromLong((long)result
);
12442 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= SWIG_FromInt((int)result
);
12468 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= result
;
12494 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= result
;
12520 static PyObject
* FileDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12523 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12525 return Py_BuildValue((char *)"");
12527 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxWindow
*arg1
= (wxWindow
*) 0 ;
12530 wxString
*arg2
= 0 ;
12531 wxString
*arg3
= 0 ;
12532 int arg4
= (int) 0 ;
12533 wxString
*arg5
= (wxString
*) NULL
;
12534 long arg6
= (long) wxCHOICEDLG_STYLE
;
12535 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12536 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12537 wxMultiChoiceDialog
*result
;
12538 bool temp2
= False
;
12539 bool temp3
= False
;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 PyObject
* obj2
= 0 ;
12544 PyObject
* obj3
= 0 ;
12545 PyObject
* obj4
= 0 ;
12546 PyObject
* obj5
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12555 arg2
= wxString_in_helper(obj1
);
12556 if (arg2
== NULL
) SWIG_fail
;
12560 arg3
= wxString_in_helper(obj2
);
12561 if (arg3
== NULL
) SWIG_fail
;
12566 arg4
= PyList_Size(obj3
);
12567 arg5
= wxString_LIST_helper(obj3
);
12568 if (arg5
== NULL
) SWIG_fail
;
12572 arg6
= (long) SWIG_AsLong(obj4
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12578 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12582 if (!wxPyCheckForApp()) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12599 if (arg5
) delete [] arg5
;
12612 if (arg5
) delete [] arg5
;
12618 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12621 wxArrayInt
*arg2
= 0 ;
12622 bool temp2
= False
;
12623 PyObject
* obj0
= 0 ;
12624 PyObject
* obj1
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self",(char *) "selections", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 if (! PySequence_Check(obj1
)) {
12634 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12637 arg2
= new wxArrayInt
;
12639 int i
, len
=PySequence_Length(obj1
);
12640 for (i
=0; i
<len
; i
++) {
12641 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12642 PyObject
* number
= PyNumber_Int(item
);
12643 arg2
->Add(PyInt_AS_LONG(number
));
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 Py_INCREF(Py_None
); resultobj
= Py_None
;
12657 if (temp2
) delete arg2
;
12662 if (temp2
) delete arg2
;
12668 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= result
;
12694 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12697 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12699 return Py_BuildValue((char *)"");
12701 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxWindow
*arg1
= (wxWindow
*) 0 ;
12704 wxString
*arg2
= 0 ;
12705 wxString
*arg3
= 0 ;
12707 wxString
*arg5
= (wxString
*) 0 ;
12708 long arg6
= (long) wxCHOICEDLG_STYLE
;
12709 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12710 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12711 wxSingleChoiceDialog
*result
;
12712 bool temp2
= False
;
12713 bool temp3
= False
;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 PyObject
* obj2
= 0 ;
12718 PyObject
* obj3
= 0 ;
12719 PyObject
* obj4
= 0 ;
12720 PyObject
* obj5
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12729 arg2
= wxString_in_helper(obj1
);
12730 if (arg2
== NULL
) SWIG_fail
;
12734 arg3
= wxString_in_helper(obj2
);
12735 if (arg3
== NULL
) SWIG_fail
;
12739 arg4
= PyList_Size(obj3
);
12740 arg5
= wxString_LIST_helper(obj3
);
12741 if (arg5
== NULL
) SWIG_fail
;
12744 arg6
= (long) SWIG_AsLong(obj4
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12750 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12754 if (!wxPyCheckForApp()) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12771 if (arg5
) delete [] arg5
;
12784 if (arg5
) delete [] arg5
;
12790 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (int)(arg1
)->GetSelection();
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 resultobj
= SWIG_FromInt((int)result
);
12816 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self", NULL
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (arg1
)->GetStringSelection();
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12848 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self",(char *) "sel", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12861 arg2
= (int) SWIG_AsInt(obj1
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 (arg1
)->SetSelection(arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 Py_INCREF(Py_None
); resultobj
= Py_None
;
12877 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
12879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12880 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12882 return Py_BuildValue((char *)"");
12884 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxWindow
*arg1
= (wxWindow
*) 0 ;
12887 wxString
*arg2
= 0 ;
12888 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12889 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12890 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12891 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12892 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12893 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12894 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12895 wxTextEntryDialog
*result
;
12896 bool temp2
= False
;
12897 bool temp3
= False
;
12898 bool temp4
= False
;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 PyObject
* obj2
= 0 ;
12903 PyObject
* obj3
= 0 ;
12904 PyObject
* obj4
= 0 ;
12905 PyObject
* obj5
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12914 arg2
= wxString_in_helper(obj1
);
12915 if (arg2
== NULL
) SWIG_fail
;
12920 arg3
= wxString_in_helper(obj2
);
12921 if (arg3
== NULL
) SWIG_fail
;
12927 arg4
= wxString_in_helper(obj3
);
12928 if (arg4
== NULL
) SWIG_fail
;
12933 arg5
= (long) SWIG_AsLong(obj4
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12939 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12943 if (!wxPyCheckForApp()) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12981 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
;
12983 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12985 PyObject
* obj0
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "self", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (arg1
)->GetValue();
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13013 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13016 wxString
*arg2
= 0 ;
13017 bool temp2
= False
;
13018 PyObject
* obj0
= 0 ;
13019 PyObject
* obj1
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "value", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 arg2
= wxString_in_helper(obj1
);
13029 if (arg2
== NULL
) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 (arg1
)->SetValue((wxString
const &)*arg2
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 Py_INCREF(Py_None
); resultobj
= Py_None
;
13054 static PyObject
* TextEntryDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13057 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13059 return Py_BuildValue((char *)"");
13061 static PyObject
*_wrap_new_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxFontData
*result
;
13064 char *kwnames
[] = {
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (wxFontData
*)new wxFontData();
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13083 static PyObject
*_wrap_delete_FontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxFontData
*arg1
= (wxFontData
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 Py_INCREF(Py_None
); resultobj
= Py_None
;
13108 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxFontData
*arg1
= (wxFontData
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "enable", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 arg2
= (bool) SWIG_AsBool(obj1
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 (arg1
)->EnableEffects(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 Py_INCREF(Py_None
); resultobj
= Py_None
;
13137 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxFontData
*arg1
= (wxFontData
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (bool)(arg1
)->GetAllowSymbols();
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13165 static PyObject
*_wrap_FontData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxFontData
*arg1
= (wxFontData
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (arg1
)->GetColour();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13185 wxColour
* resultptr
;
13186 resultptr
= new wxColour((wxColour
&) result
);
13187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13195 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxFontData
*arg1
= (wxFontData
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (arg1
)->GetChosenFont();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13215 wxFont
* resultptr
;
13216 resultptr
= new wxFont((wxFont
&) result
);
13217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13225 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxFontData
*arg1
= (wxFontData
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (bool)(arg1
)->GetEnableEffects();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13253 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxFontData
*arg1
= (wxFontData
*) 0 ;
13257 PyObject
* obj0
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (arg1
)->GetInitialFont();
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13273 wxFont
* resultptr
;
13274 resultptr
= new wxFont((wxFont
&) result
);
13275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13283 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxFontData
*arg1
= (wxFontData
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (bool)(arg1
)->GetShowHelp();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13311 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxFontData
*arg1
= (wxFontData
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "allowSymbols", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13324 arg2
= (bool) SWIG_AsBool(obj1
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 (arg1
)->SetAllowSymbols(arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 Py_INCREF(Py_None
); resultobj
= Py_None
;
13340 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
;
13342 wxFontData
*arg1
= (wxFontData
*) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self",(char *) "font", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13356 if (arg2
== NULL
) {
13357 PyErr_SetString(PyExc_TypeError
,"null reference");
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 Py_INCREF(Py_None
); resultobj
= Py_None
;
13374 static PyObject
*_wrap_FontData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxFontData
*arg1
= (wxFontData
*) 0 ;
13377 wxColour
*arg2
= 0 ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "colour", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13390 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 (arg1
)->SetColour((wxColour
const &)*arg2
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 Py_INCREF(Py_None
); resultobj
= Py_None
;
13406 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxFontData
*arg1
= (wxFontData
*) 0 ;
13410 PyObject
* obj0
= 0 ;
13411 PyObject
* obj1
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self",(char *) "font", NULL
13416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13422 if (arg2
== NULL
) {
13423 PyErr_SetString(PyExc_TypeError
,"null reference");
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
*_wrap_FontData_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxFontData
*arg1
= (wxFontData
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 PyObject
* obj2
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self",(char *) "min",(char *) "max", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13455 arg2
= (int) SWIG_AsInt(obj1
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13457 arg3
= (int) SWIG_AsInt(obj2
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 (arg1
)->SetRange(arg2
,arg3
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 Py_INCREF(Py_None
); resultobj
= Py_None
;
13473 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxFontData
*arg1
= (wxFontData
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "showHelp", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13486 arg2
= (bool) SWIG_AsBool(obj1
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 (arg1
)->SetShowHelp(arg2
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 Py_INCREF(Py_None
); resultobj
= Py_None
;
13502 static PyObject
* FontData_swigregister(PyObject
*self
, PyObject
*args
) {
13504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13505 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13507 return Py_BuildValue((char *)"");
13509 static PyObject
*_wrap_new_FontDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxWindow
*arg1
= (wxWindow
*) 0 ;
13512 wxFontData
*arg2
= 0 ;
13513 wxFontDialog
*result
;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "parent",(char *) "data", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13526 if (arg2
== NULL
) {
13527 PyErr_SetString(PyExc_TypeError
,"null reference");
13531 if (!wxPyCheckForApp()) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13545 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13548 wxFontData
*result
;
13549 PyObject
* obj0
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13561 result
= (wxFontData
*) &_result_ref
;
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13574 static PyObject
* FontDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13577 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13579 return Py_BuildValue((char *)"");
13581 static PyObject
*_wrap_new_MessageDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxWindow
*arg1
= (wxWindow
*) 0 ;
13584 wxString
*arg2
= 0 ;
13585 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13586 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13587 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13588 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13589 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13590 wxMessageDialog
*result
;
13591 bool temp2
= False
;
13592 bool temp3
= False
;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 PyObject
* obj2
= 0 ;
13597 PyObject
* obj3
= 0 ;
13598 PyObject
* obj4
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 arg2
= wxString_in_helper(obj1
);
13608 if (arg2
== NULL
) SWIG_fail
;
13613 arg3
= wxString_in_helper(obj2
);
13614 if (arg3
== NULL
) SWIG_fail
;
13619 arg4
= (long) SWIG_AsLong(obj3
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13625 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13629 if (!wxPyCheckForApp()) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13659 static PyObject
* MessageDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13662 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13664 return Py_BuildValue((char *)"");
13666 static PyObject
*_wrap_new_ProgressDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxString
*arg1
= 0 ;
13669 wxString
*arg2
= 0 ;
13670 int arg3
= (int) 100 ;
13671 wxWindow
*arg4
= (wxWindow
*) NULL
;
13672 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13673 wxProgressDialog
*result
;
13674 bool temp1
= False
;
13675 bool temp2
= False
;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 PyObject
* obj2
= 0 ;
13679 PyObject
* obj3
= 0 ;
13680 PyObject
* obj4
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13687 arg1
= wxString_in_helper(obj0
);
13688 if (arg1
== NULL
) SWIG_fail
;
13692 arg2
= wxString_in_helper(obj1
);
13693 if (arg2
== NULL
) SWIG_fail
;
13697 arg3
= (int) SWIG_AsInt(obj2
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13705 arg5
= (int) SWIG_AsInt(obj4
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 if (!wxPyCheckForApp()) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13739 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13743 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13744 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13746 bool temp3
= False
;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 PyObject
* obj2
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13757 arg2
= (int) SWIG_AsInt(obj1
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13761 arg3
= wxString_in_helper(obj2
);
13762 if (arg3
== NULL
) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13790 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 Py_INCREF(Py_None
); resultobj
= Py_None
;
13815 static PyObject
* ProgressDialog_swigregister(PyObject
*self
, PyObject
*args
) {
13817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13818 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13820 return Py_BuildValue((char *)"");
13822 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13825 int arg2
= (int) 0 ;
13826 wxFindDialogEvent
*result
;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "commandType",(char *) "id", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13835 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 arg2
= (int) SWIG_AsInt(obj1
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13856 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (int)(arg1
)->GetFlags();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= SWIG_FromInt((int)result
);
13882 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "self", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 wxString
const &_result_ref
= (arg1
)->GetFindString();
13898 result
= (wxString
*) &_result_ref
;
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13917 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13933 result
= (wxString
*) &_result_ref
;
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13943 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13952 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13955 wxFindReplaceDialog
*result
;
13956 PyObject
* obj0
= 0 ;
13957 char *kwnames
[] = {
13958 (char *) "self", NULL
13961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13978 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "flags", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13991 arg2
= (int) SWIG_AsInt(obj1
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 (arg1
)->SetFlags(arg2
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 Py_INCREF(Py_None
); resultobj
= Py_None
;
14007 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14010 wxString
*arg2
= 0 ;
14011 bool temp2
= False
;
14012 PyObject
* obj0
= 0 ;
14013 PyObject
* obj1
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self",(char *) "str", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14022 arg2
= wxString_in_helper(obj1
);
14023 if (arg2
== NULL
) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 (arg1
)->SetFindString((wxString
const &)*arg2
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 Py_INCREF(Py_None
); resultobj
= Py_None
;
14048 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14051 wxString
*arg2
= 0 ;
14052 bool temp2
= False
;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self",(char *) "str", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14063 arg2
= wxString_in_helper(obj1
);
14064 if (arg2
== NULL
) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 static PyObject
* FindDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14092 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14094 return Py_BuildValue((char *)"");
14096 static PyObject
*_wrap_new_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 int arg1
= (int) 0 ;
14099 wxFindReplaceData
*result
;
14100 PyObject
* obj0
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "flags", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14107 arg1
= (int) SWIG_AsInt(obj0
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14124 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 Py_INCREF(Py_None
); resultobj
= Py_None
;
14149 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 wxString
const &_result_ref
= (arg1
)->GetFindString();
14165 result
= (wxString
*) &_result_ref
;
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14184 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14188 PyObject
* obj0
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14200 result
= (wxString
*) &_result_ref
;
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14219 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (int)(arg1
)->GetFlags();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_FromInt((int)result
);
14245 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "flags", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14258 arg2
= (int) SWIG_AsInt(obj1
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 (arg1
)->SetFlags(arg2
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 Py_INCREF(Py_None
); resultobj
= Py_None
;
14274 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14277 wxString
*arg2
= 0 ;
14278 bool temp2
= False
;
14279 PyObject
* obj0
= 0 ;
14280 PyObject
* obj1
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self",(char *) "str", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 arg2
= wxString_in_helper(obj1
);
14290 if (arg2
== NULL
) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 (arg1
)->SetFindString((wxString
const &)*arg2
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 Py_INCREF(Py_None
); resultobj
= Py_None
;
14315 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14318 wxString
*arg2
= 0 ;
14319 bool temp2
= False
;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self",(char *) "str", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14330 arg2
= wxString_in_helper(obj1
);
14331 if (arg2
== NULL
) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 Py_INCREF(Py_None
); resultobj
= Py_None
;
14356 static PyObject
* FindReplaceData_swigregister(PyObject
*self
, PyObject
*args
) {
14358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14359 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14361 return Py_BuildValue((char *)"");
14363 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxWindow
*arg1
= (wxWindow
*) 0 ;
14366 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14367 wxString
*arg3
= 0 ;
14368 int arg4
= (int) 0 ;
14369 wxFindReplaceDialog
*result
;
14370 bool temp3
= False
;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 PyObject
* obj2
= 0 ;
14374 PyObject
* obj3
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14385 arg3
= wxString_in_helper(obj2
);
14386 if (arg3
== NULL
) SWIG_fail
;
14390 arg4
= (int) SWIG_AsInt(obj3
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14394 if (!wxPyCheckForApp()) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14416 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxFindReplaceDialog
*result
;
14419 char *kwnames
[] = {
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14425 if (!wxPyCheckForApp()) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14439 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14442 wxWindow
*arg2
= (wxWindow
*) 0 ;
14443 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14444 wxString
*arg4
= 0 ;
14445 int arg5
= (int) 0 ;
14447 bool temp4
= False
;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 PyObject
* obj2
= 0 ;
14451 PyObject
* obj3
= 0 ;
14452 PyObject
* obj4
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14462 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14465 arg4
= wxString_in_helper(obj3
);
14466 if (arg4
== NULL
) SWIG_fail
;
14470 arg5
= (int) SWIG_AsInt(obj4
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14497 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14500 wxFindReplaceData
*result
;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14523 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14526 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self",(char *) "data", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 (arg1
)->SetData(arg2
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14552 static PyObject
* FindReplaceDialog_swigregister(PyObject
*self
, PyObject
*args
) {
14554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14555 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14557 return Py_BuildValue((char *)"");
14559 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxWindow
*arg1
= (wxWindow
*) 0 ;
14562 int arg2
= (int) (int)-1 ;
14563 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14564 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14565 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14566 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14567 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14568 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14569 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14570 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14571 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14572 wxMDIParentFrame
*result
;
14573 bool temp3
= False
;
14576 bool temp7
= False
;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 PyObject
* obj2
= 0 ;
14580 PyObject
* obj3
= 0 ;
14581 PyObject
* obj4
= 0 ;
14582 PyObject
* obj5
= 0 ;
14583 PyObject
* obj6
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 arg2
= (int const) SWIG_AsInt(obj1
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14597 arg3
= wxString_in_helper(obj2
);
14598 if (arg3
== NULL
) SWIG_fail
;
14605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14615 arg6
= (long) SWIG_AsLong(obj5
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14620 arg7
= wxString_in_helper(obj6
);
14621 if (arg7
== NULL
) SWIG_fail
;
14626 if (!wxPyCheckForApp()) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14656 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMDIParentFrame
*result
;
14659 char *kwnames
[] = {
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14665 if (!wxPyCheckForApp()) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14679 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14682 wxWindow
*arg2
= (wxWindow
*) 0 ;
14683 int arg3
= (int) (int)-1 ;
14684 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14685 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14686 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14687 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14688 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14689 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14690 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14691 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14692 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14694 bool temp4
= False
;
14697 bool temp8
= False
;
14698 PyObject
* obj0
= 0 ;
14699 PyObject
* obj1
= 0 ;
14700 PyObject
* obj2
= 0 ;
14701 PyObject
* obj3
= 0 ;
14702 PyObject
* obj4
= 0 ;
14703 PyObject
* obj5
= 0 ;
14704 PyObject
* obj6
= 0 ;
14705 PyObject
* obj7
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 arg3
= (int const) SWIG_AsInt(obj2
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14721 arg4
= wxString_in_helper(obj3
);
14722 if (arg4
== NULL
) SWIG_fail
;
14729 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14735 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14739 arg7
= (long) SWIG_AsLong(obj6
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14744 arg8
= wxString_in_helper(obj7
);
14745 if (arg8
== NULL
) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14781 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 (arg1
)->ActivateNext();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 Py_INCREF(Py_None
); resultobj
= Py_None
;
14806 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 (arg1
)->ActivatePrevious();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 Py_INCREF(Py_None
); resultobj
= Py_None
;
14831 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 (arg1
)->ArrangeIcons();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 Py_INCREF(Py_None
); resultobj
= Py_None
;
14856 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14857 PyObject
*resultobj
;
14858 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14859 PyObject
* obj0
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 Py_INCREF(Py_None
); resultobj
= Py_None
;
14881 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14884 wxMDIChildFrame
*result
;
14885 PyObject
* obj0
= 0 ;
14886 char *kwnames
[] = {
14887 (char *) "self", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= wxPyMake_wxObject(result
, 0);
14909 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14912 wxMDIClientWindow
*result
;
14913 PyObject
* obj0
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= wxPyMake_wxObject(result
, 0);
14937 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14941 PyObject
* obj0
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (wxWindow
*)(arg1
)->GetToolBar();
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= wxPyMake_wxObject(result
, 0);
14965 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 Py_INCREF(Py_None
); resultobj
= Py_None
;
14990 static PyObject
* MDIParentFrame_swigregister(PyObject
*self
, PyObject
*args
) {
14992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14993 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14995 return Py_BuildValue((char *)"");
14997 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15000 int arg2
= (int) (int)-1 ;
15001 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15002 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15003 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15004 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15005 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15006 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15007 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15008 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15010 wxMDIChildFrame
*result
;
15011 bool temp3
= False
;
15014 bool temp7
= False
;
15015 PyObject
* obj0
= 0 ;
15016 PyObject
* obj1
= 0 ;
15017 PyObject
* obj2
= 0 ;
15018 PyObject
* obj3
= 0 ;
15019 PyObject
* obj4
= 0 ;
15020 PyObject
* obj5
= 0 ;
15021 PyObject
* obj6
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 arg2
= (int const) SWIG_AsInt(obj1
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15035 arg3
= wxString_in_helper(obj2
);
15036 if (arg3
== NULL
) SWIG_fail
;
15043 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15049 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15053 arg6
= (long) SWIG_AsLong(obj5
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15058 arg7
= wxString_in_helper(obj6
);
15059 if (arg7
== NULL
) SWIG_fail
;
15064 if (!wxPyCheckForApp()) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15094 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxMDIChildFrame
*result
;
15097 char *kwnames
[] = {
15101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15103 if (!wxPyCheckForApp()) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15117 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15120 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15121 int arg3
= (int) (int)-1 ;
15122 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15123 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15124 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15125 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15126 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15127 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15128 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15129 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15130 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15132 bool temp4
= False
;
15135 bool temp8
= False
;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 PyObject
* obj2
= 0 ;
15139 PyObject
* obj3
= 0 ;
15140 PyObject
* obj4
= 0 ;
15141 PyObject
* obj5
= 0 ;
15142 PyObject
* obj6
= 0 ;
15143 PyObject
* obj7
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 arg3
= (int const) SWIG_AsInt(obj2
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15159 arg4
= wxString_in_helper(obj3
);
15160 if (arg4
== NULL
) SWIG_fail
;
15167 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15173 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15177 arg7
= (long) SWIG_AsLong(obj6
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15182 arg8
= wxString_in_helper(obj7
);
15183 if (arg8
== NULL
) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 (arg1
)->Activate();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 Py_INCREF(Py_None
); resultobj
= Py_None
;
15244 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 PyObject
* obj1
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self",(char *) "maximize", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 arg2
= (bool) SWIG_AsBool(obj1
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 (arg1
)->Maximize(arg2
);
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 Py_INCREF(Py_None
); resultobj
= Py_None
;
15273 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 Py_INCREF(Py_None
); resultobj
= Py_None
;
15298 static PyObject
* MDIChildFrame_swigregister(PyObject
*self
, PyObject
*args
) {
15300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15301 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15303 return Py_BuildValue((char *)"");
15305 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15308 long arg2
= (long) 0 ;
15309 wxMDIClientWindow
*result
;
15310 PyObject
* obj0
= 0 ;
15311 PyObject
* obj1
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "parent",(char *) "style", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15320 arg2
= (long) SWIG_AsLong(obj1
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 if (!wxPyCheckForApp()) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15338 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxMDIClientWindow
*result
;
15341 char *kwnames
[] = {
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15347 if (!wxPyCheckForApp()) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15361 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15364 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15365 long arg3
= (long) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 PyObject
* obj1
= 0 ;
15369 PyObject
* obj2
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "parent",(char *) "style", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 arg3
= (long) SWIG_AsLong(obj2
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15399 static PyObject
* MDIClientWindow_swigregister(PyObject
*self
, PyObject
*args
) {
15401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15402 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15404 return Py_BuildValue((char *)"");
15406 static PyObject
*_wrap_new_PyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxWindow
*arg1
= (wxWindow
*) 0 ;
15409 int arg2
= (int) (int)-1 ;
15410 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15411 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15412 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15413 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15414 long arg5
= (long) 0 ;
15415 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15416 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15417 wxPyWindow
*result
;
15420 bool temp6
= False
;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 PyObject
* obj2
= 0 ;
15424 PyObject
* obj3
= 0 ;
15425 PyObject
* obj4
= 0 ;
15426 PyObject
* obj5
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15435 arg2
= (int const) SWIG_AsInt(obj1
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15441 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15447 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15451 arg5
= (long) SWIG_AsLong(obj4
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15456 arg6
= wxString_in_helper(obj5
);
15457 if (arg6
== NULL
) SWIG_fail
;
15462 if (!wxPyCheckForApp()) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15484 static PyObject
*_wrap_new_PrePyWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxPyWindow
*result
;
15487 char *kwnames
[] = {
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15493 if (!wxPyCheckForApp()) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (wxPyWindow
*)new wxPyWindow();
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15507 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15510 PyObject
*arg2
= (PyObject
*) 0 ;
15511 PyObject
*arg3
= (PyObject
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 PyObject
* obj2
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "self",(char *) "self",(char *) "_class", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 Py_INCREF(Py_None
); resultobj
= Py_None
;
15538 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self",(char *) "size", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 PyObject
* obj2
= 0 ;
15580 PyObject
* obj3
= 0 ;
15581 PyObject
* obj4
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 arg2
= (int) SWIG_AsInt(obj1
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15591 arg3
= (int) SWIG_AsInt(obj2
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15593 arg4
= (int) SWIG_AsInt(obj3
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15595 arg5
= (int) SWIG_AsInt(obj4
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 Py_INCREF(Py_None
); resultobj
= Py_None
;
15611 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15618 int arg6
= (int) wxSIZE_AUTO
;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 PyObject
* obj2
= 0 ;
15622 PyObject
* obj3
= 0 ;
15623 PyObject
* obj4
= 0 ;
15624 PyObject
* obj5
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 arg2
= (int) SWIG_AsInt(obj1
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15634 arg3
= (int) SWIG_AsInt(obj2
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15636 arg4
= (int) SWIG_AsInt(obj3
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15638 arg5
= (int) SWIG_AsInt(obj4
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 arg6
= (int) SWIG_AsInt(obj5
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 Py_INCREF(Py_None
); resultobj
= Py_None
;
15658 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 PyObject
* obj2
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "width",(char *) "height", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 arg2
= (int) SWIG_AsInt(obj1
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15675 arg3
= (int) SWIG_AsInt(obj2
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 Py_INCREF(Py_None
); resultobj
= Py_None
;
15691 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 PyObject
* obj2
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self",(char *) "x",(char *) "y", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15706 arg2
= (int) SWIG_AsInt(obj1
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15708 arg3
= (int) SWIG_AsInt(obj2
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 Py_INCREF(Py_None
); resultobj
= Py_None
;
15724 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15727 int *arg2
= (int *) 0 ;
15728 int *arg3
= (int *) 0 ;
15731 PyObject
* obj0
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 Py_INCREF(Py_None
); resultobj
= Py_None
;
15750 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15751 resultobj
= t_output_helper(resultobj
,o
);
15754 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15755 resultobj
= t_output_helper(resultobj
,o
);
15763 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15766 int *arg2
= (int *) 0 ;
15767 int *arg3
= (int *) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 Py_INCREF(Py_None
); resultobj
= Py_None
;
15789 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15790 resultobj
= t_output_helper(resultobj
,o
);
15793 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15794 resultobj
= t_output_helper(resultobj
,o
);
15802 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15805 int *arg2
= (int *) 0 ;
15806 int *arg3
= (int *) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 Py_INCREF(Py_None
); resultobj
= Py_None
;
15828 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15829 resultobj
= t_output_helper(resultobj
,o
);
15832 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15833 resultobj
= t_output_helper(resultobj
,o
);
15841 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 wxSize
* resultptr
;
15862 resultptr
= new wxSize((wxSize
&) result
);
15863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15871 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 wxSize
* resultptr
;
15892 resultptr
= new wxSize((wxSize
&) result
);
15893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15901 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15904 PyObject
* obj0
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 (arg1
)->base_InitDialog();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15926 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (bool)(arg1
)->base_TransferDataToWindow();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15954 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15982 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (bool)(arg1
)->base_Validate();
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16010 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16014 PyObject
* obj0
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16086 wxSize
* resultptr
;
16087 resultptr
= new wxSize((wxSize
&) result
);
16088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16096 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16099 wxWindow
*arg2
= (wxWindow
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self",(char *) "child", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 (arg1
)->base_AddChild(arg2
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 Py_INCREF(Py_None
); resultobj
= Py_None
;
16125 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16128 wxWindow
*arg2
= (wxWindow
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 PyObject
* obj1
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self",(char *) "child", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 (arg1
)->base_RemoveChild(arg2
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 Py_INCREF(Py_None
); resultobj
= Py_None
;
16154 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16182 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
;
16184 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16185 wxColour
*arg2
= 0 ;
16187 PyObject
* obj0
= 0 ;
16188 PyObject
* obj1
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self",(char *) "c", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16198 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16207 Py_INCREF(Py_None
); resultobj
= Py_None
;
16214 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16217 wxVisualAttributes result
;
16218 PyObject
* obj0
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= (arg1
)->base_GetDefaultAttributes();
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16234 wxVisualAttributes
* resultptr
;
16235 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16244 static PyObject
* PyWindow_swigregister(PyObject
*self
, PyObject
*args
) {
16246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16247 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16249 return Py_BuildValue((char *)"");
16251 static PyObject
*_wrap_new_PyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxWindow
*arg1
= (wxWindow
*) 0 ;
16254 int arg2
= (int) (int)-1 ;
16255 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16256 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16257 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16258 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16259 long arg5
= (long) 0 ;
16260 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16261 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16265 bool temp6
= False
;
16266 PyObject
* obj0
= 0 ;
16267 PyObject
* obj1
= 0 ;
16268 PyObject
* obj2
= 0 ;
16269 PyObject
* obj3
= 0 ;
16270 PyObject
* obj4
= 0 ;
16271 PyObject
* obj5
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 arg2
= (int const) SWIG_AsInt(obj1
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16286 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16292 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16296 arg5
= (long) SWIG_AsLong(obj4
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16301 arg6
= wxString_in_helper(obj5
);
16302 if (arg6
== NULL
) SWIG_fail
;
16307 if (!wxPyCheckForApp()) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16329 static PyObject
*_wrap_new_PrePyPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16332 char *kwnames
[] = {
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16338 if (!wxPyCheckForApp()) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (wxPyPanel
*)new wxPyPanel();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16352 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16355 PyObject
*arg2
= (PyObject
*) 0 ;
16356 PyObject
*arg3
= (PyObject
*) 0 ;
16357 PyObject
* obj0
= 0 ;
16358 PyObject
* obj1
= 0 ;
16359 PyObject
* obj2
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self",(char *) "self",(char *) "_class", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 Py_INCREF(Py_None
); resultobj
= Py_None
;
16383 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "size", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 Py_INCREF(Py_None
); resultobj
= Py_None
;
16415 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 PyObject
* obj2
= 0 ;
16425 PyObject
* obj3
= 0 ;
16426 PyObject
* obj4
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 arg2
= (int) SWIG_AsInt(obj1
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16436 arg3
= (int) SWIG_AsInt(obj2
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16438 arg4
= (int) SWIG_AsInt(obj3
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16440 arg5
= (int) SWIG_AsInt(obj4
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 Py_INCREF(Py_None
); resultobj
= Py_None
;
16456 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16463 int arg6
= (int) wxSIZE_AUTO
;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 PyObject
* obj2
= 0 ;
16467 PyObject
* obj3
= 0 ;
16468 PyObject
* obj4
= 0 ;
16469 PyObject
* obj5
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16477 arg2
= (int) SWIG_AsInt(obj1
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16479 arg3
= (int) SWIG_AsInt(obj2
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16481 arg4
= (int) SWIG_AsInt(obj3
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16483 arg5
= (int) SWIG_AsInt(obj4
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 arg6
= (int) SWIG_AsInt(obj5
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 Py_INCREF(Py_None
); resultobj
= Py_None
;
16503 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 PyObject
* obj2
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self",(char *) "width",(char *) "height", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16518 arg2
= (int) SWIG_AsInt(obj1
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16520 arg3
= (int) SWIG_AsInt(obj2
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 Py_INCREF(Py_None
); resultobj
= Py_None
;
16536 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16541 PyObject
* obj0
= 0 ;
16542 PyObject
* obj1
= 0 ;
16543 PyObject
* obj2
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "x",(char *) "y", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16551 arg2
= (int) SWIG_AsInt(obj1
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16553 arg3
= (int) SWIG_AsInt(obj2
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16572 int *arg2
= (int *) 0 ;
16573 int *arg3
= (int *) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 Py_INCREF(Py_None
); resultobj
= Py_None
;
16595 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16596 resultobj
= t_output_helper(resultobj
,o
);
16599 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16600 resultobj
= t_output_helper(resultobj
,o
);
16608 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16611 int *arg2
= (int *) 0 ;
16612 int *arg3
= (int *) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 Py_INCREF(Py_None
); resultobj
= Py_None
;
16634 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16635 resultobj
= t_output_helper(resultobj
,o
);
16638 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16639 resultobj
= t_output_helper(resultobj
,o
);
16647 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16650 int *arg2
= (int *) 0 ;
16651 int *arg3
= (int *) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16673 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
16674 resultobj
= t_output_helper(resultobj
,o
);
16677 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16678 resultobj
= t_output_helper(resultobj
,o
);
16686 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 wxSize
* resultptr
;
16707 resultptr
= new wxSize((wxSize
&) result
);
16708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16716 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 wxSize
* resultptr
;
16737 resultptr
= new wxSize((wxSize
&) result
);
16738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16746 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 (arg1
)->base_InitDialog();
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 Py_INCREF(Py_None
); resultobj
= Py_None
;
16771 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (bool)(arg1
)->base_TransferDataToWindow();
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16799 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16827 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (bool)(arg1
)->base_Validate();
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16855 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16883 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16911 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16931 wxSize
* resultptr
;
16932 resultptr
= new wxSize((wxSize
&) result
);
16933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16941 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16944 wxWindow
*arg2
= (wxWindow
*) 0 ;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self",(char *) "child", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 (arg1
)->base_AddChild(arg2
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 Py_INCREF(Py_None
); resultobj
= Py_None
;
16970 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16973 wxWindow
*arg2
= (wxWindow
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self",(char *) "child", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 (arg1
)->base_RemoveChild(arg2
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 Py_INCREF(Py_None
); resultobj
= Py_None
;
16999 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17027 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17030 wxColour
*arg2
= 0 ;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "self",(char *) "c", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 Py_INCREF(Py_None
); resultobj
= Py_None
;
17059 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17062 wxVisualAttributes result
;
17063 PyObject
* obj0
= 0 ;
17064 char *kwnames
[] = {
17065 (char *) "self", NULL
17068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (arg1
)->base_GetDefaultAttributes();
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17079 wxVisualAttributes
* resultptr
;
17080 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17089 static PyObject
* PyPanel_swigregister(PyObject
*self
, PyObject
*args
) {
17091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17092 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17094 return Py_BuildValue((char *)"");
17096 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 wxWindow
*arg1
= (wxWindow
*) 0 ;
17099 int arg2
= (int) (int)-1 ;
17100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17104 long arg5
= (long) 0 ;
17105 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17106 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17107 wxPyScrolledWindow
*result
;
17110 bool temp6
= False
;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 PyObject
* obj2
= 0 ;
17114 PyObject
* obj3
= 0 ;
17115 PyObject
* obj4
= 0 ;
17116 PyObject
* obj5
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17125 arg2
= (int const) SWIG_AsInt(obj1
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17137 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17141 arg5
= (long) SWIG_AsLong(obj4
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17146 arg6
= wxString_in_helper(obj5
);
17147 if (arg6
== NULL
) SWIG_fail
;
17152 if (!wxPyCheckForApp()) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17174 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxPyScrolledWindow
*result
;
17177 char *kwnames
[] = {
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17183 if (!wxPyCheckForApp()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17197 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17200 PyObject
*arg2
= (PyObject
*) 0 ;
17201 PyObject
*arg3
= (PyObject
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 PyObject
* obj2
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self",(char *) "self",(char *) "_class", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 Py_INCREF(Py_None
); resultobj
= Py_None
;
17228 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self",(char *) "size", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17244 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 Py_INCREF(Py_None
); resultobj
= Py_None
;
17260 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 PyObject
* obj1
= 0 ;
17269 PyObject
* obj2
= 0 ;
17270 PyObject
* obj3
= 0 ;
17271 PyObject
* obj4
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17279 arg2
= (int) SWIG_AsInt(obj1
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17281 arg3
= (int) SWIG_AsInt(obj2
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17283 arg4
= (int) SWIG_AsInt(obj3
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17285 arg5
= (int) SWIG_AsInt(obj4
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 Py_INCREF(Py_None
); resultobj
= Py_None
;
17301 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
;
17303 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17308 int arg6
= (int) wxSIZE_AUTO
;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 PyObject
* obj2
= 0 ;
17312 PyObject
* obj3
= 0 ;
17313 PyObject
* obj4
= 0 ;
17314 PyObject
* obj5
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 arg2
= (int) SWIG_AsInt(obj1
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17324 arg3
= (int) SWIG_AsInt(obj2
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17326 arg4
= (int) SWIG_AsInt(obj3
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17328 arg5
= (int) SWIG_AsInt(obj4
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 arg6
= (int) SWIG_AsInt(obj5
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 Py_INCREF(Py_None
); resultobj
= Py_None
;
17348 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 PyObject
* obj2
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self",(char *) "width",(char *) "height", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17363 arg2
= (int) SWIG_AsInt(obj1
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17365 arg3
= (int) SWIG_AsInt(obj2
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 Py_INCREF(Py_None
); resultobj
= Py_None
;
17381 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 PyObject
* obj2
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self",(char *) "x",(char *) "y", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 arg2
= (int) SWIG_AsInt(obj1
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17398 arg3
= (int) SWIG_AsInt(obj2
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 Py_INCREF(Py_None
); resultobj
= Py_None
;
17414 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17417 int *arg2
= (int *) 0 ;
17418 int *arg3
= (int *) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 Py_INCREF(Py_None
); resultobj
= Py_None
;
17440 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17441 resultobj
= t_output_helper(resultobj
,o
);
17444 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17445 resultobj
= t_output_helper(resultobj
,o
);
17453 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17456 int *arg2
= (int *) 0 ;
17457 int *arg3
= (int *) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17480 resultobj
= t_output_helper(resultobj
,o
);
17483 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17484 resultobj
= t_output_helper(resultobj
,o
);
17492 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17495 int *arg2
= (int *) 0 ;
17496 int *arg3
= (int *) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 Py_INCREF(Py_None
); resultobj
= Py_None
;
17518 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
17519 resultobj
= t_output_helper(resultobj
,o
);
17522 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
17523 resultobj
= t_output_helper(resultobj
,o
);
17531 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 wxSize
* resultptr
;
17552 resultptr
= new wxSize((wxSize
&) result
);
17553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17561 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 wxSize
* resultptr
;
17582 resultptr
= new wxSize((wxSize
&) result
);
17583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17591 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 (arg1
)->base_InitDialog();
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 Py_INCREF(Py_None
); resultobj
= Py_None
;
17616 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (bool)(arg1
)->base_TransferDataToWindow();
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17644 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17672 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (bool)(arg1
)->base_Validate();
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17700 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17704 PyObject
* obj0
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17728 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17732 PyObject
* obj0
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17756 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 wxSize
* resultptr
;
17777 resultptr
= new wxSize((wxSize
&) result
);
17778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17786 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17789 wxWindow
*arg2
= (wxWindow
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "child", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 (arg1
)->base_AddChild(arg2
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 Py_INCREF(Py_None
); resultobj
= Py_None
;
17815 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17818 wxWindow
*arg2
= (wxWindow
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self",(char *) "child", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 (arg1
)->base_RemoveChild(arg2
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 Py_INCREF(Py_None
); resultobj
= Py_None
;
17844 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17872 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17875 wxColour
*arg2
= 0 ;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "c", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 Py_INCREF(Py_None
); resultobj
= Py_None
;
17904 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17907 wxVisualAttributes result
;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (arg1
)->base_GetDefaultAttributes();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 wxVisualAttributes
* resultptr
;
17925 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17934 static PyObject
* PyScrolledWindow_swigregister(PyObject
*self
, PyObject
*args
) {
17936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17937 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17939 return Py_BuildValue((char *)"");
17941 static int _wrap_PrintoutTitleStr_set(PyObject
*_val
) {
17942 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17947 static PyObject
*_wrap_PrintoutTitleStr_get() {
17952 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17954 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17961 static int _wrap_PreviewCanvasNameStr_set(PyObject
*_val
) {
17962 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17967 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17972 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17974 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17981 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*self
, PyObject
*args
) {
17982 PyObject
*resultobj
;
17983 wxPrintData
*result
;
17985 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (wxPrintData
*)new wxPrintData();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18000 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*self
, PyObject
*args
) {
18001 PyObject
*resultobj
;
18002 wxPrintData
*arg1
= 0 ;
18003 wxPrintData
*result
;
18004 PyObject
* obj0
= 0 ;
18006 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18010 if (arg1
== NULL
) {
18011 PyErr_SetString(PyExc_TypeError
,"null reference");
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18028 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18033 argc
= PyObject_Length(args
);
18034 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18035 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18038 return _wrap_new_PrintData__SWIG_0(self
,args
);
18044 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18052 return _wrap_new_PrintData__SWIG_1(self
,args
);
18056 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18061 static PyObject
*_wrap_delete_PrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 Py_INCREF(Py_None
); resultobj
= Py_None
;
18086 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (int)(arg1
)->GetNoCopies();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_FromInt((int)result
);
18112 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (bool)(arg1
)->GetCollate();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18140 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "self", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (int)(arg1
)->GetOrientation();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= SWIG_FromInt((int)result
);
18166 static PyObject
*_wrap_PrintData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (bool)(arg1
)->Ok();
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18194 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18210 result
= (wxString
*) &_result_ref
;
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18220 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18229 static PyObject
*_wrap_PrintData_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18233 PyObject
* obj0
= 0 ;
18234 char *kwnames
[] = {
18235 (char *) "self", NULL
18238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 result
= (bool)(arg1
)->GetColour();
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18257 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (int)(arg1
)->GetDuplex();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_FromInt((int)result
);
18283 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 result
= (int)(arg1
)->GetPaperId();
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_FromInt((int)result
);
18309 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18325 result
= (wxSize
*) &_result_ref
;
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18338 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (int)(arg1
)->GetQuality();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_FromInt((int)result
);
18364 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self",(char *) "v", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18377 arg2
= (int) SWIG_AsInt(obj1
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 (arg1
)->SetNoCopies(arg2
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 Py_INCREF(Py_None
); resultobj
= Py_None
;
18393 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self",(char *) "flag", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 arg2
= (bool) SWIG_AsBool(obj1
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->SetCollate(arg2
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self",(char *) "orient", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18435 arg2
= (int) SWIG_AsInt(obj1
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 (arg1
)->SetOrientation(arg2
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 Py_INCREF(Py_None
); resultobj
= Py_None
;
18451 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18454 wxString
*arg2
= 0 ;
18455 bool temp2
= False
;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "name", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18466 arg2
= wxString_in_helper(obj1
);
18467 if (arg2
== NULL
) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18492 static PyObject
*_wrap_PrintData_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 PyObject
* obj1
= 0 ;
18498 char *kwnames
[] = {
18499 (char *) "self",(char *) "colour", NULL
18502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 arg2
= (bool) SWIG_AsBool(obj1
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 (arg1
)->SetColour(arg2
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 Py_INCREF(Py_None
); resultobj
= Py_None
;
18521 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self",(char *) "duplex", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18534 arg2
= (wxDuplexMode
) SWIG_AsInt(obj1
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 Py_INCREF(Py_None
); resultobj
= Py_None
;
18550 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "sizeId", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18563 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 Py_INCREF(Py_None
); resultobj
= Py_None
;
18579 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "sz", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 Py_INCREF(Py_None
); resultobj
= Py_None
;
18611 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self",(char *) "quality", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 arg2
= (int) SWIG_AsInt(obj1
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 (arg1
)->SetQuality(arg2
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 Py_INCREF(Py_None
); resultobj
= Py_None
;
18640 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
;
18642 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18644 PyObject
* obj0
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18656 result
= (wxString
*) &_result_ref
;
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18666 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18675 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18691 result
= (wxString
*) &_result_ref
;
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18710 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18714 PyObject
* obj0
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18726 result
= (wxString
*) &_result_ref
;
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18734 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18736 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18745 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 wxString
const &_result_ref
= (arg1
)->GetFilename();
18761 result
= (wxString
*) &_result_ref
;
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18769 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18771 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18780 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 char *kwnames
[] = {
18786 (char *) "self", NULL
18789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18796 result
= (wxString
*) &_result_ref
;
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18806 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18815 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (double)(arg1
)->GetPrinterScaleX();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= SWIG_FromDouble((double)result
);
18841 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= (double)(arg1
)->GetPrinterScaleY();
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= SWIG_FromDouble((double)result
);
18867 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (long)(arg1
)->GetPrinterTranslateX();
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_FromLong((long)result
);
18893 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 result
= (long)(arg1
)->GetPrinterTranslateY();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_FromLong((long)result
);
18919 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 result
= (int)(arg1
)->GetPrintMode();
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= SWIG_FromInt((int)result
);
18945 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18948 wxString
*arg2
= 0 ;
18949 bool temp2
= False
;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self",(char *) "command", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 arg2
= wxString_in_helper(obj1
);
18961 if (arg2
== NULL
) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 Py_INCREF(Py_None
); resultobj
= Py_None
;
18986 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18989 wxString
*arg2
= 0 ;
18990 bool temp2
= False
;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self",(char *) "options", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19001 arg2
= wxString_in_helper(obj1
);
19002 if (arg2
== NULL
) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19027 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19030 wxString
*arg2
= 0 ;
19031 bool temp2
= False
;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self",(char *) "command", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19042 arg2
= wxString_in_helper(obj1
);
19043 if (arg2
== NULL
) SWIG_fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 Py_INCREF(Py_None
); resultobj
= Py_None
;
19068 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19071 wxString
*arg2
= 0 ;
19072 bool temp2
= False
;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self",(char *) "filename", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 arg2
= wxString_in_helper(obj1
);
19084 if (arg2
== NULL
) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->SetFilename((wxString
const &)*arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 Py_INCREF(Py_None
); resultobj
= Py_None
;
19109 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19112 wxString
*arg2
= 0 ;
19113 bool temp2
= False
;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self",(char *) "path", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19124 arg2
= wxString_in_helper(obj1
);
19125 if (arg2
== NULL
) SWIG_fail
;
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 Py_INCREF(Py_None
); resultobj
= Py_None
;
19150 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
;
19152 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self",(char *) "x", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19163 arg2
= (double) SWIG_AsDouble(obj1
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->SetPrinterScaleX(arg2
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 Py_INCREF(Py_None
); resultobj
= Py_None
;
19179 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self",(char *) "y", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 arg2
= (double) SWIG_AsDouble(obj1
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->SetPrinterScaleY(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 PyObject
* obj2
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self",(char *) "x",(char *) "y", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 arg2
= (double) SWIG_AsDouble(obj1
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19225 arg3
= (double) SWIG_AsDouble(obj2
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 Py_INCREF(Py_None
); resultobj
= Py_None
;
19241 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self",(char *) "x", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19254 arg2
= (long) SWIG_AsLong(obj1
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 (arg1
)->SetPrinterTranslateX(arg2
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 Py_INCREF(Py_None
); resultobj
= Py_None
;
19270 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self",(char *) "y", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 arg2
= (long) SWIG_AsLong(obj1
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 (arg1
)->SetPrinterTranslateY(arg2
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 Py_INCREF(Py_None
); resultobj
= Py_None
;
19299 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
;
19301 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 PyObject
* obj2
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self",(char *) "x",(char *) "y", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19314 arg2
= (long) SWIG_AsLong(obj1
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19316 arg3
= (long) SWIG_AsLong(obj2
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 Py_INCREF(Py_None
); resultobj
= Py_None
;
19332 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self",(char *) "printMode", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19345 arg2
= (wxPrintMode
) SWIG_AsInt(obj1
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 Py_INCREF(Py_None
); resultobj
= Py_None
;
19361 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19364 wxOutputStream
*result
;
19365 PyObject
* obj0
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19387 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19390 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 PyObject
* obj1
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self",(char *) "outputstream", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 (arg1
)->SetOutputStream(arg2
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 Py_INCREF(Py_None
); resultobj
= Py_None
;
19416 static PyObject
* PrintData_swigregister(PyObject
*self
, PyObject
*args
) {
19418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19419 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19421 return Py_BuildValue((char *)"");
19423 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
19424 PyObject
*resultobj
;
19425 wxPageSetupDialogData
*result
;
19427 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19442 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
19443 PyObject
*resultobj
;
19444 wxPageSetupDialogData
*arg1
= 0 ;
19445 wxPageSetupDialogData
*result
;
19446 PyObject
* obj0
= 0 ;
19448 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19452 if (arg1
== NULL
) {
19453 PyErr_SetString(PyExc_TypeError
,"null reference");
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19470 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19475 argc
= PyObject_Length(args
);
19476 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19477 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19480 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19486 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19494 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19498 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19503 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 PyObject
* obj1
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "flag", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19541 arg2
= (bool) SWIG_AsBool(obj1
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->EnableHelp(arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "flag", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 arg2
= (bool) SWIG_AsBool(obj1
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->EnableMargins(arg2
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 Py_INCREF(Py_None
); resultobj
= Py_None
;
19586 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self",(char *) "flag", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 arg2
= (bool) SWIG_AsBool(obj1
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 (arg1
)->EnableOrientation(arg2
);
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19608 Py_INCREF(Py_None
); resultobj
= Py_None
;
19615 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self",(char *) "flag", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19628 arg2
= (bool) SWIG_AsBool(obj1
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 (arg1
)->EnablePaper(arg2
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 Py_INCREF(Py_None
); resultobj
= Py_None
;
19644 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "flag", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 arg2
= (bool) SWIG_AsBool(obj1
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 (arg1
)->EnablePrinter(arg2
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 Py_INCREF(Py_None
); resultobj
= Py_None
;
19673 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (bool)(arg1
)->GetDefaultMinMargins();
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19701 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (bool)(arg1
)->GetEnableMargins();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19729 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (bool)(arg1
)->GetEnableOrientation();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (bool)(arg1
)->GetEnablePaper();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19785 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->GetEnablePrinter();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (bool)(arg1
)->GetEnableHelp();
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19841 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (bool)(arg1
)->GetDefaultInfo();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (arg1
)->GetMarginTopLeft();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 wxPoint
* resultptr
;
19890 resultptr
= new wxPoint((wxPoint
&) result
);
19891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19899 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (arg1
)->GetMarginBottomRight();
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19919 wxPoint
* resultptr
;
19920 resultptr
= new wxPoint((wxPoint
&) result
);
19921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19929 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (arg1
)->GetMinMarginTopLeft();
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19949 wxPoint
* resultptr
;
19950 resultptr
= new wxPoint((wxPoint
&) result
);
19951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19959 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= (arg1
)->GetMinMarginBottomRight();
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19979 wxPoint
* resultptr
;
19980 resultptr
= new wxPoint((wxPoint
&) result
);
19981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19989 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (int)(arg1
)->GetPaperId();
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_FromInt((int)result
);
20015 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 result
= (arg1
)->GetPaperSize();
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20035 wxSize
* resultptr
;
20036 resultptr
= new wxSize((wxSize
&) result
);
20037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20045 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20048 wxPrintData
*result
;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20061 result
= (wxPrintData
*) &_result_ref
;
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20074 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 char *kwnames
[] = {
20080 (char *) "self", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (bool)(arg1
)->Ok();
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20102 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "flag", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20115 arg2
= (bool) SWIG_AsBool(obj1
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 (arg1
)->SetDefaultInfo(arg2
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 Py_INCREF(Py_None
); resultobj
= Py_None
;
20131 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 PyObject
* obj1
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self",(char *) "flag", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 arg2
= (bool) SWIG_AsBool(obj1
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 (arg1
)->SetDefaultMinMargins(arg2
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 Py_INCREF(Py_None
); resultobj
= Py_None
;
20160 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20163 wxPoint
*arg2
= 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "pt", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 Py_INCREF(Py_None
); resultobj
= Py_None
;
20192 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20195 wxPoint
*arg2
= 0 ;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "pt", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20208 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20217 Py_INCREF(Py_None
); resultobj
= Py_None
;
20224 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20227 wxPoint
*arg2
= 0 ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self",(char *) "pt", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20240 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 Py_INCREF(Py_None
); resultobj
= Py_None
;
20256 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20259 wxPoint
*arg2
= 0 ;
20261 PyObject
* obj0
= 0 ;
20262 PyObject
* obj1
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "self",(char *) "pt", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 Py_INCREF(Py_None
); resultobj
= Py_None
;
20288 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "id", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 arg2
= (wxPaperSize
) SWIG_AsInt(obj1
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 Py_INCREF(Py_None
); resultobj
= Py_None
;
20317 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 PyObject
* obj1
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self",(char *) "size", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20333 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 Py_INCREF(Py_None
); resultobj
= Py_None
;
20349 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20352 wxPrintData
*arg2
= 0 ;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "printData", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20365 if (arg2
== NULL
) {
20366 PyErr_SetString(PyExc_TypeError
,"null reference");
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 Py_INCREF(Py_None
); resultobj
= Py_None
;
20383 static PyObject
* PageSetupDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
20385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20386 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20388 return Py_BuildValue((char *)"");
20390 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxWindow
*arg1
= (wxWindow
*) 0 ;
20393 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20394 wxPageSetupDialog
*result
;
20395 PyObject
* obj0
= 0 ;
20396 PyObject
* obj1
= 0 ;
20397 char *kwnames
[] = {
20398 (char *) "parent",(char *) "data", NULL
20401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20409 if (!wxPyCheckForApp()) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20423 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20426 wxPageSetupDialogData
*result
;
20427 PyObject
* obj0
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "self", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20439 result
= (wxPageSetupDialogData
*) &_result_ref
;
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20452 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 result
= (int)(arg1
)->ShowModal();
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= SWIG_FromInt((int)result
);
20478 static PyObject
* PageSetupDialog_swigregister(PyObject
*self
, PyObject
*args
) {
20480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20481 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20483 return Py_BuildValue((char *)"");
20485 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*self
, PyObject
*args
) {
20486 PyObject
*resultobj
;
20487 wxPrintDialogData
*result
;
20489 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20504 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*self
, PyObject
*args
) {
20505 PyObject
*resultobj
;
20506 wxPrintData
*arg1
= 0 ;
20507 wxPrintDialogData
*result
;
20508 PyObject
* obj0
= 0 ;
20510 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20514 if (arg1
== NULL
) {
20515 PyErr_SetString(PyExc_TypeError
,"null reference");
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20532 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20537 argc
= PyObject_Length(args
);
20538 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20539 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20542 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20548 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20556 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20560 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20565 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20590 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 char *kwnames
[] = {
20596 (char *) "self", NULL
20599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_FromInt((int)result
);
20616 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_FromInt((int)result
);
20642 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 char *kwnames
[] = {
20648 (char *) "self", NULL
20651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_FromInt((int)result
);
20668 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_FromInt((int)result
);
20694 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_FromInt((int)result
);
20720 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20748 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 char *kwnames
[] = {
20754 (char *) "self", NULL
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20776 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20804 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20832 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20836 PyObject
* obj0
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20860 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "v", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20873 arg2
= (int) SWIG_AsInt(obj1
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 (arg1
)->SetFromPage(arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 Py_INCREF(Py_None
); resultobj
= Py_None
;
20889 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self",(char *) "v", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20902 arg2
= (int) SWIG_AsInt(obj1
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 (arg1
)->SetToPage(arg2
);
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 Py_INCREF(Py_None
); resultobj
= Py_None
;
20918 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20920 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self",(char *) "v", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20931 arg2
= (int) SWIG_AsInt(obj1
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 (arg1
)->SetMinPage(arg2
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 Py_INCREF(Py_None
); resultobj
= Py_None
;
20947 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20951 PyObject
* obj0
= 0 ;
20952 PyObject
* obj1
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self",(char *) "v", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20960 arg2
= (int) SWIG_AsInt(obj1
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 (arg1
)->SetMaxPage(arg2
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 Py_INCREF(Py_None
); resultobj
= Py_None
;
20976 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self",(char *) "v", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 arg2
= (int) SWIG_AsInt(obj1
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 (arg1
)->SetNoCopies(arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 Py_INCREF(Py_None
); resultobj
= Py_None
;
21005 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21009 PyObject
* obj0
= 0 ;
21010 PyObject
* obj1
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "flag", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21018 arg2
= (bool) SWIG_AsBool(obj1
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 (arg1
)->SetAllPages(arg2
);
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 Py_INCREF(Py_None
); resultobj
= Py_None
;
21034 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self",(char *) "flag", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21047 arg2
= (bool) SWIG_AsBool(obj1
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 (arg1
)->SetSelection(arg2
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 Py_INCREF(Py_None
); resultobj
= Py_None
;
21063 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self",(char *) "flag", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21076 arg2
= (bool) SWIG_AsBool(obj1
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 (arg1
)->SetCollate(arg2
);
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 Py_INCREF(Py_None
); resultobj
= Py_None
;
21092 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 PyObject
* obj1
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self",(char *) "flag", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 arg2
= (bool) SWIG_AsBool(obj1
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 (arg1
)->SetPrintToFile(arg2
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 Py_INCREF(Py_None
); resultobj
= Py_None
;
21121 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self",(char *) "flag", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21134 arg2
= (bool) SWIG_AsBool(obj1
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 (arg1
)->SetSetupDialog(arg2
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21143 Py_INCREF(Py_None
); resultobj
= Py_None
;
21150 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21151 PyObject
*resultobj
;
21152 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21154 PyObject
* obj0
= 0 ;
21155 PyObject
* obj1
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self",(char *) "flag", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21163 arg2
= (bool) SWIG_AsBool(obj1
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 (arg1
)->EnablePrintToFile(arg2
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 Py_INCREF(Py_None
); resultobj
= Py_None
;
21179 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21181 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self",(char *) "flag", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 arg2
= (bool) SWIG_AsBool(obj1
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 (arg1
)->EnableSelection(arg2
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 Py_INCREF(Py_None
); resultobj
= Py_None
;
21208 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self",(char *) "flag", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21221 arg2
= (bool) SWIG_AsBool(obj1
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 (arg1
)->EnablePageNumbers(arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 Py_INCREF(Py_None
); resultobj
= Py_None
;
21237 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "flag", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 arg2
= (bool) SWIG_AsBool(obj1
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 (arg1
)->EnableHelp(arg2
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 Py_INCREF(Py_None
); resultobj
= Py_None
;
21266 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21294 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21322 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21350 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21378 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21406 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21409 wxPrintData
*result
;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21422 result
= (wxPrintData
*) &_result_ref
;
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21435 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21438 wxPrintData
*arg2
= 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self",(char *) "printData", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21451 if (arg2
== NULL
) {
21452 PyErr_SetString(PyExc_TypeError
,"null reference");
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 Py_INCREF(Py_None
); resultobj
= Py_None
;
21469 static PyObject
* PrintDialogData_swigregister(PyObject
*self
, PyObject
*args
) {
21471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21472 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21474 return Py_BuildValue((char *)"");
21476 static PyObject
*_wrap_new_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxWindow
*arg1
= (wxWindow
*) 0 ;
21479 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21480 wxPrintDialog
*result
;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "parent",(char *) "data", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21495 if (!wxPyCheckForApp()) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21509 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21512 wxPrintDialogData
*result
;
21513 PyObject
* obj0
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21525 result
= (wxPrintDialogData
*) &_result_ref
;
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21538 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 result
= (wxDC
*)(arg1
)->GetPrintDC();
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= wxPyMake_wxObject(result
, 1);
21566 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
;
21568 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (int)(arg1
)->ShowModal();
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= SWIG_FromInt((int)result
);
21592 static PyObject
* PrintDialog_swigregister(PyObject
*self
, PyObject
*args
) {
21594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21595 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21597 return Py_BuildValue((char *)"");
21599 static PyObject
*_wrap_new_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "data", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 if (!wxPyCheckForApp()) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (wxPrinter
*)new wxPrinter(arg1
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21628 static PyObject
*_wrap_delete_Printer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21656 wxWindow
*arg2
= (wxWindow
*) 0 ;
21657 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 PyObject
* obj2
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self",(char *) "parent",(char *) "printout", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21686 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21689 wxPrintDialogData
*result
;
21690 PyObject
* obj0
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21702 result
= (wxPrintDialogData
*) &_result_ref
;
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21715 static PyObject
*_wrap_Printer_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21718 wxWindow
*arg2
= (wxWindow
*) 0 ;
21719 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21720 int arg4
= (int) True
;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 PyObject
* obj2
= 0 ;
21725 PyObject
* obj3
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21735 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21738 arg4
= (int) SWIG_AsInt(obj3
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21757 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21760 wxWindow
*arg2
= (wxWindow
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "parent", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21781 resultobj
= wxPyMake_wxObject(result
, 0);
21789 static PyObject
*_wrap_Printer_ReportError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21792 wxWindow
*arg2
= (wxWindow
*) 0 ;
21793 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21794 wxString
*arg4
= 0 ;
21795 bool temp4
= False
;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 PyObject
* obj2
= 0 ;
21799 PyObject
* obj3
= 0 ;
21800 char *kwnames
[] = {
21801 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21812 arg4
= wxString_in_helper(obj3
);
21813 if (arg4
== NULL
) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21823 Py_INCREF(Py_None
); resultobj
= Py_None
;
21838 static PyObject
*_wrap_Printer_Setup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21841 wxWindow
*arg2
= (wxWindow
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "parent", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= (bool)(arg1
)->Setup(arg2
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21870 static PyObject
*_wrap_Printer_GetAbort(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)(arg1
)->GetAbort();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21898 static PyObject
*_wrap_Printer_GetLastError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21901 char *kwnames
[] = {
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= (int)wxPrinter::GetLastError();
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= SWIG_FromInt((int)result
);
21920 static PyObject
* Printer_swigregister(PyObject
*self
, PyObject
*args
) {
21922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21923 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21925 return Py_BuildValue((char *)"");
21927 static PyObject
*_wrap_new_Printout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21930 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21931 wxPyPrintout
*result
;
21932 bool temp1
= False
;
21933 PyObject
* obj0
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "title", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21941 arg1
= wxString_in_helper(obj0
);
21942 if (arg1
== NULL
) SWIG_fail
;
21947 if (!wxPyCheckForApp()) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= wxPyMake_wxObject(result
, 1);
21971 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21974 PyObject
*arg2
= (PyObject
*) 0 ;
21975 PyObject
*arg3
= (PyObject
*) 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 PyObject
* obj2
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "self",(char *) "_class", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 Py_INCREF(Py_None
); resultobj
= Py_None
;
22002 static PyObject
*_wrap_Printout_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22004 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22006 PyObject
* obj0
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22034 static PyObject
*_wrap_Printout_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22038 PyObject
* obj0
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (wxDC
*)(arg1
)->GetDC();
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= wxPyMake_wxObject(result
, 0);
22062 static PyObject
*_wrap_Printout_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22065 wxDC
*arg2
= (wxDC
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "dc", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 (arg1
)->SetDC(arg2
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 Py_INCREF(Py_None
); resultobj
= Py_None
;
22091 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 PyObject
* obj1
= 0 ;
22098 PyObject
* obj2
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self",(char *) "w",(char *) "h", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22106 arg2
= (int) SWIG_AsInt(obj1
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22108 arg3
= (int) SWIG_AsInt(obj2
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 Py_INCREF(Py_None
); resultobj
= Py_None
;
22124 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22126 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22127 int *arg2
= (int *) 0 ;
22128 int *arg3
= (int *) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "self", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 Py_INCREF(Py_None
); resultobj
= Py_None
;
22150 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22151 resultobj
= t_output_helper(resultobj
,o
);
22154 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22155 resultobj
= t_output_helper(resultobj
,o
);
22163 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 PyObject
* obj2
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self",(char *) "w",(char *) "h", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 arg2
= (int) SWIG_AsInt(obj1
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22180 arg3
= (int) SWIG_AsInt(obj2
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 Py_INCREF(Py_None
); resultobj
= Py_None
;
22196 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22199 int *arg2
= (int *) 0 ;
22200 int *arg3
= (int *) 0 ;
22203 PyObject
* obj0
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 Py_INCREF(Py_None
); resultobj
= Py_None
;
22222 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22223 resultobj
= t_output_helper(resultobj
,o
);
22226 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22227 resultobj
= t_output_helper(resultobj
,o
);
22235 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "x",(char *) "y", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 arg2
= (int) SWIG_AsInt(obj1
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22252 arg3
= (int) SWIG_AsInt(obj2
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 (arg1
)->SetPPIScreen(arg2
,arg3
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 Py_INCREF(Py_None
); resultobj
= Py_None
;
22268 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
;
22270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22271 int *arg2
= (int *) 0 ;
22272 int *arg3
= (int *) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 (arg1
)->GetPPIScreen(arg2
,arg3
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 Py_INCREF(Py_None
); resultobj
= Py_None
;
22294 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22295 resultobj
= t_output_helper(resultobj
,o
);
22298 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22299 resultobj
= t_output_helper(resultobj
,o
);
22307 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 PyObject
* obj2
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "self",(char *) "x",(char *) "y", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22322 arg2
= (int) SWIG_AsInt(obj1
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22324 arg3
= (int) SWIG_AsInt(obj2
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 Py_INCREF(Py_None
); resultobj
= Py_None
;
22340 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22343 int *arg2
= (int *) 0 ;
22344 int *arg3
= (int *) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 Py_INCREF(Py_None
); resultobj
= Py_None
;
22366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22367 resultobj
= t_output_helper(resultobj
,o
);
22370 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22371 resultobj
= t_output_helper(resultobj
,o
);
22379 static PyObject
*_wrap_Printout_IsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= (bool)(arg1
)->IsPreview();
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22407 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "self",(char *) "p", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22420 arg2
= (bool) SWIG_AsBool(obj1
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 (arg1
)->SetIsPreview(arg2
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 Py_INCREF(Py_None
); resultobj
= Py_None
;
22436 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 PyObject
* obj2
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 arg2
= (int) SWIG_AsInt(obj1
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22454 arg3
= (int) SWIG_AsInt(obj2
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22472 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22475 PyObject
* obj0
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 (arg1
)->base_OnEndDocument();
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 Py_INCREF(Py_None
); resultobj
= Py_None
;
22497 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 (arg1
)->base_OnBeginPrinting();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 Py_INCREF(Py_None
); resultobj
= Py_None
;
22522 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 (arg1
)->base_OnEndPrinting();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 Py_INCREF(Py_None
); resultobj
= Py_None
;
22547 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 (arg1
)->base_OnPreparePrinting();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 Py_INCREF(Py_None
); resultobj
= Py_None
;
22572 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22577 PyObject
* obj0
= 0 ;
22578 PyObject
* obj1
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self",(char *) "page", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 arg2
= (int) SWIG_AsInt(obj1
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (bool)(arg1
)->base_HasPage(arg2
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22604 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22607 int *arg2
= (int *) 0 ;
22608 int *arg3
= (int *) 0 ;
22609 int *arg4
= (int *) 0 ;
22610 int *arg5
= (int *) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self", NULL
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22637 resultobj
= t_output_helper(resultobj
,o
);
22640 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22641 resultobj
= t_output_helper(resultobj
,o
);
22644 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22645 resultobj
= t_output_helper(resultobj
,o
);
22648 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22649 resultobj
= t_output_helper(resultobj
,o
);
22657 static PyObject
* Printout_swigregister(PyObject
*self
, PyObject
*args
) {
22659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22660 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22662 return Py_BuildValue((char *)"");
22664 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22667 wxWindow
*arg2
= (wxWindow
*) 0 ;
22668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22672 long arg5
= (long) 0 ;
22673 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22674 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22675 wxPreviewCanvas
*result
;
22678 bool temp6
= False
;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 PyObject
* obj2
= 0 ;
22682 PyObject
* obj3
= 0 ;
22683 PyObject
* obj4
= 0 ;
22684 PyObject
* obj5
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22703 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22707 arg5
= (long) SWIG_AsLong(obj4
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22712 arg6
= wxString_in_helper(obj5
);
22713 if (arg6
== NULL
) SWIG_fail
;
22718 if (!wxPyCheckForApp()) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22740 static PyObject
* PreviewCanvas_swigregister(PyObject
*self
, PyObject
*args
) {
22742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22743 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22745 return Py_BuildValue((char *)"");
22747 static PyObject
*_wrap_new_PreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
;
22749 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22750 wxFrame
*arg2
= (wxFrame
*) 0 ;
22751 wxString
*arg3
= 0 ;
22752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22756 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22757 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22759 wxPreviewFrame
*result
;
22760 bool temp3
= False
;
22763 bool temp7
= False
;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22766 PyObject
* obj2
= 0 ;
22767 PyObject
* obj3
= 0 ;
22768 PyObject
* obj4
= 0 ;
22769 PyObject
* obj5
= 0 ;
22770 PyObject
* obj6
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22781 arg3
= wxString_in_helper(obj2
);
22782 if (arg3
== NULL
) SWIG_fail
;
22788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22798 arg6
= (long) SWIG_AsLong(obj5
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22803 arg7
= wxString_in_helper(obj6
);
22804 if (arg7
== NULL
) SWIG_fail
;
22809 if (!wxPyCheckForApp()) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22839 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->Initialize();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 Py_INCREF(Py_None
); resultobj
= Py_None
;
22864 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
;
22866 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 (arg1
)->CreateControlBar();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 Py_INCREF(Py_None
); resultobj
= Py_None
;
22889 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
;
22891 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 (arg1
)->CreateCanvas();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22917 wxPreviewControlBar
*result
;
22918 PyObject
* obj0
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22940 static PyObject
* PreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
22942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22943 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22945 return Py_BuildValue((char *)"");
22947 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22951 wxWindow
*arg3
= (wxWindow
*) 0 ;
22952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22956 long arg6
= (long) wxTAB_TRAVERSAL
;
22957 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22959 wxPreviewControlBar
*result
;
22962 bool temp7
= False
;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 PyObject
* obj2
= 0 ;
22966 PyObject
* obj3
= 0 ;
22967 PyObject
* obj4
= 0 ;
22968 PyObject
* obj5
= 0 ;
22969 PyObject
* obj6
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22977 arg2
= (long) SWIG_AsLong(obj1
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22979 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22994 arg6
= (long) SWIG_AsLong(obj5
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22999 arg7
= wxString_in_helper(obj6
);
23000 if (arg7
== NULL
) SWIG_fail
;
23005 if (!wxPyCheckForApp()) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23027 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (int)(arg1
)->GetZoomControl();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_FromInt((int)result
);
23053 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 PyObject
* obj1
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self",(char *) "zoom", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23066 arg2
= (int) SWIG_AsInt(obj1
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 (arg1
)->SetZoomControl(arg2
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23085 wxPrintPreview
*result
;
23086 PyObject
* obj0
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23108 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 Py_INCREF(Py_None
); resultobj
= Py_None
;
23133 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 (arg1
)->OnPrevious();
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 Py_INCREF(Py_None
); resultobj
= Py_None
;
23158 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "self", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 Py_INCREF(Py_None
); resultobj
= Py_None
;
23183 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 Py_INCREF(Py_None
); resultobj
= Py_None
;
23208 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
;
23210 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 Py_INCREF(Py_None
); resultobj
= Py_None
;
23233 static PyObject
* PreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
23235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23236 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23238 return Py_BuildValue((char *)"");
23240 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
23241 PyObject
*resultobj
;
23242 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23243 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23244 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23245 wxPrintPreview
*result
;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 PyObject
* obj2
= 0 ;
23250 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23256 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23260 if (!wxPyCheckForApp()) SWIG_fail
;
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23274 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
23275 PyObject
*resultobj
;
23276 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23277 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23278 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23279 wxPrintPreview
*result
;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 PyObject
* obj2
= 0 ;
23284 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23289 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 if (!wxPyCheckForApp()) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23306 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23311 argc
= PyObject_Length(args
);
23312 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23313 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23315 if ((argc
>= 2) && (argc
<= 3)) {
23319 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23329 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23338 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23342 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23350 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23359 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23369 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23379 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23387 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23393 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23398 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23399 PyObject
*resultobj
;
23400 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 PyObject
* obj1
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "self",(char *) "pageNum", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23412 arg2
= (int) SWIG_AsInt(obj1
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23430 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (int)(arg1
)->GetCurrentPage();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_FromInt((int)result
);
23456 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23459 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self",(char *) "printout", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 (arg1
)->SetPrintout(arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 Py_INCREF(Py_None
); resultobj
= Py_None
;
23485 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23488 wxPyPrintout
*result
;
23489 PyObject
* obj0
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= wxPyMake_wxObject(result
, 0);
23513 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23516 wxPyPrintout
*result
;
23517 PyObject
* obj0
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= wxPyMake_wxObject(result
, 0);
23541 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23544 wxFrame
*arg2
= (wxFrame
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 PyObject
* obj1
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self",(char *) "frame", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 (arg1
)->SetFrame(arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 Py_INCREF(Py_None
); resultobj
= Py_None
;
23570 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23573 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self",(char *) "canvas", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 (arg1
)->SetCanvas(arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 Py_INCREF(Py_None
); resultobj
= Py_None
;
23599 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (wxFrame
*)(arg1
)->GetFrame();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= wxPyMake_wxObject(result
, 0);
23627 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23630 wxPreviewCanvas
*result
;
23631 PyObject
* obj0
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23653 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23656 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 PyObject
* obj2
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23671 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23674 if (arg3
== NULL
) {
23675 PyErr_SetString(PyExc_TypeError
,"null reference");
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23694 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23696 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23697 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23700 PyObject
* obj0
= 0 ;
23701 PyObject
* obj1
= 0 ;
23702 PyObject
* obj2
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23712 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23715 if (arg3
== NULL
) {
23716 PyErr_SetString(PyExc_TypeError
,"null reference");
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23735 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
;
23737 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 PyObject
* obj1
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self",(char *) "pageNum", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 arg2
= (int) SWIG_AsInt(obj1
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 result
= (bool)(arg1
)->RenderPage(arg2
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23767 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23770 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23771 PyObject
* obj0
= 0 ;
23772 PyObject
* obj1
= 0 ;
23773 char *kwnames
[] = {
23774 (char *) "self",(char *) "canvas", NULL
23777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 (arg1
)->AdjustScrollbars(arg2
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 Py_INCREF(Py_None
); resultobj
= Py_None
;
23796 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23799 wxPrintDialogData
*result
;
23800 PyObject
* obj0
= 0 ;
23801 char *kwnames
[] = {
23802 (char *) "self", NULL
23805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23812 result
= (wxPrintDialogData
*) &_result_ref
;
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23825 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 char *kwnames
[] = {
23832 (char *) "self",(char *) "percent", NULL
23835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23838 arg2
= (int) SWIG_AsInt(obj1
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 (arg1
)->SetZoom(arg2
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 Py_INCREF(Py_None
); resultobj
= Py_None
;
23854 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (int)(arg1
)->GetZoom();
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_FromInt((int)result
);
23880 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23884 PyObject
* obj0
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (int)(arg1
)->GetMaxPage();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_FromInt((int)result
);
23906 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (int)(arg1
)->GetMinPage();
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= SWIG_FromInt((int)result
);
23932 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23936 PyObject
* obj0
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (bool)(arg1
)->Ok();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23960 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "ok", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 arg2
= (bool) SWIG_AsBool(obj1
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 (arg1
)->SetOk(arg2
);
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 Py_INCREF(Py_None
); resultobj
= Py_None
;
23989 static PyObject
*_wrap_PrintPreview_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "interactive", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24003 arg2
= (bool) SWIG_AsBool(obj1
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= (bool)(arg1
)->Print(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24021 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24024 PyObject
* obj0
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 (arg1
)->DetermineScaling();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 Py_INCREF(Py_None
); resultobj
= Py_None
;
24046 static PyObject
* PrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24049 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24051 return Py_BuildValue((char *)"");
24053 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*self
, PyObject
*args
) {
24054 PyObject
*resultobj
;
24055 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24056 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24057 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24058 wxPyPrintPreview
*result
;
24059 PyObject
* obj0
= 0 ;
24060 PyObject
* obj1
= 0 ;
24061 PyObject
* obj2
= 0 ;
24063 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24069 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24073 if (!wxPyCheckForApp()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24087 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*self
, PyObject
*args
) {
24088 PyObject
*resultobj
;
24089 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24090 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24091 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24092 wxPyPrintPreview
*result
;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 PyObject
* obj2
= 0 ;
24097 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 if (!wxPyCheckForApp()) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24119 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24124 argc
= PyObject_Length(args
);
24125 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24126 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24128 if ((argc
>= 2) && (argc
<= 3)) {
24132 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24142 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24151 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24155 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24163 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24172 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24182 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24192 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24200 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24206 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24211 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24214 PyObject
*arg2
= (PyObject
*) 0 ;
24215 PyObject
*arg3
= (PyObject
*) 0 ;
24216 PyObject
* obj0
= 0 ;
24217 PyObject
* obj1
= 0 ;
24218 PyObject
* obj2
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "self",(char *) "self",(char *) "_class", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 Py_INCREF(Py_None
); resultobj
= Py_None
;
24242 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24243 PyObject
*resultobj
;
24244 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self",(char *) "pageNum", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24256 arg2
= (int) SWIG_AsInt(obj1
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24274 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24277 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 PyObject
* obj2
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24295 if (arg3
== NULL
) {
24296 PyErr_SetString(PyExc_TypeError
,"null reference");
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24315 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24318 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 PyObject
* obj2
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24336 if (arg3
== NULL
) {
24337 PyErr_SetString(PyExc_TypeError
,"null reference");
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24356 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "pageNum", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 arg2
= (int) SWIG_AsInt(obj1
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24388 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 PyObject
* obj1
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self",(char *) "percent", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 arg2
= (int) SWIG_AsInt(obj1
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 (arg1
)->base_SetZoom(arg2
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 Py_INCREF(Py_None
); resultobj
= Py_None
;
24417 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self",(char *) "interactive", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24431 arg2
= (bool) SWIG_AsBool(obj1
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= (bool)(arg1
)->base_Print(arg2
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24449 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "self", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 (arg1
)->base_DetermineScaling();
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 Py_INCREF(Py_None
); resultobj
= Py_None
;
24474 static PyObject
* PyPrintPreview_swigregister(PyObject
*self
, PyObject
*args
) {
24476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24477 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24479 return Py_BuildValue((char *)"");
24481 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24484 wxFrame
*arg2
= (wxFrame
*) 0 ;
24485 wxString
*arg3
= 0 ;
24486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24490 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24491 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24492 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24493 wxPyPreviewFrame
*result
;
24494 bool temp3
= False
;
24497 bool temp7
= False
;
24498 PyObject
* obj0
= 0 ;
24499 PyObject
* obj1
= 0 ;
24500 PyObject
* obj2
= 0 ;
24501 PyObject
* obj3
= 0 ;
24502 PyObject
* obj4
= 0 ;
24503 PyObject
* obj5
= 0 ;
24504 PyObject
* obj6
= 0 ;
24505 char *kwnames
[] = {
24506 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24515 arg3
= wxString_in_helper(obj2
);
24516 if (arg3
== NULL
) SWIG_fail
;
24522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24532 arg6
= (long) SWIG_AsLong(obj5
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24537 arg7
= wxString_in_helper(obj6
);
24538 if (arg7
== NULL
) SWIG_fail
;
24543 if (!wxPyCheckForApp()) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24573 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24576 PyObject
*arg2
= (PyObject
*) 0 ;
24577 PyObject
*arg3
= (PyObject
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 PyObject
* obj2
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "self",(char *) "_class", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 Py_INCREF(Py_None
); resultobj
= Py_None
;
24604 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24607 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self",(char *) "canvas", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 (arg1
)->SetPreviewCanvas(arg2
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 Py_INCREF(Py_None
); resultobj
= Py_None
;
24633 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24636 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "bar", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 (arg1
)->SetControlBar(arg2
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 Py_INCREF(Py_None
); resultobj
= Py_None
;
24662 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 (arg1
)->base_Initialize();
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 Py_INCREF(Py_None
); resultobj
= Py_None
;
24687 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 (arg1
)->base_CreateCanvas();
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 Py_INCREF(Py_None
); resultobj
= Py_None
;
24712 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 (arg1
)->base_CreateControlBar();
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 Py_INCREF(Py_None
); resultobj
= Py_None
;
24737 static PyObject
* PyPreviewFrame_swigregister(PyObject
*self
, PyObject
*args
) {
24739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24740 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24742 return Py_BuildValue((char *)"");
24744 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24748 wxWindow
*arg3
= (wxWindow
*) 0 ;
24749 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24750 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24751 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24752 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24753 long arg6
= (long) 0 ;
24754 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24755 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24756 wxPyPreviewControlBar
*result
;
24759 bool temp7
= False
;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 PyObject
* obj2
= 0 ;
24763 PyObject
* obj3
= 0 ;
24764 PyObject
* obj4
= 0 ;
24765 PyObject
* obj5
= 0 ;
24766 PyObject
* obj6
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24774 arg2
= (long) SWIG_AsLong(obj1
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24776 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24781 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24787 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24791 arg6
= (long) SWIG_AsLong(obj5
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24796 arg7
= wxString_in_helper(obj6
);
24797 if (arg7
== NULL
) SWIG_fail
;
24802 if (!wxPyCheckForApp()) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24824 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24827 PyObject
*arg2
= (PyObject
*) 0 ;
24828 PyObject
*arg3
= (PyObject
*) 0 ;
24829 PyObject
* obj0
= 0 ;
24830 PyObject
* obj1
= 0 ;
24831 PyObject
* obj2
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self",(char *) "self",(char *) "_class", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 Py_INCREF(Py_None
); resultobj
= Py_None
;
24855 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
;
24857 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24858 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 PyObject
* obj1
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self",(char *) "preview", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 (arg1
)->SetPrintPreview(arg2
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 Py_INCREF(Py_None
); resultobj
= Py_None
;
24884 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 (arg1
)->base_CreateButtons();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 Py_INCREF(Py_None
); resultobj
= Py_None
;
24909 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char *kwnames
[] = {
24916 (char *) "self",(char *) "zoom", NULL
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24922 arg2
= (int) SWIG_AsInt(obj1
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 (arg1
)->base_SetZoomControl(arg2
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 Py_INCREF(Py_None
); resultobj
= Py_None
;
24938 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*self
, PyObject
*args
) {
24940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24941 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24943 return Py_BuildValue((char *)"");
24945 static PyMethodDef SwigMethods
[] = {
24946 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
},
24952 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
},
24967 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
},
24968 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
},
24974 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
},
24988 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
},
25012 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
},
25024 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
},
25028 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
},
25032 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
},
25037 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
},
25053 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
},
25081 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
},
25088 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
},
25111 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
},
25119 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
},
25131 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
},
25137 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
},
25146 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
},
25152 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
},
25157 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
},
25163 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
},
25167 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction
) _wrap_VScrolledWindow_HitTestXT
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
},
25185 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
},
25211 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
},
25219 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
},
25228 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
},
25230 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
},
25239 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
},
25242 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
},
25249 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
},
25267 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
},
25271 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
},
25276 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
},
25280 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
},
25296 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
},
25299 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
},
25301 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
},
25305 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
},
25314 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
},
25323 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
},
25326 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
},
25329 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25330 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
},
25341 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
},
25348 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
},
25352 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
},
25378 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25384 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25388 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25389 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25390 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25391 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25392 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25393 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25394 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25395 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25396 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25397 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25398 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25399 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25400 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25401 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25402 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25403 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
},
25404 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25405 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
25406 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25407 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25408 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
25409 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
25410 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25411 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25412 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
25413 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
25414 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
25415 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
25416 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
25417 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
25418 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
25419 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
25420 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
25421 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
25422 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
25423 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
25424 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
25425 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
25426 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
25427 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
25428 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
25429 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
},
25430 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
},
25431 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
},
25432 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25433 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25434 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25435 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25436 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25437 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
25438 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25439 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25440 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25441 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25442 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25443 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25444 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25445 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
},
25446 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
25447 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
},
25448 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25449 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25450 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
25451 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25452 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25453 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25454 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25455 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25456 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25457 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25458 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25459 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25460 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25461 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
},
25462 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
},
25463 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
},
25464 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
},
25465 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
},
25466 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
},
25467 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
},
25468 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
},
25469 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
},
25470 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
},
25471 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
},
25472 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
25473 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25474 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
25475 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
},
25476 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
},
25477 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25478 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25479 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25480 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25481 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25482 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25483 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25484 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
},
25485 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
},
25486 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
},
25487 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
},
25488 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25489 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25490 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25491 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25492 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25493 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25494 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25495 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25496 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25497 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25498 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
},
25499 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
},
25500 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25501 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25502 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
25503 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
25504 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
},
25505 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
},
25506 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25507 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
},
25508 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25509 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
25510 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25511 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
},
25512 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
},
25513 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25514 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25515 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25516 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25517 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25518 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25519 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25520 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25521 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25522 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25523 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25524 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
},
25525 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
},
25526 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25527 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25528 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
},
25529 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
},
25530 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
25531 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
},
25532 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25533 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
},
25534 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25535 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25536 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25537 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25538 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
},
25539 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
},
25540 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
},
25541 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
},
25542 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25543 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25544 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
25545 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
},
25546 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25547 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25548 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
},
25549 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
},
25550 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
},
25551 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25552 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
},
25553 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
},
25554 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25555 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
},
25556 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
},
25557 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
},
25558 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
},
25559 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
},
25560 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
},
25561 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
},
25562 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
},
25563 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25564 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
25565 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
25566 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
25567 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25568 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
},
25569 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25570 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
25571 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25572 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
},
25573 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25574 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
},
25575 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25576 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
},
25577 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
},
25578 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
},
25579 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25580 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25581 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
},
25582 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
},
25583 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
},
25584 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
},
25585 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25586 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
},
25587 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25588 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25589 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25590 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25591 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25592 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
},
25593 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25594 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25595 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25596 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25597 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
},
25598 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
},
25599 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
},
25600 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
},
25601 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
},
25602 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
},
25603 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
},
25604 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25605 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25606 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25607 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
},
25608 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
},
25609 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25610 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25611 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
25612 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25613 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25614 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25615 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25616 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
25617 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
},
25618 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25619 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25620 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
},
25621 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
},
25622 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
},
25623 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
},
25624 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
},
25625 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25626 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
},
25627 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
},
25628 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25629 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
},
25630 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
},
25631 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
},
25632 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
},
25633 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
25634 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
},
25635 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
},
25636 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
},
25637 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
},
25638 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25639 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25640 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25641 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25642 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
},
25643 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25644 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
},
25645 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
},
25646 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25647 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
},
25648 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
},
25649 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
},
25650 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
},
25655 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25657 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25658 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25660 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25661 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25663 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25664 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25666 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25667 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25669 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25670 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25672 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25673 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25675 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25676 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25678 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25679 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25681 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25682 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25684 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25685 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25687 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25688 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25690 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25691 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25693 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25694 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25696 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25697 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25699 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25700 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25702 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25703 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25705 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25706 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25708 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25709 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25711 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25712 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25714 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25715 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25717 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25718 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25720 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25721 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25723 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25724 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25726 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25727 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25729 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25732 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25733 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25735 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25736 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25738 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25739 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25741 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25742 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25744 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25745 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25747 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25748 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25750 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25753 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25754 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25756 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25757 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25759 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25760 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25762 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25763 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25765 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25766 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25768 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25769 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25771 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25772 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25774 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25775 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25777 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25778 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25780 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25781 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25783 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25784 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25786 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25789 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25792 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25795 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25796 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25798 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25799 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25801 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25802 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25804 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25805 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25807 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25810 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25813 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25816 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25819 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25822 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25825 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25828 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25829 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25831 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25832 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25834 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25837 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
25840 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25843 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25844 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25846 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25849 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25850 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25852 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25853 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25855 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25856 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25858 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25859 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25861 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25864 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25865 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25867 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25868 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25870 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25873 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25874 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25876 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25879 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25882 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25885 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25886 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25888 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25891 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25892 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25894 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25897 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25900 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25903 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25906 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25909 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25910 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25912 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25915 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25918 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25921 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25924 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25927 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25930 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25933 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25936 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25937 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25939 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25940 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25942 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25943 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25945 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25946 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25948 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25949 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25951 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25952 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25954 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25955 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25957 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25958 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25960 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25961 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25963 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25964 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25966 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25969 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25972 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25973 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25975 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25976 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25978 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25981 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25982 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25984 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25985 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25987 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25988 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25990 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25991 return (void *)((wxObject
*) ((wxSizer
*) x
));
25993 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25994 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25996 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25999 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26002 static void *_p_wxEventTo_p_wxObject(void *x
) {
26003 return (void *)((wxObject
*) ((wxEvent
*) x
));
26005 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26006 return (void *)((wxObject
*) ((wxFontData
*) x
));
26008 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26009 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26011 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26012 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26014 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26015 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26017 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26018 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26020 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26021 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26023 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26026 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26029 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26030 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26032 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26033 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26035 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26036 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26038 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26039 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26041 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26042 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26044 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26045 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26047 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26050 static void *_p_wxControlTo_p_wxObject(void *x
) {
26051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26053 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26054 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26056 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26057 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26059 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26060 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26062 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26063 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26065 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26066 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26068 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26071 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26072 return (void *)((wxObject
*) ((wxColourData
*) x
));
26074 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26075 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26077 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26080 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26083 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26086 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26089 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26092 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26095 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26098 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26101 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26104 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26107 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26108 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26110 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26111 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26113 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26114 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26116 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26117 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26119 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26122 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26123 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26125 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26126 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26128 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26129 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26131 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26132 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26134 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26135 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26137 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26138 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26140 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26141 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26143 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26144 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26146 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26147 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26149 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26150 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26152 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26155 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26156 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26158 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26159 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26161 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26162 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26164 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26165 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26167 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26168 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26170 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26171 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26173 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26176 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26177 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26179 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26180 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26182 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26185 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26188 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26189 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26191 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26194 static void *_p_wxImageTo_p_wxObject(void *x
) {
26195 return (void *)((wxObject
*) ((wxImage
*) x
));
26197 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26200 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26201 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26203 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26204 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26206 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26207 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26209 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26212 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26215 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26218 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26219 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26221 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26222 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26224 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26225 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26227 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26228 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26230 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26233 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26236 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26239 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26242 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26245 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26248 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26251 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26254 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26257 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26260 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26263 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26266 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26269 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26270 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26272 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26273 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26275 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26276 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26278 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26281 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26284 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26287 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26290 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26293 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26296 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26299 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26302 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26305 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26306 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26308 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26309 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26311 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26312 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26314 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26315 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26317 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26318 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26320 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26323 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26324 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26326 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26329 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26332 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26333 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26335 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26336 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26338 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26339 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26341 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26344 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26345 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26347 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26348 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26350 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26353 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26356 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26357 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26359 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26360 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26362 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26363 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26365 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26366 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26368 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26369 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26371 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26372 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26374 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26375 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26377 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26378 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26380 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26381 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26383 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26384 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26386 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26387 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26389 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26390 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26392 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26393 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26395 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26396 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26398 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26399 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26401 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26402 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26404 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26405 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26407 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26408 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26410 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26411 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26413 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26414 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26416 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26417 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26419 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26420 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26422 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26423 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26425 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26426 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26428 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26429 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26431 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26432 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26434 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26435 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26437 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26438 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26440 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26441 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26443 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26444 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26446 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26447 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26449 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26450 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26452 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26453 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26455 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26456 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26458 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26459 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26461 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26462 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26464 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26465 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26467 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26468 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26470 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26471 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26473 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26474 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26476 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26477 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26479 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26480 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26482 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26483 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26485 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26486 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26488 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26489 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26491 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26492 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26494 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26495 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26497 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26498 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26500 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26501 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26503 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26504 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26506 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26507 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26509 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26510 return (void *)((wxWindow
*) ((wxControl
*) x
));
26512 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26513 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26515 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26516 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26518 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26519 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26521 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26522 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26524 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26525 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26527 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26528 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26530 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26531 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26533 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26534 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26536 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26537 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26539 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26540 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26542 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26543 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26545 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26546 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26548 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26549 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26551 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26552 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26554 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26555 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26557 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26558 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26560 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26561 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26563 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26564 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26566 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26567 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26569 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26570 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26572 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26573 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26575 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26576 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26578 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26579 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26581 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26582 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26584 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26585 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26587 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26588 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26590 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26591 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26593 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26594 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26596 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26597 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26599 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26600 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26602 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26603 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26605 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26606 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26608 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26609 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26611 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26612 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26614 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26615 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26617 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26618 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26620 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26621 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26623 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26624 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26626 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26627 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26629 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26630 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26632 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26633 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26635 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26636 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26638 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26639 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26641 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26642 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26644 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26645 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26647 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26648 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26650 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26651 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26653 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26654 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26656 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26657 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26659 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26660 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26662 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26663 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26665 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26666 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26668 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26669 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26671 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}};
26672 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}};
26673 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}};
26674 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}};
26675 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}};
26676 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}};
26677 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}};
26678 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}};
26679 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}};
26680 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}};
26681 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}};
26682 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}};
26683 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}};
26684 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}};
26685 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}};
26686 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}};
26687 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}};
26688 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}};
26689 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}};
26690 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}};
26691 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}};
26692 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26693 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}};
26694 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}};
26695 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}};
26696 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}};
26697 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}};
26698 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}};
26699 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}};
26700 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}};
26701 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}};
26702 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}};
26703 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}};
26704 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}};
26705 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}};
26706 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}};
26707 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}};
26708 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}};
26709 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}};
26710 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}};
26711 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}};
26712 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}};
26713 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}};
26714 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}};
26715 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}};
26716 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}};
26717 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}};
26718 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}};
26719 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}};
26720 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}};
26721 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}};
26722 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}};
26723 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}};
26724 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}};
26725 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}};
26726 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}};
26727 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}};
26728 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}};
26729 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}};
26730 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}};
26731 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}};
26732 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}};
26733 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}};
26734 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}};
26735 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}};
26736 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}};
26737 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}};
26738 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}};
26739 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}};
26740 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}};
26741 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}};
26742 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}};
26743 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}};
26744 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}};
26745 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}};
26746 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}};
26747 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}};
26748 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}};
26749 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}};
26750 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}};
26751 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}};
26752 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}};
26753 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}};
26754 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}};
26755 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}};
26756 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}};
26758 static swig_type_info
*swig_types_initial
[] = {
26759 _swigt__p_wxQueryLayoutInfoEvent
,
26760 _swigt__p_wxPreviewFrame
,
26761 _swigt__p_wxPyPreviewFrame
,
26762 _swigt__p_wxPyPanel
,
26764 _swigt__p_wxPrintData
,
26765 _swigt__p_wxFontData
,
26767 _swigt__p_wxTaskBarIcon
,
26768 _swigt__p_wxIconBundle
,
26769 _swigt__p_wxLayoutAlgorithm
,
26770 _swigt__p_wxFindDialogEvent
,
26771 _swigt__p_wxPreviewCanvas
,
26773 _swigt__p_wxSplitterEvent
,
26774 _swigt__p_wxRegion
,
26775 _swigt__p_wxFindReplaceData
,
26780 _swigt__p_wxVisualAttributes
,
26781 _swigt__p_wxMDIChildFrame
,
26782 _swigt__p_wxColourData
,
26783 _swigt__p_wxNotifyEvent
,
26784 _swigt__p_wxPyWindow
,
26785 _swigt__p_wxSplashScreen
,
26786 _swigt__p_wxFindReplaceDialog
,
26787 _swigt__p_wxProgressDialog
,
26788 _swigt__p_wxMessageDialog
,
26789 _swigt__p_wxTextEntryDialog
,
26790 _swigt__p_wxSingleChoiceDialog
,
26791 _swigt__p_wxMultiChoiceDialog
,
26792 _swigt__p_wxFileDialog
,
26793 _swigt__p_wxPrinter
,
26794 _swigt__p_wxArrayInt
,
26795 _swigt__p_wxEvtHandler
,
26796 _swigt__p_wxCalculateLayoutEvent
,
26797 _swigt__p_wxPyHtmlListBox
,
26798 _swigt__p_wxPyVListBox
,
26801 _swigt__p_wxMiniFrame
,
26803 _swigt__p_wxPyPrintout
,
26804 _swigt__p_wxTaskBarIconEvent
,
26805 _swigt__p_wxScrollWinEvent
,
26806 _swigt__p_wxStatusBar
,
26807 _swigt__p_wxMDIParentFrame
,
26809 _swigt__p_wxObject
,
26810 _swigt__p_wxOutputStream
,
26811 _swigt__p_wxPyScrolledWindow
,
26812 _swigt__p_wxMDIClientWindow
,
26813 _swigt__p_wxTipWindow
,
26814 _swigt__p_wxSashLayoutWindow
,
26815 _swigt__p_wxSplitterWindow
,
26816 _swigt__p_wxPyVScrolledWindow
,
26817 _swigt__p_wxPyPopupTransientWindow
,
26818 _swigt__p_wxPopupWindow
,
26819 _swigt__p_wxSashWindow
,
26820 _swigt__p_wxTopLevelWindow
,
26821 _swigt__p_wxWindow
,
26822 _swigt__p_wxScrolledWindow
,
26823 _swigt__p_wxSplashScreenWindow
,
26824 _swigt__p_wxMenuBar
,
26825 _swigt__p_wxPrintPreview
,
26826 _swigt__p_wxSashEvent
,
26827 _swigt__p_wxString
,
26828 _swigt__p_wxPyPrintPreview
,
26829 _swigt__p_wxFontDialog
,
26830 _swigt__p_wxDirDialog
,
26831 _swigt__p_wxColourDialog
,
26832 _swigt__p_wxDialog
,
26834 _swigt__p_wxPageSetupDialog
,
26835 _swigt__p_wxPrintDialog
,
26836 _swigt__p_wxFileSystem
,
26837 _swigt__p_wxBitmap
,
26838 _swigt__p_wxCommandEvent
,
26839 _swigt__p_wxPreviewControlBar
,
26840 _swigt__p_wxPyPreviewControlBar
,
26841 _swigt__p_wxColour
,
26842 _swigt__p_wxToolBar
,
26843 _swigt__p_wxPageSetupDialogData
,
26844 _swigt__p_wxPrintDialogData
,
26849 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26851 static swig_const_info swig_const_table
[] = {
26861 SWIGEXPORT(void) SWIG_init(void) {
26862 static PyObject
*SWIG_globals
= 0;
26863 static int typeinit
= 0;
26866 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26867 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26868 d
= PyModule_GetDict(m
);
26871 for (i
= 0; swig_types_initial
[i
]; i
++) {
26872 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26876 SWIG_InstallConstants(d
,swig_const_table
);
26878 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26879 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26880 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26881 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26882 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26883 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
26884 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
26885 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
26886 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
26887 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
26888 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
26889 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
26890 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
26891 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
26892 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
26893 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
26894 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
26895 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
26896 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
26897 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
26898 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
26899 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
26900 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
26901 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
26902 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
26903 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
26904 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
26905 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
26906 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
26907 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
26908 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR
));
26909 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR
));
26910 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR
));
26911 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER
));
26912 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION
));
26913 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL
));
26914 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG
));
26915 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT
));
26916 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN
));
26917 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE
));
26918 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT
));
26919 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT
));
26920 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26921 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER
));
26922 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH
));
26923 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT
));
26924 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE
));
26925 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH
));
26926 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER
));
26927 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME
));
26928 PyDict_SetItemString(d
,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER
));
26929 PyDict_SetItemString(d
,"SP_3D", SWIG_FromInt((int)wxSP_3D
));
26930 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL
));
26931 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL
));
26932 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE
));
26933 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING
));
26934 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN
));
26935 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26936 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26937 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26938 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26939 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26940 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26941 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE
));
26942 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING
));
26943 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN
));
26944 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER
));
26945 PyDict_SetItemString(d
,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER
));
26946 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH
));
26947 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER
));
26948 PyDict_SetItemString(d
,"SW_3D", SWIG_FromInt((int)wxSW_3D
));
26949 PyDict_SetItemString(d
,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP
));
26950 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT
));
26951 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM
));
26952 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT
));
26953 PyDict_SetItemString(d
,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE
));
26954 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK
));
26955 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE
));
26956 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26957 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL
));
26958 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL
));
26959 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE
));
26960 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP
));
26961 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT
));
26962 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT
));
26963 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM
));
26964 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y
));
26965 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X
));
26966 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH
));
26967 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY
));
26968 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26969 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26970 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26972 // Map renamed classes back to their common name for OOR
26973 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26974 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26975 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26977 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26978 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26979 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26980 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26981 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26982 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26983 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26984 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26985 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26986 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26987 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26988 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26989 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26990 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE
));
26991 PyDict_SetItemString(d
,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN
));
26992 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD
));
26993 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE
));
26994 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG
));
26995 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN
));
26996 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE
));
26997 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD
));
26998 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26999 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27000 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27001 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27002 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27003 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27004 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27005 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27006 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27007 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27008 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27009 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27010 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27011 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27012 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27013 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE
));
27014 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW
));
27015 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE
));
27016 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER
));
27017 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM
));
27018 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR
));
27019 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED
));
27020 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR
));
27021 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT
));
27022 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS
));
27023 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT
));
27024 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM
));
27025 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST
));
27026 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST
));
27027 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO
));
27028 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT
));
27029 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE
));
27030 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT
));
27031 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS
));
27032 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT
));
27033 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM
));
27034 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST
));
27035 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST
));
27036 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO
));
27038 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");